1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.65 for avahi 0.6.25.
4@%:@
5@%:@ Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>.
6@%:@ 
7@%:@ 
8@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10@%:@ Inc.
11@%:@ 
12@%:@ 
13@%:@ This configure script is free software; the Free Software Foundation
14@%:@ gives unlimited permission to copy, distribute and modify it.
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.
94case $0 in @%:@((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140  emulate sh
141  NULLCMD=:
142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143  # is contrary to our usage.  Disable this feature.
144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145  setopt NO_GLOB_SUBST
146else
147  case \`(set -o) 2>/dev/null\` in @%:@(
148  *posix*) :
149    set -o posix ;; @%:@(
150  *) :
151     ;;
152esac
153fi
154"
155  as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167  
168else
169  exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177  if (eval "$as_required") 2>/dev/null; then :
178  as_have_required=yes
179else
180  as_have_required=no
181fi
182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183  
184else
185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189  IFS=$as_save_IFS
190  test -z "$as_dir" && as_dir=.
191  as_found=:
192  case $as_dir in @%:@(
193	 /*)
194	   for as_base in sh bash ksh sh5; do
195	     # Try only shells that exist, to save several forks.
196	     as_shell=$as_dir/$as_base
197	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  CONFIG_SHELL=$as_shell as_have_required=yes
200		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201  break 2
202fi
203fi
204	   done;;
205       esac
206  as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210  CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215      if test "x$CONFIG_SHELL" != x; then :
216  # We cannot yet assume a decent shell, so we have to provide a
217	# neutralization value for shells without unset; and this also
218	# works around shells that cannot unset nonexistent variables.
219	BASH_ENV=/dev/null
220	ENV=/dev/null
221	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222	export CONFIG_SHELL
223	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226    if test x$as_have_required = xno; then :
227  $as_echo "$0: This script requires a shell more modern than all"
228  $as_echo "$0: the shells that I found on your system."
229  if test x${ZSH_VERSION+set} = xset ; then
230    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232  else
233    $as_echo "$0: Please tell bug-autoconf@gnu.org and avahi (at) lists
234$0: (dot) freedesktop (dot) org about your system,
235$0: including any error possibly output before this
236$0: message. Then install a modern shell, or manually run
237$0: the script under such a shell if you do have one."
238  fi
239  exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252@%:@ as_fn_unset VAR
253@%:@ ---------------
254@%:@ Portably unset VAR.
255as_fn_unset ()
256{
257  { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261@%:@ as_fn_set_status STATUS
262@%:@ -----------------------
263@%:@ Set @S|@? to STATUS, without forking.
264as_fn_set_status ()
265{
266  return $1
267} @%:@ as_fn_set_status
268
269@%:@ as_fn_exit STATUS
270@%:@ -----------------
271@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274  set +e
275  as_fn_set_status $1
276  exit $1
277} @%:@ as_fn_exit
278
279@%:@ as_fn_mkdir_p
280@%:@ -------------
281@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285  case $as_dir in #(
286  -*) as_dir=./$as_dir;;
287  esac
288  test -d "$as_dir" || eval $as_mkdir_p || {
289    as_dirs=
290    while :; do
291      case $as_dir in #(
292      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293      *) as_qdir=$as_dir;;
294      esac
295      as_dirs="'$as_qdir' $as_dirs"
296      as_dir=`$as_dirname -- "$as_dir" ||
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298	 X"$as_dir" : 'X\(//\)[^/]' \| \
299	 X"$as_dir" : 'X\(//\)$' \| \
300	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301$as_echo X"$as_dir" |
302    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303	    s//\1/
304	    q
305	  }
306	  /^X\(\/\/\)[^/].*/{
307	    s//\1/
308	    q
309	  }
310	  /^X\(\/\/\)$/{
311	    s//\1/
312	    q
313	  }
314	  /^X\(\/\).*/{
315	    s//\1/
316	    q
317	  }
318	  s/.*/./; q'`
319      test -d "$as_dir" && break
320    done
321    test -z "$as_dirs" || eval "mkdir $as_dirs"
322  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
324
325} @%:@ as_fn_mkdir_p
326@%:@ as_fn_append VAR VALUE
327@%:@ ----------------------
328@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
329@%:@ advantage of any shell optimizations that allow amortized linear growth over
330@%:@ repeated appends, instead of the typical quadratic growth present in naive
331@%:@ implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333  eval 'as_fn_append ()
334  {
335    eval $1+=\$2
336  }'
337else
338  as_fn_append ()
339  {
340    eval $1=\$$1\$2
341  }
342fi # as_fn_append
343
344@%:@ as_fn_arith ARG...
345@%:@ ------------------
346@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
347@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
348@%:@ must be portable across @S|@(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350  eval 'as_fn_arith ()
351  {
352    as_val=$(( $* ))
353  }'
354else
355  as_fn_arith ()
356  {
357    as_val=`expr "$@" || test $? -eq 1`
358  }
359fi # as_fn_arith
360
361
362@%:@ as_fn_error ERROR [LINENO LOG_FD]
363@%:@ ---------------------------------
364@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366@%:@ script with status @S|@?, using 1 if that was 0.
367as_fn_error ()
368{
369  as_status=$?; test $as_status -eq 0 && as_status=1
370  if test "$3"; then
371    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373  fi
374  $as_echo "$as_me: error: $1" >&2
375  as_fn_exit $as_status
376} @%:@ as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380  as_expr=expr
381else
382  as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386  as_basename=basename
387else
388  as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392  as_dirname=dirname
393else
394  as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399	 X"$0" : 'X\(//\)$' \| \
400	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402    sed '/^.*\/\([^/][^/]*\)\/*$/{
403	    s//\1/
404	    q
405	  }
406	  /^X\/\(\/\/\)$/{
407	    s//\1/
408	    q
409	  }
410	  /^X\/\(\/\).*/{
411	    s//\1/
412	    q
413	  }
414	  s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429  sed -n '
430    p
431    /[$]LINENO/=
432  ' <$as_myself |
433    sed '
434      s/[$]LINENO.*/&-/
435      t lineno
436      b
437      :lineno
438      N
439      :loop
440      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441      t loop
442      s/-\n.*//
443    ' >$as_me.lineno &&
444  chmod +x "$as_me.lineno" ||
445    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447  # Don't try to exec as it changes $[0], causing all sort of problems
448  # (the dirname of $[0] is not the place where we might find the
449  # original and so on.  Autoconf is especially sensitive to this).
450  . "./$as_me.lineno"
451  # Exit status is that of the last command.
452  exit
453}
454
455ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in @%:@(((((
457-n*)
458  case `echo 'xy\c'` in
459  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
460  xy)  ECHO_C='\c';;
461  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462       ECHO_T='	';;
463  esac;;
464*)
465  ECHO_N='-n';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470  rm -f conf$$.dir/conf$$.file
471else
472  rm -f conf$$.dir
473  mkdir conf$$.dir 2>/dev/null
474fi
475if (echo >conf$$.file) 2>/dev/null; then
476  if ln -s conf$$.file conf$$ 2>/dev/null; then
477    as_ln_s='ln -s'
478    # ... but there are two gotchas:
479    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481    # In both cases, we have to default to `cp -p'.
482    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483      as_ln_s='cp -p'
484  elif ln conf$$.file conf$$ 2>/dev/null; then
485    as_ln_s=ln
486  else
487    as_ln_s='cp -p'
488  fi
489else
490  as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496  as_mkdir_p='mkdir -p "$as_dir"'
497else
498  test -d ./-p && rmdir ./-p
499  as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503  as_test_x='test -x'
504else
505  if ls -dL / >/dev/null 2>&1; then
506    as_ls_L_option=L
507  else
508    as_ls_L_option=
509  fi
510  as_test_x='
511    eval sh -c '\''
512      if test -d "$1"; then
513	test -d "$1/.";
514      else
515	case $1 in @%:@(
516	-*)set "./$1";;
517	esac;
518	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
519	???[sx]*):;;*)false;;esac;fi
520    '\'' sh
521  '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533# Check that we are running under the correct shell.
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536case X$lt_ECHO in
537X*--fallback-echo)
538  # Remove one level of quotation (which was required for Make).
539  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540  ;;
541esac
542
543ECHO=${lt_ECHO-echo}
544if test "X$1" = X--no-reexec; then
545  # Discard the --no-reexec flag, and continue.
546  shift
547elif test "X$1" = X--fallback-echo; then
548  # Avoid inline document here, it may be left over
549  :
550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551  # Yippee, $ECHO works!
552  :
553else
554  # Restart under the correct shell.
555  exec $SHELL "$0" --no-reexec ${1+"$@"}
556fi
557
558if test "X$1" = X--fallback-echo; then
559  # used as fallback echo
560  shift
561  cat <<_LT_EOF
562$*
563_LT_EOF
564  exit 0
565fi
566
567# The HP-UX ksh and POSIX shell print the target directory to stdout
568# if CDPATH is set.
569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571if test -z "$lt_ECHO"; then
572  if test "X${echo_test_string+set}" != Xset; then
573    # find a string as large as possible, as long as the shell can cope with it
574    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578      then
579        break
580      fi
581    done
582  fi
583
584  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586     test "X$echo_testing_string" = "X$echo_test_string"; then
587    :
588  else
589    # The Solaris, AIX, and Digital Unix default echo programs unquote
590    # backslashes.  This makes it impossible to quote backslashes using
591    #   echo "$something" | sed 's/\\/\\\\/g'
592    #
593    # So, first we look for a working echo in the user's PATH.
594
595    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596    for dir in $PATH /usr/ucb; do
597      IFS="$lt_save_ifs"
598      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601         test "X$echo_testing_string" = "X$echo_test_string"; then
602        ECHO="$dir/echo"
603        break
604      fi
605    done
606    IFS="$lt_save_ifs"
607
608    if test "X$ECHO" = Xecho; then
609      # We didn't find a better echo, so look for alternatives.
610      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612         test "X$echo_testing_string" = "X$echo_test_string"; then
613        # This shell has a builtin print -r that does the trick.
614        ECHO='print -r'
615      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616	   test "X$CONFIG_SHELL" != X/bin/ksh; then
617        # If we have ksh, try running configure again with it.
618        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619        export ORIGINAL_CONFIG_SHELL
620        CONFIG_SHELL=/bin/ksh
621        export CONFIG_SHELL
622        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623      else
624        # Try using printf.
625        ECHO='printf %s\n'
626        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628	   test "X$echo_testing_string" = "X$echo_test_string"; then
629	  # Cool, printf works
630	  :
631        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632	     test "X$echo_testing_string" = 'X\t' &&
633	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634	     test "X$echo_testing_string" = "X$echo_test_string"; then
635	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636	  export CONFIG_SHELL
637	  SHELL="$CONFIG_SHELL"
638	  export SHELL
639	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
640        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641	     test "X$echo_testing_string" = 'X\t' &&
642	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643	     test "X$echo_testing_string" = "X$echo_test_string"; then
644	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
645        else
646	  # maybe with a smaller string...
647	  prev=:
648
649	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651	    then
652	      break
653	    fi
654	    prev="$cmd"
655	  done
656
657	  if test "$prev" != 'sed 50q "$0"'; then
658	    echo_test_string=`eval $prev`
659	    export echo_test_string
660	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661	  else
662	    # Oops.  We lost completely, so just stick with echo.
663	    ECHO=echo
664	  fi
665        fi
666      fi
667    fi
668  fi
669fi
670
671# Copy echo and quote the copy suitably for passing to libtool from
672# the Makefile, instead of quoting the original, which is used later.
673lt_ECHO=$ECHO
674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676fi
677
678
679
680
681test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1
683
684# Name of the host.
685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689#
690# Initializations.
691#
692ac_default_prefix=/usr/local
693ac_clean_files=
694ac_config_libobj_dir=.
695LIB@&t@OBJS=
696cross_compiling=no
697subdirs=
698MFLAGS=
699MAKEFLAGS=
700
701# Identity of this package.
702PACKAGE_NAME='avahi'
703PACKAGE_TARNAME='avahi'
704PACKAGE_VERSION='0.6.25'
705PACKAGE_STRING='avahi 0.6.25'
706PACKAGE_BUGREPORT='avahi (at) lists (dot) freedesktop (dot) org'
707PACKAGE_URL=''
708
709ac_unique_file="avahi-core/server.c"
710# Factoring default headers for most tests.
711ac_includes_default="\
712#include <stdio.h>
713#ifdef HAVE_SYS_TYPES_H
714# include <sys/types.h>
715#endif
716#ifdef HAVE_SYS_STAT_H
717# include <sys/stat.h>
718#endif
719#ifdef STDC_HEADERS
720# include <stdlib.h>
721# include <stddef.h>
722#else
723# ifdef HAVE_STDLIB_H
724#  include <stdlib.h>
725# endif
726#endif
727#ifdef HAVE_STRING_H
728# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729#  include <memory.h>
730# endif
731# include <string.h>
732#endif
733#ifdef HAVE_STRINGS_H
734# include <strings.h>
735#endif
736#ifdef HAVE_INTTYPES_H
737# include <inttypes.h>
738#endif
739#ifdef HAVE_STDINT_H
740# include <stdint.h>
741#endif
742#ifdef HAVE_UNISTD_H
743# include <unistd.h>
744#endif"
745
746ac_subst_vars='LTLIBOBJS
747ENABLE_COMPAT_HOWL_FALSE
748ENABLE_COMPAT_HOWL_TRUE
749ENABLE_COMPAT_LIBDNS_SD_FALSE
750ENABLE_COMPAT_LIBDNS_SD_TRUE
751ENABLE_TESTS_FALSE
752ENABLE_TESTS_TRUE
753BUILD_MANPAGES_FALSE
754BUILD_MANPAGES_TRUE
755USE_XMLTOMAN_FALSE
756USE_XMLTOMAN_TRUE
757have_xmltoman
758ENABLE_CORE_DOCS_FALSE
759ENABLE_CORE_DOCS_TRUE
760DOXYGEN_PAPER_SIZE
761DX_COND_latex_FALSE
762DX_COND_latex_TRUE
763DX_COND_pdf_FALSE
764DX_COND_pdf_TRUE
765DX_PDFLATEX
766DX_FLAG_pdf
767DX_COND_ps_FALSE
768DX_COND_ps_TRUE
769DX_EGREP
770DX_DVIPS
771DX_MAKEINDEX
772DX_LATEX
773DX_FLAG_ps
774DX_COND_html_FALSE
775DX_COND_html_TRUE
776DX_FLAG_html
777DX_COND_chi_FALSE
778DX_COND_chi_TRUE
779DX_FLAG_chi
780DX_COND_chm_FALSE
781DX_COND_chm_TRUE
782DX_HHC
783DX_FLAG_chm
784DX_COND_xml_FALSE
785DX_COND_xml_TRUE
786DX_FLAG_xml
787DX_COND_rtf_FALSE
788DX_COND_rtf_TRUE
789DX_FLAG_rtf
790DX_COND_man_FALSE
791DX_COND_man_TRUE
792DX_FLAG_man
793DX_COND_dot_FALSE
794DX_COND_dot_TRUE
795DX_DOT
796DX_FLAG_dot
797DX_COND_doc_FALSE
798DX_COND_doc_TRUE
799DX_PERL
800DX_DOXYGEN
801DX_FLAG_doc
802DX_ENV
803DX_DOCDIR
804DX_CONFIG
805DX_PROJECT
806interfacesdir
807avahi_socket
808avahi_runtime_dir
809AVAHI_AUTOIPD_GROUP
810AVAHI_AUTOIPD_USER
811AVAHI_PRIV_ACCESS_GROUP
812AVAHI_GROUP
813AVAHI_USER
814ENABLE_AUTOIPD_FALSE
815ENABLE_AUTOIPD_TRUE
816HAVE_MONODOC_FALSE
817HAVE_MONODOC_TRUE
818MONODOC_DIR
819MDASSEMBLER
820MONODOCER
821MONODOC_LIBS
822MONODOC_CFLAGS
823HAVE_MONO_FALSE
824HAVE_MONO_TRUE
825GACUTIL
826MCS
827HAVE_PYTHON_DBUS_FALSE
828HAVE_PYTHON_DBUS_TRUE
829HAVE_PYGTK_FALSE
830HAVE_PYGTK_TRUE
831HAVE_PYTHON_FALSE
832HAVE_PYTHON_TRUE
833pkgpyexecdir
834pyexecdir
835pkgpythondir
836pythondir
837PYTHON_PLATFORM
838PYTHON_EXEC_PREFIX
839PYTHON_PREFIX
840PYTHON_VERSION
841PYTHON
842HAVE_LIBDAEMON_FALSE
843HAVE_LIBDAEMON_TRUE
844LIBDAEMON_LIBS
845LIBDAEMON_CFLAGS
846HAVE_DBM_FALSE
847HAVE_DBM_TRUE
848HAVE_GDBM_FALSE
849HAVE_GDBM_TRUE
850HAVE_XML_FALSE
851HAVE_XML_TRUE
852XML_CFLAGS
853XML_LIBS
854HAVE_DBUS_FALSE
855HAVE_DBUS_TRUE
856DBUS_SYSTEM_BUS_DEFAULT_ADDRESS
857DBUS_SYS_DIR
858DBUS_LIBS
859DBUS_CFLAGS
860HAVE_GTK_FALSE
861HAVE_GTK_TRUE
862GLADE20_LIBS
863GLADE20_CFLAGS
864GTK20_LIBS
865GTK20_CFLAGS
866HAVE_QT4_FALSE
867HAVE_QT4_TRUE
868MOC_QT4
869QT4_LIBS
870QT4_CFLAGS
871HAVE_QT3_FALSE
872HAVE_QT3_TRUE
873MOC_QT3
874QT3_LIBS
875QT3_CFLAGS
876HAVE_GOBJECT_FALSE
877HAVE_GOBJECT_TRUE
878GOBJECT_LIBS
879GOBJECT_CFLAGS
880HAVE_GLIB_FALSE
881HAVE_GLIB_TRUE
882GLIB20_LIBS
883GLIB20_CFLAGS
884PKG_CONFIG
885have_pkg_config
886avahilocaledir
887MKINSTALLDIRS
888POSUB
889POFILES
890PO_IN_DATADIR_FALSE
891PO_IN_DATADIR_TRUE
892INTLLIBS
893INSTOBJEXT
894GMOFILES
895CATOBJEXT
896CATALOGS
897MSGFMT_OPTS
898GETTEXT_PACKAGE
899DATADIRNAME
900ALL_LINGUAS
901INTLTOOL_PERL
902GMSGFMT
903MSGFMT
904MSGMERGE
905XGETTEXT
906INTLTOOL_POLICY_RULE
907INTLTOOL_SERVICE_RULE
908INTLTOOL_THEME_RULE
909INTLTOOL_SCHEMAS_RULE
910INTLTOOL_CAVES_RULE
911INTLTOOL_XML_NOMERGE_RULE
912INTLTOOL_XML_RULE
913INTLTOOL_KBD_RULE
914INTLTOOL_XAM_RULE
915INTLTOOL_UI_RULE
916INTLTOOL_SOUNDLIST_RULE
917INTLTOOL_SHEET_RULE
918INTLTOOL_SERVER_RULE
919INTLTOOL_PONG_RULE
920INTLTOOL_OAF_RULE
921INTLTOOL_PROP_RULE
922INTLTOOL_KEYS_RULE
923INTLTOOL_DIRECTORY_RULE
924INTLTOOL_DESKTOP_RULE
925INTLTOOL_EXTRACT
926INTLTOOL_MERGE
927INTLTOOL_UPDATE
928USE_NLS
929HAVE_KQUEUE_FALSE
930HAVE_KQUEUE_TRUE
931HAVE_INOTIFY_FALSE
932HAVE_INOTIFY_TRUE
933HAVE_DLOPEN_FALSE
934HAVE_DLOPEN_TRUE
935ENABLE_CHROOT_FALSE
936ENABLE_CHROOT_TRUE
937VISIBILITY_HIDDEN_CFLAGS
938LIB@&t@OBJS
939TARGET_SLACKWARE_FALSE
940TARGET_SLACKWARE_TRUE
941TARGET_FREEBSD_FALSE
942TARGET_FREEBSD_TRUE
943TARGET_NETBSD_FALSE
944TARGET_NETBSD_TRUE
945TARGET_DARWIN_FALSE
946TARGET_DARWIN_TRUE
947TARGET_MANDRIVA_FALSE
948TARGET_MANDRIVA_TRUE
949TARGET_FEDORA_FALSE
950TARGET_FEDORA_TRUE
951TARGET_ARCHLINUX_FALSE
952TARGET_ARCHLINUX_TRUE
953TARGET_DEBIAN_FALSE
954TARGET_DEBIAN_TRUE
955TARGET_GENTOO_FALSE
956TARGET_GENTOO_TRUE
957TARGET_SUSE_FALSE
958TARGET_SUSE_TRUE
959TARGET_LFS_FALSE
960TARGET_LFS_TRUE
961HAVE_SYS_SYSCTL_H_FALSE
962HAVE_SYS_SYSCTL_H_TRUE
963HAVE_SYS_FILIO_H_FALSE
964HAVE_SYS_FILIO_H_TRUE
965HAVE_PF_ROUTE_FALSE
966HAVE_PF_ROUTE_TRUE
967HAVE_NETLINK_FALSE
968HAVE_NETLINK_TRUE
969PTHREAD_CFLAGS
970PTHREAD_LIBS
971PTHREAD_CC
972acx_pthread_config
973CXXCPP
974OTOOL64
975OTOOL
976LIPO
977NMEDIT
978DSYMUTIL
979lt_ECHO
980RANLIB
981AR
982OBJDUMP
983NM
984ac_ct_DUMPBIN
985DUMPBIN
986LD
987FGREP
988SED
989host_os
990host_vendor
991host_cpu
992host
993build_os
994build_vendor
995build_cpu
996build
997LIBTOOL
998LN_S
999EGREP
1000GREP
1001CPP
1002am__fastdepCXX_FALSE
1003am__fastdepCXX_TRUE
1004CXXDEPMODE
1005ac_ct_CXX
1006CXXFLAGS
1007CXX
1008am__fastdepCC_FALSE
1009am__fastdepCC_TRUE
1010CCDEPMODE
1011AMDEPBACKSLASH
1012AMDEP_FALSE
1013AMDEP_TRUE
1014am__quote
1015am__include
1016DEPDIR
1017OBJEXT
1018EXEEXT
1019ac_ct_CC
1020CPPFLAGS
1021LDFLAGS
1022CFLAGS
1023CC
1024HOWL_COMPAT_VERSION
1025LIBAVAHI_COMPAT_HOWL_VERSION_INFO
1026LIBAVAHI_COMPAT_LIBDNS_SD_VERSION_INFO
1027LIBAVAHI_UI_VERSION_INFO
1028LIBAVAHI_QT4_VERSION_INFO
1029LIBAVAHI_QT3_VERSION_INFO
1030LIBAVAHI_GOBJECT_VERSION_INFO
1031LIBAVAHI_GLIB_VERSION_INFO
1032LIBAVAHI_CLIENT_VERSION_INFO
1033LIBAVAHI_CORE_VERSION_INFO
1034LIBAVAHI_COMMON_VERSION_INFO
1035am__untar
1036am__tar
1037AMTAR
1038am__leading_dot
1039SET_MAKE
1040AWK
1041mkdir_p
1042MKDIR_P
1043INSTALL_STRIP_PROGRAM
1044STRIP
1045install_sh
1046MAKEINFO
1047AUTOHEADER
1048AUTOMAKE
1049AUTOCONF
1050ACLOCAL
1051VERSION
1052PACKAGE
1053CYGPATH_W
1054am__isrc
1055INSTALL_DATA
1056INSTALL_SCRIPT
1057INSTALL_PROGRAM
1058target_alias
1059host_alias
1060build_alias
1061LIBS
1062ECHO_T
1063ECHO_N
1064ECHO_C
1065DEFS
1066mandir
1067localedir
1068libdir
1069psdir
1070pdfdir
1071dvidir
1072htmldir
1073infodir
1074docdir
1075oldincludedir
1076includedir
1077localstatedir
1078sharedstatedir
1079sysconfdir
1080datadir
1081datarootdir
1082libexecdir
1083sbindir
1084bindir
1085program_transform_name
1086prefix
1087exec_prefix
1088PACKAGE_URL
1089PACKAGE_BUGREPORT
1090PACKAGE_STRING
1091PACKAGE_VERSION
1092PACKAGE_TARNAME
1093PACKAGE_NAME
1094PATH_SEPARATOR
1095SHELL'
1096ac_subst_files=''
1097ac_user_opts='
1098enable_option_checking
1099enable_dependency_tracking
1100enable_stack_protector
1101enable_shared
1102enable_static
1103with_pic
1104enable_fast_install
1105with_gnu_ld
1106enable_libtool_lock
1107with_distro
1108enable_nls
1109enable_glib
1110enable_gobject
1111enable_qt3
1112enable_qt4
1113enable_gtk
1114enable_dbus
1115with_dbus_sys
1116with_dbus_system_socket
1117with_xml
1118enable_dbm
1119enable_gdbm
1120enable_libdaemon
1121enable_python
1122enable_pygtk
1123enable_python_dbus
1124enable_mono
1125enable_monodoc
1126enable_autoipd
1127with_avahi_user
1128with_avahi_group
1129with_avahi_priv_access_group
1130with_autoipd_user
1131with_autoipd_group
1132enable_doxygen_doc
1133enable_doxygen_dot
1134enable_doxygen_man
1135enable_doxygen_rtf
1136enable_doxygen_xml
1137enable_doxygen_chm
1138enable_doxygen_chi
1139enable_doxygen_html
1140enable_doxygen_ps
1141enable_doxygen_pdf
1142enable_core_docs
1143enable_manpages
1144enable_xmltoman
1145enable_tests
1146enable_compat_libdns_sd
1147enable_compat_howl
1148'
1149      ac_precious_vars='build_alias
1150host_alias
1151target_alias
1152CC
1153CFLAGS
1154LDFLAGS
1155LIBS
1156CPPFLAGS
1157CXX
1158CXXFLAGS
1159CCC
1160CPP
1161CXXCPP
1162PKG_CONFIG
1163GLIB20_CFLAGS
1164GLIB20_LIBS
1165GOBJECT_CFLAGS
1166GOBJECT_LIBS
1167QT3_CFLAGS
1168QT3_LIBS
1169QT4_CFLAGS
1170QT4_LIBS
1171GTK20_CFLAGS
1172GTK20_LIBS
1173GLADE20_CFLAGS
1174GLADE20_LIBS
1175DBUS_CFLAGS
1176DBUS_LIBS
1177LIBDAEMON_CFLAGS
1178LIBDAEMON_LIBS
1179MONODOC_CFLAGS
1180MONODOC_LIBS
1181DOXYGEN_PAPER_SIZE'
1182
1183
1184# Initialize some variables set by options.
1185ac_init_help=
1186ac_init_version=false
1187ac_unrecognized_opts=
1188ac_unrecognized_sep=
1189# The variables have the same names as the options, with
1190# dashes changed to underlines.
1191cache_file=/dev/null
1192exec_prefix=NONE
1193no_create=
1194no_recursion=
1195prefix=NONE
1196program_prefix=NONE
1197program_suffix=NONE
1198program_transform_name=s,x,x,
1199silent=
1200site=
1201srcdir=
1202verbose=
1203x_includes=NONE
1204x_libraries=NONE
1205
1206# Installation directory options.
1207# These are left unexpanded so users can "make install exec_prefix=/foo"
1208# and all the variables that are supposed to be based on exec_prefix
1209# by default will actually change.
1210# Use braces instead of parens because sh, perl, etc. also accept them.
1211# (The list follows the same order as the GNU Coding Standards.)
1212bindir='${exec_prefix}/bin'
1213sbindir='${exec_prefix}/sbin'
1214libexecdir='${exec_prefix}/libexec'
1215datarootdir='${prefix}/share'
1216datadir='${datarootdir}'
1217sysconfdir='${prefix}/etc'
1218sharedstatedir='${prefix}/com'
1219localstatedir='${prefix}/var'
1220includedir='${prefix}/include'
1221oldincludedir='/usr/include'
1222docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1223infodir='${datarootdir}/info'
1224htmldir='${docdir}'
1225dvidir='${docdir}'
1226pdfdir='${docdir}'
1227psdir='${docdir}'
1228libdir='${exec_prefix}/lib'
1229localedir='${datarootdir}/locale'
1230mandir='${datarootdir}/man'
1231
1232ac_prev=
1233ac_dashdash=
1234for ac_option
1235do
1236  # If the previous option needs an argument, assign it.
1237  if test -n "$ac_prev"; then
1238    eval $ac_prev=\$ac_option
1239    ac_prev=
1240    continue
1241  fi
1242
1243  case $ac_option in
1244  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1245  *)	ac_optarg=yes ;;
1246  esac
1247
1248  # Accept the important Cygnus configure options, so we can diagnose typos.
1249
1250  case $ac_dashdash$ac_option in
1251  --)
1252    ac_dashdash=yes ;;
1253
1254  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1255    ac_prev=bindir ;;
1256  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1257    bindir=$ac_optarg ;;
1258
1259  -build | --build | --buil | --bui | --bu)
1260    ac_prev=build_alias ;;
1261  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1262    build_alias=$ac_optarg ;;
1263
1264  -cache-file | --cache-file | --cache-fil | --cache-fi \
1265  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1266    ac_prev=cache_file ;;
1267  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1268  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1269    cache_file=$ac_optarg ;;
1270
1271  --config-cache | -C)
1272    cache_file=config.cache ;;
1273
1274  -datadir | --datadir | --datadi | --datad)
1275    ac_prev=datadir ;;
1276  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1277    datadir=$ac_optarg ;;
1278
1279  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1280  | --dataroo | --dataro | --datar)
1281    ac_prev=datarootdir ;;
1282  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1283  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1284    datarootdir=$ac_optarg ;;
1285
1286  -disable-* | --disable-*)
1287    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1288    # Reject names that are not valid shell variable names.
1289    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1290      as_fn_error "invalid feature name: $ac_useropt"
1291    ac_useropt_orig=$ac_useropt
1292    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293    case $ac_user_opts in
1294      *"
1295"enable_$ac_useropt"
1296"*) ;;
1297      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1298	 ac_unrecognized_sep=', ';;
1299    esac
1300    eval enable_$ac_useropt=no ;;
1301
1302  -docdir | --docdir | --docdi | --doc | --do)
1303    ac_prev=docdir ;;
1304  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1305    docdir=$ac_optarg ;;
1306
1307  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1308    ac_prev=dvidir ;;
1309  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1310    dvidir=$ac_optarg ;;
1311
1312  -enable-* | --enable-*)
1313    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1314    # Reject names that are not valid shell variable names.
1315    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1316      as_fn_error "invalid feature name: $ac_useropt"
1317    ac_useropt_orig=$ac_useropt
1318    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319    case $ac_user_opts in
1320      *"
1321"enable_$ac_useropt"
1322"*) ;;
1323      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1324	 ac_unrecognized_sep=', ';;
1325    esac
1326    eval enable_$ac_useropt=\$ac_optarg ;;
1327
1328  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1329  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1330  | --exec | --exe | --ex)
1331    ac_prev=exec_prefix ;;
1332  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1333  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1334  | --exec=* | --exe=* | --ex=*)
1335    exec_prefix=$ac_optarg ;;
1336
1337  -gas | --gas | --ga | --g)
1338    # Obsolete; use --with-gas.
1339    with_gas=yes ;;
1340
1341  -help | --help | --hel | --he | -h)
1342    ac_init_help=long ;;
1343  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1344    ac_init_help=recursive ;;
1345  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1346    ac_init_help=short ;;
1347
1348  -host | --host | --hos | --ho)
1349    ac_prev=host_alias ;;
1350  -host=* | --host=* | --hos=* | --ho=*)
1351    host_alias=$ac_optarg ;;
1352
1353  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1354    ac_prev=htmldir ;;
1355  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1356  | --ht=*)
1357    htmldir=$ac_optarg ;;
1358
1359  -includedir | --includedir | --includedi | --included | --include \
1360  | --includ | --inclu | --incl | --inc)
1361    ac_prev=includedir ;;
1362  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1363  | --includ=* | --inclu=* | --incl=* | --inc=*)
1364    includedir=$ac_optarg ;;
1365
1366  -infodir | --infodir | --infodi | --infod | --info | --inf)
1367    ac_prev=infodir ;;
1368  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1369    infodir=$ac_optarg ;;
1370
1371  -libdir | --libdir | --libdi | --libd)
1372    ac_prev=libdir ;;
1373  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1374    libdir=$ac_optarg ;;
1375
1376  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1377  | --libexe | --libex | --libe)
1378    ac_prev=libexecdir ;;
1379  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1380  | --libexe=* | --libex=* | --libe=*)
1381    libexecdir=$ac_optarg ;;
1382
1383  -localedir | --localedir | --localedi | --localed | --locale)
1384    ac_prev=localedir ;;
1385  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1386    localedir=$ac_optarg ;;
1387
1388  -localstatedir | --localstatedir | --localstatedi | --localstated \
1389  | --localstate | --localstat | --localsta | --localst | --locals)
1390    ac_prev=localstatedir ;;
1391  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1392  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1393    localstatedir=$ac_optarg ;;
1394
1395  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1396    ac_prev=mandir ;;
1397  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1398    mandir=$ac_optarg ;;
1399
1400  -nfp | --nfp | --nf)
1401    # Obsolete; use --without-fp.
1402    with_fp=no ;;
1403
1404  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1405  | --no-cr | --no-c | -n)
1406    no_create=yes ;;
1407
1408  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1409  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1410    no_recursion=yes ;;
1411
1412  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1413  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1414  | --oldin | --oldi | --old | --ol | --o)
1415    ac_prev=oldincludedir ;;
1416  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1417  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1418  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1419    oldincludedir=$ac_optarg ;;
1420
1421  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1422    ac_prev=prefix ;;
1423  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1424    prefix=$ac_optarg ;;
1425
1426  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1427  | --program-pre | --program-pr | --program-p)
1428    ac_prev=program_prefix ;;
1429  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1430  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1431    program_prefix=$ac_optarg ;;
1432
1433  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1434  | --program-suf | --program-su | --program-s)
1435    ac_prev=program_suffix ;;
1436  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1437  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1438    program_suffix=$ac_optarg ;;
1439
1440  -program-transform-name | --program-transform-name \
1441  | --program-transform-nam | --program-transform-na \
1442  | --program-transform-n | --program-transform- \
1443  | --program-transform | --program-transfor \
1444  | --program-transfo | --program-transf \
1445  | --program-trans | --program-tran \
1446  | --progr-tra | --program-tr | --program-t)
1447    ac_prev=program_transform_name ;;
1448  -program-transform-name=* | --program-transform-name=* \
1449  | --program-transform-nam=* | --program-transform-na=* \
1450  | --program-transform-n=* | --program-transform-=* \
1451  | --program-transform=* | --program-transfor=* \
1452  | --program-transfo=* | --program-transf=* \
1453  | --program-trans=* | --program-tran=* \
1454  | --progr-tra=* | --program-tr=* | --program-t=*)
1455    program_transform_name=$ac_optarg ;;
1456
1457  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1458    ac_prev=pdfdir ;;
1459  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1460    pdfdir=$ac_optarg ;;
1461
1462  -psdir | --psdir | --psdi | --psd | --ps)
1463    ac_prev=psdir ;;
1464  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1465    psdir=$ac_optarg ;;
1466
1467  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468  | -silent | --silent | --silen | --sile | --sil)
1469    silent=yes ;;
1470
1471  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1472    ac_prev=sbindir ;;
1473  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1474  | --sbi=* | --sb=*)
1475    sbindir=$ac_optarg ;;
1476
1477  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1478  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1479  | --sharedst | --shareds | --shared | --share | --shar \
1480  | --sha | --sh)
1481    ac_prev=sharedstatedir ;;
1482  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1483  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1484  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1485  | --sha=* | --sh=*)
1486    sharedstatedir=$ac_optarg ;;
1487
1488  -site | --site | --sit)
1489    ac_prev=site ;;
1490  -site=* | --site=* | --sit=*)
1491    site=$ac_optarg ;;
1492
1493  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1494    ac_prev=srcdir ;;
1495  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1496    srcdir=$ac_optarg ;;
1497
1498  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1499  | --syscon | --sysco | --sysc | --sys | --sy)
1500    ac_prev=sysconfdir ;;
1501  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1502  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1503    sysconfdir=$ac_optarg ;;
1504
1505  -target | --target | --targe | --targ | --tar | --ta | --t)
1506    ac_prev=target_alias ;;
1507  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1508    target_alias=$ac_optarg ;;
1509
1510  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1511    verbose=yes ;;
1512
1513  -version | --version | --versio | --versi | --vers | -V)
1514    ac_init_version=: ;;
1515
1516  -with-* | --with-*)
1517    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1518    # Reject names that are not valid shell variable names.
1519    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1520      as_fn_error "invalid package name: $ac_useropt"
1521    ac_useropt_orig=$ac_useropt
1522    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1523    case $ac_user_opts in
1524      *"
1525"with_$ac_useropt"
1526"*) ;;
1527      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1528	 ac_unrecognized_sep=', ';;
1529    esac
1530    eval with_$ac_useropt=\$ac_optarg ;;
1531
1532  -without-* | --without-*)
1533    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1534    # Reject names that are not valid shell variable names.
1535    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1536      as_fn_error "invalid package name: $ac_useropt"
1537    ac_useropt_orig=$ac_useropt
1538    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1539    case $ac_user_opts in
1540      *"
1541"with_$ac_useropt"
1542"*) ;;
1543      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1544	 ac_unrecognized_sep=', ';;
1545    esac
1546    eval with_$ac_useropt=no ;;
1547
1548  --x)
1549    # Obsolete; use --with-x.
1550    with_x=yes ;;
1551
1552  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1553  | --x-incl | --x-inc | --x-in | --x-i)
1554    ac_prev=x_includes ;;
1555  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1556  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1557    x_includes=$ac_optarg ;;
1558
1559  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1560  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1561    ac_prev=x_libraries ;;
1562  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1563  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1564    x_libraries=$ac_optarg ;;
1565
1566  -*) as_fn_error "unrecognized option: \`$ac_option'
1567Try \`$0 --help' for more information."
1568    ;;
1569
1570  *=*)
1571    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1572    # Reject names that are not valid shell variable names.
1573    case $ac_envvar in #(
1574      '' | [0-9]* | *[!_$as_cr_alnum]* )
1575      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1576    esac
1577    eval $ac_envvar=\$ac_optarg
1578    export $ac_envvar ;;
1579
1580  *)
1581    # FIXME: should be removed in autoconf 3.0.
1582    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1583    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1584      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1585    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1586    ;;
1587
1588  esac
1589done
1590
1591if test -n "$ac_prev"; then
1592  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1593  as_fn_error "missing argument to $ac_option"
1594fi
1595
1596if test -n "$ac_unrecognized_opts"; then
1597  case $enable_option_checking in
1598    no) ;;
1599    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1600    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1601  esac
1602fi
1603
1604# Check all directory arguments for consistency.
1605for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1606		datadir sysconfdir sharedstatedir localstatedir includedir \
1607		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1608		libdir localedir mandir
1609do
1610  eval ac_val=\$$ac_var
1611  # Remove trailing slashes.
1612  case $ac_val in
1613    */ )
1614      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1615      eval $ac_var=\$ac_val;;
1616  esac
1617  # Be sure to have absolute directory names.
1618  case $ac_val in
1619    [\\/$]* | ?:[\\/]* )  continue;;
1620    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1621  esac
1622  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1623done
1624
1625# There might be people who depend on the old broken behavior: `$host'
1626# used to hold the argument of --host etc.
1627# FIXME: To remove some day.
1628build=$build_alias
1629host=$host_alias
1630target=$target_alias
1631
1632# FIXME: To remove some day.
1633if test "x$host_alias" != x; then
1634  if test "x$build_alias" = x; then
1635    cross_compiling=maybe
1636    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1637    If a cross compiler is detected then cross compile mode will be used." >&2
1638  elif test "x$build_alias" != "x$host_alias"; then
1639    cross_compiling=yes
1640  fi
1641fi
1642
1643ac_tool_prefix=
1644test -n "$host_alias" && ac_tool_prefix=$host_alias-
1645
1646test "$silent" = yes && exec 6>/dev/null
1647
1648
1649ac_pwd=`pwd` && test -n "$ac_pwd" &&
1650ac_ls_di=`ls -di .` &&
1651ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1652  as_fn_error "working directory cannot be determined"
1653test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1654  as_fn_error "pwd does not report name of working directory"
1655
1656
1657# Find the source files, if location was not specified.
1658if test -z "$srcdir"; then
1659  ac_srcdir_defaulted=yes
1660  # Try the directory containing this script, then the parent directory.
1661  ac_confdir=`$as_dirname -- "$as_myself" ||
1662$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1663	 X"$as_myself" : 'X\(//\)[^/]' \| \
1664	 X"$as_myself" : 'X\(//\)$' \| \
1665	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1666$as_echo X"$as_myself" |
1667    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1668	    s//\1/
1669	    q
1670	  }
1671	  /^X\(\/\/\)[^/].*/{
1672	    s//\1/
1673	    q
1674	  }
1675	  /^X\(\/\/\)$/{
1676	    s//\1/
1677	    q
1678	  }
1679	  /^X\(\/\).*/{
1680	    s//\1/
1681	    q
1682	  }
1683	  s/.*/./; q'`
1684  srcdir=$ac_confdir
1685  if test ! -r "$srcdir/$ac_unique_file"; then
1686    srcdir=..
1687  fi
1688else
1689  ac_srcdir_defaulted=no
1690fi
1691if test ! -r "$srcdir/$ac_unique_file"; then
1692  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1693  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1694fi
1695ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1696ac_abs_confdir=`(
1697	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1698	pwd)`
1699# When building in place, set srcdir=.
1700if test "$ac_abs_confdir" = "$ac_pwd"; then
1701  srcdir=.
1702fi
1703# Remove unnecessary trailing slashes from srcdir.
1704# Double slashes in file names in object file debugging info
1705# mess up M-x gdb in Emacs.
1706case $srcdir in
1707*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1708esac
1709for ac_var in $ac_precious_vars; do
1710  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1711  eval ac_env_${ac_var}_value=\$${ac_var}
1712  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1713  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1714done
1715
1716#
1717# Report the --help message.
1718#
1719if test "$ac_init_help" = "long"; then
1720  # Omit some internal or obsolete options to make the list less imposing.
1721  # This message is too long to be a string in the A/UX 3.1 sh.
1722  cat <<_ACEOF
1723\`configure' configures avahi 0.6.25 to adapt to many kinds of systems.
1724
1725Usage: $0 [OPTION]... [VAR=VALUE]...
1726
1727To assign environment variables (e.g., CC, CFLAGS...), specify them as
1728VAR=VALUE.  See below for descriptions of some of the useful variables.
1729
1730Defaults for the options are specified in brackets.
1731
1732Configuration:
1733  -h, --help              display this help and exit
1734      --help=short        display options specific to this package
1735      --help=recursive    display the short help of all the included packages
1736  -V, --version           display version information and exit
1737  -q, --quiet, --silent   do not print \`checking...' messages
1738      --cache-file=FILE   cache test results in FILE [disabled]
1739  -C, --config-cache      alias for \`--cache-file=config.cache'
1740  -n, --no-create         do not create output files
1741      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1742
1743Installation directories:
1744  --prefix=PREFIX         install architecture-independent files in PREFIX
1745                          @<:@@S|@ac_default_prefix@:>@
1746  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1747                          @<:@PREFIX@:>@
1748
1749By default, \`make install' will install all the files in
1750\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1751an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1752for instance \`--prefix=\$HOME'.
1753
1754For better control, use the options below.
1755
1756Fine tuning of the installation directories:
1757  --bindir=DIR            user executables [EPREFIX/bin]
1758  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1759  --libexecdir=DIR        program executables [EPREFIX/libexec]
1760  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1761  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1762  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1763  --libdir=DIR            object code libraries [EPREFIX/lib]
1764  --includedir=DIR        C header files [PREFIX/include]
1765  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1766  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1767  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1768  --infodir=DIR           info documentation [DATAROOTDIR/info]
1769  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1770  --mandir=DIR            man documentation [DATAROOTDIR/man]
1771  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/avahi@:>@
1772  --htmldir=DIR           html documentation [DOCDIR]
1773  --dvidir=DIR            dvi documentation [DOCDIR]
1774  --pdfdir=DIR            pdf documentation [DOCDIR]
1775  --psdir=DIR             ps documentation [DOCDIR]
1776_ACEOF
1777
1778  cat <<\_ACEOF
1779
1780Program names:
1781  --program-prefix=PREFIX            prepend PREFIX to installed program names
1782  --program-suffix=SUFFIX            append SUFFIX to installed program names
1783  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1784
1785System types:
1786  --build=BUILD     configure for building on BUILD [guessed]
1787  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1788_ACEOF
1789fi
1790
1791if test -n "$ac_init_help"; then
1792  case $ac_init_help in
1793     short | recursive ) echo "Configuration of avahi 0.6.25:";;
1794   esac
1795  cat <<\_ACEOF
1796
1797Optional Features:
1798  --disable-option-checking  ignore unrecognized --enable/--with options
1799  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1800  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1801  --disable-dependency-tracking  speeds up one-time build
1802  --enable-dependency-tracking   do not reject slow dependency extractors
1803  --disable-stack-protector 
1804                          Disable GCC's/libc's stack-smashing protection
1805  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1806  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1807  --enable-fast-install@<:@=PKGS@:>@ 
1808                          optimize for fast installation @<:@default=yes@:>@
1809  --disable-libtool-lock  avoid locking (might break parallel builds)
1810  --disable-nls           do not use Native Language Support
1811  --disable-glib          Disable use of GLib
1812  --disable-gobject       Disable use of GLib GObject
1813  --disable-qt3           Disable building of Qt3 mainloop integration
1814  --disable-qt4           Disable building of Qt4Core mainloop integration
1815  --disable-gtk           Disable use of GTK+
1816  --disable-dbus          Disable use of D-Bus
1817  --enable-dbm            Enable use of DBM
1818  --disable-gdbm          Disable use of GDBM
1819  --disable-libdaemon     Disable use of libdaemon
1820  --disable-python        Disable scripts that depends on python
1821  --disable-pygtk         Disable use of GTK in Python
1822  --disable-python-dbus   Disable use of D-Bus in Python
1823  --disable-mono          Disable mono bindings
1824  --disable-monodoc       Disable documentation for mono bindings
1825  --disable-autoipd       Disable building of avahi-autoipd
1826  --disable-doxygen-doc   don't generate any doxygen documentation
1827  --disable-doxygen-dot   don't generate graphics for doxygen documentation
1828  --enable-doxygen-man    generate doxygen manual pages
1829  --enable-doxygen-rtf    generate doxygen RTF documentation
1830  --disable-doxygen-xml   don't generate doxygen XML documentation
1831  --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1832  --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1833                          file
1834  --disable-doxygen-html  don't generate doxygen plain HTML documentation
1835  --enable-doxygen-ps     generate doxygen PostScript documentation
1836  --enable-doxygen-pdf    generate doxygen PDF documentation
1837  --enable-core-docs      Enable building of documentation for avahi-core
1838  --disable-manpages      Disable building and installation of man pages
1839  --disable-xmltoman      Disable rebuilding of man pages with xmltoman
1840  --enable-tests          Enable building of tests and examples
1841  --enable-compat-libdns_sd 
1842                          Enable compatibility layer for libdns_sd
1843  --enable-compat-howl    Enable compatibility layer for HOWL
1844
1845Optional Packages:
1846  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1847  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1848  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1849                          both@:>@
1850  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1851  --with-distro=DISTRO    Specify the distribution to target: One of lfs,
1852                          debian, gentoo, archlinux, fedora, mandriva, darwin,
1853                          netbsd, freebsd, slackware or none
1854  --with-dbus-sys=<dir>   Path to D-Bus system.d directory
1855  --with-dbus-system-address=<address> 
1856                          Path to the D-Bus system socket, you probably want
1857                          to put unix:path= at the start. Only needed for very
1858                          old D-Bus releases
1859  --with-xml=expat/bsdxml/none 
1860                          XML library to use
1861  --with-avahi-user=<user> 
1862                          User for running avahi-daemon (avahi)
1863  --with-avahi-group=<group> 
1864                          Group for running avahi-daemon (avahi)
1865  --with-avahi-priv-access-group=<group> 
1866                          Priviliged access group for Avahi clients (netdev)
1867  --with-autoipd-user=<user> 
1868                          User for running the avahi-autoipd daemon
1869                          (avahi-autoipd)
1870  --with-autoipd-group=<group> 
1871                          Group for running the avahi-autoipd daemon
1872                          (avahi-autoipd)
1873
1874Some influential environment variables:
1875  CC          C compiler command
1876  CFLAGS      C compiler flags
1877  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1878              nonstandard directory <lib dir>
1879  LIBS        libraries to pass to the linker, e.g. -l<library>
1880  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1881              you have headers in a nonstandard directory <include dir>
1882  CXX         C++ compiler command
1883  CXXFLAGS    C++ compiler flags
1884  CPP         C preprocessor
1885  CXXCPP      C++ preprocessor
1886  PKG_CONFIG  path to pkg-config utility
1887  GLIB20_CFLAGS 
1888              C compiler flags for GLIB20, overriding pkg-config
1889  GLIB20_LIBS linker flags for GLIB20, overriding pkg-config
1890  GOBJECT_CFLAGS 
1891              C compiler flags for GOBJECT, overriding pkg-config
1892  GOBJECT_LIBS 
1893              linker flags for GOBJECT, overriding pkg-config
1894  QT3_CFLAGS  C compiler flags for QT3, overriding pkg-config
1895  QT3_LIBS    linker flags for QT3, overriding pkg-config
1896  QT4_CFLAGS  C compiler flags for QT4, overriding pkg-config
1897  QT4_LIBS    linker flags for QT4, overriding pkg-config
1898  GTK20_CFLAGS 
1899              C compiler flags for GTK20, overriding pkg-config
1900  GTK20_LIBS  linker flags for GTK20, overriding pkg-config
1901  GLADE20_CFLAGS 
1902              C compiler flags for GLADE20, overriding pkg-config
1903  GLADE20_LIBS 
1904              linker flags for GLADE20, overriding pkg-config
1905  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1906  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1907  LIBDAEMON_CFLAGS 
1908              C compiler flags for LIBDAEMON, overriding pkg-config
1909  LIBDAEMON_LIBS 
1910              linker flags for LIBDAEMON, overriding pkg-config
1911  MONODOC_CFLAGS 
1912              C compiler flags for MONODOC, overriding pkg-config
1913  MONODOC_LIBS 
1914              linker flags for MONODOC, overriding pkg-config
1915  DOXYGEN_PAPER_SIZE 
1916              a4wide (default), a4, letter, legal or executive
1917
1918Use these variables to override the choices made by `configure' or to help
1919it to find libraries and programs with nonstandard names/locations.
1920
1921Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>.
1922_ACEOF
1923ac_status=$?
1924fi
1925
1926if test "$ac_init_help" = "recursive"; then
1927  # If there are subdirs, report their specific --help.
1928  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1929    test -d "$ac_dir" ||
1930      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1931      continue
1932    ac_builddir=.
1933
1934case "$ac_dir" in
1935.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1936*)
1937  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1938  # A ".." for each directory in $ac_dir_suffix.
1939  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1940  case $ac_top_builddir_sub in
1941  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1942  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1943  esac ;;
1944esac
1945ac_abs_top_builddir=$ac_pwd
1946ac_abs_builddir=$ac_pwd$ac_dir_suffix
1947# for backward compatibility:
1948ac_top_builddir=$ac_top_build_prefix
1949
1950case $srcdir in
1951  .)  # We are building in place.
1952    ac_srcdir=.
1953    ac_top_srcdir=$ac_top_builddir_sub
1954    ac_abs_top_srcdir=$ac_pwd ;;
1955  [\\/]* | ?:[\\/]* )  # Absolute name.
1956    ac_srcdir=$srcdir$ac_dir_suffix;
1957    ac_top_srcdir=$srcdir
1958    ac_abs_top_srcdir=$srcdir ;;
1959  *) # Relative name.
1960    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1961    ac_top_srcdir=$ac_top_build_prefix$srcdir
1962    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1963esac
1964ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1965
1966    cd "$ac_dir" || { ac_status=$?; continue; }
1967    # Check for guested configure.
1968    if test -f "$ac_srcdir/configure.gnu"; then
1969      echo &&
1970      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1971    elif test -f "$ac_srcdir/configure"; then
1972      echo &&
1973      $SHELL "$ac_srcdir/configure" --help=recursive
1974    else
1975      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1976    fi || ac_status=$?
1977    cd "$ac_pwd" || { ac_status=$?; break; }
1978  done
1979fi
1980
1981test -n "$ac_init_help" && exit $ac_status
1982if $ac_init_version; then
1983  cat <<\_ACEOF
1984avahi configure 0.6.25
1985generated by GNU Autoconf 2.65
1986
1987Copyright (C) 2009 Free Software Foundation, Inc.
1988This configure script is free software; the Free Software Foundation
1989gives unlimited permission to copy, distribute and modify it.
1990_ACEOF
1991  exit
1992fi
1993
1994## ------------------------ ##
1995## Autoconf initialization. ##
1996## ------------------------ ##
1997
1998@%:@ ac_fn_c_try_compile LINENO
1999@%:@ --------------------------
2000@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
2001ac_fn_c_try_compile ()
2002{
2003  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004  rm -f conftest.$ac_objext
2005  if { { ac_try="$ac_compile"
2006case "(($ac_try" in
2007  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2008  *) ac_try_echo=$ac_try;;
2009esac
2010eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011$as_echo "$ac_try_echo"; } >&5
2012  (eval "$ac_compile") 2>conftest.err
2013  ac_status=$?
2014  if test -s conftest.err; then
2015    grep -v '^ *+' conftest.err >conftest.er1
2016    cat conftest.er1 >&5
2017    mv -f conftest.er1 conftest.err
2018  fi
2019  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2020  test $ac_status = 0; } && {
2021	 test -z "$ac_c_werror_flag" ||
2022	 test ! -s conftest.err
2023       } && test -s conftest.$ac_objext; then :
2024  ac_retval=0
2025else
2026  $as_echo "$as_me: failed program was:" >&5
2027sed 's/^/| /' conftest.$ac_ext >&5
2028
2029	ac_retval=1
2030fi
2031  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2032  as_fn_set_status $ac_retval
2033
2034} @%:@ ac_fn_c_try_compile
2035
2036@%:@ ac_fn_cxx_try_compile LINENO
2037@%:@ ----------------------------
2038@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
2039ac_fn_cxx_try_compile ()
2040{
2041  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042  rm -f conftest.$ac_objext
2043  if { { ac_try="$ac_compile"
2044case "(($ac_try" in
2045  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2046  *) ac_try_echo=$ac_try;;
2047esac
2048eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2049$as_echo "$ac_try_echo"; } >&5
2050  (eval "$ac_compile") 2>conftest.err
2051  ac_status=$?
2052  if test -s conftest.err; then
2053    grep -v '^ *+' conftest.err >conftest.er1
2054    cat conftest.er1 >&5
2055    mv -f conftest.er1 conftest.err
2056  fi
2057  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2058  test $ac_status = 0; } && {
2059	 test -z "$ac_cxx_werror_flag" ||
2060	 test ! -s conftest.err
2061       } && test -s conftest.$ac_objext; then :
2062  ac_retval=0
2063else
2064  $as_echo "$as_me: failed program was:" >&5
2065sed 's/^/| /' conftest.$ac_ext >&5
2066
2067	ac_retval=1
2068fi
2069  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2070  as_fn_set_status $ac_retval
2071
2072} @%:@ ac_fn_cxx_try_compile
2073
2074@%:@ ac_fn_c_try_cpp LINENO
2075@%:@ ----------------------
2076@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2077ac_fn_c_try_cpp ()
2078{
2079  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2080  if { { ac_try="$ac_cpp conftest.$ac_ext"
2081case "(($ac_try" in
2082  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2083  *) ac_try_echo=$ac_try;;
2084esac
2085eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2086$as_echo "$ac_try_echo"; } >&5
2087  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2088  ac_status=$?
2089  if test -s conftest.err; then
2090    grep -v '^ *+' conftest.err >conftest.er1
2091    cat conftest.er1 >&5
2092    mv -f conftest.er1 conftest.err
2093  fi
2094  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2095  test $ac_status = 0; } >/dev/null && {
2096	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2097	 test ! -s conftest.err
2098       }; then :
2099  ac_retval=0
2100else
2101  $as_echo "$as_me: failed program was:" >&5
2102sed 's/^/| /' conftest.$ac_ext >&5
2103
2104    ac_retval=1
2105fi
2106  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107  as_fn_set_status $ac_retval
2108
2109} @%:@ ac_fn_c_try_cpp
2110
2111@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2112@%:@ -------------------------------------------------------
2113@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2114@%:@ the include files in INCLUDES and setting the cache variable VAR
2115@%:@ accordingly.
2116ac_fn_c_check_header_mongrel ()
2117{
2118  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121$as_echo_n "checking for $2... " >&6; }
2122if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2123  $as_echo_n "(cached) " >&6
2124fi
2125eval ac_res=\$$3
2126	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127$as_echo "$ac_res" >&6; }
2128else
2129  # Is the header compilable?
2130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2131$as_echo_n "checking $2 usability... " >&6; }
2132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133/* end confdefs.h.  */
2134$4
2135@%:@include <$2>
2136_ACEOF
2137if ac_fn_c_try_compile "$LINENO"; then :
2138  ac_header_compiler=yes
2139else
2140  ac_header_compiler=no
2141fi
2142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2144$as_echo "$ac_header_compiler" >&6; }
2145
2146# Is the header present?
2147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2148$as_echo_n "checking $2 presence... " >&6; }
2149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150/* end confdefs.h.  */
2151@%:@include <$2>
2152_ACEOF
2153if ac_fn_c_try_cpp "$LINENO"; then :
2154  ac_header_preproc=yes
2155else
2156  ac_header_preproc=no
2157fi
2158rm -f conftest.err conftest.$ac_ext
2159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2160$as_echo "$ac_header_preproc" >&6; }
2161
2162# So?  What about this header?
2163case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2164  yes:no: )
2165    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2166$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2167    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169    ;;
2170  no:yes:* )
2171    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2172$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2173    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2174$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2175    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2176$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2177    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2178$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2179    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181( cat <<\_ASBOX
2182## ----------------------------------------------------------- ##
2183## Report this to avahi (at) lists (dot) freedesktop (dot) org ##
2184## ----------------------------------------------------------- ##
2185_ASBOX
2186     ) | sed "s/^/$as_me: WARNING:     /" >&2
2187    ;;
2188esac
2189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2190$as_echo_n "checking for $2... " >&6; }
2191if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2192  $as_echo_n "(cached) " >&6
2193else
2194  eval "$3=\$ac_header_compiler"
2195fi
2196eval ac_res=\$$3
2197	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2198$as_echo "$ac_res" >&6; }
2199fi
2200  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2201
2202} @%:@ ac_fn_c_check_header_mongrel
2203
2204@%:@ ac_fn_c_try_run LINENO
2205@%:@ ----------------------
2206@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2207@%:@ that executables *can* be run.
2208ac_fn_c_try_run ()
2209{
2210  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2211  if { { ac_try="$ac_link"
2212case "(($ac_try" in
2213  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2214  *) ac_try_echo=$ac_try;;
2215esac
2216eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2217$as_echo "$ac_try_echo"; } >&5
2218  (eval "$ac_link") 2>&5
2219  ac_status=$?
2220  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2221  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2222  { { case "(($ac_try" in
2223  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2224  *) ac_try_echo=$ac_try;;
2225esac
2226eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2227$as_echo "$ac_try_echo"; } >&5
2228  (eval "$ac_try") 2>&5
2229  ac_status=$?
2230  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2231  test $ac_status = 0; }; }; then :
2232  ac_retval=0
2233else
2234  $as_echo "$as_me: program exited with status $ac_status" >&5
2235       $as_echo "$as_me: failed program was:" >&5
2236sed 's/^/| /' conftest.$ac_ext >&5
2237
2238       ac_retval=$ac_status
2239fi
2240  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2241  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2242  as_fn_set_status $ac_retval
2243
2244} @%:@ ac_fn_c_try_run
2245
2246@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2247@%:@ -------------------------------------------------------
2248@%:@ Tests whether HEADER exists and can be compiled using the include files in
2249@%:@ INCLUDES, setting the cache variable VAR accordingly.
2250ac_fn_c_check_header_compile ()
2251{
2252  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2254$as_echo_n "checking for $2... " >&6; }
2255if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2256  $as_echo_n "(cached) " >&6
2257else
2258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259/* end confdefs.h.  */
2260$4
2261@%:@include <$2>
2262_ACEOF
2263if ac_fn_c_try_compile "$LINENO"; then :
2264  eval "$3=yes"
2265else
2266  eval "$3=no"
2267fi
2268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2269fi
2270eval ac_res=\$$3
2271	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2272$as_echo "$ac_res" >&6; }
2273  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2274
2275} @%:@ ac_fn_c_check_header_compile
2276
2277@%:@ ac_fn_c_try_link LINENO
2278@%:@ -----------------------
2279@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2280ac_fn_c_try_link ()
2281{
2282  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2283  rm -f conftest.$ac_objext conftest$ac_exeext
2284  if { { ac_try="$ac_link"
2285case "(($ac_try" in
2286  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2287  *) ac_try_echo=$ac_try;;
2288esac
2289eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2290$as_echo "$ac_try_echo"; } >&5
2291  (eval "$ac_link") 2>conftest.err
2292  ac_status=$?
2293  if test -s conftest.err; then
2294    grep -v '^ *+' conftest.err >conftest.er1
2295    cat conftest.er1 >&5
2296    mv -f conftest.er1 conftest.err
2297  fi
2298  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2299  test $ac_status = 0; } && {
2300	 test -z "$ac_c_werror_flag" ||
2301	 test ! -s conftest.err
2302       } && test -s conftest$ac_exeext && {
2303	 test "$cross_compiling" = yes ||
2304	 $as_test_x conftest$ac_exeext
2305       }; then :
2306  ac_retval=0
2307else
2308  $as_echo "$as_me: failed program was:" >&5
2309sed 's/^/| /' conftest.$ac_ext >&5
2310
2311	ac_retval=1
2312fi
2313  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2314  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2315  # interfere with the next link command; also delete a directory that is
2316  # left behind by Apple's compiler.  We do this before executing the actions.
2317  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2318  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2319  as_fn_set_status $ac_retval
2320
2321} @%:@ ac_fn_c_try_link
2322
2323@%:@ ac_fn_c_check_func LINENO FUNC VAR
2324@%:@ ----------------------------------
2325@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2326ac_fn_c_check_func ()
2327{
2328  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2329  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2330$as_echo_n "checking for $2... " >&6; }
2331if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2332  $as_echo_n "(cached) " >&6
2333else
2334  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335/* end confdefs.h.  */
2336/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2337   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2338#define $2 innocuous_$2
2339
2340/* System header to define __stub macros and hopefully few prototypes,
2341    which can conflict with char $2 (); below.
2342    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2343    <limits.h> exists even on freestanding compilers.  */
2344
2345#ifdef __STDC__
2346# include <limits.h>
2347#else
2348# include <assert.h>
2349#endif
2350
2351#undef $2
2352
2353/* Override any GCC internal prototype to avoid an error.
2354   Use char because int might match the return type of a GCC
2355   builtin and then its argument prototype would still apply.  */
2356#ifdef __cplusplus
2357extern "C"
2358#endif
2359char $2 ();
2360/* The GNU C library defines this for functions which it implements
2361    to always fail with ENOSYS.  Some functions are actually named
2362    something starting with __ and the normal name is an alias.  */
2363#if defined __stub_$2 || defined __stub___$2
2364choke me
2365#endif
2366
2367int
2368main ()
2369{
2370return $2 ();
2371  ;
2372  return 0;
2373}
2374_ACEOF
2375if ac_fn_c_try_link "$LINENO"; then :
2376  eval "$3=yes"
2377else
2378  eval "$3=no"
2379fi
2380rm -f core conftest.err conftest.$ac_objext \
2381    conftest$ac_exeext conftest.$ac_ext
2382fi
2383eval ac_res=\$$3
2384	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2385$as_echo "$ac_res" >&6; }
2386  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2387
2388} @%:@ ac_fn_c_check_func
2389
2390@%:@ ac_fn_cxx_try_cpp LINENO
2391@%:@ ------------------------
2392@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2393ac_fn_cxx_try_cpp ()
2394{
2395  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2396  if { { ac_try="$ac_cpp conftest.$ac_ext"
2397case "(($ac_try" in
2398  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399  *) ac_try_echo=$ac_try;;
2400esac
2401eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402$as_echo "$ac_try_echo"; } >&5
2403  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2404  ac_status=$?
2405  if test -s conftest.err; then
2406    grep -v '^ *+' conftest.err >conftest.er1
2407    cat conftest.er1 >&5
2408    mv -f conftest.er1 conftest.err
2409  fi
2410  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411  test $ac_status = 0; } >/dev/null && {
2412	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2413	 test ! -s conftest.err
2414       }; then :
2415  ac_retval=0
2416else
2417  $as_echo "$as_me: failed program was:" >&5
2418sed 's/^/| /' conftest.$ac_ext >&5
2419
2420    ac_retval=1
2421fi
2422  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2423  as_fn_set_status $ac_retval
2424
2425} @%:@ ac_fn_cxx_try_cpp
2426
2427@%:@ ac_fn_cxx_try_link LINENO
2428@%:@ -------------------------
2429@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2430ac_fn_cxx_try_link ()
2431{
2432  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2433  rm -f conftest.$ac_objext conftest$ac_exeext
2434  if { { ac_try="$ac_link"
2435case "(($ac_try" in
2436  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437  *) ac_try_echo=$ac_try;;
2438esac
2439eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2440$as_echo "$ac_try_echo"; } >&5
2441  (eval "$ac_link") 2>conftest.err
2442  ac_status=$?
2443  if test -s conftest.err; then
2444    grep -v '^ *+' conftest.err >conftest.er1
2445    cat conftest.er1 >&5
2446    mv -f conftest.er1 conftest.err
2447  fi
2448  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2449  test $ac_status = 0; } && {
2450	 test -z "$ac_cxx_werror_flag" ||
2451	 test ! -s conftest.err
2452       } && test -s conftest$ac_exeext && {
2453	 test "$cross_compiling" = yes ||
2454	 $as_test_x conftest$ac_exeext
2455       }; then :
2456  ac_retval=0
2457else
2458  $as_echo "$as_me: failed program was:" >&5
2459sed 's/^/| /' conftest.$ac_ext >&5
2460
2461	ac_retval=1
2462fi
2463  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2464  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2465  # interfere with the next link command; also delete a directory that is
2466  # left behind by Apple's compiler.  We do this before executing the actions.
2467  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2468  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2469  as_fn_set_status $ac_retval
2470
2471} @%:@ ac_fn_cxx_try_link
2472
2473@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2474@%:@ -------------------------------------------
2475@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2476@%:@ variable VAR accordingly.
2477ac_fn_c_check_type ()
2478{
2479  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2481$as_echo_n "checking for $2... " >&6; }
2482if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2483  $as_echo_n "(cached) " >&6
2484else
2485  eval "$3=no"
2486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487/* end confdefs.h.  */
2488$4
2489int
2490main ()
2491{
2492if (sizeof ($2))
2493	 return 0;
2494  ;
2495  return 0;
2496}
2497_ACEOF
2498if ac_fn_c_try_compile "$LINENO"; then :
2499  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2500/* end confdefs.h.  */
2501$4
2502int
2503main ()
2504{
2505if (sizeof (($2)))
2506	    return 0;
2507  ;
2508  return 0;
2509}
2510_ACEOF
2511if ac_fn_c_try_compile "$LINENO"; then :
2512  
2513else
2514  eval "$3=yes"
2515fi
2516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2517fi
2518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2519fi
2520eval ac_res=\$$3
2521	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2522$as_echo "$ac_res" >&6; }
2523  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2524
2525} @%:@ ac_fn_c_check_type
2526
2527@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR
2528@%:@ ------------------------------------
2529@%:@ Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2530ac_fn_c_check_decl ()
2531{
2532  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2534$as_echo_n "checking whether $2 is declared... " >&6; }
2535if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2536  $as_echo_n "(cached) " >&6
2537else
2538  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2539/* end confdefs.h.  */
2540$4
2541int
2542main ()
2543{
2544@%:@ifndef $2
2545  (void) $2;
2546@%:@endif
2547
2548  ;
2549  return 0;
2550}
2551_ACEOF
2552if ac_fn_c_try_compile "$LINENO"; then :
2553  eval "$3=yes"
2554else
2555  eval "$3=no"
2556fi
2557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2558fi
2559eval ac_res=\$$3
2560	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2561$as_echo "$ac_res" >&6; }
2562  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2563
2564} @%:@ ac_fn_c_check_decl
2565cat >config.log <<_ACEOF
2566This file contains any messages produced by compilers while
2567running configure, to aid debugging if configure makes a mistake.
2568
2569It was created by avahi $as_me 0.6.25, which was
2570generated by GNU Autoconf 2.65.  Invocation command line was
2571
2572  $ $0 $@
2573
2574_ACEOF
2575exec 5>>config.log
2576{
2577cat <<_ASUNAME
2578## --------- ##
2579## Platform. ##
2580## --------- ##
2581
2582hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2583uname -m = `(uname -m) 2>/dev/null || echo unknown`
2584uname -r = `(uname -r) 2>/dev/null || echo unknown`
2585uname -s = `(uname -s) 2>/dev/null || echo unknown`
2586uname -v = `(uname -v) 2>/dev/null || echo unknown`
2587
2588/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2589/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2590
2591/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2592/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2593/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2594/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2595/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2596/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2597/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2598
2599_ASUNAME
2600
2601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602for as_dir in $PATH
2603do
2604  IFS=$as_save_IFS
2605  test -z "$as_dir" && as_dir=.
2606    $as_echo "PATH: $as_dir"
2607  done
2608IFS=$as_save_IFS
2609
2610} >&5
2611
2612cat >&5 <<_ACEOF
2613
2614
2615## ----------- ##
2616## Core tests. ##
2617## ----------- ##
2618
2619_ACEOF
2620
2621
2622# Keep a trace of the command line.
2623# Strip out --no-create and --no-recursion so they do not pile up.
2624# Strip out --silent because we don't want to record it for future runs.
2625# Also quote any args containing shell meta-characters.
2626# Make two passes to allow for proper duplicate-argument suppression.
2627ac_configure_args=
2628ac_configure_args0=
2629ac_configure_args1=
2630ac_must_keep_next=false
2631for ac_pass in 1 2
2632do
2633  for ac_arg
2634  do
2635    case $ac_arg in
2636    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2637    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2638    | -silent | --silent | --silen | --sile | --sil)
2639      continue ;;
2640    *\'*)
2641      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2642    esac
2643    case $ac_pass in
2644    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2645    2)
2646      as_fn_append ac_configure_args1 " '$ac_arg'"
2647      if test $ac_must_keep_next = true; then
2648	ac_must_keep_next=false # Got value, back to normal.
2649      else
2650	case $ac_arg in
2651	  *=* | --config-cache | -C | -disable-* | --disable-* \
2652	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2653	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2654	  | -with-* | --with-* | -without-* | --without-* | --x)
2655	    case "$ac_configure_args0 " in
2656	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2657	    esac
2658	    ;;
2659	  -* ) ac_must_keep_next=true ;;
2660	esac
2661      fi
2662      as_fn_append ac_configure_args " '$ac_arg'"
2663      ;;
2664    esac
2665  done
2666done
2667{ ac_configure_args0=; unset ac_configure_args0;}
2668{ ac_configure_args1=; unset ac_configure_args1;}
2669
2670# When interrupted or exit'd, cleanup temporary files, and complete
2671# config.log.  We remove comments because anyway the quotes in there
2672# would cause problems or look ugly.
2673# WARNING: Use '\'' to represent an apostrophe within the trap.
2674# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2675trap 'exit_status=$?
2676  # Save into config.log some information that might help in debugging.
2677  {
2678    echo
2679
2680    cat <<\_ASBOX
2681## ---------------- ##
2682## Cache variables. ##
2683## ---------------- ##
2684_ASBOX
2685    echo
2686    # The following way of writing the cache mishandles newlines in values,
2687(
2688  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2689    eval ac_val=\$$ac_var
2690    case $ac_val in #(
2691    *${as_nl}*)
2692      case $ac_var in #(
2693      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2694$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2695      esac
2696      case $ac_var in #(
2697      _ | IFS | as_nl) ;; #(
2698      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2699      *) { eval $ac_var=; unset $ac_var;} ;;
2700      esac ;;
2701    esac
2702  done
2703  (set) 2>&1 |
2704    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2705    *${as_nl}ac_space=\ *)
2706      sed -n \
2707	"s/'\''/'\''\\\\'\'''\''/g;
2708	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2709      ;; #(
2710    *)
2711      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2712      ;;
2713    esac |
2714    sort
2715)
2716    echo
2717
2718    cat <<\_ASBOX
2719## ----------------- ##
2720## Output variables. ##
2721## ----------------- ##
2722_ASBOX
2723    echo
2724    for ac_var in $ac_subst_vars
2725    do
2726      eval ac_val=\$$ac_var
2727      case $ac_val in
2728      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2729      esac
2730      $as_echo "$ac_var='\''$ac_val'\''"
2731    done | sort
2732    echo
2733
2734    if test -n "$ac_subst_files"; then
2735      cat <<\_ASBOX
2736## ------------------- ##
2737## File substitutions. ##
2738## ------------------- ##
2739_ASBOX
2740      echo
2741      for ac_var in $ac_subst_files
2742      do
2743	eval ac_val=\$$ac_var
2744	case $ac_val in
2745	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2746	esac
2747	$as_echo "$ac_var='\''$ac_val'\''"
2748      done | sort
2749      echo
2750    fi
2751
2752    if test -s confdefs.h; then
2753      cat <<\_ASBOX
2754## ----------- ##
2755## confdefs.h. ##
2756## ----------- ##
2757_ASBOX
2758      echo
2759      cat confdefs.h
2760      echo
2761    fi
2762    test "$ac_signal" != 0 &&
2763      $as_echo "$as_me: caught signal $ac_signal"
2764    $as_echo "$as_me: exit $exit_status"
2765  } >&5
2766  rm -f core *.core core.conftest.* &&
2767    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2768    exit $exit_status
2769' 0
2770for ac_signal in 1 2 13 15; do
2771  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2772done
2773ac_signal=0
2774
2775# confdefs.h avoids OS command line length limits that DEFS can exceed.
2776rm -f -r conftest* confdefs.h
2777
2778$as_echo "/* confdefs.h */" > confdefs.h
2779
2780# Predefined preprocessor variables.
2781
2782cat >>confdefs.h <<_ACEOF
2783@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2784_ACEOF
2785
2786cat >>confdefs.h <<_ACEOF
2787@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2788_ACEOF
2789
2790cat >>confdefs.h <<_ACEOF
2791@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2792_ACEOF
2793
2794cat >>confdefs.h <<_ACEOF
2795@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2796_ACEOF
2797
2798cat >>confdefs.h <<_ACEOF
2799@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2800_ACEOF
2801
2802cat >>confdefs.h <<_ACEOF
2803@%:@define PACKAGE_URL "$PACKAGE_URL"
2804_ACEOF
2805
2806
2807# Let the site file select an alternate cache file if it wants to.
2808# Prefer an explicitly selected file to automatically selected ones.
2809ac_site_file1=NONE
2810ac_site_file2=NONE
2811if test -n "$CONFIG_SITE"; then
2812  ac_site_file1=$CONFIG_SITE
2813elif test "x$prefix" != xNONE; then
2814  ac_site_file1=$prefix/share/config.site
2815  ac_site_file2=$prefix/etc/config.site
2816else
2817  ac_site_file1=$ac_default_prefix/share/config.site
2818  ac_site_file2=$ac_default_prefix/etc/config.site
2819fi
2820for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2821do
2822  test "x$ac_site_file" = xNONE && continue
2823  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2824    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2825$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2826    sed 's/^/| /' "$ac_site_file" >&5
2827    . "$ac_site_file"
2828  fi
2829done
2830
2831if test -r "$cache_file"; then
2832  # Some versions of bash will fail to source /dev/null (special files
2833  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2834  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2835    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2836$as_echo "$as_me: loading cache $cache_file" >&6;}
2837    case $cache_file in
2838      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2839      *)                      . "./$cache_file";;
2840    esac
2841  fi
2842else
2843  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2844$as_echo "$as_me: creating cache $cache_file" >&6;}
2845  >$cache_file
2846fi
2847
2848# Check that the precious variables saved in the cache have kept the same
2849# value.
2850ac_cache_corrupted=false
2851for ac_var in $ac_precious_vars; do
2852  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2853  eval ac_new_set=\$ac_env_${ac_var}_set
2854  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2855  eval ac_new_val=\$ac_env_${ac_var}_value
2856  case $ac_old_set,$ac_new_set in
2857    set,)
2858      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2859$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2860      ac_cache_corrupted=: ;;
2861    ,set)
2862      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2863$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2864      ac_cache_corrupted=: ;;
2865    ,);;
2866    *)
2867      if test "x$ac_old_val" != "x$ac_new_val"; then
2868	# differences in whitespace do not lead to failure.
2869	ac_old_val_w=`echo x $ac_old_val`
2870	ac_new_val_w=`echo x $ac_new_val`
2871	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2872	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2873$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2874	  ac_cache_corrupted=:
2875	else
2876	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2877$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2878	  eval $ac_var=\$ac_old_val
2879	fi
2880	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2881$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2882	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2883$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2884      fi;;
2885  esac
2886  # Pass precious variables to config.status.
2887  if test "$ac_new_set" = set; then
2888    case $ac_new_val in
2889    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2890    *) ac_arg=$ac_var=$ac_new_val ;;
2891    esac
2892    case " $ac_configure_args " in
2893      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2894      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2895    esac
2896  fi
2897done
2898if $ac_cache_corrupted; then
2899  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2900$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2901  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2902$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2903  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2904fi
2905## -------------------- ##
2906## Main body of script. ##
2907## -------------------- ##
2908
2909ac_ext=c
2910ac_cpp='$CPP $CPPFLAGS'
2911ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914
2915
2916
2917ac_config_headers="$ac_config_headers config.h"
2918
2919am__api_version='1.10'
2920
2921ac_aux_dir=
2922for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2923  for ac_t in install-sh install.sh shtool; do
2924    if test -f "$ac_dir/$ac_t"; then
2925      ac_aux_dir=$ac_dir
2926      ac_install_sh="$ac_aux_dir/$ac_t -c"
2927      break 2
2928    fi
2929  done
2930done
2931if test -z "$ac_aux_dir"; then
2932  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2933fi
2934
2935# These three variables are undocumented and unsupported,
2936# and are intended to be withdrawn in a future Autoconf release.
2937# They can cause serious problems if a builder's source tree is in a directory
2938# whose full name contains unusual characters.
2939ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2940ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2941ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2942
2943
2944# Find a good install program.  We prefer a C program (faster),
2945# so one script is as good as another.  But avoid the broken or
2946# incompatible versions:
2947# SysV /etc/install, /usr/sbin/install
2948# SunOS /usr/etc/install
2949# IRIX /sbin/install
2950# AIX /bin/install
2951# AmigaOS /C/install, which installs bootblocks on floppy discs
2952# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2953# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2954# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2955# OS/2's system install, which has a completely different semantic
2956# ./install, which can be erroneously created by make from ./install.sh.
2957# Reject install programs that cannot install multiple files.
2958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2959$as_echo_n "checking for a BSD-compatible install... " >&6; }
2960if test -z "$INSTALL"; then
2961if test "${ac_cv_path_install+set}" = set; then :
2962  $as_echo_n "(cached) " >&6
2963else
2964  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965for as_dir in $PATH
2966do
2967  IFS=$as_save_IFS
2968  test -z "$as_dir" && as_dir=.
2969    # Account for people who put trailing slashes in PATH elements.
2970case $as_dir/ in @%:@((
2971  ./ | .// | /[cC]/* | \
2972  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2973  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2974  /usr/ucb/* ) ;;
2975  *)
2976    # OSF1 and SCO ODT 3.0 have their own names for install.
2977    # Don't use installbsd from OSF since it installs stuff as root
2978    # by default.
2979    for ac_prog in ginstall scoinst install; do
2980      for ac_exec_ext in '' $ac_executable_extensions; do
2981	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2982	  if test $ac_prog = install &&
2983	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2984	    # AIX install.  It has an incompatible calling convention.
2985	    :
2986	  elif test $ac_prog = install &&
2987	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2988	    # program-specific install script used by HP pwplus--don't use.
2989	    :
2990	  else
2991	    rm -rf conftest.one conftest.two conftest.dir
2992	    echo one > conftest.one
2993	    echo two > conftest.two
2994	    mkdir conftest.dir
2995	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2996	      test -s conftest.one && test -s conftest.two &&
2997	      test -s conftest.dir/conftest.one &&
2998	      test -s conftest.dir/conftest.two
2999	    then
3000	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3001	      break 3
3002	    fi
3003	  fi
3004	fi
3005      done
3006    done
3007    ;;
3008esac
3009
3010  done
3011IFS=$as_save_IFS
3012
3013rm -rf conftest.one conftest.two conftest.dir
3014
3015fi
3016  if test "${ac_cv_path_install+set}" = set; then
3017    INSTALL=$ac_cv_path_install
3018  else
3019    # As a last resort, use the slow shell script.  Don't cache a
3020    # value for INSTALL within a source directory, because that will
3021    # break other packages using the cache if that directory is
3022    # removed, or if the value is a relative name.
3023    INSTALL=$ac_install_sh
3024  fi
3025fi
3026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3027$as_echo "$INSTALL" >&6; }
3028
3029# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3030# It thinks the first close brace ends the variable substitution.
3031test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3032
3033test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3034
3035test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3036
3037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3038$as_echo_n "checking whether build environment is sane... " >&6; }
3039# Just in case
3040sleep 1
3041echo timestamp > conftest.file
3042# Do `set' in a subshell so we don't clobber the current shell's
3043# arguments.  Must try -L first in case configure is actually a
3044# symlink; some systems play weird games with the mod time of symlinks
3045# (eg FreeBSD returns the mod time of the symlink's containing
3046# directory).
3047if (
3048   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3049   if test "$*" = "X"; then
3050      # -L didn't work.
3051      set X `ls -t $srcdir/configure conftest.file`
3052   fi
3053   rm -f conftest.file
3054   if test "$*" != "X $srcdir/configure conftest.file" \
3055      && test "$*" != "X conftest.file $srcdir/configure"; then
3056
3057      # If neither matched, then we have a broken ls.  This can happen
3058      # if, for instance, CONFIG_SHELL is bash and it inherits a
3059      # broken ls alias from the environment.  This has actually
3060      # happened.  Such a system could not be considered "sane".
3061      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3062alias in your environment" "$LINENO" 5
3063   fi
3064
3065   test "$2" = conftest.file
3066   )
3067then
3068   # Ok.
3069   :
3070else
3071   as_fn_error "newly created file is older than distributed files!
3072Check your system clock" "$LINENO" 5
3073fi
3074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3075$as_echo "yes" >&6; }
3076test "$program_prefix" != NONE &&
3077  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3078# Use a double $ so make ignores it.
3079test "$program_suffix" != NONE &&
3080  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3081# Double any \ or $.
3082# By default was `s,x,x', remove it if useless.
3083ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3084program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3085
3086# expand $ac_aux_dir to an absolute path
3087am_aux_dir=`cd $ac_aux_dir && pwd`
3088
3089test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3090# Use eval to expand $SHELL
3091if eval "$MISSING --run true"; then
3092  am_missing_run="$MISSING --run "
3093else
3094  am_missing_run=
3095  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3096$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3097fi
3098
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3100$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3101if test -z "$MKDIR_P"; then
3102  if test "${ac_cv_path_mkdir+set}" = set; then :
3103  $as_echo_n "(cached) " >&6
3104else
3105  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3107do
3108  IFS=$as_save_IFS
3109  test -z "$as_dir" && as_dir=.
3110    for ac_prog in mkdir gmkdir; do
3111	 for ac_exec_ext in '' $ac_executable_extensions; do
3112	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3113	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3114	     'mkdir (GNU coreutils) '* | \
3115	     'mkdir (coreutils) '* | \
3116	     'mkdir (fileutils) '4.1*)
3117	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3118	       break 3;;
3119	   esac
3120	 done
3121       done
3122  done
3123IFS=$as_save_IFS
3124
3125fi
3126
3127  test -d ./--version && rmdir ./--version
3128  if test "${ac_cv_path_mkdir+set}" = set; then
3129    MKDIR_P="$ac_cv_path_mkdir -p"
3130  else
3131    # As a last resort, use the slow shell script.  Don't cache a
3132    # value for MKDIR_P within a source directory, because that will
3133    # break other packages using the cache if that directory is
3134    # removed, or if the value is a relative name.
3135    MKDIR_P="$ac_install_sh -d"
3136  fi
3137fi
3138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3139$as_echo "$MKDIR_P" >&6; }
3140
3141mkdir_p="$MKDIR_P"
3142case $mkdir_p in
3143  [\\/$]* | ?:[\\/]*) ;;
3144  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3145esac
3146
3147for ac_prog in gawk mawk nawk awk
3148do
3149  # Extract the first word of "$ac_prog", so it can be a program name with args.
3150set dummy $ac_prog; ac_word=$2
3151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152$as_echo_n "checking for $ac_word... " >&6; }
3153if test "${ac_cv_prog_AWK+set}" = set; then :
3154  $as_echo_n "(cached) " >&6
3155else
3156  if test -n "$AWK"; then
3157  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3158else
3159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160for as_dir in $PATH
3161do
3162  IFS=$as_save_IFS
3163  test -z "$as_dir" && as_dir=.
3164    for ac_exec_ext in '' $ac_executable_extensions; do
3165  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3166    ac_cv_prog_AWK="$ac_prog"
3167    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3168    break 2
3169  fi
3170done
3171  done
3172IFS=$as_save_IFS
3173
3174fi
3175fi
3176AWK=$ac_cv_prog_AWK
3177if test -n "$AWK"; then
3178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3179$as_echo "$AWK" >&6; }
3180else
3181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182$as_echo "no" >&6; }
3183fi
3184
3185
3186  test -n "$AWK" && break
3187done
3188
3189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3190$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3191set x ${MAKE-make}
3192ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3193if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3194  $as_echo_n "(cached) " >&6
3195else
3196  cat >conftest.make <<\_ACEOF
3197SHELL = /bin/sh
3198all:
3199	@echo '@@@%%%=$(MAKE)=@@@%%%'
3200_ACEOF
3201# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3202case `${MAKE-make} -f conftest.make 2>/dev/null` in
3203  *@@@%%%=?*=@@@%%%*)
3204    eval ac_cv_prog_make_${ac_make}_set=yes;;
3205  *)
3206    eval ac_cv_prog_make_${ac_make}_set=no;;
3207esac
3208rm -f conftest.make
3209fi
3210if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3212$as_echo "yes" >&6; }
3213  SET_MAKE=
3214else
3215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216$as_echo "no" >&6; }
3217  SET_MAKE="MAKE=${MAKE-make}"
3218fi
3219
3220rm -rf .tst 2>/dev/null
3221mkdir .tst 2>/dev/null
3222if test -d .tst; then
3223  am__leading_dot=.
3224else
3225  am__leading_dot=_
3226fi
3227rmdir .tst 2>/dev/null
3228
3229if test "`cd $srcdir && pwd`" != "`pwd`"; then
3230  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3231  # is not polluted with repeated "-I."
3232  am__isrc=' -I$(srcdir)'
3233  # test to see if srcdir already configured
3234  if test -f $srcdir/config.status; then
3235    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3236  fi
3237fi
3238
3239# test whether we have cygpath
3240if test -z "$CYGPATH_W"; then
3241  if (cygpath --version) >/dev/null 2>/dev/null; then
3242    CYGPATH_W='cygpath -w'
3243  else
3244    CYGPATH_W=echo
3245  fi
3246fi
3247
3248
3249# Define the identity of the package.
3250 PACKAGE='avahi'
3251 VERSION='0.6.25'
3252
3253
3254cat >>confdefs.h <<_ACEOF
3255@%:@define PACKAGE "$PACKAGE"
3256_ACEOF
3257
3258 
3259cat >>confdefs.h <<_ACEOF
3260@%:@define VERSION "$VERSION"
3261_ACEOF
3262
3263# Some tools Automake needs.
3264
3265ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3266
3267
3268AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3269
3270
3271AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3272
3273
3274AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3275
3276
3277MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3278
3279install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3280
3281# Installed binaries are usually stripped using `strip' when the user
3282# run `make install-strip'.  However `strip' might not be the right
3283# tool to use in cross-compilation environments, therefore Automake
3284# will honor the `STRIP' environment variable to overrule this program.
3285if test "$cross_compiling" != no; then
3286  if test -n "$ac_tool_prefix"; then
3287  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3288set dummy ${ac_tool_prefix}strip; ac_word=$2
3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3290$as_echo_n "checking for $ac_word... " >&6; }
3291if test "${ac_cv_prog_STRIP+set}" = set; then :
3292  $as_echo_n "(cached) " >&6
3293else
3294  if test -n "$STRIP"; then
3295  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3296else
3297as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298for as_dir in $PATH
3299do
3300  IFS=$as_save_IFS
3301  test -z "$as_dir" && as_dir=.
3302    for ac_exec_ext in '' $ac_executable_extensions; do
3303  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3304    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3305    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3306    break 2
3307  fi
3308done
3309  done
3310IFS=$as_save_IFS
3311
3312fi
3313fi
3314STRIP=$ac_cv_prog_STRIP
3315if test -n "$STRIP"; then
3316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3317$as_echo "$STRIP" >&6; }
3318else
3319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320$as_echo "no" >&6; }
3321fi
3322
3323
3324fi
3325if test -z "$ac_cv_prog_STRIP"; then
3326  ac_ct_STRIP=$STRIP
3327  # Extract the first word of "strip", so it can be a program name with args.
3328set dummy strip; ac_word=$2
3329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3330$as_echo_n "checking for $ac_word... " >&6; }
3331if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3332  $as_echo_n "(cached) " >&6
3333else
3334  if test -n "$ac_ct_STRIP"; then
3335  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3336else
3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338for as_dir in $PATH
3339do
3340  IFS=$as_save_IFS
3341  test -z "$as_dir" && as_dir=.
3342    for ac_exec_ext in '' $ac_executable_extensions; do
3343  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3344    ac_cv_prog_ac_ct_STRIP="strip"
3345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3346    break 2
3347  fi
3348done
3349  done
3350IFS=$as_save_IFS
3351
3352fi
3353fi
3354ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3355if test -n "$ac_ct_STRIP"; then
3356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3357$as_echo "$ac_ct_STRIP" >&6; }
3358else
3359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360$as_echo "no" >&6; }
3361fi
3362
3363  if test "x$ac_ct_STRIP" = x; then
3364    STRIP=":"
3365  else
3366    case $cross_compiling:$ac_tool_warned in
3367yes:)
3368{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3369$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3370ac_tool_warned=yes ;;
3371esac
3372    STRIP=$ac_ct_STRIP
3373  fi
3374else
3375  STRIP="$ac_cv_prog_STRIP"
3376fi
3377
3378fi
3379INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3380
3381# We need awk for the "check" target.  The system "awk" is bad on
3382# some platforms.
3383# Always define AMTAR for backward compatibility.
3384
3385AMTAR=${AMTAR-"${am_missing_run}tar"}
3386
3387am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3388
3389
3390
3391
3392
3393
3394PACKAGE_URL=http://avahi.org/
3395
3396
3397LIBAVAHI_COMMON_VERSION_INFO=8:1:5
3398
3399LIBAVAHI_CORE_VERSION_INFO=6:1:0
3400
3401LIBAVAHI_CLIENT_VERSION_INFO=5:5:2
3402
3403LIBAVAHI_GLIB_VERSION_INFO=1:1:0
3404
3405LIBAVAHI_GOBJECT_VERSION_INFO=0:1:0
3406
3407LIBAVAHI_QT3_VERSION_INFO=1:2:0
3408
3409LIBAVAHI_QT4_VERSION_INFO=1:2:0
3410
3411LIBAVAHI_UI_VERSION_INFO=1:1:1
3412
3413
3414# Do not touch these, since they we took this version-info from upstream HOWL/Bonjour
3415LIBAVAHI_COMPAT_LIBDNS_SD_VERSION_INFO=1:0:0
3416
3417LIBAVAHI_COMPAT_HOWL_VERSION_INFO=0:0:0
3418
3419HOWL_COMPAT_VERSION=0.9.8
3420
3421
3422if type -p stow > /dev/null && test -d /usr/local/stow ; then
3423    { $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
3424$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;}
3425    ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
3426fi
3427
3428# Checks for programs.
3429ac_ext=c
3430ac_cpp='$CPP $CPPFLAGS'
3431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434if test -n "$ac_tool_prefix"; then
3435  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3436set dummy ${ac_tool_prefix}gcc; ac_word=$2
3437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438$as_echo_n "checking for $ac_word... " >&6; }
3439if test "${ac_cv_prog_CC+set}" = set; then :
3440  $as_echo_n "(cached) " >&6
3441else
3442  if test -n "$CC"; then
3443  ac_cv_prog_CC="$CC" # Let the user override the test.
3444else
3445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446for as_dir in $PATH
3447do
3448  IFS=$as_save_IFS
3449  test -z "$as_dir" && as_dir=.
3450    for ac_exec_ext in '' $ac_executable_extensions; do
3451  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3452    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3453    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3454    break 2
3455  fi
3456done
3457  done
3458IFS=$as_save_IFS
3459
3460fi
3461fi
3462CC=$ac_cv_prog_CC
3463if test -n "$CC"; then
3464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465$as_echo "$CC" >&6; }
3466else
3467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468$as_echo "no" >&6; }
3469fi
3470
3471
3472fi
3473if test -z "$ac_cv_prog_CC"; then
3474  ac_ct_CC=$CC
3475  # Extract the first word of "gcc", so it can be a program name with args.
3476set dummy gcc; ac_word=$2
3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478$as_echo_n "checking for $ac_word... " >&6; }
3479if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3480  $as_echo_n "(cached) " >&6
3481else
3482  if test -n "$ac_ct_CC"; then
3483  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3484else
3485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486for as_dir in $PATH
3487do
3488  IFS=$as_save_IFS
3489  test -z "$as_dir" && as_dir=.
3490    for ac_exec_ext in '' $ac_executable_extensions; do
3491  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492    ac_cv_prog_ac_ct_CC="gcc"
3493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494    break 2
3495  fi
3496done
3497  done
3498IFS=$as_save_IFS
3499
3500fi
3501fi
3502ac_ct_CC=$ac_cv_prog_ac_ct_CC
3503if test -n "$ac_ct_CC"; then
3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3505$as_echo "$ac_ct_CC" >&6; }
3506else
3507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508$as_echo "no" >&6; }
3509fi
3510
3511  if test "x$ac_ct_CC" = x; then
3512    CC=""
3513  else
3514    case $cross_compiling:$ac_tool_warned in
3515yes:)
3516{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3517$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3518ac_tool_warned=yes ;;
3519esac
3520    CC=$ac_ct_CC
3521  fi
3522else
3523  CC="$ac_cv_prog_CC"
3524fi
3525
3526if test -z "$CC"; then
3527          if test -n "$ac_tool_prefix"; then
3528    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3529set dummy ${ac_tool_prefix}cc; ac_word=$2
3530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3531$as_echo_n "checking for $ac_word... " >&6; }
3532if test "${ac_cv_prog_CC+set}" = set; then :
3533  $as_echo_n "(cached) " >&6
3534else
3535  if test -n "$CC"; then
3536  ac_cv_prog_CC="$CC" # Let the user override the test.
3537else
3538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3539for as_dir in $PATH
3540do
3541  IFS=$as_save_IFS
3542  test -z "$as_dir" && as_dir=.
3543    for ac_exec_ext in '' $ac_executable_extensions; do
3544  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3545    ac_cv_prog_CC="${ac_tool_prefix}cc"
3546    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3547    break 2
3548  fi
3549done
3550  done
3551IFS=$as_save_IFS
3552
3553fi
3554fi
3555CC=$ac_cv_prog_CC
3556if test -n "$CC"; then
3557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3558$as_echo "$CC" >&6; }
3559else
3560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3561$as_echo "no" >&6; }
3562fi
3563
3564
3565  fi
3566fi
3567if test -z "$CC"; then
3568  # Extract the first word of "cc", so it can be a program name with args.
3569set dummy cc; ac_word=$2
3570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571$as_echo_n "checking for $ac_word... " >&6; }
3572if test "${ac_cv_prog_CC+set}" = set; then :
3573  $as_echo_n "(cached) " >&6
3574else
3575  if test -n "$CC"; then
3576  ac_cv_prog_CC="$CC" # Let the user override the test.
3577else
3578  ac_prog_rejected=no
3579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580for as_dir in $PATH
3581do
3582  IFS=$as_save_IFS
3583  test -z "$as_dir" && as_dir=.
3584    for ac_exec_ext in '' $ac_executable_extensions; do
3585  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3587       ac_prog_rejected=yes
3588       continue
3589     fi
3590    ac_cv_prog_CC="cc"
3591    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592    break 2
3593  fi
3594done
3595  done
3596IFS=$as_save_IFS
3597
3598if test $ac_prog_rejected = yes; then
3599  # We found a bogon in the path, so make sure we never use it.
3600  set dummy $ac_cv_prog_CC
3601  shift
3602  if test $@%:@ != 0; then
3603    # We chose a different compiler from the bogus one.
3604    # However, it has the same basename, so the bogon will be chosen
3605    # first if we set CC to just the basename; use the full file name.
3606    shift
3607    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3608  fi
3609fi
3610fi
3611fi
3612CC=$ac_cv_prog_CC
3613if test -n "$CC"; then
3614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3615$as_echo "$CC" >&6; }
3616else
3617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618$as_echo "no" >&6; }
3619fi
3620
3621
3622fi
3623if test -z "$CC"; then
3624  if test -n "$ac_tool_prefix"; then
3625  for ac_prog in cl.exe
3626  do
3627    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3628set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630$as_echo_n "checking for $ac_word... " >&6; }
3631if test "${ac_cv_prog_CC+set}" = set; then :
3632  $as_echo_n "(cached) " >&6
3633else
3634  if test -n "$CC"; then
3635  ac_cv_prog_CC="$CC" # Let the user override the test.
3636else
3637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3638for as_dir in $PATH
3639do
3640  IFS=$as_save_IFS
3641  test -z "$as_dir" && as_dir=.
3642    for ac_exec_ext in '' $ac_executable_extensions; do
3643  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3644    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3645    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3646    break 2
3647  fi
3648done
3649  done
3650IFS=$as_save_IFS
3651
3652fi
3653fi
3654CC=$ac_cv_prog_CC
3655if test -n "$CC"; then
3656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3657$as_echo "$CC" >&6; }
3658else
3659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660$as_echo "no" >&6; }
3661fi
3662
3663
3664    test -n "$CC" && break
3665  done
3666fi
3667if test -z "$CC"; then
3668  ac_ct_CC=$CC
3669  for ac_prog in cl.exe
3670do
3671  # Extract the first word of "$ac_prog", so it can be a program name with args.
3672set dummy $ac_prog; ac_word=$2
3673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674$as_echo_n "checking for $ac_word... " >&6; }
3675if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3676  $as_echo_n "(cached) " >&6
3677else
3678  if test -n "$ac_ct_CC"; then
3679  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3680else
3681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682for as_dir in $PATH
3683do
3684  IFS=$as_save_IFS
3685  test -z "$as_dir" && as_dir=.
3686    for ac_exec_ext in '' $ac_executable_extensions; do
3687  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688    ac_cv_prog_ac_ct_CC="$ac_prog"
3689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690    break 2
3691  fi
3692done
3693  done
3694IFS=$as_save_IFS
3695
3696fi
3697fi
3698ac_ct_CC=$ac_cv_prog_ac_ct_CC
3699if test -n "$ac_ct_CC"; then
3700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3701$as_echo "$ac_ct_CC" >&6; }
3702else
3703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704$as_echo "no" >&6; }
3705fi
3706
3707
3708  test -n "$ac_ct_CC" && break
3709done
3710
3711  if test "x$ac_ct_CC" = x; then
3712    CC=""
3713  else
3714    case $cross_compiling:$ac_tool_warned in
3715yes:)
3716{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718ac_tool_warned=yes ;;
3719esac
3720    CC=$ac_ct_CC
3721  fi
3722fi
3723
3724fi
3725
3726
3727test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729as_fn_error "no acceptable C compiler found in \$PATH
3730See \`config.log' for more details." "$LINENO" 5; }
3731
3732# Provide some information about the compiler.
3733$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3734set X $ac_compile
3735ac_compiler=$2
3736for ac_option in --version -v -V -qversion; do
3737  { { ac_try="$ac_compiler $ac_option >&5"
3738case "(($ac_try" in
3739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740  *) ac_try_echo=$ac_try;;
3741esac
3742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3743$as_echo "$ac_try_echo"; } >&5
3744  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3745  ac_status=$?
3746  if test -s conftest.err; then
3747    sed '10a\
3748... rest of stderr output deleted ...
3749         10q' conftest.err >conftest.er1
3750    cat conftest.er1 >&5
3751  fi
3752  rm -f conftest.er1 conftest.err
3753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3754  test $ac_status = 0; }
3755done
3756
3757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758/* end confdefs.h.  */
3759
3760int
3761main ()
3762{
3763
3764  ;
3765  return 0;
3766}
3767_ACEOF
3768ac_clean_files_save=$ac_clean_files
3769ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3770# Try to create an executable without -o first, disregard a.out.
3771# It will help us diagnose broken compilers, and finding out an intuition
3772# of exeext.
3773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3774$as_echo_n "checking whether the C compiler works... " >&6; }
3775ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3776
3777# The possible output files:
3778ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3779
3780ac_rmfiles=
3781for ac_file in $ac_files
3782do
3783  case $ac_file in
3784    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3785    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3786  esac
3787done
3788rm -f $ac_rmfiles
3789
3790if { { ac_try="$ac_link_default"
3791case "(($ac_try" in
3792  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793  *) ac_try_echo=$ac_try;;
3794esac
3795eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3796$as_echo "$ac_try_echo"; } >&5
3797  (eval "$ac_link_default") 2>&5
3798  ac_status=$?
3799  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3800  test $ac_status = 0; }; then :
3801  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3802# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3803# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3804# so that the user can short-circuit this test for compilers unknown to
3805# Autoconf.
3806for ac_file in $ac_files ''
3807do
3808  test -f "$ac_file" || continue
3809  case $ac_file in
3810    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3811	;;
3812    [ab].out )
3813	# We found the default executable, but exeext='' is most
3814	# certainly right.
3815	break;;
3816    *.* )
3817	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3818	then :; else
3819	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3820	fi
3821	# We set ac_cv_exeext here because the later test for it is not
3822	# safe: cross compilers may not add the suffix if given an `-o'
3823	# argument, so we may need to know it at that point already.
3824	# Even if this section looks crufty: it has the advantage of
3825	# actually working.
3826	break;;
3827    * )
3828	break;;
3829  esac
3830done
3831test "$ac_cv_exeext" = no && ac_cv_exeext=
3832
3833else
3834  ac_file=''
3835fi
3836if test -z "$ac_file"; then :
3837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3838$as_echo "no" >&6; }
3839$as_echo "$as_me: failed program was:" >&5
3840sed 's/^/| /' conftest.$ac_ext >&5
3841
3842{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844{ as_fn_set_status 77
3845as_fn_error "C compiler cannot create executables
3846See \`config.log' for more details." "$LINENO" 5; }; }
3847else
3848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3849$as_echo "yes" >&6; }
3850fi
3851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3852$as_echo_n "checking for C compiler default output file name... " >&6; }
3853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3854$as_echo "$ac_file" >&6; }
3855ac_exeext=$ac_cv_exeext
3856
3857rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3858ac_clean_files=$ac_clean_files_save
3859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3860$as_echo_n "checking for suffix of executables... " >&6; }
3861if { { ac_try="$ac_link"
3862case "(($ac_try" in
3863  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864  *) ac_try_echo=$ac_try;;
3865esac
3866eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867$as_echo "$ac_try_echo"; } >&5
3868  (eval "$ac_link") 2>&5
3869  ac_status=$?
3870  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871  test $ac_status = 0; }; then :
3872  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3873# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3874# work properly (i.e., refer to `conftest.exe'), while it won't with
3875# `rm'.
3876for ac_file in conftest.exe conftest conftest.*; do
3877  test -f "$ac_file" || continue
3878  case $ac_file in
3879    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3880    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3881	  break;;
3882    * ) break;;
3883  esac
3884done
3885else
3886  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888as_fn_error "cannot compute suffix of executables: cannot compile and link
3889See \`config.log' for more details." "$LINENO" 5; }
3890fi
3891rm -f conftest conftest$ac_cv_exeext
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3893$as_echo "$ac_cv_exeext" >&6; }
3894
3895rm -f conftest.$ac_ext
3896EXEEXT=$ac_cv_exeext
3897ac_exeext=$EXEEXT
3898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899/* end confdefs.h.  */
3900@%:@include <stdio.h>
3901int
3902main ()
3903{
3904FILE *f = fopen ("conftest.out", "w");
3905 return ferror (f) || fclose (f) != 0;
3906
3907  ;
3908  return 0;
3909}
3910_ACEOF
3911ac_clean_files="$ac_clean_files conftest.out"
3912# Check that the compiler produces executables we can run.  If not, either
3913# the compiler is broken, or we cross compile.
3914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3915$as_echo_n "checking whether we are cross compiling... " >&6; }
3916if test "$cross_compiling" != yes; then
3917  { { ac_try="$ac_link"
3918case "(($ac_try" in
3919  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920  *) ac_try_echo=$ac_try;;
3921esac
3922eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923$as_echo "$ac_try_echo"; } >&5
3924  (eval "$ac_link") 2>&5
3925  ac_status=$?
3926  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927  test $ac_status = 0; }
3928  if { ac_try='./conftest$ac_cv_exeext'
3929  { { case "(($ac_try" in
3930  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931  *) ac_try_echo=$ac_try;;
3932esac
3933eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934$as_echo "$ac_try_echo"; } >&5
3935  (eval "$ac_try") 2>&5
3936  ac_status=$?
3937  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938  test $ac_status = 0; }; }; then
3939    cross_compiling=no
3940  else
3941    if test "$cross_compiling" = maybe; then
3942	cross_compiling=yes
3943    else
3944	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3945$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3946as_fn_error "cannot run C compiled programs.
3947If you meant to cross compile, use \`--host'.
3948See \`config.log' for more details." "$LINENO" 5; }
3949    fi
3950  fi
3951fi
3952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3953$as_echo "$cross_compiling" >&6; }
3954
3955rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3956ac_clean_files=$ac_clean_files_save
3957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3958$as_echo_n "checking for suffix of object files... " >&6; }
3959if test "${ac_cv_objext+set}" = set; then :
3960  $as_echo_n "(cached) " >&6
3961else
3962  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963/* end confdefs.h.  */
3964
3965int
3966main ()
3967{
3968
3969  ;
3970  return 0;
3971}
3972_ACEOF
3973rm -f conftest.o conftest.obj
3974if { { ac_try="$ac_compile"
3975case "(($ac_try" in
3976  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3977  *) ac_try_echo=$ac_try;;
3978esac
3979eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3980$as_echo "$ac_try_echo"; } >&5
3981  (eval "$ac_compile") 2>&5
3982  ac_status=$?
3983  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3984  test $ac_status = 0; }; then :
3985  for ac_file in conftest.o conftest.obj conftest.*; do
3986  test -f "$ac_file" || continue;
3987  case $ac_file in
3988    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3989    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3990       break;;
3991  esac
3992done
3993else
3994  $as_echo "$as_me: failed program was:" >&5
3995sed 's/^/| /' conftest.$ac_ext >&5
3996
3997{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3998$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3999as_fn_error "cannot compute suffix of object files: cannot compile
4000See \`config.log' for more details." "$LINENO" 5; }
4001fi
4002rm -f conftest.$ac_cv_objext conftest.$ac_ext
4003fi
4004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4005$as_echo "$ac_cv_objext" >&6; }
4006OBJEXT=$ac_cv_objext
4007ac_objext=$OBJEXT
4008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4009$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4010if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4011  $as_echo_n "(cached) " >&6
4012else
4013  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014/* end confdefs.h.  */
4015
4016int
4017main ()
4018{
4019#ifndef __GNUC__
4020       choke me
4021#endif
4022
4023  ;
4024  return 0;
4025}
4026_ACEOF
4027if ac_fn_c_try_compile "$LINENO"; then :
4028  ac_compiler_gnu=yes
4029else
4030  ac_compiler_gnu=no
4031fi
4032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033ac_cv_c_compiler_gnu=$ac_compiler_gnu
4034
4035fi
4036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4037$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4038if test $ac_compiler_gnu = yes; then
4039  GCC=yes
4040else
4041  GCC=
4042fi
4043ac_test_CFLAGS=${CFLAGS+set}
4044ac_save_CFLAGS=$CFLAGS
4045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4046$as_echo_n "checking whether $CC accepts -g... " >&6; }
4047if test "${ac_cv_prog_cc_g+set}" = set; then :
4048  $as_echo_n "(cached) " >&6
4049else
4050  ac_save_c_werror_flag=$ac_c_werror_flag
4051   ac_c_werror_flag=yes
4052   ac_cv_prog_cc_g=no
4053   CFLAGS="-g"
4054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055/* end confdefs.h.  */
4056
4057int
4058main ()
4059{
4060
4061  ;
4062  return 0;
4063}
4064_ACEOF
4065if ac_fn_c_try_compile "$LINENO"; then :
4066  ac_cv_prog_cc_g=yes
4067else
4068  CFLAGS=""
4069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070/* end confdefs.h.  */
4071
4072int
4073main ()
4074{
4075
4076  ;
4077  return 0;
4078}
4079_ACEOF
4080if ac_fn_c_try_compile "$LINENO"; then :
4081  
4082else
4083  ac_c_werror_flag=$ac_save_c_werror_flag
4084	 CFLAGS="-g"
4085	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086/* end confdefs.h.  */
4087
4088int
4089main ()
4090{
4091
4092  ;
4093  return 0;
4094}
4095_ACEOF
4096if ac_fn_c_try_compile "$LINENO"; then :
4097  ac_cv_prog_cc_g=yes
4098fi
4099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100fi
4101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102fi
4103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104   ac_c_werror_flag=$ac_save_c_werror_flag
4105fi
4106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4107$as_echo "$ac_cv_prog_cc_g" >&6; }
4108if test "$ac_test_CFLAGS" = set; then
4109  CFLAGS=$ac_save_CFLAGS
4110elif test $ac_cv_prog_cc_g = yes; then
4111  if test "$GCC" = yes; then
4112    CFLAGS="-g -O2"
4113  else
4114    CFLAGS="-g"
4115  fi
4116else
4117  if test "$GCC" = yes; then
4118    CFLAGS="-O2"
4119  else
4120    CFLAGS=
4121  fi
4122fi
4123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4124$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4125if test "${ac_cv_prog_cc_c89+set}" = set; then :
4126  $as_echo_n "(cached) " >&6
4127else
4128  ac_cv_prog_cc_c89=no
4129ac_save_CC=$CC
4130cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131/* end confdefs.h.  */
4132#include <stdarg.h>
4133#include <stdio.h>
4134#include <sys/types.h>
4135#include <sys/stat.h>
4136/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4137struct buf { int x; };
4138FILE * (*rcsopen) (struct buf *, struct stat *, int);
4139static char *e (p, i)
4140     char **p;
4141     int i;
4142{
4143  return p[i];
4144}
4145static char *f (char * (*g) (char **, int), char **p, ...)
4146{
4147  char *s;
4148  va_list v;
4149  va_start (v,p);
4150  s = g (p, va_arg (v,int));
4151  va_end (v);
4152  return s;
4153}
4154
4155/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4156   function prototypes and stuff, but not '\xHH' hex character constants.
4157   These don't provoke an error unfortunately, instead are silently treated
4158   as 'x'.  The following induces an error, until -std is added to get
4159   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4160   array size at least.  It's necessary to write '\x00'==0 to get something
4161   that's true only with -std.  */
4162int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4163
4164/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4165   inside strings and character constants.  */
4166#define FOO(x) 'x'
4167int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4168
4169int test (int i, double x);
4170struct s1 {int (*f) (int a);};
4171struct s2 {int (*f) (double a);};
4172int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4173int argc;
4174char **argv;
4175int
4176main ()
4177{
4178return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4179  ;
4180  return 0;
4181}
4182_ACEOF
4183for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4184	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4185do
4186  CC="$ac_save_CC $ac_arg"
4187  if ac_fn_c_try_compile "$LINENO"; then :
4188  ac_cv_prog_cc_c89=$ac_arg
4189fi
4190rm -f core conftest.err conftest.$ac_objext
4191  test "x$ac_cv_prog_cc_c89" != "xno" && break
4192done
4193rm -f conftest.$ac_ext
4194CC=$ac_save_CC
4195
4196fi
4197# AC_CACHE_VAL
4198case "x$ac_cv_prog_cc_c89" in
4199  x)
4200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4201$as_echo "none needed" >&6; } ;;
4202  xno)
4203    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4204$as_echo "unsupported" >&6; } ;;
4205  *)
4206    CC="$CC $ac_cv_prog_cc_c89"
4207    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4208$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4209esac
4210if test "x$ac_cv_prog_cc_c89" != xno; then :
4211  
4212fi
4213
4214ac_ext=c
4215ac_cpp='$CPP $CPPFLAGS'
4216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4218ac_compiler_gnu=$ac_cv_c_compiler_gnu
4219DEPDIR="${am__leading_dot}deps"
4220
4221ac_config_commands="$ac_config_commands depfiles"
4222
4223
4224am_make=${MAKE-make}
4225cat > confinc << 'END'
4226am__doit:
4227	@echo done
4228.PHONY: am__doit
4229END
4230# If we don't find an include directive, just comment out the code.
4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4232$as_echo_n "checking for style of include used by $am_make... " >&6; }
4233am__include="#"
4234am__quote=
4235_am_result=none
4236# First try GNU make style include.
4237echo "include confinc" > confmf
4238# We grep out `Entering directory' and `Leaving directory'
4239# messages which can occur if `w' ends up in MAKEFLAGS.
4240# In particular we don't look at `^make:' because GNU make might
4241# be invoked under some other name (usually "gmake"), in which
4242# case it prints its new name instead of `make'.
4243if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4244   am__include=include
4245   am__quote=
4246   _am_result=GNU
4247fi
4248# Now try BSD make style include.
4249if test "$am__include" = "#"; then
4250   echo '.include "confinc"' > confmf
4251   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4252      am__include=.include
4253      am__quote="\""
4254      _am_result=BSD
4255   fi
4256fi
4257
4258
4259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4260$as_echo "$_am_result" >&6; }
4261rm -f confinc confmf
4262
4263@%:@ Check whether --enable-dependency-tracking was given.
4264if test "${enable_dependency_tracking+set}" = set; then :
4265  enableval=$enable_dependency_tracking; 
4266fi
4267
4268if test "x$enable_dependency_tracking" != xno; then
4269  am_depcomp="$ac_aux_dir/depcomp"
4270  AMDEPBACKSLASH='\'
4271fi
4272 if test "x$enable_dependency_tracking" != xno; then
4273  AMDEP_TRUE=
4274  AMDEP_FALSE='#'
4275else
4276  AMDEP_TRUE='#'
4277  AMDEP_FALSE=
4278fi
4279
4280
4281
4282depcc="$CC"   am_compiler_list=
4283
4284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4285$as_echo_n "checking dependency style of $depcc... " >&6; }
4286if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4287  $as_echo_n "(cached) " >&6
4288else
4289  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4290  # We make a subdir and do the tests there.  Otherwise we can end up
4291  # making bogus files that we don't know about and never remove.  For
4292  # instance it was reported that on HP-UX the gcc test will end up
4293  # making a dummy file named `D' -- because `-MD' means `put the output
4294  # in D'.
4295  mkdir conftest.dir
4296  # Copy depcomp to subdir because otherwise we won't find it if we're
4297  # using a relative directory.
4298  cp "$am_depcomp" conftest.dir
4299  cd conftest.dir
4300  # We will build objects and dependencies in a subdirectory because
4301  # it helps to detect inapplicable dependency modes.  For instance
4302  # both Tru64's cc and ICC support -MD to output dependencies as a
4303  # side effect of compilation, but ICC will put the dependencies in
4304  # the current directory while Tru64 will put them in the object
4305  # directory.
4306  mkdir sub
4307
4308  am_cv_CC_dependencies_compiler_type=none
4309  if test "$am_compiler_list" = ""; then
4310     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4311  fi
4312  for depmode in $am_compiler_list; do
4313    # Setup a source with many dependencies, because some compilers
4314    # like to wrap large dependency lists on column 80 (with \), and
4315    # we should not choose a depcomp mode which is confused by this.
4316    #
4317    # We need to recreate these files for each test, as the compiler may
4318    # overwrite some of them when testing with obscure command lines.
4319    # This happens at least with the AIX C compiler.
4320    : > sub/conftest.c
4321    for i in 1 2 3 4 5 6; do
4322      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4323      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4324      # Solaris 8's {/usr,}/bin/sh.
4325      touch sub/conftst$i.h
4326    done
4327    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4328
4329    case $depmode in
4330    nosideeffect)
4331      # after this tag, mechanisms are not by side-effect, so they'll
4332      # only be used when explicitly requested
4333      if test "x$enable_dependency_tracking" = xyes; then
4334	continue
4335      else
4336	break
4337      fi
4338      ;;
4339    none) break ;;
4340    esac
4341    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4342    # mode.  It turns out that the SunPro C++ compiler does not properly
4343    # handle `-M -o', and we need to detect this.
4344    if depmode=$depmode \
4345       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4346       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4347       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4348         >/dev/null 2>conftest.err &&
4349       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4350       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4351       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4352       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4353      # icc doesn't choke on unknown options, it will just issue warnings
4354      # or remarks (even with -Werror).  So we grep stderr for any message
4355      # that says an option was ignored or not supported.
4356      # When given -MP, icc 7.0 and 7.1 complain thusly:
4357      #   icc: Command line warning: ignoring option '-M'; no argument required
4358      # The diagnosis changed in icc 8.0:
4359      #   icc: Command line remark: option '-MP' not supported
4360      if (grep 'ignoring option' conftest.err ||
4361          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4362        am_cv_CC_dependencies_compiler_type=$depmode
4363        break
4364      fi
4365    fi
4366  done
4367
4368  cd ..
4369  rm -rf conftest.dir
4370else
4371  am_cv_CC_dependencies_compiler_type=none
4372fi
4373
4374fi
4375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4376$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4377CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4378
4379 if 
4380  test "x$enable_dependency_tracking" != xno \
4381  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4382  am__fastdepCC_TRUE=
4383  am__fastdepCC_FALSE='#'
4384else
4385  am__fastdepCC_TRUE='#'
4386  am__fastdepCC_FALSE=
4387fi
4388
4389
4390ac_ext=cpp
4391ac_cpp='$CXXCPP $CPPFLAGS'
4392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4395if test -z "$CXX"; then
4396  if test -n "$CCC"; then
4397    CXX=$CCC
4398  else
4399    if test -n "$ac_tool_prefix"; then
4400  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401  do
4402    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4403set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405$as_echo_n "checking for $ac_word... " >&6; }
4406if test "${ac_cv_prog_CXX+set}" = set; then :
4407  $as_echo_n "(cached) " >&6
4408else
4409  if test -n "$CXX"; then
4410  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4411else
4412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413for as_dir in $PATH
4414do
4415  IFS=$as_save_IFS
4416  test -z "$as_dir" && as_dir=.
4417    for ac_exec_ext in '' $ac_executable_extensions; do
4418  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4419    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4420    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421    break 2
4422  fi
4423done
4424  done
4425IFS=$as_save_IFS
4426
4427fi
4428fi
4429CXX=$ac_cv_prog_CXX
4430if test -n "$CXX"; then
4431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4432$as_echo "$CXX" >&6; }
4433else
4434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435$as_echo "no" >&6; }
4436fi
4437
4438
4439    test -n "$CXX" && break
4440  done
4441fi
4442if test -z "$CXX"; then
4443  ac_ct_CXX=$CXX
4444  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4445do
4446  # Extract the first word of "$ac_prog", so it can be a program name with args.
4447set dummy $ac_prog; ac_word=$2
4448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449$as_echo_n "checking for $ac_word... " >&6; }
4450if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4451  $as_echo_n "(cached) " >&6
4452else
4453  if test -n "$ac_ct_CXX"; then
4454  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4455else
4456as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457for as_dir in $PATH
4458do
4459  IFS=$as_save_IFS
4460  test -z "$as_dir" && as_dir=.
4461    for ac_exec_ext in '' $ac_executable_extensions; do
4462  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4463    ac_cv_prog_ac_ct_CXX="$ac_prog"
4464    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465    break 2
4466  fi
4467done
4468  done
4469IFS=$as_save_IFS
4470
4471fi
4472fi
4473ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4474if test -n "$ac_ct_CXX"; then
4475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4476$as_echo "$ac_ct_CXX" >&6; }
4477else
4478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479$as_echo "no" >&6; }
4480fi
4481
4482
4483  test -n "$ac_ct_CXX" && break
4484done
4485
4486  if test "x$ac_ct_CXX" = x; then
4487    CXX="g++"
4488  else
4489    case $cross_compiling:$ac_tool_warned in
4490yes:)
4491{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4492$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4493ac_tool_warned=yes ;;
4494esac
4495    CXX=$ac_ct_CXX
4496  fi
4497fi
4498
4499  fi
4500fi
4501# Provide some information about the compiler.
4502$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4503set X $ac_compile
4504ac_compiler=$2
4505for ac_option in --version -v -V -qversion; do
4506  { { ac_try="$ac_compiler $ac_option >&5"
4507case "(($ac_try" in
4508  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509  *) ac_try_echo=$ac_try;;
4510esac
4511eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4512$as_echo "$ac_try_echo"; } >&5
4513  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4514  ac_status=$?
4515  if test -s conftest.err; then
4516    sed '10a\
4517... rest of stderr output deleted ...
4518         10q' conftest.err >conftest.er1
4519    cat conftest.er1 >&5
4520  fi
4521  rm -f conftest.er1 conftest.err
4522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523  test $ac_status = 0; }
4524done
4525
4526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4527$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4528if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4529  $as_echo_n "(cached) " >&6
4530else
4531  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532/* end confdefs.h.  */
4533
4534int
4535main ()
4536{
4537#ifndef __GNUC__
4538       choke me
4539#endif
4540
4541  ;
4542  return 0;
4543}
4544_ACEOF
4545if ac_fn_cxx_try_compile "$LINENO"; then :
4546  ac_compiler_gnu=yes
4547else
4548  ac_compiler_gnu=no
4549fi
4550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4552
4553fi
4554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4555$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4556if test $ac_compiler_gnu = yes; then
4557  GXX=yes
4558else
4559  GXX=
4560fi
4561ac_test_CXXFLAGS=${CXXFLAGS+set}
4562ac_save_CXXFLAGS=$CXXFLAGS
4563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4564$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4565if test "${ac_cv_prog_cxx_g+set}" = set; then :
4566  $as_echo_n "(cached) " >&6
4567else
4568  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4569   ac_cxx_werror_flag=yes
4570   ac_cv_prog_cxx_g=no
4571   CXXFLAGS="-g"
4572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573/* end confdefs.h.  */
4574
4575int
4576main ()
4577{
4578
4579  ;
4580  return 0;
4581}
4582_ACEOF
4583if ac_fn_cxx_try_compile "$LINENO"; then :
4584  ac_cv_prog_cxx_g=yes
4585else
4586  CXXFLAGS=""
4587      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588/* end confdefs.h.  */
4589
4590int
4591main ()
4592{
4593
4594  ;
4595  return 0;
4596}
4597_ACEOF
4598if ac_fn_cxx_try_compile "$LINENO"; then :
4599  
4600else
4601  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4602	 CXXFLAGS="-g"
4603	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604/* end confdefs.h.  */
4605
4606int
4607main ()
4608{
4609
4610  ;
4611  return 0;
4612}
4613_ACEOF
4614if ac_fn_cxx_try_compile "$LINENO"; then :
4615  ac_cv_prog_cxx_g=yes
4616fi
4617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618fi
4619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620fi
4621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4623fi
4624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4625$as_echo "$ac_cv_prog_cxx_g" >&6; }
4626if test "$ac_test_CXXFLAGS" = set; then
4627  CXXFLAGS=$ac_save_CXXFLAGS
4628elif test $ac_cv_prog_cxx_g = yes; then
4629  if test "$GXX" = yes; then
4630    CXXFLAGS="-g -O2"
4631  else
4632    CXXFLAGS="-g"
4633  fi
4634else
4635  if test "$GXX" = yes; then
4636    CXXFLAGS="-O2"
4637  else
4638    CXXFLAGS=
4639  fi
4640fi
4641ac_ext=c
4642ac_cpp='$CPP $CPPFLAGS'
4643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645ac_compiler_gnu=$ac_cv_c_compiler_gnu
4646
4647depcc="$CXX"  am_compiler_list=
4648
4649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4650$as_echo_n "checking dependency style of $depcc... " >&6; }
4651if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4652  $as_echo_n "(cached) " >&6
4653else
4654  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4655  # We make a subdir and do the tests there.  Otherwise we can end up
4656  # making bogus files that we don't know about and never remove.  For
4657  # instance it was reported that on HP-UX the gcc test will end up
4658  # making a dummy file named `D' -- because `-MD' means `put the output
4659  # in D'.
4660  mkdir conftest.dir
4661  # Copy depcomp to subdir because otherwise we won't find it if we're
4662  # using a relative directory.
4663  cp "$am_depcomp" conftest.dir
4664  cd conftest.dir
4665  # We will build objects and dependencies in a subdirectory because
4666  # it helps to detect inapplicable dependency modes.  For instance
4667  # both Tru64's cc and ICC support -MD to output dependencies as a
4668  # side effect of compilation, but ICC will put the dependencies in
4669  # the current directory while Tru64 will put them in the object
4670  # directory.
4671  mkdir sub
4672
4673  am_cv_CXX_dependencies_compiler_type=none
4674  if test "$am_compiler_list" = ""; then
4675     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4676  fi
4677  for depmode in $am_compiler_list; do
4678    # Setup a source with many dependencies, because some compilers
4679    # like to wrap large dependency lists on column 80 (with \), and
4680    # we should not choose a depcomp mode which is confused by this.
4681    #
4682    # We need to recreate these files for each test, as the compiler may
4683    # overwrite some of them when testing with obscure command lines.
4684    # This happens at least with the AIX C compiler.
4685    : > sub/conftest.c
4686    for i in 1 2 3 4 5 6; do
4687      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4688      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4689      # Solaris 8's {/usr,}/bin/sh.
4690      touch sub/conftst$i.h
4691    done
4692    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4693
4694    case $depmode in
4695    nosideeffect)
4696      # after this tag, mechanisms are not by side-effect, so they'll
4697      # only be used when explicitly requested
4698      if test "x$enable_dependency_tracking" = xyes; then
4699	continue
4700      else
4701	break
4702      fi
4703      ;;
4704    none) break ;;
4705    esac
4706    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4707    # mode.  It turns out that the SunPro C++ compiler does not properly
4708    # handle `-M -o', and we need to detect this.
4709    if depmode=$depmode \
4710       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4711       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4712       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4713         >/dev/null 2>conftest.err &&
4714       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4715       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4716       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4717       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4718      # icc doesn't choke on unknown options, it will just issue warnings
4719      # or remarks (even with -Werror).  So we grep stderr for any message
4720      # that says an option was ignored or not supported.
4721      # When given -MP, icc 7.0 and 7.1 complain thusly:
4722      #   icc: Command line warning: ignoring option '-M'; no argument required
4723      # The diagnosis changed in icc 8.0:
4724      #   icc: Command line remark: option '-MP' not supported
4725      if (grep 'ignoring option' conftest.err ||
4726          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4727        am_cv_CXX_dependencies_compiler_type=$depmode
4728        break
4729      fi
4730    fi
4731  done
4732
4733  cd ..
4734  rm -rf conftest.dir
4735else
4736  am_cv_CXX_dependencies_compiler_type=none
4737fi
4738
4739fi
4740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4741$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4742CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4743
4744 if 
4745  test "x$enable_dependency_tracking" != xno \
4746  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4747  am__fastdepCXX_TRUE=
4748  am__fastdepCXX_FALSE='#'
4749else
4750  am__fastdepCXX_TRUE='#'
4751  am__fastdepCXX_FALSE=
4752fi
4753
4754
4755
4756ac_ext=c
4757ac_cpp='$CPP $CPPFLAGS'
4758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4760ac_compiler_gnu=$ac_cv_c_compiler_gnu
4761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4762$as_echo_n "checking how to run the C preprocessor... " >&6; }
4763# On Suns, sometimes $CPP names a directory.
4764if test -n "$CPP" && test -d "$CPP"; then
4765  CPP=
4766fi
4767if test -z "$CPP"; then
4768  if test "${ac_cv_prog_CPP+set}" = set; then :
4769  $as_echo_n "(cached) " >&6
4770else
4771      # Double quotes because CPP needs to be expanded
4772    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4773    do
4774      ac_preproc_ok=false
4775for ac_c_preproc_warn_flag in '' yes
4776do
4777  # Use a header file that comes with gcc, so configuring glibc
4778  # with a fresh cross-compiler works.
4779  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4780  # <limits.h> exists even on freestanding compilers.
4781  # On the NeXT, cc -E runs the code through the compiler's parser,
4782  # not just through cpp. "Syntax error" is here to catch this case.
4783  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784/* end confdefs.h.  */
4785@%:@ifdef __STDC__
4786@%:@ include <limits.h>
4787@%:@else
4788@%:@ include <assert.h>
4789@%:@endif
4790		     Syntax error
4791_ACEOF
4792if ac_fn_c_try_cpp "$LINENO"; then :
4793  
4794else
4795  # Broken: fails on valid input.
4796continue
4797fi
4798rm -f conftest.err conftest.$ac_ext
4799
4800  # OK, works on sane cases.  Now check whether nonexistent headers
4801  # can be detected and how.
4802  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4803/* end confdefs.h.  */
4804@%:@include <ac_nonexistent.h>
4805_ACEOF
4806if ac_fn_c_try_cpp "$LINENO"; then :
4807  # Broken: success on invalid input.
4808continue
4809else
4810  # Passes both tests.
4811ac_preproc_ok=:
4812break
4813fi
4814rm -f conftest.err conftest.$ac_ext
4815
4816done
4817# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4818rm -f conftest.err conftest.$ac_ext
4819if $ac_preproc_ok; then :
4820  break
4821fi
4822
4823    done
4824    ac_cv_prog_CPP=$CPP
4825  
4826fi
4827  CPP=$ac_cv_prog_CPP
4828else
4829  ac_cv_prog_CPP=$CPP
4830fi
4831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4832$as_echo "$CPP" >&6; }
4833ac_preproc_ok=false
4834for ac_c_preproc_warn_flag in '' yes
4835do
4836  # Use a header file that comes with gcc, so configuring glibc
4837  # with a fresh cross-compiler works.
4838  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4839  # <limits.h> exists even on freestanding compilers.
4840  # On the NeXT, cc -E runs the code through the compiler's parser,
4841  # not just through cpp. "Syntax error" is here to catch this case.
4842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4843/* end confdefs.h.  */
4844@%:@ifdef __STDC__
4845@%:@ include <limits.h>
4846@%:@else
4847@%:@ include <assert.h>
4848@%:@endif
4849		     Syntax error
4850_ACEOF
4851if ac_fn_c_try_cpp "$LINENO"; then :
4852  
4853else
4854  # Broken: fails on valid input.
4855continue
4856fi
4857rm -f conftest.err conftest.$ac_ext
4858
4859  # OK, works on sane cases.  Now check whether nonexistent headers
4860  # can be detected and how.
4861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862/* end confdefs.h.  */
4863@%:@include <ac_nonexistent.h>
4864_ACEOF
4865if ac_fn_c_try_cpp "$LINENO"; then :
4866  # Broken: success on invalid input.
4867continue
4868else
4869  # Passes both tests.
4870ac_preproc_ok=:
4871break
4872fi
4873rm -f conftest.err conftest.$ac_ext
4874
4875done
4876# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4877rm -f conftest.err conftest.$ac_ext
4878if $ac_preproc_ok; then :
4879  
4880else
4881  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4882$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4883as_fn_error "C preprocessor \"$CPP\" fails sanity check
4884See \`config.log' for more details." "$LINENO" 5; }
4885fi
4886
4887ac_ext=c
4888ac_cpp='$CPP $CPPFLAGS'
4889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891ac_compiler_gnu=$ac_cv_c_compiler_gnu
4892
4893
4894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4895$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4896if test "${ac_cv_path_GREP+set}" = set; then :
4897  $as_echo_n "(cached) " >&6
4898else
4899  if test -z "$GREP"; then
4900  ac_path_GREP_found=false
4901  # Loop through the user's path and test for each of PROGNAME-LIST
4902  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4904do
4905  IFS=$as_save_IFS
4906  test -z "$as_dir" && as_dir=.
4907    for ac_prog in grep ggrep; do
4908    for ac_exec_ext in '' $ac_executable_extensions; do
4909      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4910      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4911# Check for GNU ac_path_GREP and select it if it is found.
4912  # Check for GNU $ac_path_GREP
4913case `"$ac_path_GREP" --version 2>&1` in
4914*GNU*)
4915  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4916*)
4917  ac_count=0
4918  $as_echo_n 0123456789 >"conftest.in"
4919  while :
4920  do
4921    cat "conftest.in" "conftest.in" >"conftest.tmp"
4922    mv "conftest.tmp" "conftest.in"
4923    cp "conftest.in" "conftest.nl"
4924    $as_echo 'GREP' >> "conftest.nl"
4925    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4926    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4927    as_fn_arith $ac_count + 1 && ac_count=$as_val
4928    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4929      # Best one so far, save it but keep looking for a better one
4930      ac_cv_path_GREP="$ac_path_GREP"
4931      ac_path_GREP_max=$ac_count
4932    fi
4933    # 10*(2^10) chars as input seems more than enough
4934    test $ac_count -gt 10 && break
4935  done
4936  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4937esac
4938
4939      $ac_path_GREP_found && break 3
4940    done
4941  done
4942  done
4943IFS=$as_save_IFS
4944  if test -z "$ac_cv_path_GREP"; then
4945    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4946  fi
4947else
4948  ac_cv_path_GREP=$GREP
4949fi
4950
4951fi
4952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4953$as_echo "$ac_cv_path_GREP" >&6; }
4954 GREP="$ac_cv_path_GREP"
4955 
4956
4957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4958$as_echo_n "checking for egrep... " >&6; }
4959if test "${ac_cv_path_EGREP+set}" = set; then :
4960  $as_echo_n "(cached) " >&6
4961else
4962  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4963   then ac_cv_path_EGREP="$GREP -E"
4964   else
4965     if test -z "$EGREP"; then
4966  ac_path_EGREP_found=false
4967  # Loop through the user's path and test for each of PROGNAME-LIST
4968  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4970do
4971  IFS=$as_save_IFS
4972  test -z "$as_dir" && as_dir=.
4973    for ac_prog in egrep; do
4974    for ac_exec_ext in '' $ac_executable_extensions; do
4975      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4976      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4977# Check for GNU ac_path_EGREP and select it if it is found.
4978  # Check for GNU $ac_path_EGREP
4979case `"$ac_path_EGREP" --version 2>&1` in
4980*GNU*)
4981  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4982*)
4983  ac_count=0
4984  $as_echo_n 0123456789 >"conftest.in"
4985  while :
4986  do
4987    cat "conftest.in" "conftest.in" >"conftest.tmp"
4988    mv "conftest.tmp" "conftest.in"
4989    cp "conftest.in" "conftest.nl"
4990    $as_echo 'EGREP' >> "conftest.nl"
4991    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4992    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4993    as_fn_arith $ac_count + 1 && ac_count=$as_val
4994    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4995      # Best one so far, save it but keep looking for a better one
4996      ac_cv_path_EGREP="$ac_path_EGREP"
4997      ac_path_EGREP_max=$ac_count
4998    fi
4999    # 10*(2^10) chars as input seems more than enough
5000    test $ac_count -gt 10 && break
5001  done
5002  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5003esac
5004
5005      $ac_path_EGREP_found && break 3
5006    done
5007  done
5008  done
5009IFS=$as_save_IFS
5010  if test -z "$ac_cv_path_EGREP"; then
5011    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5012  fi
5013else
5014  ac_cv_path_EGREP=$EGREP
5015fi
5016
5017   fi
5018fi
5019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5020$as_echo "$ac_cv_path_EGREP" >&6; }
5021 EGREP="$ac_cv_path_EGREP"
5022 
5023
5024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5025$as_echo_n "checking for ANSI C header files... " >&6; }
5026if test "${ac_cv_header_stdc+set}" = set; then :
5027  $as_echo_n "(cached) " >&6
5028else
5029  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030/* end confdefs.h.  */
5031#include <stdlib.h>
5032#include <stdarg.h>
5033#include <string.h>
5034#include <float.h>
5035
5036int
5037main ()
5038{
5039
5040  ;
5041  return 0;
5042}
5043_ACEOF
5044if ac_fn_c_try_compile "$LINENO"; then :
5045  ac_cv_header_stdc=yes
5046else
5047  ac_cv_header_stdc=no
5048fi
5049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050
5051if test $ac_cv_header_stdc = yes; then
5052  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5053  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054/* end confdefs.h.  */
5055#include <string.h>
5056
5057_ACEOF
5058if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5059  $EGREP "memchr" >/dev/null 2>&1; then :
5060  
5061else
5062  ac_cv_header_stdc=no
5063fi
5064rm -f conftest*
5065
5066fi
5067
5068if test $ac_cv_header_stdc = yes; then
5069  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5070  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5071/* end confdefs.h.  */
5072#include <stdlib.h>
5073
5074_ACEOF
5075if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5076  $EGREP "free" >/dev/null 2>&1; then :
5077  
5078else
5079  ac_cv_header_stdc=no
5080fi
5081rm -f conftest*
5082
5083fi
5084
5085if test $ac_cv_header_stdc = yes; then
5086  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5087  if test "$cross_compiling" = yes; then :
5088  :
5089else
5090  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091/* end confdefs.h.  */
5092#include <ctype.h>
5093#include <stdlib.h>
5094#if ((' ' & 0x0FF) == 0x020)
5095# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5096# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5097#else
5098# define ISLOWER(c) \
5099		   (('a' <= (c) && (c) <= 'i') \
5100		     || ('j' <= (c) && (c) <= 'r') \
5101		     || ('s' <= (c) && (c) <= 'z'))
5102# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5103#endif
5104
5105#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5106int
5107main ()
5108{
5109  int i;
5110  for (i = 0; i < 256; i++)
5111    if (XOR (islower (i), ISLOWER (i))
5112	|| toupper (i) != TOUPPER (i))
5113      return 2;
5114  return 0;
5115}
5116_ACEOF
5117if ac_fn_c_try_run "$LINENO"; then :
5118  
5119else
5120  ac_cv_header_stdc=no
5121fi
5122rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5123  conftest.$ac_objext conftest.beam conftest.$ac_ext
5124fi
5125
5126fi
5127fi
5128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5129$as_echo "$ac_cv_header_stdc" >&6; }
5130if test $ac_cv_header_stdc = yes; then
5131  
5132$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5133
5134fi
5135
5136# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5137for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5138		  inttypes.h stdint.h unistd.h
5139do :
5140  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5141ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5142"
5143eval as_val=\$$as_ac_Header
5144   if test "x$as_val" = x""yes; then :
5145  cat >>confdefs.h <<_ACEOF
5146@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5147_ACEOF
5148 
5149fi
5150
5151done
5152
5153
5154
5155  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5156if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5157  MINIX=yes
5158else
5159  MINIX=
5160fi
5161
5162
5163  if test "$MINIX" = yes; then
5164    
5165$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
5166
5167    
5168$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
5169
5170    
5171$as_echo "@%:@define _MINIX 1" >>confdefs.h
5172
5173  fi
5174
5175  
5176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5177$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5178if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5179  $as_echo_n "(cached) " >&6
5180else
5181  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5182/* end confdefs.h.  */
5183
5184#	  define __EXTENSIONS__ 1
5185	  $ac_includes_default
5186int
5187main ()
5188{
5189
5190  ;
5191  return 0;
5192}
5193_ACEOF
5194if ac_fn_c_try_compile "$LINENO"; then :
5195  ac_cv_safe_to_define___extensions__=yes
5196else
5197  ac_cv_safe_to_define___extensions__=no
5198fi
5199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5200fi
5201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5202$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5203  test $ac_cv_safe_to_define___extensions__ = yes &&
5204    $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
5205
5206  $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
5207
5208  $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
5209
5210  $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5211
5212  $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
5213
5214
5215
5216ac_ext=c
5217ac_cpp='$CPP $CPPFLAGS'
5218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5220ac_compiler_gnu=$ac_cv_c_compiler_gnu
5221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5222$as_echo_n "checking how to run the C preprocessor... " >&6; }
5223# On Suns, sometimes $CPP names a directory.
5224if test -n "$CPP" && test -d "$CPP"; then
5225  CPP=
5226fi
5227if test -z "$CPP"; then
5228  if test "${ac_cv_prog_CPP+set}" = set; then :
5229  $as_echo_n "(cached) " >&6
5230else
5231      # Double quotes because CPP needs to be expanded
5232    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5233    do
5234      ac_preproc_ok=false
5235for ac_c_preproc_warn_flag in '' yes
5236do
5237  # Use a header file that comes with gcc, so configuring glibc
5238  # with a fresh cross-compiler works.
5239  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5240  # <limits.h> exists even on freestanding compilers.
5241  # On the NeXT, cc -E runs the code through the compiler's parser,
5242  # not just through cpp. "Syntax error" is here to catch this case.
5243  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244/* end confdefs.h.  */
5245@%:@ifdef __STDC__
5246@%:@ include <limits.h>
5247@%:@else
5248@%:@ include <assert.h>
5249@%:@endif
5250		     Syntax error
5251_ACEOF
5252if ac_fn_c_try_cpp "$LINENO"; then :
5253  
5254else
5255  # Broken: fails on valid input.
5256continue
5257fi
5258rm -f conftest.err conftest.$ac_ext
5259
5260  # OK, works on sane cases.  Now check whether nonexistent headers
5261  # can be detected and how.
5262  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263/* end confdefs.h.  */
5264@%:@include <ac_nonexistent.h>
5265_ACEOF
5266if ac_fn_c_try_cpp "$LINENO"; then :
5267  # Broken: success on invalid input.
5268continue
5269else
5270  # Passes both tests.
5271ac_preproc_ok=:
5272break
5273fi
5274rm -f conftest.err conftest.$ac_ext
5275
5276done
5277# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5278rm -f conftest.err conftest.$ac_ext
5279if $ac_preproc_ok; then :
5280  break
5281fi
5282
5283    done
5284    ac_cv_prog_CPP=$CPP
5285  
5286fi
5287  CPP=$ac_cv_prog_CPP
5288else
5289  ac_cv_prog_CPP=$CPP
5290fi
5291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5292$as_echo "$CPP" >&6; }
5293ac_preproc_ok=false
5294for ac_c_preproc_warn_flag in '' yes
5295do
5296  # Use a header file that comes with gcc, so configuring glibc
5297  # with a fresh cross-compiler works.
5298  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5299  # <limits.h> exists even on freestanding compilers.
5300  # On the NeXT, cc -E runs the code through the compiler's parser,
5301  # not just through cpp. "Syntax error" is here to catch this case.
5302  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303/* end confdefs.h.  */
5304@%:@ifdef __STDC__
5305@%:@ include <limits.h>
5306@%:@else
5307@%:@ include <assert.h>
5308@%:@endif
5309		     Syntax error
5310_ACEOF
5311if ac_fn_c_try_cpp "$LINENO"; then :
5312  
5313else
5314  # Broken: fails on valid input.
5315continue
5316fi
5317rm -f conftest.err conftest.$ac_ext
5318
5319  # OK, works on sane cases.  Now check whether nonexistent headers
5320  # can be detected and how.
5321  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322/* end confdefs.h.  */
5323@%:@include <ac_nonexistent.h>
5324_ACEOF
5325if ac_fn_c_try_cpp "$LINENO"; then :
5326  # Broken: success on invalid input.
5327continue
5328else
5329  # Passes both tests.
5330ac_preproc_ok=:
5331break
5332fi
5333rm -f conftest.err conftest.$ac_ext
5334
5335done
5336# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5337rm -f conftest.err conftest.$ac_ext
5338if $ac_preproc_ok; then :
5339  
5340else
5341  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5343as_fn_error "C preprocessor \"$CPP\" fails sanity check
5344See \`config.log' for more details." "$LINENO" 5; }
5345fi
5346
5347ac_ext=c
5348ac_cpp='$CPP $CPPFLAGS'
5349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5351ac_compiler_gnu=$ac_cv_c_compiler_gnu
5352
5353
5354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5355$as_echo_n "checking whether ln -s works... " >&6; }
5356LN_S=$as_ln_s
5357if test "$LN_S" = "ln -s"; then
5358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5359$as_echo "yes" >&6; }
5360else
5361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5362$as_echo "no, using $LN_S" >&6; }
5363fi
5364
5365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5366$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5367set x ${MAKE-make}
5368ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5369if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5370  $as_echo_n "(cached) " >&6
5371else
5372  cat >conftest.make <<\_ACEOF
5373SHELL = /bin/sh
5374all:
5375	@echo '@@@%%%=$(MAKE)=@@@%%%'
5376_ACEOF
5377# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5378case `${MAKE-make} -f conftest.make 2>/dev/null` in
5379  *@@@%%%=?*=@@@%%%*)
5380    eval ac_cv_prog_make_${ac_make}_set=yes;;
5381  *)
5382    eval ac_cv_prog_make_${ac_make}_set=no;;
5383esac
5384rm -f conftest.make
5385fi
5386if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5388$as_echo "yes" >&6; }
5389  SET_MAKE=
5390else
5391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392$as_echo "no" >&6; }
5393  SET_MAKE="MAKE=${MAKE-make}"
5394fi
5395
5396if test $ac_cv_c_compiler_gnu = yes; then
5397    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5398$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5399if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
5400  $as_echo_n "(cached) " >&6
5401else
5402    ac_pattern="Autoconf.*'x'"
5403  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404/* end confdefs.h.  */
5405#include <sgtty.h>
5406Autoconf TIOCGETP
5407_ACEOF
5408if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5409  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5410  ac_cv_prog_gcc_traditional=yes
5411else
5412  ac_cv_prog_gcc_traditional=no
5413fi
5414rm -f conftest*
5415
5416
5417  if test $ac_cv_prog_gcc_traditional = no; then
5418    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419/* end confdefs.h.  */
5420#include <termio.h>
5421Autoconf TCGETA
5422_ACEOF
5423if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5424  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5425  ac_cv_prog_gcc_traditional=yes
5426fi
5427rm -f conftest*
5428
5429  fi
5430fi
5431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5432$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5433  if test $ac_cv_prog_gcc_traditional = yes; then
5434    CC="$CC -traditional"
5435  fi
5436fi
5437
5438
5439if test "x$CC" != xcc; then
5440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5441$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5442else
5443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5444$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5445fi
5446set dummy $CC; ac_cc=`$as_echo "$2" |
5447		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5448if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5449  $as_echo_n "(cached) " >&6
5450else
5451  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452/* end confdefs.h.  */
5453
5454int
5455main ()
5456{
5457
5458  ;
5459  return 0;
5460}
5461_ACEOF
5462# Make sure it works both with $CC and with simple cc.
5463# We do the test twice because some compilers refuse to overwrite an
5464# existing .o file with -o, though they will create one.
5465ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5466rm -f conftest2.*
5467if { { case "(($ac_try" in
5468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469  *) ac_try_echo=$ac_try;;
5470esac
5471eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5472$as_echo "$ac_try_echo"; } >&5
5473  (eval "$ac_try") 2>&5
5474  ac_status=$?
5475  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5476  test $ac_status = 0; } &&
5477   test -f conftest2.$ac_objext && { { case "(($ac_try" in
5478  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5479  *) ac_try_echo=$ac_try;;
5480esac
5481eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5482$as_echo "$ac_try_echo"; } >&5
5483  (eval "$ac_try") 2>&5
5484  ac_status=$?
5485  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5486  test $ac_status = 0; };
5487then
5488  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5489  if test "x$CC" != xcc; then
5490    # Test first that cc exists at all.
5491    if { ac_try='cc -c conftest.$ac_ext >&5'
5492  { { case "(($ac_try" in
5493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5494  *) ac_try_echo=$ac_try;;
5495esac
5496eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5497$as_echo "$ac_try_echo"; } >&5
5498  (eval "$ac_try") 2>&5
5499  ac_status=$?
5500  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5501  test $ac_status = 0; }; }; then
5502      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5503      rm -f conftest2.*
5504      if { { case "(($ac_try" in
5505  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5506  *) ac_try_echo=$ac_try;;
5507esac
5508eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5509$as_echo "$ac_try_echo"; } >&5
5510  (eval "$ac_try") 2>&5
5511  ac_status=$?
5512  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5513  test $ac_status = 0; } &&
5514	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5515  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5516  *) ac_try_echo=$ac_try;;
5517esac
5518eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5519$as_echo "$ac_try_echo"; } >&5
5520  (eval "$ac_try") 2>&5
5521  ac_status=$?
5522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5523  test $ac_status = 0; };
5524      then
5525	# cc works too.
5526	:
5527      else
5528	# cc exists but doesn't like -o.
5529	eval ac_cv_prog_cc_${ac_cc}_c_o=no
5530      fi
5531    fi
5532  fi
5533else
5534  eval ac_cv_prog_cc_${ac_cc}_c_o=no
5535fi
5536rm -f core conftest*
5537
5538fi
5539if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5541$as_echo "yes" >&6; }
5542else
5543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544$as_echo "no" >&6; }
5545  
5546$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5547
5548fi
5549
5550# FIXME: we rely on the cache variable name because
5551# there is no other way.
5552set dummy $CC
5553ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5554if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
5555   # Losing compiler, so override with the script.
5556   # FIXME: It is wrong to rewrite CC.
5557   # But if we don't then we get into trouble of one sort or another.
5558   # A longer-term fix would be to have automake use am__CC in this case,
5559   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5560   CC="$am_aux_dir/compile $CC"
5561fi
5562
5563
5564
5565# -fstack-protector
5566@%:@ Check whether --enable-stack-protector was given.
5567if test "${enable_stack_protector+set}" = set; then :
5568  enableval=$enable_stack_protector; case "${enableval}" in
5569         yes) enable_ssp=yes ;;
5570          no) enable_ssp=no ;;
5571           *) as_fn_error "invalid value ${enableval} for --disable-stack-protector" "$LINENO" 5 ;;
5572     esac
5573else
5574  enable_ssp=yes
5575fi
5576
5577
5578if test x"$enable_ssp" = x"yes" && test x"$GCC" != x"yes"; then
5579    { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling stack-smashing protection because compiler is not GCC" >&5
5580$as_echo "$as_me: Disabling stack-smashing protection because compiler is not GCC" >&6;}
5581    enable_ssp=no
5582fi
5583
5584if test x"$enable_ssp" = x"yes"; then
5585    # Check for broken ssp in libc: http://www.avahi.org/ticket/105
5586    # libc's brokenness will get in the way regardless of whether -lssp is
5587    # provided, but provide it anyway (otherwise non-libc ssp would wrongly
5588    # break here)
5589
5590    # Get -lssp if it exists
5591    
5592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
5593$as_echo_n "checking whether libssp exists... " >&6; }
5594if test "${ssp_cv_lib+set}" = set; then :
5595  $as_echo_n "(cached) " >&6
5596else
5597  ssp_old_libs="$LIBS"
5598     LIBS="$LIBS -lssp"
5599     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600/* end confdefs.h.  */
5601
5602int
5603main ()
5604{
5605
5606  ;
5607  return 0;
5608}
5609_ACEOF
5610if ac_fn_c_try_link "$LINENO"; then :
5611  ssp_cv_lib=yes
5612else
5613  ssp_cv_lib=no
5614fi
5615rm -f core conftest.err conftest.$ac_objext \
5616    conftest$ac_exeext conftest.$ac_ext
5617     LIBS="$ssp_old_libs"
5618    
5619fi
5620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
5621$as_echo "$ssp_cv_lib" >&6; }
5622  if test $ssp_cv_lib = yes; then
5623    LIBS="$LIBS -lssp"
5624  fi
5625
5626
5627    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stack-smashing protection is available" >&5
5628$as_echo_n "checking whether stack-smashing protection is available... " >&6; }
5629    ssp_old_cflags="$CFLAGS"
5630    ssp_old_ldflags="$LDFLAGS"
5631    CFLAGS="$CFLAGS -Werror -fstack-protector-all -fPIC"
5632    LDFLAGS="$LDFLAGS -Wl,-z,defs"
5633    cat confdefs.h > conftest.c
5634    cat >>conftest.c <<_ACEOF
5635void test_broken_ssp(c)
5636    const char *c;
5637{
5638    char arr[123], *p; /* beware of possible double-braces if copying this */
5639    for (p = arr; *c; ++p) {
5640        *p = *c;
5641        ++c;
5642    }
5643}
5644_ACEOF
5645    rm -f conftest.o
5646
5647    if $CC -c $CFLAGS $CPPFLAGS -o conftest.o conftest.c >/dev/null 2>&1; then
5648        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5649$as_echo "yes" >&6; }
5650        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stack-smashing protection is buggy" >&5
5651$as_echo_n "checking whether stack-smashing protection is buggy... " >&6; }
5652        if $CC -o conftest.so $LDFLAGS -shared conftest.o $LIBS >/dev/null 2>&1; then
5653            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654$as_echo "no" >&6; }
5655        else
5656            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5657$as_echo "yes" >&6; }
5658            enable_ssp=no
5659        fi
5660    else
5661        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662$as_echo "no" >&6; }
5663    fi
5664
5665    rm -f conftest.c conftest.o conftest.so
5666
5667    CFLAGS="$ssp_old_cflags"
5668    LDFLAGS="$ssp_old_ldflags"
5669fi
5670
5671if test x"$enable_ssp" = x"yes"; then
5672    # Do this the long way so we don't call GCC_STACK_PROTECT_LIB twice
5673    
5674  
5675  if test "X$CC" != "X"; then
5676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
5677$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
5678if test "${ssp_cv_cc+set}" = set; then :
5679  $as_echo_n "(cached) " >&6
5680else
5681  ssp_old_cflags="$CFLAGS"
5682       CFLAGS="$CFLAGS -fstack-protector -Werror"
5683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684/* end confdefs.h.  */
5685
5686int
5687main ()
5688{
5689
5690  ;
5691  return 0;
5692}
5693_ACEOF
5694if ac_fn_c_try_compile "$LINENO"; then :
5695  ssp_cv_cc=yes
5696else
5697  ssp_cv_cc=no
5698fi
5699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5700       CFLAGS="$ssp_old_cflags"
5701      
5702fi
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
5704$as_echo "$ssp_cv_cc" >&6; }
5705    if test $ssp_cv_cc = yes; then
5706      CFLAGS="$CFLAGS -fstack-protector"
5707      
5708$as_echo "@%:@define ENABLE_SSP_CC 1" >>confdefs.h
5709
5710    fi
5711  fi
5712
5713
5714    ac_ext=cpp
5715ac_cpp='$CXXCPP $CPPFLAGS'
5716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5719
5720    
5721
5722  
5723  if test "X$CXX" != "X"; then
5724    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fstack-protector" >&5
5725$as_echo_n "checking whether ${CXX} accepts -fstack-protector... " >&6; }
5726if test "${ssp_cv_cxx+set}" = set; then :
5727  $as_echo_n "(cached) " >&6
5728else
5729  ssp_old_cxxflags="$CXXFLAGS"
5730       CXXFLAGS="$CXXFLAGS -fstack-protector -Werror"
5731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732/* end confdefs.h.  */
5733
5734int
5735main ()
5736{
5737
5738  ;
5739  return 0;
5740}
5741_ACEOF
5742if ac_fn_cxx_try_compile "$LINENO"; then :
5743  ssp_cv_cxx=yes
5744else
5745  ssp_cv_cxx=no
5746fi
5747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5748       CXXFLAGS="$ssp_old_cxxflags"
5749      
5750fi
5751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cxx" >&5
5752$as_echo "$ssp_cv_cxx" >&6; }
5753    if test $ssp_cv_cxx = yes; then
5754      CXXFLAGS="$CXXFLAGS -fstack-protector"
5755      
5756$as_echo "@%:@define ENABLE_SSP_CXX 1" >>confdefs.h
5757
5758    fi
5759  fi
5760
5761    ac_ext=c
5762ac_cpp='$CPP $CPPFLAGS'
5763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5765ac_compiler_gnu=$ac_cv_c_compiler_gnu
5766
5767    # XXX: Update the enable_ssp value now for output later?
5768fi
5769
5770# libtool stuff
5771case `pwd` in
5772  *\ * | *\	*)
5773    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5774$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5775esac
5776
5777
5778
5779macro_version='2.2.6'
5780macro_revision='1.3012'
5781
5782    
5783    
5784    
5785
5786
5787    
5788    
5789    
5790
5791
5792
5793
5794ltmain="$ac_aux_dir/ltmain.sh"
5795
5796# Make sure we can run config.sub.
5797$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5798  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5799
5800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5801$as_echo_n "checking build system type... " >&6; }
5802if test "${ac_cv_build+set}" = set; then :
5803  $as_echo_n "(cached) " >&6
5804else
5805  ac_build_alias=$build_alias
5806test "x$ac_build_alias" = x &&
5807  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5808test "x$ac_build_alias" = x &&
5809  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5810ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5811  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5812
5813fi
5814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5815$as_echo "$ac_cv_build" >&6; }
5816case $ac_cv_build in
5817*-*-*) ;;
5818*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5819esac
5820build=$ac_cv_build
5821ac_save_IFS=$IFS; IFS='-'
5822set x $ac_cv_build
5823shift
5824build_cpu=$1
5825build_vendor=$2
5826shift; shift
5827# Remember, the first character of IFS is used to create $*,
5828# except with old shells:
5829build_os=$*
5830IFS=$ac_save_IFS
5831case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5832
5833
5834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5835$as_echo_n "checking host system type... " >&6; }
5836if test "${ac_cv_host+set}" = set; then :
5837  $as_echo_n "(cached) " >&6
5838else
5839  if test "x$host_alias" = x; then
5840  ac_cv_host=$ac_cv_build
5841else
5842  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5843    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5844fi
5845
5846fi
5847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5848$as_echo "$ac_cv_host" >&6; }
5849case $ac_cv_host in
5850*-*-*) ;;
5851*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
5852esac
5853host=$ac_cv_host
5854ac_save_IFS=$IFS; IFS='-'
5855set x $ac_cv_host
5856shift
5857host_cpu=$1
5858host_vendor=$2
5859shift; shift
5860# Remember, the first character of IFS is used to create $*,
5861# except with old shells:
5862host_os=$*
5863IFS=$ac_save_IFS
5864case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5865
5866
5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5868$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5869if test "${ac_cv_path_SED+set}" = set; then :
5870  $as_echo_n "(cached) " >&6
5871else
5872            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5873     for ac_i in 1 2 3 4 5 6 7; do
5874       ac_script="$ac_script$as_nl$ac_script"
5875     done
5876     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5877     { ac_script=; unset ac_script;}
5878     if test -z "$SED"; then
5879  ac_path_SED_found=false
5880  # Loop through the user's path and test for each of PROGNAME-LIST
5881  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882for as_dir in $PATH
5883do
5884  IFS=$as_save_IFS
5885  test -z "$as_dir" && as_dir=.
5886    for ac_prog in sed gsed; do
5887    for ac_exec_ext in '' $ac_executable_extensions; do
5888      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5889      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5890# Check for GNU ac_path_SED and select it if it is found.
5891  # Check for GNU $ac_path_SED
5892case `"$ac_path_SED" --version 2>&1` in
5893*GNU*)
5894  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5895*)
5896  ac_count=0
5897  $as_echo_n 0123456789 >"conftest.in"
5898  while :
5899  do
5900    cat "conftest.in" "conftest.in" >"conftest.tmp"
5901    mv "conftest.tmp" "conftest.in"
5902    cp "conftest.in" "conftest.nl"
5903    $as_echo '' >> "conftest.nl"
5904    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5905    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5906    as_fn_arith $ac_count + 1 && ac_count=$as_val
5907    if test $ac_count -gt ${ac_path_SED_max-0}; then
5908      # Best one so far, save it but keep looking for a better one
5909      ac_cv_path_SED="$ac_path_SED"
5910      ac_path_SED_max=$ac_count
5911    fi
5912    # 10*(2^10) chars as input seems more than enough
5913    test $ac_count -gt 10 && break
5914  done
5915  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5916esac
5917
5918      $ac_path_SED_found && break 3
5919    done
5920  done
5921  done
5922IFS=$as_save_IFS
5923  if test -z "$ac_cv_path_SED"; then
5924    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5925  fi
5926else
5927  ac_cv_path_SED=$SED
5928fi
5929
5930fi
5931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5932$as_echo "$ac_cv_path_SED" >&6; }
5933 SED="$ac_cv_path_SED"
5934  rm -f conftest.sed
5935
5936test -z "$SED" && SED=sed
5937Xsed="$SED -e 1s/^X//"
5938
5939    
5940    
5941    
5942
5943
5944    
5945    
5946    
5947
5948
5949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5950$as_echo_n "checking for fgrep... " >&6; }
5951if test "${ac_cv_path_FGREP+set}" = set; then :
5952  $as_echo_n "(cached) " >&6
5953else
5954  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5955   then ac_cv_path_FGREP="$GREP -F"
5956   else
5957     if test -z "$FGREP"; then
5958  ac_path_FGREP_found=false
5959  # Loop through the user's path and test for each of PROGNAME-LIST
5960  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5962do
5963  IFS=$as_save_IFS
5964  test -z "$as_dir" && as_dir=.
5965    for ac_prog in fgrep; do
5966    for ac_exec_ext in '' $ac_executable_extensions; do
5967      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5968      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5969# Check for GNU ac_path_FGREP and select it if it is found.
5970  # Check for GNU $ac_path_FGREP
5971case `"$ac_path_FGREP" --version 2>&1` in
5972*GNU*)
5973  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5974*)
5975  ac_count=0
5976  $as_echo_n 0123456789 >"conftest.in"
5977  while :
5978  do
5979    cat "conftest.in" "conftest.in" >"conftest.tmp"
5980    mv "conftest.tmp" "conftest.in"
5981    cp "conftest.in" "conftest.nl"
5982    $as_echo 'FGREP' >> "conftest.nl"
5983    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5984    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5985    as_fn_arith $ac_count + 1 && ac_count=$as_val
5986    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5987      # Best one so far, save it but keep looking for a better one
5988      ac_cv_path_FGREP="$ac_path_FGREP"
5989      ac_path_FGREP_max=$ac_count
5990    fi
5991    # 10*(2^10) chars as input seems more than enough
5992    test $ac_count -gt 10 && break
5993  done
5994  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5995esac
5996
5997      $ac_path_FGREP_found && break 3
5998    done
5999  done
6000  done
6001IFS=$as_save_IFS
6002  if test -z "$ac_cv_path_FGREP"; then
6003    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6004  fi
6005else
6006  ac_cv_path_FGREP=$FGREP
6007fi
6008
6009   fi
6010fi
6011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6012$as_echo "$ac_cv_path_FGREP" >&6; }
6013 FGREP="$ac_cv_path_FGREP"
6014 
6015
6016test -z "$GREP" && GREP=grep
6017
6018    
6019    
6020    
6021
6022
6023    
6024    
6025    
6026
6027
6028    
6029    
6030    
6031
6032
6033
6034
6035
6036@%:@ Check whether --with-gnu-ld was given.
6037if test "${with_gnu_ld+set}" = set; then :
6038  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6039else
6040  with_gnu_ld=no
6041fi
6042
6043ac_prog=ld
6044if test "$GCC" = yes; then
6045  # Check if gcc -print-prog-name=ld gives a path.
6046  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6047$as_echo_n "checking for ld used by $CC... " >&6; }
6048  case $host in
6049  *-*-mingw*)
6050    # gcc leaves a trailing carriage return which upsets mingw
6051    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6052  *)
6053    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6054  esac
6055  case $ac_prog in
6056    # Accept absolute paths.
6057    [\\/]* | ?:[\\/]*)
6058      re_direlt='/[^/][^/]*/\.\./'
6059      # Canonicalize the pathname of ld
6060      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6061      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6062	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6063      done
6064      test -z "$LD" && LD="$ac_prog"
6065      ;;
6066  "")
6067    # If it fails, then pretend we aren't using GCC.
6068    ac_prog=ld
6069    ;;
6070  *)
6071    # If it is relative, then search for the first ld in PATH.
6072    with_gnu_ld=unknown
6073    ;;
6074  esac
6075elif test "$with_gnu_ld" = yes; then
6076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6077$as_echo_n "checking for GNU ld... " >&6; }
6078else
6079  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6080$as_echo_n "checking for non-GNU ld... " >&6; }
6081fi
6082if test "${lt_cv_path_LD+set}" = set; then :
6083  $as_echo_n "(cached) " >&6
6084else
6085  if test -z "$LD"; then
6086  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6087  for ac_dir in $PATH; do
6088    IFS="$lt_save_ifs"
6089    test -z "$ac_dir" && ac_dir=.
6090    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6091      lt_cv_path_LD="$ac_dir/$ac_prog"
6092      # Check to see if the program is GNU ld.  I'd rather use --version,
6093      # but apparently some variants of GNU ld only accept -v.
6094      # Break only if it was the GNU/non-GNU ld that we prefer.
6095      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6096      *GNU* | *'with BFD'*)
6097	test "$with_gnu_ld" != no && break
6098	;;
6099      *)
6100	test "$with_gnu_ld" != yes && break
6101	;;
6102      esac
6103    fi
6104  done
6105  IFS="$lt_save_ifs"
6106else
6107  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6108fi
6109fi
6110
6111LD="$lt_cv_path_LD"
6112if test -n "$LD"; then
6113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6114$as_echo "$LD" >&6; }
6115else
6116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117$as_echo "no" >&6; }
6118fi
6119test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6121$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6122if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6123  $as_echo_n "(cached) " >&6
6124else
6125  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6126case `$LD -v 2>&1 </dev/null` in
6127*GNU* | *'with BFD'*)
6128  lt_cv_prog_gnu_ld=yes
6129  ;;
6130*)
6131  lt_cv_prog_gnu_ld=no
6132  ;;
6133esac
6134fi
6135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6136$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6137with_gnu_ld=$lt_cv_prog_gnu_ld
6138
6139
6140
6141
6142    
6143    
6144    
6145
6146
6147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6148$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6149if test "${lt_cv_path_NM+set}" = set; then :
6150  $as_echo_n "(cached) " >&6
6151else
6152  if test -n "$NM"; then
6153  # Let the user override the test.
6154  lt_cv_path_NM="$NM"
6155else
6156  lt_nm_to_check="${ac_tool_prefix}nm"
6157  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6158    lt_nm_to_check="$lt_nm_to_check nm"
6159  fi
6160  for lt_tmp_nm in $lt_nm_to_check; do
6161    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6162    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6163      IFS="$lt_save_ifs"
6164      test -z "$ac_dir" && ac_dir=.
6165      tmp_nm="$ac_dir/$lt_tmp_nm"
6166      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6167	# Check to see if the nm accepts a BSD-compat flag.
6168	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6169	#   nm: unknown option "B" ignored
6170	# Tru64's nm complains that /dev/null is an invalid object file
6171	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6172	*/dev/null* | *'Invalid file or object type'*)
6173	  lt_cv_path_NM="$tmp_nm -B"
6174	  break
6175	  ;;
6176	*)
6177	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6178	  */dev/null*)
6179	    lt_cv_path_NM="$tmp_nm -p"
6180	    break
6181	    ;;
6182	  *)
6183	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6184	    continue # so that we can try to find one that supports BSD flags
6185	    ;;
6186	  esac
6187	  ;;
6188	esac
6189      fi
6190    done
6191    IFS="$lt_save_ifs"
6192  done
6193  : ${lt_cv_path_NM=no}
6194fi
6195fi
6196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6197$as_echo "$lt_cv_path_NM" >&6; }
6198if test "$lt_cv_path_NM" != "no"; then
6199  NM="$lt_cv_path_NM"
6200else
6201  # Didn't find any BSD compatible name lister, look for dumpbin.
6202  if test -n "$ac_tool_prefix"; then
6203  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6204  do
6205    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6206set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6208$as_echo_n "checking for $ac_word... " >&6; }
6209if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6210  $as_echo_n "(cached) " >&6
6211else
6212  if test -n "$DUMPBIN"; then
6213  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6214else
6215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216for as_dir in $PATH
6217do
6218  IFS=$as_save_IFS
6219  test -z "$as_dir" && as_dir=.
6220    for ac_exec_ext in '' $ac_executable_extensions; do
6221  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6222    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6223    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224    break 2
6225  fi
6226done
6227  done
6228IFS=$as_save_IFS
6229
6230fi
6231fi
6232DUMPBIN=$ac_cv_prog_DUMPBIN
6233if test -n "$DUMPBIN"; then
6234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6235$as_echo "$DUMPBIN" >&6; }
6236else
6237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6238$as_echo "no" >&6; }
6239fi
6240
6241
6242    test -n "$DUMPBIN" && break
6243  done
6244fi
6245if test -z "$DUMPBIN"; then
6246  ac_ct_DUMPBIN=$DUMPBIN
6247  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6248do
6249  # Extract the first word of "$ac_prog", so it can be a program name with args.
6250set dummy $ac_prog; ac_word=$2
6251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6252$as_echo_n "checking for $ac_word... " >&6; }
6253if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6254  $as_echo_n "(cached) " >&6
6255else
6256  if test -n "$ac_ct_DUMPBIN"; then
6257  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6258else
6259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260for as_dir in $PATH
6261do
6262  IFS=$as_save_IFS
6263  test -z "$as_dir" && as_dir=.
6264    for ac_exec_ext in '' $ac_executable_extensions; do
6265  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6266    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268    break 2
6269  fi
6270done
6271  done
6272IFS=$as_save_IFS
6273
6274fi
6275fi
6276ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6277if test -n "$ac_ct_DUMPBIN"; then
6278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6279$as_echo "$ac_ct_DUMPBIN" >&6; }
6280else
6281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6282$as_echo "no" >&6; }
6283fi
6284
6285
6286  test -n "$ac_ct_DUMPBIN" && break
6287done
6288
6289  if test "x$ac_ct_DUMPBIN" = x; then
6290    DUMPBIN=":"
6291  else
6292    case $cross_compiling:$ac_tool_warned in
6293yes:)
6294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6296ac_tool_warned=yes ;;
6297esac
6298    DUMPBIN=$ac_ct_DUMPBIN
6299  fi
6300fi
6301
6302  
6303  if test "$DUMPBIN" != ":"; then
6304    NM="$DUMPBIN"
6305  fi
6306fi
6307test -z "$NM" && NM=nm
6308
6309
6310    
6311    
6312    
6313
6314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6315$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6316if test "${lt_cv_nm_interface+set}" = set; then :
6317  $as_echo_n "(cached) " >&6
6318else
6319  lt_cv_nm_interface="BSD nm"
6320  echo "int some_variable = 0;" > conftest.$ac_ext
6321  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
6322  (eval "$ac_compile" 2>conftest.err)
6323  cat conftest.err >&5
6324  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6325  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6326  cat conftest.err >&5
6327  (eval echo "\"\$as_me:__oline__: output\"" >&5)
6328  cat conftest.out >&5
6329  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6330    lt_cv_nm_interface="MS dumpbin"
6331  fi
6332  rm -f conftest*
6333fi
6334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6335$as_echo "$lt_cv_nm_interface" >&6; }
6336
6337# find the maximum length of command line arguments
6338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6339$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6340if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6341  $as_echo_n "(cached) " >&6
6342else
6343    i=0
6344  teststring="ABCD"
6345
6346  case $build_os in
6347  msdosdjgpp*)
6348    # On DJGPP, this test can blow up pretty badly due to problems in libc
6349    # (any single argument exceeding 2000 bytes causes a buffer overrun
6350    # during glob expansion).  Even if it were fixed, the result of this
6351    # check would be larger than it should be.
6352    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6353    ;;
6354
6355  gnu*)
6356    # Under GNU Hurd, this test is not required because there is
6357    # no limit to the length of command line arguments.
6358    # Libtool will interpret -1 as no limit whatsoever
6359    lt_cv_sys_max_cmd_len=-1;
6360    ;;
6361
6362  cygwin* | mingw* | cegcc*)
6363    # On Win9x/ME, this test blows up -- it succeeds, but takes
6364    # about 5 minutes as the teststring grows exponentially.
6365    # Worse, since 9x/ME are not pre-emptively multitasking,
6366    # you end up with a "frozen" computer, even though with patience
6367    # the test eventually succeeds (with a max line length of 256k).
6368    # Instead, let's just punt: use the minimum linelength reported by
6369    # all of the supported platforms: 8192 (on NT/2K/XP).
6370    lt_cv_sys_max_cmd_len=8192;
6371    ;;
6372
6373  amigaos*)
6374    # On AmigaOS with pdksh, this test takes hours, literally.
6375    # So we just punt and use a minimum line length of 8192.
6376    lt_cv_sys_max_cmd_len=8192;
6377    ;;
6378
6379  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6380    # This has been around since 386BSD, at least.  Likely further.
6381    if test -x /sbin/sysctl; then
6382      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6383    elif test -x /usr/sbin/sysctl; then
6384      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6385    else
6386      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6387    fi
6388    # And add a safety zone
6389    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6390    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6391    ;;
6392
6393  interix*)
6394    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6395    lt_cv_sys_max_cmd_len=196608
6396    ;;
6397
6398  osf*)
6399    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6400    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6401    # nice to cause kernel panics so lets avoid the loop below.
6402    # First set a reasonable default.
6403    lt_cv_sys_max_cmd_len=16384
6404    #
6405    if test -x /sbin/sysconfig; then
6406      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6407        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6408      esac
6409    fi
6410    ;;
6411  sco3.2v5*)
6412    lt_cv_sys_max_cmd_len=102400
6413    ;;
6414  sysv5* | sco5v6* | sysv4.2uw2*)
6415    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6416    if test -n "$kargmax"; then
6417      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6418    else
6419      lt_cv_sys_max_cmd_len=32768
6420    fi
6421    ;;
6422  *)
6423    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6424    if test -n "$lt_cv_sys_max_cmd_len"; then
6425      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6426      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6427    else
6428      # Make teststring a little bigger before we do anything with it.
6429      # a 1K string should be a reasonable start.
6430      for i in 1 2 3 4 5 6 7 8 ; do
6431        teststring=$teststring$teststring
6432      done
6433      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6434      # If test is not a shell built-in, we'll probably end up computing a
6435      # maximum length that is only half of the actual maximum length, but
6436      # we can't tell.
6437      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6438	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6439	      test $i != 17 # 1/2 MB should be enough
6440      do
6441        i=`expr $i + 1`
6442        teststring=$teststring$teststring
6443      done
6444      # Only check the string length outside the loop.
6445      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6446      teststring=
6447      # Add a significant safety factor because C++ compilers can tack on
6448      # massive amounts of additional arguments before passing them to the
6449      # linker.  It appears as though 1/2 is a usable value.
6450      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6451    fi
6452    ;;
6453  esac
6454
6455fi
6456
6457if test -n $lt_cv_sys_max_cmd_len ; then
6458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6459$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6460else
6461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6462$as_echo "none" >&6; }
6463fi
6464max_cmd_len=$lt_cv_sys_max_cmd_len
6465
6466    
6467    
6468    
6469
6470
6471: ${CP="cp -f"}
6472: ${MV="mv -f"}
6473: ${RM="rm -f"}
6474
6475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6476$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6477# Try some XSI features
6478xsi_shell=no
6479( _lt_dummy="a/b/c"
6480  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6481      = c,a/b,, \
6482    && eval 'test $(( 1 + 1 )) -eq 2 \
6483    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6484  && xsi_shell=yes
6485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6486$as_echo "$xsi_shell" >&6; }
6487
6488
6489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6490$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6491lt_shell_append=no
6492( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6493    >/dev/null 2>&1 \
6494  && lt_shell_append=yes
6495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6496$as_echo "$lt_shell_append" >&6; }
6497
6498
6499if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6500  lt_unset=unset
6501else
6502  lt_unset=false
6503fi
6504
6505    
6506    
6507    
6508
6509# test EBCDIC or ASCII
6510case `echo X|tr X '\101'` in
6511 A) # ASCII based system
6512    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6513  lt_SP2NL='tr \040 \012'
6514  lt_NL2SP='tr \015\012 \040\040'
6515  ;;
6516 *) # EBCDIC based system
6517  lt_SP2NL='tr \100 \n'
6518  lt_NL2SP='tr \r\n \100\100'
6519  ;;
6520esac
6521
6522    
6523    
6524    
6525
6526    
6527    
6528    
6529
6530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6531$as_echo_n "checking for $LD option to reload object files... " >&6; }
6532if test "${lt_cv_ld_reload_flag+set}" = set; then :
6533  $as_echo_n "(cached) " >&6
6534else
6535  lt_cv_ld_reload_flag='-r'
6536fi
6537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6538$as_echo "$lt_cv_ld_reload_flag" >&6; }
6539reload_flag=$lt_cv_ld_reload_flag
6540case $reload_flag in
6541"" | " "*) ;;
6542*) reload_flag=" $reload_flag" ;;
6543esac
6544reload_cmds='$LD$reload_flag -o $output$reload_objs'
6545case $host_os in
6546  darwin*)
6547    if test "$GCC" = yes; then
6548      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6549    else
6550      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6551    fi
6552    ;;
6553esac
6554
6555    
6556    
6557    
6558
6559    
6560    
6561    
6562
6563if test -n "$ac_tool_prefix"; then
6564  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6565set dummy ${ac_tool_prefix}objdump; ac_word=$2
6566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567$as_echo_n "checking for $ac_word... " >&6; }
6568if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6569  $as_echo_n "(cached) " >&6
6570else
6571  if test -n "$OBJDUMP"; then
6572  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6573else
6574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575for as_dir in $PATH
6576do
6577  IFS=$as_save_IFS
6578  test -z "$as_dir" && as_dir=.
6579    for ac_exec_ext in '' $ac_executable_extensions; do
6580  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6581    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6583    break 2
6584  fi
6585done
6586  done
6587IFS=$as_save_IFS
6588
6589fi
6590fi
6591OBJDUMP=$ac_cv_prog_OBJDUMP
6592if test -n "$OBJDUMP"; then
6593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6594$as_echo "$OBJDUMP" >&6; }
6595else
6596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597$as_echo "no" >&6; }
6598fi
6599
6600
6601fi
6602if test -z "$ac_cv_prog_OBJDUMP"; then
6603  ac_ct_OBJDUMP=$OBJDUMP
6604  # Extract the first word of "objdump", so it can be a program name with args.
6605set dummy objdump; ac_word=$2
6606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607$as_echo_n "checking for $ac_word... " >&6; }
6608if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6609  $as_echo_n "(cached) " >&6
6610else
6611  if test -n "$ac_ct_OBJDUMP"; then
6612  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6613else
6614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615for as_dir in $PATH
6616do
6617  IFS=$as_save_IFS
6618  test -z "$as_dir" && as_dir=.
6619    for ac_exec_ext in '' $ac_executable_extensions; do
6620  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6621    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6622    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6623    break 2
6624  fi
6625done
6626  done
6627IFS=$as_save_IFS
6628
6629fi
6630fi
6631ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6632if test -n "$ac_ct_OBJDUMP"; then
6633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6634$as_echo "$ac_ct_OBJDUMP" >&6; }
6635else
6636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637$as_echo "no" >&6; }
6638fi
6639
6640  if test "x$ac_ct_OBJDUMP" = x; then
6641    OBJDUMP="false"
6642  else
6643    case $cross_compiling:$ac_tool_warned in
6644yes:)
6645{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6646$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6647ac_tool_warned=yes ;;
6648esac
6649    OBJDUMP=$ac_ct_OBJDUMP
6650  fi
6651else
6652  OBJDUMP="$ac_cv_prog_OBJDUMP"
6653fi
6654
6655test -z "$OBJDUMP" && OBJDUMP=objdump
6656
6657    
6658    
6659    
6660
6661
6662
6663
6664
6665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6666$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6667if test "${lt_cv_deplibs_check_method+set}" = set; then :
6668  $as_echo_n "(cached) " >&6
6669else
6670  lt_cv_file_magic_cmd='$MAGIC_CMD'
6671lt_cv_file_magic_test_file=
6672lt_cv_deplibs_check_method='unknown'
6673# Need to set the preceding variable on all platforms that support
6674# interlibrary dependencies.
6675# 'none' -- dependencies not supported.
6676# `unknown' -- same as none, but documents that we really don't know.
6677# 'pass_all' -- all dependencies passed with no checks.
6678# 'test_compile' -- check by making test program.
6679# 'file_magic [[regex]]' -- check by looking for files in library path
6680# which responds to the $file_magic_cmd with a given extended regex.
6681# If you have `file' or equivalent on your system and you're not sure
6682# whether `pass_all' will *always* work, you probably want this one.
6683
6684case $host_os in
6685aix[4-9]*)
6686  lt_cv_deplibs_check_method=pass_all
6687  ;;
6688
6689beos*)
6690  lt_cv_deplibs_check_method=pass_all
6691  ;;
6692
6693bsdi[45]*)
6694  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6695  lt_cv_file_magic_cmd='/usr/bin/file -L'
6696  lt_cv_file_magic_test_file=/shlib/libc.so
6697  ;;
6698
6699cygwin*)
6700  # func_win32_libid is a shell function defined in ltmain.sh
6701  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6702  lt_cv_file_magic_cmd='func_win32_libid'
6703  ;;
6704
6705mingw* | pw32*)
6706  # Base MSYS/MinGW do not provide the 'file' command needed by
6707  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6708  # unless we find 'file', for example because we are cross-compiling.
6709  if ( file / ) >/dev/null 2>&1; then
6710    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6711    lt_cv_file_magic_cmd='func_win32_libid'
6712  else
6713    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6714    lt_cv_file_magic_cmd='$OBJDUMP -f'
6715  fi
6716  ;;
6717
6718cegcc)
6719  # use the weaker test based on 'objdump'. See mingw*.
6720  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6721  lt_cv_file_magic_cmd='$OBJDUMP -f'
6722  ;;
6723
6724darwin* | rhapsody*)
6725  lt_cv_deplibs_check_method=pass_all
6726  ;;
6727
6728freebsd* | dragonfly*)
6729  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6730    case $host_cpu in
6731    i*86 )
6732      # Not sure whether the presence of OpenBSD here was a mistake.
6733      # Let's accept both of them until this is cleared up.
6734      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6735      lt_cv_file_magic_cmd=/usr/bin/file
6736      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6737      ;;
6738    esac
6739  else
6740    lt_cv_deplibs_check_method=pass_all
6741  fi
6742  ;;
6743
6744gnu*)
6745  lt_cv_deplibs_check_method=pass_all
6746  ;;
6747
6748hpux10.20* | hpux11*)
6749  lt_cv_file_magic_cmd=/usr/bin/file
6750  case $host_cpu in
6751  ia64*)
6752    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6753    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6754    ;;
6755  hppa*64*)
6756    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6757    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6758    ;;
6759  *)
6760    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6761    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6762    ;;
6763  esac
6764  ;;
6765
6766interix[3-9]*)
6767  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6768  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6769  ;;
6770
6771irix5* | irix6* | nonstopux*)
6772  case $LD in
6773  *-32|*"-32 ") libmagic=32-bit;;
6774  *-n32|*"-n32 ") libmagic=N32;;
6775  *-64|*"-64 ") libmagic=64-bit;;
6776  *) libmagic=never-match;;
6777  esac
6778  lt_cv_deplibs_check_method=pass_all
6779  ;;
6780
6781# This must be Linux ELF.
6782linux* | k*bsd*-gnu)
6783  lt_cv_deplibs_check_method=pass_all
6784  ;;
6785
6786netbsd*)
6787  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6788    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6789  else
6790    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6791  fi
6792  ;;
6793
6794newos6*)
6795  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6796  lt_cv_file_magic_cmd=/usr/bin/file
6797  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6798  ;;
6799
6800*nto* | *qnx*)
6801  lt_cv_deplibs_check_method=pass_all
6802  ;;
6803
6804openbsd*)
6805  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6806    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6807  else
6808    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6809  fi
6810  ;;
6811
6812osf3* | osf4* | osf5*)
6813  lt_cv_deplibs_check_method=pass_all
6814  ;;
6815
6816rdos*)
6817  lt_cv_deplibs_check_method=pass_all
6818  ;;
6819
6820solaris*)
6821  lt_cv_deplibs_check_method=pass_all
6822  ;;
6823
6824sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6825  lt_cv_deplibs_check_method=pass_all
6826  ;;
6827
6828sysv4 | sysv4.3*)
6829  case $host_vendor in
6830  motorola)
6831    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]'
6832    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6833    ;;
6834  ncr)
6835    lt_cv_deplibs_check_method=pass_all
6836    ;;
6837  sequent)
6838    lt_cv_file_magic_cmd='/bin/file'
6839    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6840    ;;
6841  sni)
6842    lt_cv_file_magic_cmd='/bin/file'
6843    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6844    lt_cv_file_magic_test_file=/lib/libc.so
6845    ;;
6846  siemens)
6847    lt_cv_deplibs_check_method=pass_all
6848    ;;
6849  pc)
6850    lt_cv_deplibs_check_method=pass_all
6851    ;;
6852  esac
6853  ;;
6854
6855tpf*)
6856  lt_cv_deplibs_check_method=pass_all
6857  ;;
6858esac
6859
6860fi
6861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6862$as_echo "$lt_cv_deplibs_check_method" >&6; }
6863file_magic_cmd=$lt_cv_file_magic_cmd
6864deplibs_check_method=$lt_cv_deplibs_check_method
6865test -z "$deplibs_check_method" && deplibs_check_method=unknown
6866
6867
6868    
6869    
6870    
6871
6872
6873    
6874    
6875    
6876
6877
6878if test -n "$ac_tool_prefix"; then
6879  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6880set dummy ${ac_tool_prefix}ar; ac_word=$2
6881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6882$as_echo_n "checking for $ac_word... " >&6; }
6883if test "${ac_cv_prog_AR+set}" = set; then :
6884  $as_echo_n "(cached) " >&6
6885else
6886  if test -n "$AR"; then
6887  ac_cv_prog_AR="$AR" # Let the user override the test.
6888else
6889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890for as_dir in $PATH
6891do
6892  IFS=$as_save_IFS
6893  test -z "$as_dir" && as_dir=.
6894    for ac_exec_ext in '' $ac_executable_extensions; do
6895  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6896    ac_cv_prog_AR="${ac_tool_prefix}ar"
6897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6898    break 2
6899  fi
6900done
6901  done
6902IFS=$as_save_IFS
6903
6904fi
6905fi
6906AR=$ac_cv_prog_AR
6907if test -n "$AR"; then
6908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6909$as_echo "$AR" >&6; }
6910else
6911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6912$as_echo "no" >&6; }
6913fi
6914
6915
6916fi
6917if test -z "$ac_cv_prog_AR"; then
6918  ac_ct_AR=$AR
6919  # Extract the first word of "ar", so it can be a program name with args.
6920set dummy ar; ac_word=$2
6921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6922$as_echo_n "checking for $ac_word... " >&6; }
6923if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6924  $as_echo_n "(cached) " >&6
6925else
6926  if test -n "$ac_ct_AR"; then
6927  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6928else
6929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6930for as_dir in $PATH
6931do
6932  IFS=$as_save_IFS
6933  test -z "$as_dir" && as_dir=.
6934    for ac_exec_ext in '' $ac_executable_extensions; do
6935  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6936    ac_cv_prog_ac_ct_AR="ar"
6937    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938    break 2
6939  fi
6940done
6941  done
6942IFS=$as_save_IFS
6943
6944fi
6945fi
6946ac_ct_AR=$ac_cv_prog_ac_ct_AR
6947if test -n "$ac_ct_AR"; then
6948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6949$as_echo "$ac_ct_AR" >&6; }
6950else
6951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952$as_echo "no" >&6; }
6953fi
6954
6955  if test "x$ac_ct_AR" = x; then
6956    AR="false"
6957  else
6958    case $cross_compiling:$ac_tool_warned in
6959yes:)
6960{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6961$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6962ac_tool_warned=yes ;;
6963esac
6964    AR=$ac_ct_AR
6965  fi
6966else
6967  AR="$ac_cv_prog_AR"
6968fi
6969
6970test -z "$AR" && AR=ar
6971test -z "$AR_FLAGS" && AR_FLAGS=cru
6972
6973    
6974    
6975    
6976
6977
6978    
6979    
6980    
6981
6982
6983if test -n "$ac_tool_prefix"; then
6984  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6985set dummy ${ac_tool_prefix}strip; ac_word=$2
6986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987$as_echo_n "checking for $ac_word... " >&6; }
6988if test "${ac_cv_prog_STRIP+set}" = set; then :
6989  $as_echo_n "(cached) " >&6
6990else
6991  if test -n "$STRIP"; then
6992  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6993else
6994as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995for as_dir in $PATH
6996do
6997  IFS=$as_save_IFS
6998  test -z "$as_dir" && as_dir=.
6999    for ac_exec_ext in '' $ac_executable_extensions; do
7000  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7002    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003    break 2
7004  fi
7005done
7006  done
7007IFS=$as_save_IFS
7008
7009fi
7010fi
7011STRIP=$ac_cv_prog_STRIP
7012if test -n "$STRIP"; then
7013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7014$as_echo "$STRIP" >&6; }
7015else
7016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017$as_echo "no" >&6; }
7018fi
7019
7020
7021fi
7022if test -z "$ac_cv_prog_STRIP"; then
7023  ac_ct_STRIP=$STRIP
7024  # Extract the first word of "strip", so it can be a program name with args.
7025set dummy strip; ac_word=$2
7026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027$as_echo_n "checking for $ac_word... " >&6; }
7028if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7029  $as_echo_n "(cached) " >&6
7030else
7031  if test -n "$ac_ct_STRIP"; then
7032  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7033else
7034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035for as_dir in $PATH
7036do
7037  IFS=$as_save_IFS
7038  test -z "$as_dir" && as_dir=.
7039    for ac_exec_ext in '' $ac_executable_extensions; do
7040  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041    ac_cv_prog_ac_ct_STRIP="strip"
7042    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043    break 2
7044  fi
7045done
7046  done
7047IFS=$as_save_IFS
7048
7049fi
7050fi
7051ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7052if test -n "$ac_ct_STRIP"; then
7053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7054$as_echo "$ac_ct_STRIP" >&6; }
7055else
7056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057$as_echo "no" >&6; }
7058fi
7059
7060  if test "x$ac_ct_STRIP" = x; then
7061    STRIP=":"
7062  else
7063    case $cross_compiling:$ac_tool_warned in
7064yes:)
7065{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7066$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7067ac_tool_warned=yes ;;
7068esac
7069    STRIP=$ac_ct_STRIP
7070  fi
7071else
7072  STRIP="$ac_cv_prog_STRIP"
7073fi
7074
7075test -z "$STRIP" && STRIP=:
7076
7077    
7078    
7079    
7080
7081
7082if test -n "$ac_tool_prefix"; then
7083  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7084set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7086$as_echo_n "checking for $ac_word... " >&6; }
7087if test "${ac_cv_prog_RANLIB+set}" = set; then :
7088  $as_echo_n "(cached) " >&6
7089else
7090  if test -n "$RANLIB"; then
7091  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7092else
7093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094for as_dir in $PATH
7095do
7096  IFS=$as_save_IFS
7097  test -z "$as_dir" && as_dir=.
7098    for ac_exec_ext in '' $ac_executable_extensions; do
7099  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7100    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7101    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102    break 2
7103  fi
7104done
7105  done
7106IFS=$as_save_IFS
7107
7108fi
7109fi
7110RANLIB=$ac_cv_prog_RANLIB
7111if test -n "$RANLIB"; then
7112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7113$as_echo "$RANLIB" >&6; }
7114else
7115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7116$as_echo "no" >&6; }
7117fi
7118
7119
7120fi
7121if test -z "$ac_cv_prog_RANLIB"; then
7122  ac_ct_RANLIB=$RANLIB
7123  # Extract the first word of "ranlib", so it can be a program name with args.
7124set dummy ranlib; ac_word=$2
7125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126$as_echo_n "checking for $ac_word... " >&6; }
7127if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7128  $as_echo_n "(cached) " >&6
7129else
7130  if test -n "$ac_ct_RANLIB"; then
7131  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7132else
7133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7134for as_dir in $PATH
7135do
7136  IFS=$as_save_IFS
7137  test -z "$as_dir" && as_dir=.
7138    for ac_exec_ext in '' $ac_executable_extensions; do
7139  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7140    ac_cv_prog_ac_ct_RANLIB="ranlib"
7141    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142    break 2
7143  fi
7144done
7145  done
7146IFS=$as_save_IFS
7147
7148fi
7149fi
7150ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7151if test -n "$ac_ct_RANLIB"; then
7152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7153$as_echo "$ac_ct_RANLIB" >&6; }
7154else
7155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156$as_echo "no" >&6; }
7157fi
7158
7159  if test "x$ac_ct_RANLIB" = x; then
7160    RANLIB=":"
7161  else
7162    case $cross_compiling:$ac_tool_warned in
7163yes:)
7164{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7165$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7166ac_tool_warned=yes ;;
7167esac
7168    RANLIB=$ac_ct_RANLIB
7169  fi
7170else
7171  RANLIB="$ac_cv_prog_RANLIB"
7172fi
7173
7174test -z "$RANLIB" && RANLIB=:
7175
7176    
7177    
7178    
7179
7180
7181# Determine commands to create old-style static archives.
7182old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7183old_postinstall_cmds='chmod 644 $oldlib'
7184old_postuninstall_cmds=
7185
7186if test -n "$RANLIB"; then
7187  case $host_os in
7188  openbsd*)
7189    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7190    ;;
7191  *)
7192    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7193    ;;
7194  esac
7195  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7196fi
7197
7198    
7199    
7200    
7201
7202
7203    
7204    
7205    
7206
7207
7208    
7209    
7210    
7211
7212
7213
7214
7215    
7216    
7217    
7218
7219    
7220    
7221    
7222
7223    
7224    
7225    
7226
7227    
7228    
7229    
7230
7231# If no C compiler was specified, use CC.
7232LTCC=${LTCC-"$CC"}
7233
7234# If no C compiler flags were specified, use CFLAGS.
7235LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7236
7237# Allow CC to be a program name with arguments.
7238compiler=$CC
7239
7240
7241# Check for command to grab the raw symbol name followed by C symbol from nm.
7242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7243$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7244if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7245  $as_echo_n "(cached) " >&6
7246else
7247  
7248# These are sane defaults that work on at least a few old systems.
7249# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7250
7251# Character class describing NM global symbol codes.
7252symcode='[BCDEGRST]'
7253
7254# Regexp to match symbols that can be accessed directly from C.
7255sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7256
7257# Define system-specific variables.
7258case $host_os in
7259aix*)
7260  symcode='[BCDT]'
7261  ;;
7262cygwin* | mingw* | pw32* | cegcc*)
7263  symcode='[ABCDGISTW]'
7264  ;;
7265hpux*)
7266  if test "$host_cpu" = ia64; then
7267    symcode='[ABCDEGRST]'
7268  fi
7269  ;;
7270irix* | nonstopux*)
7271  symcode='[BCDEGRST]'
7272  ;;
7273osf*)
7274  symcode='[BCDEGQRST]'
7275  ;;
7276solaris*)
7277  symcode='[BDRT]'
7278  ;;
7279sco3.2v5*)
7280  symcode='[DT]'
7281  ;;
7282sysv4.2uw2*)
7283  symcode='[DT]'
7284  ;;
7285sysv5* | sco5v6* | unixware* | OpenUNIX*)
7286  symcode='[ABDT]'
7287  ;;
7288sysv4)
7289  symcode='[DFNSTU]'
7290  ;;
7291esac
7292
7293# If we're using GNU nm, then use its standard symbol codes.
7294case `$NM -V 2>&1` in
7295*GNU* | *'with BFD'*)
7296  symcode='[ABCDGIRSTW]' ;;
7297esac
7298
7299# Transform an extracted symbol line into a proper C declaration.
7300# Some systems (esp. on ia64) link data and code symbols differently,
7301# so use this general approach.
7302lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7303
7304# Transform an extracted symbol line into symbol name and symbol address
7305lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7306lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7307
7308# Handle CRLF in mingw tool chain
7309opt_cr=
7310case $build_os in
7311mingw*)
7312  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7313  ;;
7314esac
7315
7316# Try without a prefix underscore, then with it.
7317for ac_symprfx in "" "_"; do
7318
7319  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7320  symxfrm="\\1 $ac_symprfx\\2 \\2"
7321
7322  # Write the raw and C identifiers.
7323  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7324    # Fake it for dumpbin and say T for any non-static function
7325    # and D for any global variable.
7326    # Also find C++ and __fastcall symbols from MSVC++,
7327    # which start with @ or ?.
7328    lt_cv_sys_global_symbol_pipe="$AWK '"\
7329"     {last_section=section; section=\$ 3};"\
7330"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7331"     \$ 0!~/External *\|/{next};"\
7332"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7333"     {if(hide[section]) next};"\
7334"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7335"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7336"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7337"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7338"     ' prfx=^$ac_symprfx"
7339  else
7340    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7341  fi
7342
7343  # Check to see that the pipe works correctly.
7344  pipe_works=no
7345
7346  rm -f conftest*
7347  cat > conftest.$ac_ext <<_LT_EOF
7348#ifdef __cplusplus
7349extern "C" {
7350#endif
7351char nm_test_var;
7352void nm_test_func(void);
7353void nm_test_func(void){}
7354#ifdef __cplusplus
7355}
7356#endif
7357int main(){nm_test_var='a';nm_test_func();return(0);}
7358_LT_EOF
7359
7360  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7361  (eval $ac_compile) 2>&5
7362  ac_status=$?
7363  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7364  test $ac_status = 0; }; then
7365    # Now try to grab the symbols.
7366    nlist=conftest.nm
7367    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7368  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7369  ac_status=$?
7370  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7371  test $ac_status = 0; } && test -s "$nlist"; then
7372      # Try sorting and uniquifying the output.
7373      if sort "$nlist" | uniq > "$nlist"T; then
7374	mv -f "$nlist"T "$nlist"
7375      else
7376	rm -f "$nlist"T
7377      fi
7378
7379      # Make sure that we snagged all the symbols we need.
7380      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7381	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7382	  cat <<_LT_EOF > conftest.$ac_ext
7383#ifdef __cplusplus
7384extern "C" {
7385#endif
7386
7387_LT_EOF
7388	  # Now generate the symbol file.
7389	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7390
7391	  cat <<_LT_EOF >> conftest.$ac_ext
7392
7393/* The mapping between symbol names and symbols.  */
7394const struct {
7395  const char *name;
7396  void       *address;
7397}
7398lt__PROGRAM__LTX_preloaded_symbols[] =
7399{
7400  { "@PROGRAM@", (void *) 0 },
7401_LT_EOF
7402	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7403	  cat <<\_LT_EOF >> conftest.$ac_ext
7404  {0, (void *) 0}
7405};
7406
7407/* This works around a problem in FreeBSD linker */
7408#ifdef FREEBSD_WORKAROUND
7409static const void *lt_preloaded_setup() {
7410  return lt__PROGRAM__LTX_preloaded_symbols;
7411}
7412#endif
7413
7414#ifdef __cplusplus
7415}
7416#endif
7417_LT_EOF
7418	  # Now try linking the two files.
7419	  mv conftest.$ac_objext conftstm.$ac_objext
7420	  lt_save_LIBS="$LIBS"
7421	  lt_save_CFLAGS="$CFLAGS"
7422	  LIBS="conftstm.$ac_objext"
7423	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7424	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7425  (eval $ac_link) 2>&5
7426  ac_status=$?
7427  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7428  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7429	    pipe_works=yes
7430	  fi
7431	  LIBS="$lt_save_LIBS"
7432	  CFLAGS="$lt_save_CFLAGS"
7433	else
7434	  echo "cannot find nm_test_func in $nlist" >&5
7435	fi
7436      else
7437	echo "cannot find nm_test_var in $nlist" >&5
7438      fi
7439    else
7440      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7441    fi
7442  else
7443    echo "$progname: failed program was:" >&5
7444    cat conftest.$ac_ext >&5
7445  fi
7446  rm -rf conftest* conftst*
7447
7448  # Do not use the global_symbol_pipe unless it works.
7449  if test "$pipe_works" = yes; then
7450    break
7451  else
7452    lt_cv_sys_global_symbol_pipe=
7453  fi
7454done
7455
7456fi
7457
7458if test -z "$lt_cv_sys_global_symbol_pipe"; then
7459  lt_cv_sys_global_symbol_to_cdecl=
7460fi
7461if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7463$as_echo "failed" >&6; }
7464else
7465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7466$as_echo "ok" >&6; }
7467fi
7468
7469
7470    
7471    
7472    
7473
7474
7475    
7476    
7477    
7478
7479
7480    
7481    
7482    
7483
7484
7485    
7486    
7487    
7488
7489
7490@%:@ Check whether --enable-libtool-lock was given.
7491if test "${enable_libtool_lock+set}" = set; then :
7492  enableval=$enable_libtool_lock; 
7493fi
7494
7495test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7496
7497# Some flags need to be propagated to the compiler or linker for good
7498# libtool support.
7499case $host in
7500ia64-*-hpux*)
7501  # Find out which ABI we are using.
7502  echo 'int i;' > conftest.$ac_ext
7503  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7504  (eval $ac_compile) 2>&5
7505  ac_status=$?
7506  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7507  test $ac_status = 0; }; then
7508    case `/usr/bin/file conftest.$ac_objext` in
7509      *ELF-32*)
7510	HPUX_IA64_MODE="32"
7511	;;
7512      *ELF-64*)
7513	HPUX_IA64_MODE="64"
7514	;;
7515    esac
7516  fi
7517  rm -rf conftest*
7518  ;;
7519*-*-irix6*)
7520  # Find out which ABI we are using.
7521  echo '#line __oline__ "configure"' > conftest.$ac_ext
7522  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7523  (eval $ac_compile) 2>&5
7524  ac_status=$?
7525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7526  test $ac_status = 0; }; then
7527    if test "$lt_cv_prog_gnu_ld" = yes; then
7528      case `/usr/bin/file conftest.$ac_objext` in
7529	*32-bit*)
7530	  LD="${LD-ld} -melf32bsmip"
7531	  ;;
7532	*N32*)
7533	  LD="${LD-ld} -melf32bmipn32"
7534	  ;;
7535	*64-bit*)
7536	  LD="${LD-ld} -melf64bmip"
7537	;;
7538      esac
7539    else
7540      case `/usr/bin/file conftest.$ac_objext` in
7541	*32-bit*)
7542	  LD="${LD-ld} -32"
7543	  ;;
7544	*N32*)
7545	  LD="${LD-ld} -n32"
7546	  ;;
7547	*64-bit*)
7548	  LD="${LD-ld} -64"
7549	  ;;
7550      esac
7551    fi
7552  fi
7553  rm -rf conftest*
7554  ;;
7555
7556x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7557s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7558  # Find out which ABI we are using.
7559  echo 'int i;' > conftest.$ac_ext
7560  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7561  (eval $ac_compile) 2>&5
7562  ac_status=$?
7563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7564  test $ac_status = 0; }; then
7565    case `/usr/bin/file conftest.o` in
7566      *32-bit*)
7567	case $host in
7568	  x86_64-*kfreebsd*-gnu)
7569	    LD="${LD-ld} -m elf_i386_fbsd"
7570	    ;;
7571	  x86_64-*linux*)
7572	    LD="${LD-ld} -m elf_i386"
7573	    ;;
7574	  ppc64-*linux*|powerpc64-*linux*)
7575	    LD="${LD-ld} -m elf32ppclinux"
7576	    ;;
7577	  s390x-*linux*)
7578	    LD="${LD-ld} -m elf_s390"
7579	    ;;
7580	  sparc64-*linux*)
7581	    LD="${LD-ld} -m elf32_sparc"
7582	    ;;
7583	esac
7584	;;
7585      *64-bit*)
7586	case $host in
7587	  x86_64-*kfreebsd*-gnu)
7588	    LD="${LD-ld} -m elf_x86_64_fbsd"
7589	    ;;
7590	  x86_64-*linux*)
7591	    LD="${LD-ld} -m elf_x86_64"
7592	    ;;
7593	  ppc*-*linux*|powerpc*-*linux*)
7594	    LD="${LD-ld} -m elf64ppc"
7595	    ;;
7596	  s390*-*linux*|s390*-*tpf*)
7597	    LD="${LD-ld} -m elf64_s390"
7598	    ;;
7599	  sparc*-*linux*)
7600	    LD="${LD-ld} -m elf64_sparc"
7601	    ;;
7602	esac
7603	;;
7604    esac
7605  fi
7606  rm -rf conftest*
7607  ;;
7608
7609*-*-sco3.2v5*)
7610  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7611  SAVE_CFLAGS="$CFLAGS"
7612  CFLAGS="$CFLAGS -belf"
7613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7614$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7615if test "${lt_cv_cc_needs_belf+set}" = set; then :
7616  $as_echo_n "(cached) " >&6
7617else
7618  ac_ext=c
7619ac_cpp='$CPP $CPPFLAGS'
7620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7622ac_compiler_gnu=$ac_cv_c_compiler_gnu
7623
7624     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625/* end confdefs.h.  */
7626
7627int
7628main ()
7629{
7630
7631  ;
7632  return 0;
7633}
7634_ACEOF
7635if ac_fn_c_try_link "$LINENO"; then :
7636  lt_cv_cc_needs_belf=yes
7637else
7638  lt_cv_cc_needs_belf=no
7639fi
7640rm -f core conftest.err conftest.$ac_objext \
7641    conftest$ac_exeext conftest.$ac_ext
7642     ac_ext=c
7643ac_cpp='$CPP $CPPFLAGS'
7644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7646ac_compiler_gnu=$ac_cv_c_compiler_gnu
7647
7648fi
7649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7650$as_echo "$lt_cv_cc_needs_belf" >&6; }
7651  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7652    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7653    CFLAGS="$SAVE_CFLAGS"
7654  fi
7655  ;;
7656sparc*-*solaris*)
7657  # Find out which ABI we are using.
7658  echo 'int i;' > conftest.$ac_ext
7659  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660  (eval $ac_compile) 2>&5
7661  ac_status=$?
7662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663  test $ac_status = 0; }; then
7664    case `/usr/bin/file conftest.o` in
7665    *64-bit*)
7666      case $lt_cv_prog_gnu_ld in
7667      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7668      *)
7669	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7670	  LD="${LD-ld} -64"
7671	fi
7672	;;
7673      esac
7674      ;;
7675    esac
7676  fi
7677  rm -rf conftest*
7678  ;;
7679esac
7680
7681need_locks="$enable_libtool_lock"
7682
7683
7684  case $host_os in
7685    rhapsody* | darwin*)
7686    if test -n "$ac_tool_prefix"; then
7687  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7688set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7690$as_echo_n "checking for $ac_word... " >&6; }
7691if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7692  $as_echo_n "(cached) " >&6
7693else
7694  if test -n "$DSYMUTIL"; then
7695  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7696else
7697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698for as_dir in $PATH
7699do
7700  IFS=$as_save_IFS
7701  test -z "$as_dir" && as_dir=.
7702    for ac_exec_ext in '' $ac_executable_extensions; do
7703  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7704    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7705    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7706    break 2
7707  fi
7708done
7709  done
7710IFS=$as_save_IFS
7711
7712fi
7713fi
7714DSYMUTIL=$ac_cv_prog_DSYMUTIL
7715if test -n "$DSYMUTIL"; then
7716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7717$as_echo "$DSYMUTIL" >&6; }
7718else
7719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7720$as_echo "no" >&6; }
7721fi
7722
7723
7724fi
7725if test -z "$ac_cv_prog_DSYMUTIL"; then
7726  ac_ct_DSYMUTIL=$DSYMUTIL
7727  # Extract the first word of "dsymutil", so it can be a program name with args.
7728set dummy dsymutil; ac_word=$2
7729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7730$as_echo_n "checking for $ac_word... " >&6; }
7731if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7732  $as_echo_n "(cached) " >&6
7733else
7734  if test -n "$ac_ct_DSYMUTIL"; then
7735  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7736else
7737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7738for as_dir in $PATH
7739do
7740  IFS=$as_save_IFS
7741  test -z "$as_dir" && as_dir=.
7742    for ac_exec_ext in '' $ac_executable_extensions; do
7743  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7744    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7745    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7746    break 2
7747  fi
7748done
7749  done
7750IFS=$as_save_IFS
7751
7752fi
7753fi
7754ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7755if test -n "$ac_ct_DSYMUTIL"; then
7756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7757$as_echo "$ac_ct_DSYMUTIL" >&6; }
7758else
7759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7760$as_echo "no" >&6; }
7761fi
7762
7763  if test "x$ac_ct_DSYMUTIL" = x; then
7764    DSYMUTIL=":"
7765  else
7766    case $cross_compiling:$ac_tool_warned in
7767yes:)
7768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7770ac_tool_warned=yes ;;
7771esac
7772    DSYMUTIL=$ac_ct_DSYMUTIL
7773  fi
7774else
7775  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7776fi
7777
7778    if test -n "$ac_tool_prefix"; then
7779  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7780set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782$as_echo_n "checking for $ac_word... " >&6; }
7783if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7784  $as_echo_n "(cached) " >&6
7785else
7786  if test -n "$NMEDIT"; then
7787  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7788else
7789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7790for as_dir in $PATH
7791do
7792  IFS=$as_save_IFS
7793  test -z "$as_dir" && as_dir=.
7794    for ac_exec_ext in '' $ac_executable_extensions; do
7795  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7796    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7797    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7798    break 2
7799  fi
7800done
7801  done
7802IFS=$as_save_IFS
7803
7804fi
7805fi
7806NMEDIT=$ac_cv_prog_NMEDIT
7807if test -n "$NMEDIT"; then
7808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7809$as_echo "$NMEDIT" >&6; }
7810else
7811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812$as_echo "no" >&6; }
7813fi
7814
7815
7816fi
7817if test -z "$ac_cv_prog_NMEDIT"; then
7818  ac_ct_NMEDIT=$NMEDIT
7819  # Extract the first word of "nmedit", so it can be a program name with args.
7820set dummy nmedit; ac_word=$2
7821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7822$as_echo_n "checking for $ac_word... " >&6; }
7823if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7824  $as_echo_n "(cached) " >&6
7825else
7826  if test -n "$ac_ct_NMEDIT"; then
7827  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7828else
7829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830for as_dir in $PATH
7831do
7832  IFS=$as_save_IFS
7833  test -z "$as_dir" && as_dir=.
7834    for ac_exec_ext in '' $ac_executable_extensions; do
7835  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7836    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7838    break 2
7839  fi
7840done
7841  done
7842IFS=$as_save_IFS
7843
7844fi
7845fi
7846ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7847if test -n "$ac_ct_NMEDIT"; then
7848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7849$as_echo "$ac_ct_NMEDIT" >&6; }
7850else
7851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852$as_echo "no" >&6; }
7853fi
7854
7855  if test "x$ac_ct_NMEDIT" = x; then
7856    NMEDIT=":"
7857  else
7858    case $cross_compiling:$ac_tool_warned in
7859yes:)
7860{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7861$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7862ac_tool_warned=yes ;;
7863esac
7864    NMEDIT=$ac_ct_NMEDIT
7865  fi
7866else
7867  NMEDIT="$ac_cv_prog_NMEDIT"
7868fi
7869
7870    if test -n "$ac_tool_prefix"; then
7871  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7872set dummy ${ac_tool_prefix}lipo; ac_word=$2
7873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7874$as_echo_n "checking for $ac_word... " >&6; }
7875if test "${ac_cv_prog_LIPO+set}" = set; then :
7876  $as_echo_n "(cached) " >&6
7877else
7878  if test -n "$LIPO"; then
7879  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7880else
7881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882for as_dir in $PATH
7883do
7884  IFS=$as_save_IFS
7885  test -z "$as_dir" && as_dir=.
7886    for ac_exec_ext in '' $ac_executable_extensions; do
7887  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7888    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7889    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7890    break 2
7891  fi
7892done
7893  done
7894IFS=$as_save_IFS
7895
7896fi
7897fi
7898LIPO=$ac_cv_prog_LIPO
7899if test -n "$LIPO"; then
7900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7901$as_echo "$LIPO" >&6; }
7902else
7903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904$as_echo "no" >&6; }
7905fi
7906
7907
7908fi
7909if test -z "$ac_cv_prog_LIPO"; then
7910  ac_ct_LIPO=$LIPO
7911  # Extract the first word of "lipo", so it can be a program name with args.
7912set dummy lipo; ac_word=$2
7913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914$as_echo_n "checking for $ac_word... " >&6; }
7915if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7916  $as_echo_n "(cached) " >&6
7917else
7918  if test -n "$ac_ct_LIPO"; then
7919  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7920else
7921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922for as_dir in $PATH
7923do
7924  IFS=$as_save_IFS
7925  test -z "$as_dir" && as_dir=.
7926    for ac_exec_ext in '' $ac_executable_extensions; do
7927  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7928    ac_cv_prog_ac_ct_LIPO="lipo"
7929    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930    break 2
7931  fi
7932done
7933  done
7934IFS=$as_save_IFS
7935
7936fi
7937fi
7938ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7939if test -n "$ac_ct_LIPO"; then
7940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7941$as_echo "$ac_ct_LIPO" >&6; }
7942else
7943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944$as_echo "no" >&6; }
7945fi
7946
7947  if test "x$ac_ct_LIPO" = x; then
7948    LIPO=":"
7949  else
7950    case $cross_compiling:$ac_tool_warned in
7951yes:)
7952{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7953$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7954ac_tool_warned=yes ;;
7955esac
7956    LIPO=$ac_ct_LIPO
7957  fi
7958else
7959  LIPO="$ac_cv_prog_LIPO"
7960fi
7961
7962    if test -n "$ac_tool_prefix"; then
7963  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7964set dummy ${ac_tool_prefix}otool; ac_word=$2
7965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7966$as_echo_n "checking for $ac_word... " >&6; }
7967if test "${ac_cv_prog_OTOOL+set}" = set; then :
7968  $as_echo_n "(cached) " >&6
7969else
7970  if test -n "$OTOOL"; then
7971  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7972else
7973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974for as_dir in $PATH
7975do
7976  IFS=$as_save_IFS
7977  test -z "$as_dir" && as_dir=.
7978    for ac_exec_ext in '' $ac_executable_extensions; do
7979  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7980    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7981    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982    break 2
7983  fi
7984done
7985  done
7986IFS=$as_save_IFS
7987
7988fi
7989fi
7990OTOOL=$ac_cv_prog_OTOOL
7991if test -n "$OTOOL"; then
7992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7993$as_echo "$OTOOL" >&6; }
7994else
7995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996$as_echo "no" >&6; }
7997fi
7998
7999
8000fi
8001if test -z "$ac_cv_prog_OTOOL"; then
8002  ac_ct_OTOOL=$OTOOL
8003  # Extract the first word of "otool", so it can be a program name with args.
8004set dummy otool; ac_word=$2
8005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006$as_echo_n "checking for $ac_word... " >&6; }
8007if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8008  $as_echo_n "(cached) " >&6
8009else
8010  if test -n "$ac_ct_OTOOL"; then
8011  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8012else
8013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014for as_dir in $PATH
8015do
8016  IFS=$as_save_IFS
8017  test -z "$as_dir" && as_dir=.
8018    for ac_exec_ext in '' $ac_executable_extensions; do
8019  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020    ac_cv_prog_ac_ct_OTOOL="otool"
8021    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022    break 2
8023  fi
8024done
8025  done
8026IFS=$as_save_IFS
8027
8028fi
8029fi
8030ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8031if test -n "$ac_ct_OTOOL"; then
8032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8033$as_echo "$ac_ct_OTOOL" >&6; }
8034else
8035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036$as_echo "no" >&6; }
8037fi
8038
8039  if test "x$ac_ct_OTOOL" = x; then
8040    OTOOL=":"
8041  else
8042    case $cross_compiling:$ac_tool_warned in
8043yes:)
8044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8046ac_tool_warned=yes ;;
8047esac
8048    OTOOL=$ac_ct_OTOOL
8049  fi
8050else
8051  OTOOL="$ac_cv_prog_OTOOL"
8052fi
8053
8054    if test -n "$ac_tool_prefix"; then
8055  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8056set dummy ${ac_tool_prefix}otool64; ac_word=$2
8057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058$as_echo_n "checking for $ac_word... " >&6; }
8059if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8060  $as_echo_n "(cached) " >&6
8061else
8062  if test -n "$OTOOL64"; then
8063  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8064else
8065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066for as_dir in $PATH
8067do
8068  IFS=$as_save_IFS
8069  test -z "$as_dir" && as_dir=.
8070    for ac_exec_ext in '' $ac_executable_extensions; do
8071  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8072    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8073    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074    break 2
8075  fi
8076done
8077  done
8078IFS=$as_save_IFS
8079
8080fi
8081fi
8082OTOOL64=$ac_cv_prog_OTOOL64
8083if test -n "$OTOOL64"; then
8084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8085$as_echo "$OTOOL64" >&6; }
8086else
8087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088$as_echo "no" >&6; }
8089fi
8090
8091
8092fi
8093if test -z "$ac_cv_prog_OTOOL64"; then
8094  ac_ct_OTOOL64=$OTOOL64
8095  # Extract the first word of "otool64", so it can be a program name with args.
8096set dummy otool64; ac_word=$2
8097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8098$as_echo_n "checking for $ac_word... " >&6; }
8099if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8100  $as_echo_n "(cached) " >&6
8101else
8102  if test -n "$ac_ct_OTOOL64"; then
8103  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8104else
8105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106for as_dir in $PATH
8107do
8108  IFS=$as_save_IFS
8109  test -z "$as_dir" && as_dir=.
8110    for ac_exec_ext in '' $ac_executable_extensions; do
8111  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8112    ac_cv_prog_ac_ct_OTOOL64="otool64"
8113    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8114    break 2
8115  fi
8116done
8117  done
8118IFS=$as_save_IFS
8119
8120fi
8121fi
8122ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8123if test -n "$ac_ct_OTOOL64"; then
8124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8125$as_echo "$ac_ct_OTOOL64" >&6; }
8126else
8127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128$as_echo "no" >&6; }
8129fi
8130
8131  if test "x$ac_ct_OTOOL64" = x; then
8132    OTOOL64=":"
8133  else
8134    case $cross_compiling:$ac_tool_warned in
8135yes:)
8136{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8137$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8138ac_tool_warned=yes ;;
8139esac
8140    OTOOL64=$ac_ct_OTOOL64
8141  fi
8142else
8143  OTOOL64="$ac_cv_prog_OTOOL64"
8144fi
8145
8146    
8147    
8148    
8149    
8150
8151    
8152    
8153    
8154    
8155
8156    
8157    
8158    
8159    
8160
8161    
8162    
8163    
8164    
8165
8166    
8167    
8168    
8169    
8170
8171
8172    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8173$as_echo_n "checking for -single_module linker flag... " >&6; }
8174if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8175  $as_echo_n "(cached) " >&6
8176else
8177  lt_cv_apple_cc_single_mod=no
8178      if test -z "${LT_MULTI_MODULE}"; then
8179	# By default we will add the -single_module flag. You can override
8180	# by either setting the environment variable LT_MULTI_MODULE
8181	# non-empty at configure time, or by adding -multi_module to the
8182	# link flags.
8183	rm -rf libconftest.dylib*
8184	echo "int foo(void){return 1;}" > conftest.c
8185	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8186-dynamiclib -Wl,-single_module conftest.c" >&5
8187	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8188	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8189        _lt_result=$?
8190	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8191	  lt_cv_apple_cc_single_mod=yes
8192	else
8193	  cat conftest.err >&5
8194	fi
8195	rm -rf libconftest.dylib*
8196	rm -f conftest.*
8197      fi
8198fi
8199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8200$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8201    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8202$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8203if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8204  $as_echo_n "(cached) " >&6
8205else
8206  lt_cv_ld_exported_symbols_list=no
8207      save_LDFLAGS=$LDFLAGS
8208      echo "_main" > conftest.sym
8209      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8210      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211/* end confdefs.h.  */
8212
8213int
8214main ()
8215{
8216
8217  ;
8218  return 0;
8219}
8220_ACEOF
8221if ac_fn_c_try_link "$LINENO"; then :
8222  lt_cv_ld_exported_symbols_list=yes
8223else
8224  lt_cv_ld_exported_symbols_list=no
8225fi
8226rm -f core conftest.err conftest.$ac_objext \
8227    conftest$ac_exeext conftest.$ac_ext
8228	LDFLAGS="$save_LDFLAGS"
8229    
8230fi
8231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8232$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8233    case $host_os in
8234    rhapsody* | darwin1.[012])
8235      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8236    darwin1.*)
8237      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8238    darwin*) # darwin 5.x on
8239      # if running on 10.5 or later, the deployment target defaults
8240      # to the OS version, if on x86, and 10.4, the deployment
8241      # target defaults to 10.4. Don't you love it?
8242      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8243	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8244	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8245	10.[012]*)
8246	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8247	10.*)
8248	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8249      esac
8250    ;;
8251  esac
8252    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8253      _lt_dar_single_mod='$single_module'
8254    fi
8255    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8256      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8257    else
8258      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8259    fi
8260    if test "$DSYMUTIL" != ":"; then
8261      _lt_dsymutil='~$DSYMUTIL $lib || :'
8262    else
8263      _lt_dsymutil=
8264    fi
8265    ;;
8266  esac
8267
8268for ac_header in dlfcn.h
8269do :
8270  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8271"
8272if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8273  cat >>confdefs.h <<_ACEOF
8274@%:@define HAVE_DLFCN_H 1
8275_ACEOF
8276 
8277fi
8278
8279done
8280
8281
8282
8283ac_ext=cpp
8284ac_cpp='$CXXCPP $CPPFLAGS'
8285ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8286ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8287ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8288if test -z "$CXX"; then
8289  if test -n "$CCC"; then
8290    CXX=$CCC
8291  else
8292    if test -n "$ac_tool_prefix"; then
8293  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8294  do
8295    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8296set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8298$as_echo_n "checking for $ac_word... " >&6; }
8299if test "${ac_cv_prog_CXX+set}" = set; then :
8300  $as_echo_n "(cached) " >&6
8301else
8302  if test -n "$CXX"; then
8303  ac_cv_prog_CXX="$CXX" # Let the user override the test.
8304else
8305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8306for as_dir in $PATH
8307do
8308  IFS=$as_save_IFS
8309  test -z "$as_dir" && as_dir=.
8310    for ac_exec_ext in '' $ac_executable_extensions; do
8311  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8312    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8313    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8314    break 2
8315  fi
8316done
8317  done
8318IFS=$as_save_IFS
8319
8320fi
8321fi
8322CXX=$ac_cv_prog_CXX
8323if test -n "$CXX"; then
8324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8325$as_echo "$CXX" >&6; }
8326else
8327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328$as_echo "no" >&6; }
8329fi
8330
8331
8332    test -n "$CXX" && break
8333  done
8334fi
8335if test -z "$CXX"; then
8336  ac_ct_CXX=$CXX
8337  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8338do
8339  # Extract the first word of "$ac_prog", so it can be a program name with args.
8340set dummy $ac_prog; ac_word=$2
8341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342$as_echo_n "checking for $ac_word... " >&6; }
8343if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8344  $as_echo_n "(cached) " >&6
8345else
8346  if test -n "$ac_ct_CXX"; then
8347  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8348else
8349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8350for as_dir in $PATH
8351do
8352  IFS=$as_save_IFS
8353  test -z "$as_dir" && as_dir=.
8354    for ac_exec_ext in '' $ac_executable_extensions; do
8355  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8356    ac_cv_prog_ac_ct_CXX="$ac_prog"
8357    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358    break 2
8359  fi
8360done
8361  done
8362IFS=$as_save_IFS
8363
8364fi
8365fi
8366ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8367if test -n "$ac_ct_CXX"; then
8368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8369$as_echo "$ac_ct_CXX" >&6; }
8370else
8371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372$as_echo "no" >&6; }
8373fi
8374
8375
8376  test -n "$ac_ct_CXX" && break
8377done
8378
8379  if test "x$ac_ct_CXX" = x; then
8380    CXX="g++"
8381  else
8382    case $cross_compiling:$ac_tool_warned in
8383yes:)
8384{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8385$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8386ac_tool_warned=yes ;;
8387esac
8388    CXX=$ac_ct_CXX
8389  fi
8390fi
8391
8392  fi
8393fi
8394# Provide some information about the compiler.
8395$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8396set X $ac_compile
8397ac_compiler=$2
8398for ac_option in --version -v -V -qversion; do
8399  { { ac_try="$ac_compiler $ac_option >&5"
8400case "(($ac_try" in
8401  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8402  *) ac_try_echo=$ac_try;;
8403esac
8404eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8405$as_echo "$ac_try_echo"; } >&5
8406  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8407  ac_status=$?
8408  if test -s conftest.err; then
8409    sed '10a\
8410... rest of stderr output deleted ...
8411         10q' conftest.err >conftest.er1
8412    cat conftest.er1 >&5
8413  fi
8414  rm -f conftest.er1 conftest.err
8415  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8416  test $ac_status = 0; }
8417done
8418
8419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8420$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8421if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8422  $as_echo_n "(cached) " >&6
8423else
8424  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425/* end confdefs.h.  */
8426
8427int
8428main ()
8429{
8430#ifndef __GNUC__
8431       choke me
8432#endif
8433
8434  ;
8435  return 0;
8436}
8437_ACEOF
8438if ac_fn_cxx_try_compile "$LINENO"; then :
8439  ac_compiler_gnu=yes
8440else
8441  ac_compiler_gnu=no
8442fi
8443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8444ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8445
8446fi
8447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8448$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8449if test $ac_compiler_gnu = yes; then
8450  GXX=yes
8451else
8452  GXX=
8453fi
8454ac_test_CXXFLAGS=${CXXFLAGS+set}
8455ac_save_CXXFLAGS=$CXXFLAGS
8456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8457$as_echo_n "checking whether $CXX accepts -g... " >&6; }
8458if test "${ac_cv_prog_cxx_g+set}" = set; then :
8459  $as_echo_n "(cached) " >&6
8460else
8461  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8462   ac_cxx_werror_flag=yes
8463   ac_cv_prog_cxx_g=no
8464   CXXFLAGS="-g"
8465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466/* end confdefs.h.  */
8467
8468int
8469main ()
8470{
8471
8472  ;
8473  return 0;
8474}
8475_ACEOF
8476if ac_fn_cxx_try_compile "$LINENO"; then :
8477  ac_cv_prog_cxx_g=yes
8478else
8479  CXXFLAGS=""
8480      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481/* end confdefs.h.  */
8482
8483int
8484main ()
8485{
8486
8487  ;
8488  return 0;
8489}
8490_ACEOF
8491if ac_fn_cxx_try_compile "$LINENO"; then :
8492  
8493else
8494  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8495	 CXXFLAGS="-g"
8496	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497/* end confdefs.h.  */
8498
8499int
8500main ()
8501{
8502
8503  ;
8504  return 0;
8505}
8506_ACEOF
8507if ac_fn_cxx_try_compile "$LINENO"; then :
8508  ac_cv_prog_cxx_g=yes
8509fi
8510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8511fi
8512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8513fi
8514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8515   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8516fi
8517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8518$as_echo "$ac_cv_prog_cxx_g" >&6; }
8519if test "$ac_test_CXXFLAGS" = set; then
8520  CXXFLAGS=$ac_save_CXXFLAGS
8521elif test $ac_cv_prog_cxx_g = yes; then
8522  if test "$GXX" = yes; then
8523    CXXFLAGS="-g -O2"
8524  else
8525    CXXFLAGS="-g"
8526  fi
8527else
8528  if test "$GXX" = yes; then
8529    CXXFLAGS="-O2"
8530  else
8531    CXXFLAGS=
8532  fi
8533fi
8534ac_ext=c
8535ac_cpp='$CPP $CPPFLAGS'
8536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8538ac_compiler_gnu=$ac_cv_c_compiler_gnu
8539
8540depcc="$CXX"  am_compiler_list=
8541
8542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8543$as_echo_n "checking dependency style of $depcc... " >&6; }
8544if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
8545  $as_echo_n "(cached) " >&6
8546else
8547  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8548  # We make a subdir and do the tests there.  Otherwise we can end up
8549  # making bogus files that we don't know about and never remove.  For
8550  # instance it was reported that on HP-UX the gcc test will end up
8551  # making a dummy file named `D' -- because `-MD' means `put the output
8552  # in D'.
8553  mkdir conftest.dir
8554  # Copy depcomp to subdir because otherwise we won't find it if we're
8555  # using a relative directory.
8556  cp "$am_depcomp" conftest.dir
8557  cd conftest.dir
8558  # We will build objects and dependencies in a subdirectory because
8559  # it helps to detect inapplicable dependency modes.  For instance
8560  # both Tru64's cc and ICC support -MD to output dependencies as a
8561  # side effect of compilation, but ICC will put the dependencies in
8562  # the current directory while Tru64 will put them in the object
8563  # directory.
8564  mkdir sub
8565
8566  am_cv_CXX_dependencies_compiler_type=none
8567  if test "$am_compiler_list" = ""; then
8568     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8569  fi
8570  for depmode in $am_compiler_list; do
8571    # Setup a source with many dependencies, because some compilers
8572    # like to wrap large dependency lists on column 80 (with \), and
8573    # we should not choose a depcomp mode which is confused by this.
8574    #
8575    # We need to recreate these files for each test, as the compiler may
8576    # overwrite some of them when testing with obscure command lines.
8577    # This happens at least with the AIX C compiler.
8578    : > sub/conftest.c
8579    for i in 1 2 3 4 5 6; do
8580      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8581      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8582      # Solaris 8's {/usr,}/bin/sh.
8583      touch sub/conftst$i.h
8584    done
8585    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8586
8587    case $depmode in
8588    nosideeffect)
8589      # after this tag, mechanisms are not by side-effect, so they'll
8590      # only be used when explicitly requested
8591      if test "x$enable_dependency_tracking" = xyes; then
8592	continue
8593      else
8594	break
8595      fi
8596      ;;
8597    none) break ;;
8598    esac
8599    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8600    # mode.  It turns out that the SunPro C++ compiler does not properly
8601    # handle `-M -o', and we need to detect this.
8602    if depmode=$depmode \
8603       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8604       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8605       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8606         >/dev/null 2>conftest.err &&
8607       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8608       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8609       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8610       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8611      # icc doesn't choke on unknown options, it will just issue warnings
8612      # or remarks (even with -Werror).  So we grep stderr for any message
8613      # that says an option was ignored or not supported.
8614      # When given -MP, icc 7.0 and 7.1 complain thusly:
8615      #   icc: Command line warning: ignoring option '-M'; no argument required
8616      # The diagnosis changed in icc 8.0:
8617      #   icc: Command line remark: option '-MP' not supported
8618      if (grep 'ignoring option' conftest.err ||
8619          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8620        am_cv_CXX_dependencies_compiler_type=$depmode
8621        break
8622      fi
8623    fi
8624  done
8625
8626  cd ..
8627  rm -rf conftest.dir
8628else
8629  am_cv_CXX_dependencies_compiler_type=none
8630fi
8631
8632fi
8633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8634$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8635CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8636
8637 if 
8638  test "x$enable_dependency_tracking" != xno \
8639  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8640  am__fastdepCXX_TRUE=
8641  am__fastdepCXX_FALSE='#'
8642else
8643  am__fastdepCXX_TRUE='#'
8644  am__fastdepCXX_FALSE=
8645fi
8646
8647
8648if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8649    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8650    (test "X$CXX" != "Xg++"))) ; then
8651  ac_ext=cpp
8652ac_cpp='$CXXCPP $CPPFLAGS'
8653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8657$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8658if test -z "$CXXCPP"; then
8659  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8660  $as_echo_n "(cached) " >&6
8661else
8662      # Double quotes because CXXCPP needs to be expanded
8663    for CXXCPP in "$CXX -E" "/lib/cpp"
8664    do
8665      ac_preproc_ok=false
8666for ac_cxx_preproc_warn_flag in '' yes
8667do
8668  # Use a header file that comes with gcc, so configuring glibc
8669  # with a fresh cross-compiler works.
8670  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8671  # <limits.h> exists even on freestanding compilers.
8672  # On the NeXT, cc -E runs the code through the compiler's parser,
8673  # not just through cpp. "Syntax error" is here to catch this case.
8674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8675/* end confdefs.h.  */
8676@%:@ifdef __STDC__
8677@%:@ include <limits.h>
8678@%:@else
8679@%:@ include <assert.h>
8680@%:@endif
8681		     Syntax error
8682_ACEOF
8683if ac_fn_cxx_try_cpp "$LINENO"; then :
8684  
8685else
8686  # Broken: fails on valid input.
8687continue
8688fi
8689rm -f conftest.err conftest.$ac_ext
8690
8691  # OK, works on sane cases.  Now check whether nonexistent headers
8692  # can be detected and how.
8693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694/* end confdefs.h.  */
8695@%:@include <ac_nonexistent.h>
8696_ACEOF
8697if ac_fn_cxx_try_cpp "$LINENO"; then :
8698  # Broken: success on invalid input.
8699continue
8700else
8701  # Passes both tests.
8702ac_preproc_ok=:
8703break
8704fi
8705rm -f conftest.err conftest.$ac_ext
8706
8707done
8708# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8709rm -f conftest.err conftest.$ac_ext
8710if $ac_preproc_ok; then :
8711  break
8712fi
8713
8714    done
8715    ac_cv_prog_CXXCPP=$CXXCPP
8716  
8717fi
8718  CXXCPP=$ac_cv_prog_CXXCPP
8719else
8720  ac_cv_prog_CXXCPP=$CXXCPP
8721fi
8722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8723$as_echo "$CXXCPP" >&6; }
8724ac_preproc_ok=false
8725for ac_cxx_preproc_warn_flag in '' yes
8726do
8727  # Use a header file that comes with gcc, so configuring glibc
8728  # with a fresh cross-compiler works.
8729  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8730  # <limits.h> exists even on freestanding compilers.
8731  # On the NeXT, cc -E runs the code through the compiler's parser,
8732  # not just through cpp. "Syntax error" is here to catch this case.
8733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734/* end confdefs.h.  */
8735@%:@ifdef __STDC__
8736@%:@ include <limits.h>
8737@%:@else
8738@%:@ include <assert.h>
8739@%:@endif
8740		     Syntax error
8741_ACEOF
8742if ac_fn_cxx_try_cpp "$LINENO"; then :
8743  
8744else
8745  # Broken: fails on valid input.
8746continue
8747fi
8748rm -f conftest.err conftest.$ac_ext
8749
8750  # OK, works on sane cases.  Now check whether nonexistent headers
8751  # can be detected and how.
8752  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753/* end confdefs.h.  */
8754@%:@include <ac_nonexistent.h>
8755_ACEOF
8756if ac_fn_cxx_try_cpp "$LINENO"; then :
8757  # Broken: success on invalid input.
8758continue
8759else
8760  # Passes both tests.
8761ac_preproc_ok=:
8762break
8763fi
8764rm -f conftest.err conftest.$ac_ext
8765
8766done
8767# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8768rm -f conftest.err conftest.$ac_ext
8769if $ac_preproc_ok; then :
8770  
8771else
8772  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8774_lt_caught_CXX_error=yes; }
8775fi
8776
8777ac_ext=c
8778ac_cpp='$CPP $CPPFLAGS'
8779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8781ac_compiler_gnu=$ac_cv_c_compiler_gnu
8782
8783else
8784  _lt_caught_CXX_error=yes
8785fi
8786
8787
8788
8789
8790# Set options
8791
8792
8793
8794        enable_dlopen=no
8795  
8796
8797  enable_win32_dll=no
8798  
8799
8800            @%:@ Check whether --enable-shared was given.
8801if test "${enable_shared+set}" = set; then :
8802  enableval=$enable_shared; p=${PACKAGE-default}
8803    case $enableval in
8804    yes) enable_shared=yes ;;
8805    no) enable_shared=no ;;
8806    *)
8807      enable_shared=no
8808      # Look at the argument we got.  We use all the common list separators.
8809      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8810      for pkg in $enableval; do
8811	IFS="$lt_save_ifs"
8812	if test "X$pkg" = "X$p"; then
8813	  enable_shared=yes
8814	fi
8815      done
8816      IFS="$lt_save_ifs"
8817      ;;
8818    esac
8819else
8820  enable_shared=yes
8821fi
8822
8823
8824    
8825    
8826    
8827    
8828
8829
8830
8831  @%:@ Check whether --enable-static was given.
8832if test "${enable_static+set}" = set; then :
8833  enableval=$enable_static; p=${PACKAGE-default}
8834    case $enableval in
8835    yes) enable_static=yes ;;
8836    no) enable_static=no ;;
8837    *)
8838     enable_static=no
8839      # Look at the argument we got.  We use all the common list separators.
8840      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8841      for pkg in $enableval; do
8842	IFS="$lt_save_ifs"
8843	if test "X$pkg" = "X$p"; then
8844	  enable_static=yes
8845	fi
8846      done
8847      IFS="$lt_save_ifs"
8848      ;;
8849    esac
8850else
8851  enable_static=yes
8852fi
8853
8854
8855    
8856    
8857    
8858    
8859
8860
8861
8862  
8863@%:@ Check whether --with-pic was given.
8864if test "${with_pic+set}" = set; then :
8865  withval=$with_pic; pic_mode="$withval"
8866else
8867  pic_mode=default
8868fi
8869
8870
8871test -z "$pic_mode" && pic_mode=default
8872
8873
8874    
8875    
8876    
8877
8878
8879  @%:@ Check whether --enable-fast-install was given.
8880if test "${enable_fast_install+set}" = set; then :
8881  enableval=$enable_fast_install; p=${PACKAGE-default}
8882    case $enableval in
8883    yes) enable_fast_install=yes ;;
8884    no) enable_fast_install=no ;;
8885    *)
8886      enable_fast_install=no
8887      # Look at the argument we got.  We use all the common list separators.
8888      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8889      for pkg in $enableval; do
8890	IFS="$lt_save_ifs"
8891	if test "X$pkg" = "X$p"; then
8892	  enable_fast_install=yes
8893	fi
8894      done
8895      IFS="$lt_save_ifs"
8896      ;;
8897    esac
8898else
8899  enable_fast_install=yes
8900fi
8901
8902
8903
8904    
8905    
8906    
8907
8908
8909  
8910
8911
8912# This can be used to rebuild libtool when needed
8913LIBTOOL_DEPS="$ltmain"
8914
8915# Always use our own libtool.
8916LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8917
8918
8919    
8920    
8921    
8922
8923    
8924    
8925    
8926
8927    
8928    
8929    
8930
8931    
8932    
8933    
8934
8935    
8936    
8937    
8938
8939    
8940    
8941    
8942test -z "$LN_S" && LN_S="ln -s"
8943
8944    
8945    
8946    
8947
8948    
8949    
8950    
8951
8952    
8953    
8954    
8955
8956
8957if test -n "${ZSH_VERSION+set}" ; then
8958   setopt NO_GLOB_SUBST
8959fi
8960
8961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8962$as_echo_n "checking for objdir... " >&6; }
8963if test "${lt_cv_objdir+set}" = set; then :
8964  $as_echo_n "(cached) " >&6
8965else
8966  rm -f .libs 2>/dev/null
8967mkdir .libs 2>/dev/null
8968if test -d .libs; then
8969  lt_cv_objdir=.libs
8970else
8971  # MS-DOS does not allow filenames that begin with a dot.
8972  lt_cv_objdir=_libs
8973fi
8974rmdir .libs 2>/dev/null
8975fi
8976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8977$as_echo "$lt_cv_objdir" >&6; }
8978objdir=$lt_cv_objdir
8979
8980    
8981    
8982    
8983
8984cat >>confdefs.h <<_ACEOF
8985@%:@define LT_OBJDIR "$lt_cv_objdir/"
8986_ACEOF
8987
8988
8989
8990
8991
8992
8993    
8994    
8995    
8996
8997
8998    
8999    
9000    
9001
9002
9003
9004case $host_os in
9005aix3*)
9006  # AIX sometimes has problems with the GCC collect2 program.  For some
9007  # reason, if we set the COLLECT_NAMES environment variable, the problems
9008  # vanish in a puff of smoke.
9009  if test "X${COLLECT_NAMES+set}" != Xset; then
9010    COLLECT_NAMES=
9011    export COLLECT_NAMES
9012  fi
9013  ;;
9014esac
9015
9016# Sed substitution that helps us do robust quoting.  It backslashifies
9017# metacharacters that are still active within double-quoted strings.
9018sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9019
9020# Same as above, but do not quote variable references.
9021double_quote_subst='s/\(["`\\]\)/\\\1/g'
9022
9023# Sed substitution to delay expansion of an escaped shell variable in a
9024# double_quote_subst'ed string.
9025delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9026
9027# Sed substitution to delay expansion of an escaped single quote.
9028delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9029
9030# Sed substitution to avoid accidental globbing in evaled expressions
9031no_glob_subst='s/\*/\\\*/g'
9032
9033# Global variables:
9034ofile=libtool
9035can_build_shared=yes
9036
9037# All known linkers require a `.a' archive for static linking (except MSVC,
9038# which needs '.lib').
9039libext=a
9040
9041with_gnu_ld="$lt_cv_prog_gnu_ld"
9042
9043old_CC="$CC"
9044old_CFLAGS="$CFLAGS"
9045
9046# Set sane defaults for various variables
9047test -z "$CC" && CC=cc
9048test -z "$LTCC" && LTCC=$CC
9049test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9050test -z "$LD" && LD=ld
9051test -z "$ac_objext" && ac_objext=o
9052
9053for cc_temp in $compiler""; do
9054  case $cc_temp in
9055    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9056    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9057    \-*) ;;
9058    *) break;;
9059  esac
9060done
9061cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9062
9063
9064# Only perform the check for file, if the check method requires it
9065test -z "$MAGIC_CMD" && MAGIC_CMD=file
9066case $deplibs_check_method in
9067file_magic*)
9068  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9069    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9070$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9071if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9072  $as_echo_n "(cached) " >&6
9073else
9074  case $MAGIC_CMD in
9075[\\/*] |  ?:[\\/]*)
9076  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9077  ;;
9078*)
9079  lt_save_MAGIC_CMD="$MAGIC_CMD"
9080  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9081  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9082  for ac_dir in $ac_dummy; do
9083    IFS="$lt_save_ifs"
9084    test -z "$ac_dir" && ac_dir=.
9085    if test -f $ac_dir/${ac_tool_prefix}file; then
9086      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9087      if test -n "$file_magic_test_file"; then
9088	case $deplibs_check_method in
9089	"file_magic "*)
9090	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9091	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9092	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9093	    $EGREP "$file_magic_regex" > /dev/null; then
9094	    :
9095	  else
9096	    cat <<_LT_EOF 1>&2
9097
9098*** Warning: the command libtool uses to detect shared libraries,
9099*** $file_magic_cmd, produces output that libtool cannot recognize.
9100*** The result is that libtool may fail to recognize shared libraries
9101*** as such.  This will affect the creation of libtool libraries that
9102*** depend on shared libraries, but programs linked with such libtool
9103*** libraries will work regardless of this problem.  Nevertheless, you
9104*** may want to report the problem to your system manager and/or to
9105*** bug-libtool@gnu.org
9106
9107_LT_EOF
9108	  fi ;;
9109	esac
9110      fi
9111      break
9112    fi
9113  done
9114  IFS="$lt_save_ifs"
9115  MAGIC_CMD="$lt_save_MAGIC_CMD"
9116  ;;
9117esac
9118fi
9119
9120MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9121if test -n "$MAGIC_CMD"; then
9122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9123$as_echo "$MAGIC_CMD" >&6; }
9124else
9125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9126$as_echo "no" >&6; }
9127fi
9128
9129    
9130    
9131    
9132
9133if test -z "$lt_cv_path_MAGIC_CMD"; then
9134  if test -n "$ac_tool_prefix"; then
9135    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9136$as_echo_n "checking for file... " >&6; }
9137if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9138  $as_echo_n "(cached) " >&6
9139else
9140  case $MAGIC_CMD in
9141[\\/*] |  ?:[\\/]*)
9142  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9143  ;;
9144*)
9145  lt_save_MAGIC_CMD="$MAGIC_CMD"
9146  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9147  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9148  for ac_dir in $ac_dummy; do
9149    IFS="$lt_save_ifs"
9150    test -z "$ac_dir" && ac_dir=.
9151    if test -f $ac_dir/file; then
9152      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9153      if test -n "$file_magic_test_file"; then
9154	case $deplibs_check_method in
9155	"file_magic "*)
9156	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9157	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9158	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9159	    $EGREP "$file_magic_regex" > /dev/null; then
9160	    :
9161	  else
9162	    cat <<_LT_EOF 1>&2
9163
9164*** Warning: the command libtool uses to detect shared libraries,
9165*** $file_magic_cmd, produces output that libtool cannot recognize.
9166*** The result is that libtool may fail to recognize shared libraries
9167*** as such.  This will affect the creation of libtool libraries that
9168*** depend on shared libraries, but programs linked with such libtool
9169*** libraries will work regardless of this problem.  Nevertheless, you
9170*** may want to report the problem to your system manager and/or to
9171*** bug-libtool@gnu.org
9172
9173_LT_EOF
9174	  fi ;;
9175	esac
9176      fi
9177      break
9178    fi
9179  done
9180  IFS="$lt_save_ifs"
9181  MAGIC_CMD="$lt_save_MAGIC_CMD"
9182  ;;
9183esac
9184fi
9185
9186MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9187if test -n "$MAGIC_CMD"; then
9188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9189$as_echo "$MAGIC_CMD" >&6; }
9190else
9191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9192$as_echo "no" >&6; }
9193fi
9194
9195
9196  else
9197    MAGIC_CMD=:
9198  fi
9199fi
9200
9201  fi
9202  ;;
9203esac
9204
9205# Use C for the default configuration in the libtool script
9206
9207lt_save_CC="$CC"
9208ac_ext=c
9209ac_cpp='$CPP $CPPFLAGS'
9210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9212ac_compiler_gnu=$ac_cv_c_compiler_gnu
9213
9214
9215# Source file extension for C test sources.
9216ac_ext=c
9217
9218# Object file extension for compiled C test sources.
9219objext=o
9220objext=$objext
9221
9222# Code to be used in simple compile tests
9223lt_simple_compile_test_code="int some_variable = 0;"
9224
9225# Code to be used in simple link tests
9226lt_simple_link_test_code='int main(){return(0);}'
9227
9228
9229
9230
9231
9232
9233
9234# If no C compiler was specified, use CC.
9235LTCC=${LTCC-"$CC"}
9236
9237# If no C compiler flags were specified, use CFLAGS.
9238LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9239
9240# Allow CC to be a program name with arguments.
9241compiler=$CC
9242
9243# Save the default compiler, since it gets overwritten when the other
9244# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9245compiler_DEFAULT=$CC
9246
9247# save warnings/boilerplate of simple test code
9248ac_outfile=conftest.$ac_objext
9249echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9250eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9251_lt_compiler_boilerplate=`cat conftest.err`
9252$RM conftest*
9253
9254ac_outfile=conftest.$ac_objext
9255echo "$lt_simple_link_test_code" >conftest.$ac_ext
9256eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9257_lt_linker_boilerplate=`cat conftest.err`
9258$RM -r conftest*
9259
9260
9261## CAVEAT EMPTOR:
9262## There is no encapsulation within the following macros, do not change
9263## the running order or otherwise move them around unless you know exactly
9264## what you are doing...
9265if test -n "$compiler"; then
9266  
9267lt_prog_compiler_no_builtin_flag=
9268
9269if test "$GCC" = yes; then
9270  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9271
9272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9273$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9274if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9275  $as_echo_n "(cached) " >&6
9276else
9277  lt_cv_prog_compiler_rtti_exceptions=no
9278   ac_outfile=conftest.$ac_objext
9279   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9280   lt_compiler_flag="-fno-rtti -fno-exceptions"
9281   # Insert the option either (1) after the last *FLAGS variable, or
9282   # (2) before a word containing "conftest.", or (3) at the end.
9283   # Note that $ac_compile itself does not contain backslashes and begins
9284   # with a dollar sign (not a hyphen), so the echo should work correctly.
9285   # The option is referenced via a variable to avoid confusing sed.
9286   lt_compile=`echo "$ac_compile" | $SED \
9287   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9288   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9289   -e 's:$: $lt_compiler_flag:'`
9290   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9291   (eval "$lt_compile" 2>conftest.err)
9292   ac_status=$?
9293   cat conftest.err >&5
9294   echo "$as_me:__oline__: \$? = $ac_status" >&5
9295   if (exit $ac_status) && test -s "$ac_outfile"; then
9296     # The compiler can only warn and ignore the option if not recognized
9297     # So say no if there are warnings other than the usual output.
9298     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9299     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9300     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9301       lt_cv_prog_compiler_rtti_exceptions=yes
9302     fi
9303   fi
9304   $RM conftest*
9305
9306fi
9307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9308$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9309
9310if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9311    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9312else
9313    :
9314fi
9315
9316fi
9317
9318    
9319    
9320    
9321
9322
9323  lt_prog_compiler_wl=
9324lt_prog_compiler_pic=
9325lt_prog_compiler_static=
9326
9327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9328$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9329
9330  if test "$GCC" = yes; then
9331    lt_prog_compiler_wl='-Wl,'
9332    lt_prog_compiler_static='-static'
9333
9334    case $host_os in
9335      aix*)
9336      # All AIX code is PIC.
9337      if test "$host_cpu" = ia64; then
9338	# AIX 5 now supports IA64 processor
9339	lt_prog_compiler_static='-Bstatic'
9340      fi
9341      ;;
9342
9343    amigaos*)
9344      case $host_cpu in
9345      powerpc)
9346            # see comment about AmigaOS4 .so support
9347            lt_prog_compiler_pic='-fPIC'
9348        ;;
9349      m68k)
9350            # FIXME: we need at least 68020 code to build shared libraries, but
9351            # adding the `-m68020' flag to GCC prevents building anything better,
9352            # like `-m68040'.
9353            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9354        ;;
9355      esac
9356      ;;
9357
9358    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9359      # PIC is the default for these OSes.
9360      ;;
9361
9362    mingw* | cygwin* | pw32* | os2* | cegcc*)
9363      # This hack is so that the source file can tell whether it is being
9364      # built for inclusion in a dll (and should export symbols for example).
9365      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9366      # (--disable-auto-import) libraries
9367      lt_prog_compiler_pic='-DDLL_EXPORT'
9368      ;;
9369
9370    darwin* | rhapsody*)
9371      # PIC is the default on this platform
9372      # Common symbols not allowed in MH_DYLIB files
9373      lt_prog_compiler_pic='-fno-common'
9374      ;;
9375
9376    hpux*)
9377      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9378      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9379      # sets the default TLS model and affects inlining.
9380      case $host_cpu in
9381      hppa*64*)
9382	# +Z the default
9383	;;
9384      *)
9385	lt_prog_compiler_pic='-fPIC'
9386	;;
9387      esac
9388      ;;
9389
9390    interix[3-9]*)
9391      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9392      # Instead, we relocate shared libraries at runtime.
9393      ;;
9394
9395    msdosdjgpp*)
9396      # Just because we use GCC doesn't mean we suddenly get shared libraries
9397      # on systems that don't support them.
9398      lt_prog_compiler_can_build_shared=no
9399      enable_shared=no
9400      ;;
9401
9402    *nto* | *qnx*)
9403      # QNX uses GNU C++, but need to define -shared option too, otherwise
9404      # it will coredump.
9405      lt_prog_compiler_pic='-fPIC -shared'
9406      ;;
9407
9408    sysv4*MP*)
9409      if test -d /usr/nec; then
9410	lt_prog_compiler_pic=-Kconform_pic
9411      fi
9412      ;;
9413
9414    *)
9415      lt_prog_compiler_pic='-fPIC'
9416      ;;
9417    esac
9418  else
9419    # PORTME Check for flag to pass linker flags through the system compiler.
9420    case $host_os in
9421    aix*)
9422      lt_prog_compiler_wl='-Wl,'
9423      if test "$host_cpu" = ia64; then
9424	# AIX 5 now supports IA64 processor
9425	lt_prog_compiler_static='-Bstatic'
9426      else
9427	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9428      fi
9429      ;;
9430
9431    mingw* | cygwin* | pw32* | os2* | cegcc*)
9432      # This hack is so that the source file can tell whether it is being
9433      # built for inclusion in a dll (and should export symbols for example).
9434      lt_prog_compiler_pic='-DDLL_EXPORT'
9435      ;;
9436
9437    hpux9* | hpux10* | hpux11*)
9438      lt_prog_compiler_wl='-Wl,'
9439      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9440      # not for PA HP-UX.
9441      case $host_cpu in
9442      hppa*64*|ia64*)
9443	# +Z the default
9444	;;
9445      *)
9446	lt_prog_compiler_pic='+Z'
9447	;;
9448      esac
9449      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9450      lt_prog_compiler_static='${wl}-a ${wl}archive'
9451      ;;
9452
9453    irix5* | irix6* | nonstopux*)
9454      lt_prog_compiler_wl='-Wl,'
9455      # PIC (with -KPIC) is the default.
9456      lt_prog_compiler_static='-non_shared'
9457      ;;
9458
9459    linux* | k*bsd*-gnu)
9460      case $cc_basename in
9461      # old Intel for x86_64 which still supported -KPIC.
9462      ecc*)
9463	lt_prog_compiler_wl='-Wl,'
9464	lt_prog_compiler_pic='-KPIC'
9465	lt_prog_compiler_static='-static'
9466        ;;
9467      # icc used to be incompatible with GCC.
9468      # ICC 10 doesn't accept -KPIC any more.
9469      icc* | ifort*)
9470	lt_prog_compiler_wl='-Wl,'
9471	lt_prog_compiler_pic='-fPIC'
9472	lt_prog_compiler_static='-static'
9473        ;;
9474      # Lahey Fortran 8.1.
9475      lf95*)
9476	lt_prog_compiler_wl='-Wl,'
9477	lt_prog_compiler_pic='--shared'
9478	lt_prog_compiler_static='--static'
9479	;;
9480      pgcc* | pgf77* | pgf90* | pgf95*)
9481        # Portland Group compilers (*not* the Pentium gcc compiler,
9482	# which looks to be a dead project)
9483	lt_prog_compiler_wl='-Wl,'
9484	lt_prog_compiler_pic='-fpic'
9485	lt_prog_compiler_static='-Bstatic'
9486        ;;
9487      ccc*)
9488        lt_prog_compiler_wl='-Wl,'
9489        # All Alpha code is PIC.
9490        lt_prog_compiler_static='-non_shared'
9491        ;;
9492      xl*)
9493	# IBM XL C 8.0/Fortran 10.1 on PPC
9494	lt_prog_compiler_wl='-Wl,'
9495	lt_prog_compiler_pic='-qpic'
9496	lt_prog_compiler_static='-qstaticlink'
9497	;;
9498      *)
9499	case `$CC -V 2>&1 | sed 5q` in
9500	*Sun\ C*)
9501	  # Sun C 5.9
9502	  lt_prog_compiler_pic='-KPIC'
9503	  lt_prog_compiler_static='-Bstatic'
9504	  lt_prog_compiler_wl='-Wl,'
9505	  ;;
9506	*Sun\ F*)
9507	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9508	  lt_prog_compiler_pic='-KPIC'
9509	  lt_prog_compiler_static='-Bstatic'
9510	  lt_prog_compiler_wl=''
9511	  ;;
9512	esac
9513	;;
9514      esac
9515      ;;
9516
9517    newsos6)
9518      lt_prog_compiler_pic='-KPIC'
9519      lt_prog_compiler_static='-Bstatic'
9520      ;;
9521
9522    *nto* | *qnx*)
9523      # QNX uses GNU C++, but need to define -shared option too, otherwise
9524      # it will coredump.
9525      lt_prog_compiler_pic='-fPIC -shared'
9526      ;;
9527
9528    osf3* | osf4* | osf5*)
9529      lt_prog_compiler_wl='-Wl,'
9530      # All OSF/1 code is PIC.
9531      lt_prog_compiler_static='-non_shared'
9532      ;;
9533
9534    rdos*)
9535      lt_prog_compiler_static='-non_shared'
9536      ;;
9537
9538    solaris*)
9539      lt_prog_compiler_pic='-KPIC'
9540      lt_prog_compiler_static='-Bstatic'
9541      case $cc_basename in
9542      f77* | f90* | f95*)
9543	lt_prog_compiler_wl='-Qoption ld ';;
9544      *)
9545	lt_prog_compiler_wl='-Wl,';;
9546      esac
9547      ;;
9548
9549    sunos4*)
9550      lt_prog_compiler_wl='-Qoption ld '
9551      lt_prog_compiler_pic='-PIC'
9552      lt_prog_compiler_static='-Bstatic'
9553      ;;
9554
9555    sysv4 | sysv4.2uw2* | sysv4.3*)
9556      lt_prog_compiler_wl='-Wl,'
9557      lt_prog_compiler_pic='-KPIC'
9558      lt_prog_compiler_static='-Bstatic'
9559      ;;
9560
9561    sysv4*MP*)
9562      if test -d /usr/nec ;then
9563	lt_prog_compiler_pic='-Kconform_pic'
9564	lt_prog_compiler_static='-Bstatic'
9565      fi
9566      ;;
9567
9568    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9569      lt_prog_compiler_wl='-Wl,'
9570      lt_prog_compiler_pic='-KPIC'
9571      lt_prog_compiler_static='-Bstatic'
9572      ;;
9573
9574    unicos*)
9575      lt_prog_compiler_wl='-Wl,'
9576      lt_prog_compiler_can_build_shared=no
9577      ;;
9578
9579    uts4*)
9580      lt_prog_compiler_pic='-pic'
9581      lt_prog_compiler_static='-Bstatic'
9582      ;;
9583
9584    *)
9585      lt_prog_compiler_can_build_shared=no
9586      ;;
9587    esac
9588  fi
9589
9590case $host_os in
9591  # For platforms which do not support PIC, -DPIC is meaningless:
9592  *djgpp*)
9593    lt_prog_compiler_pic=
9594    ;;
9595  *)
9596    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9597    ;;
9598esac
9599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9600$as_echo "$lt_prog_compiler_pic" >&6; }
9601
9602    
9603    
9604    
9605
9606
9607#
9608# Check to make sure the PIC flag actually works.
9609#
9610if test -n "$lt_prog_compiler_pic"; then
9611  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9612$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9613if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9614  $as_echo_n "(cached) " >&6
9615else
9616  lt_cv_prog_compiler_pic_works=no
9617   ac_outfile=conftest.$ac_objext
9618   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9619   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9620   # Insert the option either (1) after the last *FLAGS variable, or
9621   # (2) before a word containing "conftest.", or (3) at the end.
9622   # Note that $ac_compile itself does not contain backslashes and begins
9623   # with a dollar sign (not a hyphen), so the echo should work correctly.
9624   # The option is referenced via a variable to avoid confusing sed.
9625   lt_compile=`echo "$ac_compile" | $SED \
9626   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9627   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9628   -e 's:$: $lt_compiler_flag:'`
9629   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9630   (eval "$lt_compile" 2>conftest.err)
9631   ac_status=$?
9632   cat conftest.err >&5
9633   echo "$as_me:__oline__: \$? = $ac_status" >&5
9634   if (exit $ac_status) && test -s "$ac_outfile"; then
9635     # The compiler can only warn and ignore the option if not recognized
9636     # So say no if there are warnings other than the usual output.
9637     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9638     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9639     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9640       lt_cv_prog_compiler_pic_works=yes
9641     fi
9642   fi
9643   $RM conftest*
9644
9645fi
9646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9647$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9648
9649if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9650    case $lt_prog_compiler_pic in
9651     "" | " "*) ;;
9652     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9653     esac
9654else
9655    lt_prog_compiler_pic=
9656     lt_prog_compiler_can_build_shared=no
9657fi
9658
9659fi
9660
9661    
9662    
9663    
9664
9665
9666#
9667# Check to make sure the static flag actually works.
9668#
9669wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9671$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9672if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9673  $as_echo_n "(cached) " >&6
9674else
9675  lt_cv_prog_compiler_static_works=no
9676   save_LDFLAGS="$LDFLAGS"
9677   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9678   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9679   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9680     # The linker can only warn and ignore the option if not recognized
9681     # So say no if there are warnings
9682     if test -s conftest.err; then
9683       # Append any errors to the config.log.
9684       cat conftest.err 1>&5
9685       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9686       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9687       if diff conftest.exp conftest.er2 >/dev/null; then
9688         lt_cv_prog_compiler_static_works=yes
9689       fi
9690     else
9691       lt_cv_prog_compiler_static_works=yes
9692     fi
9693   fi
9694   $RM -r conftest*
9695   LDFLAGS="$save_LDFLAGS"
9696
9697fi
9698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9699$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9700
9701if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9702    :
9703else
9704    lt_prog_compiler_static=
9705fi
9706
9707
9708    
9709    
9710    
9711
9712
9713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9714$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9715if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9716  $as_echo_n "(cached) " >&6
9717else
9718  lt_cv_prog_compiler_c_o=no
9719   $RM -r conftest 2>/dev/null
9720   mkdir conftest
9721   cd conftest
9722   mkdir out
9723   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9724
9725   lt_compiler_flag="-o out/conftest2.$ac_objext"
9726   # Insert the option either (1) after the last *FLAGS variable, or
9727   # (2) before a word containing "conftest.", or (3) at the end.
9728   # Note that $ac_compile itself does not contain backslashes and begins
9729   # with a dollar sign (not a hyphen), so the echo should work correctly.
9730   lt_compile=`echo "$ac_compile" | $SED \
9731   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9732   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9733   -e 's:$: $lt_compiler_flag:'`
9734   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9735   (eval "$lt_compile" 2>out/conftest.err)
9736   ac_status=$?
9737   cat out/conftest.err >&5
9738   echo "$as_me:__oline__: \$? = $ac_status" >&5
9739   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9740   then
9741     # The compiler can only warn and ignore the option if not recognized
9742     # So say no if there are warnings
9743     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9744     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9745     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9746       lt_cv_prog_compiler_c_o=yes
9747     fi
9748   fi
9749   chmod u+w . 2>&5
9750   $RM conftest*
9751   # SGI C++ compiler will create directory out/ii_files/ for
9752   # template instantiation
9753   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9754   $RM out/* && rmdir out
9755   cd ..
9756   $RM -r conftest
9757   $RM conftest*
9758
9759fi
9760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9761$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9762
9763    
9764    
9765    
9766
9767
9768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9769$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9770if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9771  $as_echo_n "(cached) " >&6
9772else
9773  lt_cv_prog_compiler_c_o=no
9774   $RM -r conftest 2>/dev/null
9775   mkdir conftest
9776   cd conftest
9777   mkdir out
9778   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9779
9780   lt_compiler_flag="-o out/conftest2.$ac_objext"
9781   # Insert the option either (1) after the last *FLAGS variable, or
9782   # (2) before a word containing "conftest.", or (3) at the end.
9783   # Note that $ac_compile itself does not contain backslashes and begins
9784   # with a dollar sign (not a hyphen), so the echo should work correctly.
9785   lt_compile=`echo "$ac_compile" | $SED \
9786   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9787   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9788   -e 's:$: $lt_compiler_flag:'`
9789   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9790   (eval "$lt_compile" 2>out/conftest.err)
9791   ac_status=$?
9792   cat out/conftest.err >&5
9793   echo "$as_me:__oline__: \$? = $ac_status" >&5
9794   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9795   then
9796     # The compiler can only warn and ignore the option if not recognized
9797     # So say no if there are warnings
9798     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9799     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9800     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9801       lt_cv_prog_compiler_c_o=yes
9802     fi
9803   fi
9804   chmod u+w . 2>&5
9805   $RM conftest*
9806   # SGI C++ compiler will create directory out/ii_files/ for
9807   # template instantiation
9808   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9809   $RM out/* && rmdir out
9810   cd ..
9811   $RM -r conftest
9812   $RM conftest*
9813
9814fi
9815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9816$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9817
9818
9819
9820
9821hard_links="nottested"
9822if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9823  # do not overwrite the value of need_locks provided by the user
9824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9825$as_echo_n "checking if we can lock with hard links... " >&6; }
9826  hard_links=yes
9827  $RM conftest*
9828  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9829  touch conftest.a
9830  ln conftest.a conftest.b 2>&5 || hard_links=no
9831  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9833$as_echo "$hard_links" >&6; }
9834  if test "$hard_links" = no; then
9835    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9836$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9837    need_locks=warn
9838  fi
9839else
9840  need_locks=no
9841fi
9842
9843    
9844    
9845    
9846
9847
9848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9849$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9850
9851  runpath_var=
9852  allow_undefined_flag=
9853  always_export_symbols=no
9854  archive_cmds=
9855  archive_expsym_cmds=
9856  compiler_needs_object=no
9857  enable_shared_with_static_runtimes=no
9858  export_dynamic_flag_spec=
9859  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9860  hardcode_automatic=no
9861  hardcode_direct=no
9862  hardcode_direct_absolute=no
9863  hardcode_libdir_flag_spec=
9864  hardcode_libdir_flag_spec_ld=
9865  hardcode_libdir_separator=
9866  hardcode_minus_L=no
9867  hardcode_shlibpath_var=unsupported
9868  inherit_rpath=no
9869  link_all_deplibs=unknown
9870  module_cmds=
9871  module_expsym_cmds=
9872  old_archive_from_new_cmds=
9873  old_archive_from_expsyms_cmds=
9874  thread_safe_flag_spec=
9875  whole_archive_flag_spec=
9876  # include_expsyms should be a list of space-separated symbols to be *always*
9877  # included in the symbol list
9878  include_expsyms=
9879  # exclude_expsyms can be an extended regexp of symbols to exclude
9880  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9881  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9882  # as well as any symbol that contains `d'.
9883  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9884  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9885  # platforms (ab)use it in PIC code, but their linkers get confused if
9886  # the symbol is explicitly referenced.  Since portable code cannot
9887  # rely on this symbol name, it's probably fine to never include it in
9888  # preloaded symbol tables.
9889  # Exclude shared library initialization/finalization symbols.
9890  extract_expsyms_cmds=
9891
9892  case $host_os in
9893  cygwin* | mingw* | pw32* | cegcc*)
9894    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9895    # When not using gcc, we currently assume that we are using
9896    # Microsoft Visual C++.
9897    if test "$GCC" != yes; then
9898      with_gnu_ld=no
9899    fi
9900    ;;
9901  interix*)
9902    # we just hope/assume this is gcc and not c89 (= MSVC++)
9903    with_gnu_ld=yes
9904    ;;
9905  openbsd*)
9906    with_gnu_ld=no
9907    ;;
9908  esac
9909
9910  ld_shlibs=yes
9911  if test "$with_gnu_ld" = yes; then
9912    # If archive_cmds runs LD, not CC, wlarc should be empty
9913    wlarc='${wl}'
9914
9915    # Set some defaults for GNU ld with shared library support. These
9916    # are reset later if shared libraries are not supported. Putting them
9917    # here allows them to be overridden if necessary.
9918    runpath_var=LD_RUN_PATH
9919    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9920    export_dynamic_flag_spec='${wl}--export-dynamic'
9921    # ancient GNU ld didn't support --whole-archive et. al.
9922    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9923      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9924    else
9925      whole_archive_flag_spec=
9926    fi
9927    supports_anon_versioning=no
9928    case `$LD -v 2>&1` in
9929      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9930      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9931      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9932      *\ 2.11.*) ;; # other 2.11 versions
9933      *) supports_anon_versioning=yes ;;
9934    esac
9935
9936    # See if GNU ld supports shared libraries.
9937    case $host_os in
9938    aix[3-9]*)
9939      # On AIX/PPC, the GNU linker is very broken
9940      if test "$host_cpu" != ia64; then
9941	ld_shlibs=no
9942	cat <<_LT_EOF 1>&2
9943
9944*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9945*** to be unable to reliably create shared libraries on AIX.
9946*** Therefore, libtool is disabling shared libraries support.  If you
9947*** really care for shared libraries, you may want to modify your PATH
9948*** so that a non-GNU linker is found, and then restart.
9949
9950_LT_EOF
9951      fi
9952      ;;
9953
9954    amigaos*)
9955      case $host_cpu in
9956      powerpc)
9957            # see comment about AmigaOS4 .so support
9958            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9959            archive_expsym_cmds=''
9960        ;;
9961      m68k)
9962            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)'
9963            hardcode_libdir_flag_spec='-L$libdir'
9964            hardcode_minus_L=yes
9965        ;;
9966      esac
9967      ;;
9968
9969    beos*)
9970      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9971	allow_undefined_flag=unsupported
9972	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9973	# support --undefined.  This deserves some investigation.  FIXME
9974	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9975      else
9976	ld_shlibs=no
9977      fi
9978      ;;
9979
9980    cygwin* | mingw* | pw32* | cegcc*)
9981      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9982      # as there is no search path for DLLs.
9983      hardcode_libdir_flag_spec='-L$libdir'
9984      allow_undefined_flag=unsupported
9985      always_export_symbols=no
9986      enable_shared_with_static_runtimes=yes
9987      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9988
9989      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9990        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9991	# If the export-symbols file already is a .def file (1st line
9992	# is EXPORTS), use it as is; otherwise, prepend...
9993	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9994	  cp $export_symbols $output_objdir/$soname.def;
9995	else
9996	  echo EXPORTS > $output_objdir/$soname.def;
9997	  cat $export_symbols >> $output_objdir/$soname.def;
9998	fi~
9999	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10000      else
10001	ld_shlibs=no
10002      fi
10003      ;;
10004
10005    interix[3-9]*)
10006      hardcode_direct=no
10007      hardcode_shlibpath_var=no
10008      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10009      export_dynamic_flag_spec='${wl}-E'
10010      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10011      # Instead, shared libraries are loaded at an image base (0x10000000 by
10012      # default) and relocated if they conflict, which is a slow very memory
10013      # consuming and fragmenting process.  To avoid this, we pick a random,
10014      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10015      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10016      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10017      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'
10018      ;;
10019
10020    gnu* | linux* | tpf* | k*bsd*-gnu)
10021      tmp_diet=no
10022      if test "$host_os" = linux-dietlibc; then
10023	case $cc_basename in
10024	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10025	esac
10026      fi
10027      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10028	 && test "$tmp_diet" = no
10029      then
10030	tmp_addflag=
10031	tmp_sharedflag='-shared'
10032	case $cc_basename,$host_cpu in
10033        pgcc*)				# Portland Group C compiler
10034	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10035	  tmp_addflag=' $pic_flag'
10036	  ;;
10037	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
10038	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10039	  tmp_addflag=' $pic_flag -Mnomain' ;;
10040	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10041	  tmp_addflag=' -i_dynamic' ;;
10042	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10043	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10044	ifc* | ifort*)			# Intel Fortran compiler
10045	  tmp_addflag=' -nofor_main' ;;
10046	lf95*)				# Lahey Fortran 8.1
10047	  whole_archive_flag_spec=
10048	  tmp_sharedflag='--shared' ;;
10049	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
10050	  tmp_sharedflag='-qmkshrobj'
10051	  tmp_addflag= ;;
10052	esac
10053	case `$CC -V 2>&1 | sed 5q` in
10054	*Sun\ C*)			# Sun C 5.9
10055	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10056	  compiler_needs_object=yes
10057	  tmp_sharedflag='-G' ;;
10058	*Sun\ F*)			# Sun Fortran 8.3
10059	  tmp_sharedflag='-G' ;;
10060	esac
10061	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10062
10063        if test "x$supports_anon_versioning" = xyes; then
10064          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10065	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10066	    echo "local: *; };" >> $output_objdir/$libname.ver~
10067	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10068        fi
10069
10070	case $cc_basename in
10071	xlf*)
10072	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10073	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10074	  hardcode_libdir_flag_spec=
10075	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
10076	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10077	  if test "x$supports_anon_versioning" = xyes; then
10078	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10079	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10080	      echo "local: *; };" >> $output_objdir/$libname.ver~
10081	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10082	  fi
10083	  ;;
10084	esac
10085      else
10086        ld_shlibs=no
10087      fi
10088      ;;
10089
10090    netbsd*)
10091      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10092	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10093	wlarc=
10094      else
10095	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10096	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10097      fi
10098      ;;
10099
10100    solaris*)
10101      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10102	ld_shlibs=no
10103	cat <<_LT_EOF 1>&2
10104
10105*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10106*** create shared libraries on Solaris systems.  Therefore, libtool
10107*** is disabling shared libraries support.  We urge you to upgrade GNU
10108*** binutils to release 2.9.1 or newer.  Another option is to modify
10109*** your PATH or compiler configuration so that the native linker is
10110*** used, and then restart.
10111
10112_LT_EOF
10113      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10114	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10115	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10116      else
10117	ld_shlibs=no
10118      fi
10119      ;;
10120
10121    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10122      case `$LD -v 2>&1` in
10123        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10124	ld_shlibs=no
10125	cat <<_LT_EOF 1>&2
10126
10127*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10128*** reliably create shared libraries on SCO systems.  Therefore, libtool
10129*** is disabling shared libraries support.  We urge you to upgrade GNU
10130*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10131*** your PATH or compiler configuration so that the native linker is
10132*** used, and then restart.
10133
10134_LT_EOF
10135	;;
10136	*)
10137	  # For security reasons, it is highly recommended that you always
10138	  # use absolute paths for naming shared libraries, and exclude the
10139	  # DT_RUNPATH tag from executables and libraries.  But doing so
10140	  # requires that you compile everything twice, which is a pain.
10141	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10142	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10143	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10144	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10145	  else
10146	    ld_shlibs=no
10147	  fi
10148	;;
10149      esac
10150      ;;
10151
10152    sunos4*)
10153      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10154      wlarc=
10155      hardcode_direct=yes
10156      hardcode_shlibpath_var=no
10157      ;;
10158
10159    *)
10160      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10161	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10162	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10163      else
10164	ld_shlibs=no
10165      fi
10166      ;;
10167    esac
10168
10169    if test "$ld_shlibs" = no; then
10170      runpath_var=
10171      hardcode_libdir_flag_spec=
10172      export_dynamic_flag_spec=
10173      whole_archive_flag_spec=
10174    fi
10175  else
10176    # PORTME fill in a description of your system's linker (not GNU ld)
10177    case $host_os in
10178    aix3*)
10179      allow_undefined_flag=unsupported
10180      always_export_symbols=yes
10181      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'
10182      # Note: this linker hardcodes the directories in LIBPATH if there
10183      # are no directories specified by -L.
10184      hardcode_minus_L=yes
10185      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10186	# Neither direct hardcoding nor static linking is supported with a
10187	# broken collect2.
10188	hardcode_direct=unsupported
10189      fi
10190      ;;
10191
10192    aix[4-9]*)
10193      if test "$host_cpu" = ia64; then
10194	# On IA64, the linker does run time linking by default, so we don't
10195	# have to do anything special.
10196	aix_use_runtimelinking=no
10197	exp_sym_flag='-Bexport'
10198	no_entry_flag=""
10199      else
10200	# If we're using GNU nm, then we don't want the "-C" option.
10201	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10202	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10203	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10204	else
10205	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10206	fi
10207	aix_use_runtimelinking=no
10208
10209	# Test if we are trying to use run time linking or normal
10210	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10211	# need to do runtime linking.
10212	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10213	  for ld_flag in $LDFLAGS; do
10214	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10215	    aix_use_runtimelinking=yes
10216	    break
10217	  fi
10218	  done
10219	  ;;
10220	esac
10221
10222	exp_sym_flag='-bexport'
10223	no_entry_flag='-bnoentry'
10224      fi
10225
10226      # When large executables or shared objects are built, AIX ld can
10227      # have problems creating the table of contents.  If linking a library
10228      # or program results in "error TOC overflow" add -mminimal-toc to
10229      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10230      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10231
10232      archive_cmds=''
10233      hardcode_direct=yes
10234      hardcode_direct_absolute=yes
10235      hardcode_libdir_separator=':'
10236      link_all_deplibs=yes
10237      file_list_spec='${wl}-f,'
10238
10239      if test "$GCC" = yes; then
10240	case $host_os in aix4.[012]|aix4.[012].*)
10241	# We only want to do this on AIX 4.2 and lower, the check
10242	# below for broken collect2 doesn't work under 4.3+
10243	  collect2name=`${CC} -print-prog-name=collect2`
10244	  if test -f "$collect2name" &&
10245	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10246	  then
10247	  # We have reworked collect2
10248	  :
10249	  else
10250	  # We have old collect2
10251	  hardcode_direct=unsupported
10252	  # It fails to find uninstalled libraries when the uninstalled
10253	  # path is not listed in the libpath.  Setting hardcode_minus_L
10254	  # to unsupported forces relinking
10255	  hardcode_minus_L=yes
10256	  hardcode_libdir_flag_spec='-L$libdir'
10257	  hardcode_libdir_separator=
10258	  fi
10259	  ;;
10260	esac
10261	shared_flag='-shared'
10262	if test "$aix_use_runtimelinking" = yes; then
10263	  shared_flag="$shared_flag "'${wl}-G'
10264	fi
10265      else
10266	# not using gcc
10267	if test "$host_cpu" = ia64; then
10268	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10269	# chokes on -Wl,-G. The following line is correct:
10270	  shared_flag='-G'
10271	else
10272	  if test "$aix_use_runtimelinking" = yes; then
10273	    shared_flag='${wl}-G'
10274	  else
10275	    shared_flag='${wl}-bM:SRE'
10276	  fi
10277	fi
10278      fi
10279
10280      export_dynamic_flag_spec='${wl}-bexpall'
10281      # It seems that -bexpall does not export symbols beginning with
10282      # underscore (_), so it is better to generate a list of symbols to export.
10283      always_export_symbols=yes
10284      if test "$aix_use_runtimelinking" = yes; then
10285	# Warning - without using the other runtime loading flags (-brtl),
10286	# -berok will link without error, but may produce a broken library.
10287	allow_undefined_flag='-berok'
10288        # Determine the default libpath from the value encoded in an
10289        # empty executable.
10290        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291/* end confdefs.h.  */
10292
10293int
10294main ()
10295{
10296
10297  ;
10298  return 0;
10299}
10300_ACEOF
10301if ac_fn_c_try_link "$LINENO"; then :
10302  
10303lt_aix_libpath_sed='
10304    /Import File Strings/,/^$/ {
10305	/^0/ {
10306	    s/^0  *\(.*\)$/\1/
10307	    p
10308	}
10309    }'
10310aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10311# Check for a 64-bit object if we didn't find anything.
10312if test -z "$aix_libpath"; then
10313  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10314fi
10315fi
10316rm -f core conftest.err conftest.$ac_objext \
10317    conftest$ac_exeext conftest.$ac_ext
10318if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10319
10320        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10321        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10322      else
10323	if test "$host_cpu" = ia64; then
10324	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10325	  allow_undefined_flag="-z nodefs"
10326	  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"
10327	else
10328	 # Determine the default libpath from the value encoded in an
10329	 # empty executable.
10330	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331/* end confdefs.h.  */
10332
10333int
10334main ()
10335{
10336
10337  ;
10338  return 0;
10339}
10340_ACEOF
10341if ac_fn_c_try_link "$LINENO"; then :
10342  
10343lt_aix_libpath_sed='
10344    /Import File Strings/,/^$/ {
10345	/^0/ {
10346	    s/^0  *\(.*\)$/\1/
10347	    p
10348	}
10349    }'
10350aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10351# Check for a 64-bit object if we didn't find anything.
10352if test -z "$aix_libpath"; then
10353  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10354fi
10355fi
10356rm -f core conftest.err conftest.$ac_objext \
10357    conftest$ac_exeext conftest.$ac_ext
10358if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10359
10360	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10361	  # Warning - without using the other run time loading flags,
10362	  # -berok will link without error, but may produce a broken library.
10363	  no_undefined_flag=' ${wl}-bernotok'
10364	  allow_undefined_flag=' ${wl}-berok'
10365	  # Exported symbols can be pulled into shared objects from archives
10366	  whole_archive_flag_spec='$convenience'
10367	  archive_cmds_need_lc=yes
10368	  # This is similar to how AIX traditionally builds its shared libraries.
10369	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10370	fi
10371      fi
10372      ;;
10373
10374    amigaos*)
10375      case $host_cpu in
10376      powerpc)
10377            # see comment about AmigaOS4 .so support
10378            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10379            archive_expsym_cmds=''
10380        ;;
10381      m68k)
10382            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)'
10383            hardcode_libdir_flag_spec='-L$libdir'
10384            hardcode_minus_L=yes
10385        ;;
10386      esac
10387      ;;
10388
10389    bsdi[45]*)
10390      export_dynamic_flag_spec=-rdynamic
10391      ;;
10392
10393    cygwin* | mingw* | pw32* | cegcc*)
10394      # When not using gcc, we currently assume that we are using
10395      # Microsoft Visual C++.
10396      # hardcode_libdir_flag_spec is actually meaningless, as there is
10397      # no search path for DLLs.
10398      hardcode_libdir_flag_spec=' '
10399      allow_undefined_flag=unsupported
10400      # Tell ltmain to make .lib files, not .a files.
10401      libext=lib
10402      # Tell ltmain to make .dll files, not .so files.
10403      shrext_cmds=".dll"
10404      # FIXME: Setting linknames here is a bad hack.
10405      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10406      # The linker will automatically build a .lib file if we build a DLL.
10407      old_archive_from_new_cmds='true'
10408      # FIXME: Should let the user specify the lib program.
10409      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10410      fix_srcfile_path='`cygpath -w "$srcfile"`'
10411      enable_shared_with_static_runtimes=yes
10412      ;;
10413
10414    darwin* | rhapsody*)
10415      
10416  
10417  archive_cmds_need_lc=no
10418  hardcode_direct=no
10419  hardcode_automatic=yes
10420  hardcode_shlibpath_var=unsupported
10421  whole_archive_flag_spec=''
10422  link_all_deplibs=yes
10423  allow_undefined_flag="$_lt_dar_allow_undefined"
10424  case $cc_basename in
10425     ifort*) _lt_dar_can_shared=yes ;;
10426     *) _lt_dar_can_shared=$GCC ;;
10427  esac
10428  if test "$_lt_dar_can_shared" = "yes"; then
10429    output_verbose_link_cmd=echo
10430    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10431    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10432    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}"
10433    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}"
10434    
10435  else
10436  ld_shlibs=no
10437  fi
10438
10439      ;;
10440
10441    dgux*)
10442      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10443      hardcode_libdir_flag_spec='-L$libdir'
10444      hardcode_shlibpath_var=no
10445      ;;
10446
10447    freebsd1*)
10448      ld_shlibs=no
10449      ;;
10450
10451    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10452    # support.  Future versions do this automatically, but an explicit c++rt0.o
10453    # does not break anything, and helps significantly (at the cost of a little
10454    # extra space).
10455    freebsd2.2*)
10456      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10457      hardcode_libdir_flag_spec='-R$libdir'
10458      hardcode_direct=yes
10459      hardcode_shlibpath_var=no
10460      ;;
10461
10462    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10463    freebsd2*)
10464      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10465      hardcode_direct=yes
10466      hardcode_minus_L=yes
10467      hardcode_shlibpath_var=no
10468      ;;
10469
10470    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10471    freebsd* | dragonfly*)
10472      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10473      hardcode_libdir_flag_spec='-R$libdir'
10474      hardcode_direct=yes
10475      hardcode_shlibpath_var=no
10476      ;;
10477
10478    hpux9*)
10479      if test "$GCC" = yes; then
10480	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10481      else
10482	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10483      fi
10484      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10485      hardcode_libdir_separator=:
10486      hardcode_direct=yes
10487
10488      # hardcode_minus_L: Not really in the search PATH,
10489      # but as the default location of the library.
10490      hardcode_minus_L=yes
10491      export_dynamic_flag_spec='${wl}-E'
10492      ;;
10493
10494    hpux10*)
10495      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10496	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10497      else
10498	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10499      fi
10500      if test "$with_gnu_ld" = no; then
10501	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10502	hardcode_libdir_flag_spec_ld='+b $libdir'
10503	hardcode_libdir_separator=:
10504	hardcode_direct=yes
10505	hardcode_direct_absolute=yes
10506	export_dynamic_flag_spec='${wl}-E'
10507	# hardcode_minus_L: Not really in the search PATH,
10508	# but as the default location of the library.
10509	hardcode_minus_L=yes
10510      fi
10511      ;;
10512
10513    hpux11*)
10514      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10515	case $host_cpu in
10516	hppa*64*)
10517	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10518	  ;;
10519	ia64*)
10520	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10521	  ;;
10522	*)
10523	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10524	  ;;
10525	esac
10526      else
10527	case $host_cpu in
10528	hppa*64*)
10529	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10530	  ;;
10531	ia64*)
10532	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10533	  ;;
10534	*)
10535	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10536	  ;;
10537	esac
10538      fi
10539      if test "$with_gnu_ld" = no; then
10540	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10541	hardcode_libdir_separator=:
10542
10543	case $host_cpu in
10544	hppa*64*|ia64*)
10545	  hardcode_direct=no
10546	  hardcode_shlibpath_var=no
10547	  ;;
10548	*)
10549	  hardcode_direct=yes
10550	  hardcode_direct_absolute=yes
10551	  export_dynamic_flag_spec='${wl}-E'
10552
10553	  # hardcode_minus_L: Not really in the search PATH,
10554	  # but as the default location of the library.
10555	  hardcode_minus_L=yes
10556	  ;;
10557	esac
10558      fi
10559      ;;
10560
10561    irix5* | irix6* | nonstopux*)
10562      if test "$GCC" = yes; then
10563	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10564	# Try to use the -exported_symbol ld option, if it does not
10565	# work, assume that -exports_file does not work either and
10566	# implicitly export all symbols.
10567        save_LDFLAGS="$LDFLAGS"
10568        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10569        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10570/* end confdefs.h.  */
10571int foo(void) {}
10572_ACEOF
10573if ac_fn_c_try_link "$LINENO"; then :
10574  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10575        
10576fi
10577rm -f core conftest.err conftest.$ac_objext \
10578    conftest$ac_exeext conftest.$ac_ext
10579        LDFLAGS="$save_LDFLAGS"
10580      else
10581	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10582	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10583      fi
10584      archive_cmds_need_lc='no'
10585      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10586      hardcode_libdir_separator=:
10587      inherit_rpath=yes
10588      link_all_deplibs=yes
10589      ;;
10590
10591    netbsd*)
10592      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10593	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10594      else
10595	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10596      fi
10597      hardcode_libdir_flag_spec='-R$libdir'
10598      hardcode_direct=yes
10599      hardcode_shlibpath_var=no
10600      ;;
10601
10602    newsos6)
10603      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10604      hardcode_direct=yes
10605      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10606      hardcode_libdir_separator=:
10607      hardcode_shlibpath_var=no
10608      ;;
10609
10610    *nto* | *qnx*)
10611      ;;
10612
10613    openbsd*)
10614      if test -f /usr/libexec/ld.so; then
10615	hardcode_direct=yes
10616	hardcode_shlibpath_var=no
10617	hardcode_direct_absolute=yes
10618	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10619	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10620	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10621	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10622	  export_dynamic_flag_spec='${wl}-E'
10623	else
10624	  case $host_os in
10625	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10626	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10627	     hardcode_libdir_flag_spec='-R$libdir'
10628	     ;;
10629	   *)
10630	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10631	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10632	     ;;
10633	  esac
10634	fi
10635      else
10636	ld_shlibs=no
10637      fi
10638      ;;
10639
10640    os2*)
10641      hardcode_libdir_flag_spec='-L$libdir'
10642      hardcode_minus_L=yes
10643      allow_undefined_flag=unsupported
10644      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10645      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10646      ;;
10647
10648    osf3*)
10649      if test "$GCC" = yes; then
10650	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10651	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10652      else
10653	allow_undefined_flag=' -expect_unresolved \*'
10654	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10655      fi
10656      archive_cmds_need_lc='no'
10657      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10658      hardcode_libdir_separator=:
10659      ;;
10660
10661    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10662      if test "$GCC" = yes; then
10663	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10664	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10665	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10666      else
10667	allow_undefined_flag=' -expect_unresolved \*'
10668	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10669	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~
10670	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10671
10672	# Both c and cxx compiler support -rpath directly
10673	hardcode_libdir_flag_spec='-rpath $libdir'
10674      fi
10675      archive_cmds_need_lc='no'
10676      hardcode_libdir_separator=:
10677      ;;
10678
10679    solaris*)
10680      no_undefined_flag=' -z defs'
10681      if test "$GCC" = yes; then
10682	wlarc='${wl}'
10683	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10684	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10685	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10686      else
10687	case `$CC -V 2>&1` in
10688	*"Compilers 5.0"*)
10689	  wlarc=''
10690	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10691	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10692	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10693	  ;;
10694	*)
10695	  wlarc='${wl}'
10696	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10697	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10698	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10699	  ;;
10700	esac
10701      fi
10702      hardcode_libdir_flag_spec='-R$libdir'
10703      hardcode_shlibpath_var=no
10704      case $host_os in
10705      solaris2.[0-5] | solaris2.[0-5].*) ;;
10706      *)
10707	# The compiler driver will combine and reorder linker options,
10708	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10709	# but is careful enough not to reorder.
10710	# Supported since Solaris 2.6 (maybe 2.5.1?)
10711	if test "$GCC" = yes; then
10712	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10713	else
10714	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10715	fi
10716	;;
10717      esac
10718      link_all_deplibs=yes
10719      ;;
10720
10721    sunos4*)
10722      if test "x$host_vendor" = xsequent; then
10723	# Use $CC to link under sequent, because it throws in some extra .o
10724	# files that make .init and .fini sections work.
10725	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10726      else
10727	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10728      fi
10729      hardcode_libdir_flag_spec='-L$libdir'
10730      hardcode_direct=yes
10731      hardcode_minus_L=yes
10732      hardcode_shlibpath_var=no
10733      ;;
10734
10735    sysv4)
10736      case $host_vendor in
10737	sni)
10738	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10739	  hardcode_direct=yes # is this really true???
10740	;;
10741	siemens)
10742	  ## LD is ld it makes a PLAMLIB
10743	  ## CC just makes a GrossModule.
10744	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10745	  reload_cmds='$CC -r -o $output$reload_objs'
10746	  hardcode_direct=no
10747        ;;
10748	motorola)
10749	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10750	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10751	;;
10752      esac
10753      runpath_var='LD_RUN_PATH'
10754      hardcode_shlibpath_var=no
10755      ;;
10756
10757    sysv4.3*)
10758      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10759      hardcode_shlibpath_var=no
10760      export_dynamic_flag_spec='-Bexport'
10761      ;;
10762
10763    sysv4*MP*)
10764      if test -d /usr/nec; then
10765	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10766	hardcode_shlibpath_var=no
10767	runpath_var=LD_RUN_PATH
10768	hardcode_runpath_var=yes
10769	ld_shlibs=yes
10770      fi
10771      ;;
10772
10773    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10774      no_undefined_flag='${wl}-z,text'
10775      archive_cmds_need_lc=no
10776      hardcode_shlibpath_var=no
10777      runpath_var='LD_RUN_PATH'
10778
10779      if test "$GCC" = yes; then
10780	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10781	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10782      else
10783	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785      fi
10786      ;;
10787
10788    sysv5* | sco3.2v5* | sco5v6*)
10789      # Note: We can NOT use -z defs as we might desire, because we do not
10790      # link with -lc, and that would cause any symbols used from libc to
10791      # always be unresolved, which means just about no library would
10792      # ever link correctly.  If we're not using GNU ld we use -z text
10793      # though, which does catch some bad symbols but isn't as heavy-handed
10794      # as -z defs.
10795      no_undefined_flag='${wl}-z,text'
10796      allow_undefined_flag='${wl}-z,nodefs'
10797      archive_cmds_need_lc=no
10798      hardcode_shlibpath_var=no
10799      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10800      hardcode_libdir_separator=':'
10801      link_all_deplibs=yes
10802      export_dynamic_flag_spec='${wl}-Bexport'
10803      runpath_var='LD_RUN_PATH'
10804
10805      if test "$GCC" = yes; then
10806	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10807	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10808      else
10809	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10810	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811      fi
10812      ;;
10813
10814    uts4*)
10815      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10816      hardcode_libdir_flag_spec='-L$libdir'
10817      hardcode_shlibpath_var=no
10818      ;;
10819
10820    *)
10821      ld_shlibs=no
10822      ;;
10823    esac
10824
10825    if test x$host_vendor = xsni; then
10826      case $host in
10827      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10828	export_dynamic_flag_spec='${wl}-Blargedynsym'
10829	;;
10830      esac
10831    fi
10832  fi
10833
10834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10835$as_echo "$ld_shlibs" >&6; }
10836test "$ld_shlibs" = no && can_build_shared=no
10837
10838with_gnu_ld=$with_gnu_ld
10839
10840
10841    
10842    
10843    
10844
10845    
10846    
10847    
10848
10849    
10850    
10851    
10852
10853
10854#
10855# Do we need to explicitly link libc?
10856#
10857case "x$archive_cmds_need_lc" in
10858x|xyes)
10859  # Assume -lc should be added
10860  archive_cmds_need_lc=yes
10861
10862  if test "$enable_shared" = yes && test "$GCC" = yes; then
10863    case $archive_cmds in
10864    *'~'*)
10865      # FIXME: we may have to deal with multi-command sequences.
10866      ;;
10867    '$CC '*)
10868      # Test whether the compiler implicitly links with -lc since on some
10869      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10870      # to ld, don't add -lc before -lgcc.
10871      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10872$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10873      $RM conftest*
10874      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10875
10876      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10877  (eval $ac_compile) 2>&5
10878  ac_status=$?
10879  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10880  test $ac_status = 0; } 2>conftest.err; then
10881        soname=conftest
10882        lib=conftest
10883        libobjs=conftest.$ac_objext
10884        deplibs=
10885        wl=$lt_prog_compiler_wl
10886	pic_flag=$lt_prog_compiler_pic
10887        compiler_flags=-v
10888        linker_flags=-v
10889        verstring=
10890        output_objdir=.
10891        libname=conftest
10892        lt_save_allow_undefined_flag=$allow_undefined_flag
10893        allow_undefined_flag=
10894        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10895  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10896  ac_status=$?
10897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10898  test $ac_status = 0; }
10899        then
10900	  archive_cmds_need_lc=no
10901        else
10902	  archive_cmds_need_lc=yes
10903        fi
10904        allow_undefined_flag=$lt_save_allow_undefined_flag
10905      else
10906        cat conftest.err 1>&5
10907      fi
10908      $RM conftest*
10909      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10910$as_echo "$archive_cmds_need_lc" >&6; }
10911      ;;
10912    esac
10913  fi
10914  ;;
10915esac
10916
10917
10918    
10919    
10920    
10921
10922
10923    
10924    
10925    
10926
10927
10928    
10929    
10930    
10931
10932
10933    
10934    
10935    
10936
10937
10938    
10939    
10940    
10941
10942
10943    
10944    
10945    
10946
10947
10948    
10949    
10950    
10951
10952
10953    
10954    
10955    
10956
10957
10958    
10959    
10960    
10961
10962
10963    
10964    
10965    
10966
10967
10968    
10969    
10970    
10971
10972
10973    
10974    
10975    
10976
10977
10978    
10979    
10980    
10981
10982
10983    
10984    
10985    
10986
10987
10988    
10989    
10990    
10991
10992
10993    
10994    
10995    
10996
10997
10998    
10999    
11000    
11001
11002
11003    
11004    
11005    
11006
11007
11008    
11009    
11010    
11011
11012
11013    
11014    
11015    
11016
11017
11018    
11019    
11020    
11021
11022
11023    
11024    
11025    
11026
11027
11028    
11029    
11030    
11031
11032
11033    
11034    
11035    
11036
11037
11038    
11039    
11040    
11041
11042
11043    
11044    
11045    
11046
11047
11048    
11049    
11050    
11051
11052
11053    
11054    
11055    
11056
11057
11058    
11059    
11060    
11061
11062
11063    
11064    
11065    
11066
11067
11068    
11069    
11070    
11071
11072
11073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11074$as_echo_n "checking dynamic linker characteristics... " >&6; }
11075
11076if test "$GCC" = yes; then
11077  case $host_os in
11078    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11079    *) lt_awk_arg="/^libraries:/" ;;
11080  esac
11081  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11082  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11083    # if the path contains ";" then we assume it to be the separator
11084    # otherwise default to the standard path separator (i.e. ":") - it is
11085    # assumed that no part of a normal pathname contains ";" but that should
11086    # okay in the real world where ";" in dirpaths is itself problematic.
11087    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11088  else
11089    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11090  fi
11091  # Ok, now we have the path, separated by spaces, we can step through it
11092  # and add multilib dir if necessary.
11093  lt_tmp_lt_search_path_spec=
11094  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11095  for lt_sys_path in $lt_search_path_spec; do
11096    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11097      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11098    else
11099      test -d "$lt_sys_path" && \
11100	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11101    fi
11102  done
11103  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11104BEGIN {RS=" "; FS="/|\n";} {
11105  lt_foo="";
11106  lt_count=0;
11107  for (lt_i = NF; lt_i > 0; lt_i--) {
11108    if ($lt_i != "" && $lt_i != ".") {
11109      if ($lt_i == "..") {
11110        lt_count++;
11111      } else {
11112        if (lt_count == 0) {
11113          lt_foo="/" $lt_i lt_foo;
11114        } else {
11115          lt_count--;
11116        }
11117      }
11118    }
11119  }
11120  if (lt_foo != "") { lt_freq[lt_foo]++; }
11121  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11122}'`
11123  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11124else
11125  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11126fi
11127library_names_spec=
11128libname_spec='lib$name'
11129soname_spec=
11130shrext_cmds=".so"
11131postinstall_cmds=
11132postuninstall_cmds=
11133finish_cmds=
11134finish_eval=
11135shlibpath_var=
11136shlibpath_overrides_runpath=unknown
11137version_type=none
11138dynamic_linker="$host_os ld.so"
11139sys_lib_dlsearch_path_spec="/lib /usr/lib"
11140need_lib_prefix=unknown
11141hardcode_into_libs=no
11142
11143# when you set need_version to no, make sure it does not cause -set_version
11144# flags to be left without arguments
11145need_version=unknown
11146
11147case $host_os in
11148aix3*)
11149  version_type=linux
11150  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11151  shlibpath_var=LIBPATH
11152
11153  # AIX 3 has no versioning support, so we append a major version to the name.
11154  soname_spec='${libname}${release}${shared_ext}$major'
11155  ;;
11156
11157aix[4-9]*)
11158  version_type=linux
11159  need_lib_prefix=no
11160  need_version=no
11161  hardcode_into_libs=yes
11162  if test "$host_cpu" = ia64; then
11163    # AIX 5 supports IA64
11164    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11165    shlibpath_var=LD_LIBRARY_PATH
11166  else
11167    # With GCC up to 2.95.x, collect2 would create an import file
11168    # for dependence libraries.  The import file would start with
11169    # the line `#! .'.  This would cause the generated library to
11170    # depend on `.', always an invalid library.  This was fixed in
11171    # development snapshots of GCC prior to 3.0.
11172    case $host_os in
11173      aix4 | aix4.[01] | aix4.[01].*)
11174      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11175	   echo ' yes '
11176	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11177	:
11178      else
11179	can_build_shared=no
11180      fi
11181      ;;
11182    esac
11183    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11184    # soname into executable. Probably we can add versioning support to
11185    # collect2, so additional links can be useful in future.
11186    if test "$aix_use_runtimelinking" = yes; then
11187      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11188      # instead of lib<name>.a to let people know that these are not
11189      # typical AIX shared libraries.
11190      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11191    else
11192      # We preserve .a as extension for shared libraries through AIX4.2
11193      # and later when we are not doing run time linking.
11194      library_names_spec='${libname}${release}.a $libname.a'
11195      soname_spec='${libname}${release}${shared_ext}$major'
11196    fi
11197    shlibpath_var=LIBPATH
11198  fi
11199  ;;
11200
11201amigaos*)
11202  case $host_cpu in
11203  powerpc)
11204    # Since July 2007 AmigaOS4 officially supports .so libraries.
11205    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11206    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207    ;;
11208  m68k)
11209    library_names_spec='$libname.ixlibrary $libname.a'
11210    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11211    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11212    ;;
11213  esac
11214  ;;
11215
11216beos*)
11217  library_names_spec='${libname}${shared_ext}'
11218  dynamic_linker="$host_os ld.so"
11219  shlibpath_var=LIBRARY_PATH
11220  ;;
11221
11222bsdi[45]*)
11223  version_type=linux
11224  need_version=no
11225  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11226  soname_spec='${libname}${release}${shared_ext}$major'
11227  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11228  shlibpath_var=LD_LIBRARY_PATH
11229  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11230  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11231  # the default ld.so.conf also contains /usr/contrib/lib and
11232  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11233  # libtool to hard-code these into programs
11234  ;;
11235
11236cygwin* | mingw* | pw32* | cegcc*)
11237  version_type=windows
11238  shrext_cmds=".dll"
11239  need_version=no
11240  need_lib_prefix=no
11241
11242  case $GCC,$host_os in
11243  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11244    library_names_spec='$libname.dll.a'
11245    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11246    postinstall_cmds='base_file=`basename \${file}`~
11247      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11248      dldir=$destdir/`dirname \$dlpath`~
11249      test -d \$dldir || mkdir -p \$dldir~
11250      $install_prog $dir/$dlname \$dldir/$dlname~
11251      chmod a+x \$dldir/$dlname~
11252      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11253        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11254      fi'
11255    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11256      dlpath=$dir/\$dldll~
11257       $RM \$dlpath'
11258    shlibpath_overrides_runpath=yes
11259
11260    case $host_os in
11261    cygwin*)
11262      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11263      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11264      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11265      ;;
11266    mingw* | cegcc*)
11267      # MinGW DLLs use traditional 'lib' prefix
11268      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11269      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11270      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11271        # It is most probably a Windows format PATH printed by
11272        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11273        # path with ; separators, and with drive letters. We can handle the
11274        # drive letters (cygwin fileutils understands them), so leave them,
11275        # especially as we might pass files found there to a mingw objdump,
11276        # which wouldn't understand a cygwinified path. Ahh.
11277        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11278      else
11279        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11280      fi
11281      ;;
11282    pw32*)
11283      # pw32 DLLs use 'pw' prefix rather than 'lib'
11284      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11285      ;;
11286    esac
11287    ;;
11288
11289  *)
11290    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11291    ;;
11292  esac
11293  dynamic_linker='Win32 ld.exe'
11294  # FIXME: first we should search . and the directory the executable is in
11295  shlibpath_var=PATH
11296  ;;
11297
11298darwin* | rhapsody*)
11299  dynamic_linker="$host_os dyld"
11300  version_type=darwin
11301  need_lib_prefix=no
11302  need_version=no
11303  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11304  soname_spec='${libname}${release}${major}$shared_ext'
11305  shlibpath_overrides_runpath=yes
11306  shlibpath_var=DYLD_LIBRARY_PATH
11307  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11308
11309  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11310  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11311  ;;
11312
11313dgux*)
11314  version_type=linux
11315  need_lib_prefix=no
11316  need_version=no
11317  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11318  soname_spec='${libname}${release}${shared_ext}$major'
11319  shlibpath_var=LD_LIBRARY_PATH
11320  ;;
11321
11322freebsd1*)
11323  dynamic_linker=no
11324  ;;
11325
11326freebsd* | dragonfly*)
11327  # DragonFly does not have aout.  When/if they implement a new
11328  # versioning mechanism, adjust this.
11329  if test -x /usr/bin/objformat; then
11330    objformat=`/usr/bin/objformat`
11331  else
11332    case $host_os in
11333    freebsd[123]*) objformat=aout ;;
11334    *) objformat=elf ;;
11335    esac
11336  fi
11337  version_type=freebsd-$objformat
11338  case $version_type in
11339    freebsd-elf*)
11340      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11341      need_version=no
11342      need_lib_prefix=no
11343      ;;
11344    freebsd-*)
11345      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11346      need_version=yes
11347      ;;
11348  esac
11349  shlibpath_var=LD_LIBRARY_PATH
11350  case $host_os in
11351  freebsd2*)
11352    shlibpath_overrides_runpath=yes
11353    ;;
11354  freebsd3.[01]* | freebsdelf3.[01]*)
11355    shlibpath_overrides_runpath=yes
11356    hardcode_into_libs=yes
11357    ;;
11358  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11359  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11360    shlibpath_overrides_runpath=no
11361    hardcode_into_libs=yes
11362    ;;
11363  *) # from 4.6 on, and DragonFly
11364    shlibpath_overrides_runpath=yes
11365    hardcode_into_libs=yes
11366    ;;
11367  esac
11368  ;;
11369
11370gnu*)
11371  version_type=linux
11372  need_lib_prefix=no
11373  need_version=no
11374  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11375  soname_spec='${libname}${release}${shared_ext}$major'
11376  shlibpath_var=LD_LIBRARY_PATH
11377  hardcode_into_libs=yes
11378  ;;
11379
11380hpux9* | hpux10* | hpux11*)
11381  # Give a soname corresponding to the major version so that dld.sl refuses to
11382  # link against other versions.
11383  version_type=sunos
11384  need_lib_prefix=no
11385  need_version=no
11386  case $host_cpu in
11387  ia64*)
11388    shrext_cmds='.so'
11389    hardcode_into_libs=yes
11390    dynamic_linker="$host_os dld.so"
11391    shlibpath_var=LD_LIBRARY_PATH
11392    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11393    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11394    soname_spec='${libname}${release}${shared_ext}$major'
11395    if test "X$HPUX_IA64_MODE" = X32; then
11396      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11397    else
11398      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11399    fi
11400    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11401    ;;
11402  hppa*64*)
11403    shrext_cmds='.sl'
11404    hardcode_into_libs=yes
11405    dynamic_linker="$host_os dld.sl"
11406    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11407    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11408    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11409    soname_spec='${libname}${release}${shared_ext}$major'
11410    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11411    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11412    ;;
11413  *)
11414    shrext_cmds='.sl'
11415    dynamic_linker="$host_os dld.sl"
11416    shlibpath_var=SHLIB_PATH
11417    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11418    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11419    soname_spec='${libname}${release}${shared_ext}$major'
11420    ;;
11421  esac
11422  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11423  postinstall_cmds='chmod 555 $lib'
11424  ;;
11425
11426interix[3-9]*)
11427  version_type=linux
11428  need_lib_prefix=no
11429  need_version=no
11430  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11431  soname_spec='${libname}${release}${shared_ext}$major'
11432  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11433  shlibpath_var=LD_LIBRARY_PATH
11434  shlibpath_overrides_runpath=no
11435  hardcode_into_libs=yes
11436  ;;
11437
11438irix5* | irix6* | nonstopux*)
11439  case $host_os in
11440    nonstopux*) version_type=nonstopux ;;
11441    *)
11442	if test "$lt_cv_prog_gnu_ld" = yes; then
11443		version_type=linux
11444	else
11445		version_type=irix
11446	fi ;;
11447  esac
11448  need_lib_prefix=no
11449  need_version=no
11450  soname_spec='${libname}${release}${shared_ext}$major'
11451  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11452  case $host_os in
11453  irix5* | nonstopux*)
11454    libsuff= shlibsuff=
11455    ;;
11456  *)
11457    case $LD in # libtool.m4 will add one of these switches to LD
11458    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11459      libsuff= shlibsuff= libmagic=32-bit;;
11460    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11461      libsuff=32 shlibsuff=N32 libmagic=N32;;
11462    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11463      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11464    *) libsuff= shlibsuff= libmagic=never-match;;
11465    esac
11466    ;;
11467  esac
11468  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11469  shlibpath_overrides_runpath=no
11470  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11471  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11472  hardcode_into_libs=yes
11473  ;;
11474
11475# No shared lib support for Linux oldld, aout, or coff.
11476linux*oldld* | linux*aout* | linux*coff*)
11477  dynamic_linker=no
11478  ;;
11479
11480# This must be Linux ELF.
11481linux* | k*bsd*-gnu)
11482  version_type=linux
11483  need_lib_prefix=no
11484  need_version=no
11485  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486  soname_spec='${libname}${release}${shared_ext}$major'
11487  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11488  shlibpath_var=LD_LIBRARY_PATH
11489  shlibpath_overrides_runpath=no
11490  # Some binutils ld are patched to set DT_RUNPATH
11491  save_LDFLAGS=$LDFLAGS
11492  save_libdir=$libdir
11493  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11494       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11495  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496/* end confdefs.h.  */
11497
11498int
11499main ()
11500{
11501
11502  ;
11503  return 0;
11504}
11505_ACEOF
11506if ac_fn_c_try_link "$LINENO"; then :
11507  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11508  shlibpath_overrides_runpath=yes
11509fi
11510fi
11511rm -f core conftest.err conftest.$ac_objext \
11512    conftest$ac_exeext conftest.$ac_ext
11513  LDFLAGS=$save_LDFLAGS
11514  libdir=$save_libdir
11515
11516  # This implies no fast_install, which is unacceptable.
11517  # Some rework will be needed to allow for fast_install
11518  # before this can be enabled.
11519  hardcode_into_libs=yes
11520
11521  # Add ABI-specific directories to the system library path.
11522  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11523
11524  # Append ld.so.conf contents to the search path
11525  if test -f /etc/ld.so.conf; then
11526    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11527    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11528  fi
11529
11530  # We used to test for /lib/ld.so.1 and disable shared libraries on
11531  # powerpc, because MkLinux only supported shared libraries with the
11532  # GNU dynamic linker.  Since this was broken with cross compilers,
11533  # most powerpc-linux boxes support dynamic linking these days and
11534  # people can always --disable-shared, the test was removed, and we
11535  # assume the GNU/Linux dynamic linker is in use.
11536  dynamic_linker='GNU/Linux ld.so'
11537  ;;
11538
11539netbsd*)
11540  version_type=sunos
11541  need_lib_prefix=no
11542  need_version=no
11543  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11544    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11545    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11546    dynamic_linker='NetBSD (a.out) ld.so'
11547  else
11548    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11549    soname_spec='${libname}${release}${shared_ext}$major'
11550    dynamic_linker='NetBSD ld.elf_so'
11551  fi
11552  shlibpath_var=LD_LIBRARY_PATH
11553  shlibpath_overrides_runpath=yes
11554  hardcode_into_libs=yes
11555  ;;
11556
11557newsos6)
11558  version_type=linux
11559  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560  shlibpath_var=LD_LIBRARY_PATH
11561  shlibpath_overrides_runpath=yes
11562  ;;
11563
11564*nto* | *qnx*)
11565  version_type=qnx
11566  need_lib_prefix=no
11567  need_version=no
11568  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569  soname_spec='${libname}${release}${shared_ext}$major'
11570  shlibpath_var=LD_LIBRARY_PATH
11571  shlibpath_overrides_runpath=no
11572  hardcode_into_libs=yes
11573  dynamic_linker='ldqnx.so'
11574  ;;
11575
11576openbsd*)
11577  version_type=sunos
11578  sys_lib_dlsearch_path_spec="/usr/lib"
11579  need_lib_prefix=no
11580  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11581  case $host_os in
11582    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11583    *)				need_version=no  ;;
11584  esac
11585  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11586  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11587  shlibpath_var=LD_LIBRARY_PATH
11588  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11589    case $host_os in
11590      openbsd2.[89] | openbsd2.[89].*)
11591	shlibpath_overrides_runpath=no
11592	;;
11593      *)
11594	shlibpath_overrides_runpath=yes
11595	;;
11596      esac
11597  else
11598    shlibpath_overrides_runpath=yes
11599  fi
11600  ;;
11601
11602os2*)
11603  libname_spec='$name'
11604  shrext_cmds=".dll"
11605  need_lib_prefix=no
11606  library_names_spec='$libname${shared_ext} $libname.a'
11607  dynamic_linker='OS/2 ld.exe'
11608  shlibpath_var=LIBPATH
11609  ;;
11610
11611osf3* | osf4* | osf5*)
11612  version_type=osf
11613  need_lib_prefix=no
11614  need_version=no
11615  soname_spec='${libname}${release}${shared_ext}$major'
11616  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11617  shlibpath_var=LD_LIBRARY_PATH
11618  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11619  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11620  ;;
11621
11622rdos*)
11623  dynamic_linker=no
11624  ;;
11625
11626solaris*)
11627  version_type=linux
11628  need_lib_prefix=no
11629  need_version=no
11630  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631  soname_spec='${libname}${release}${shared_ext}$major'
11632  shlibpath_var=LD_LIBRARY_PATH
11633  shlibpath_overrides_runpath=yes
11634  hardcode_into_libs=yes
11635  # ldd complains unless libraries are executable
11636  postinstall_cmds='chmod +x $lib'
11637  ;;
11638
11639sunos4*)
11640  version_type=sunos
11641  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11642  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11643  shlibpath_var=LD_LIBRARY_PATH
11644  shlibpath_overrides_runpath=yes
11645  if test "$with_gnu_ld" = yes; then
11646    need_lib_prefix=no
11647  fi
11648  need_version=yes
11649  ;;
11650
11651sysv4 | sysv4.3*)
11652  version_type=linux
11653  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11654  soname_spec='${libname}${release}${shared_ext}$major'
11655  shlibpath_var=LD_LIBRARY_PATH
11656  case $host_vendor in
11657    sni)
11658      shlibpath_overrides_runpath=no
11659      need_lib_prefix=no
11660      runpath_var=LD_RUN_PATH
11661      ;;
11662    siemens)
11663      need_lib_prefix=no
11664      ;;
11665    motorola)
11666      need_lib_prefix=no
11667      need_version=no
11668      shlibpath_overrides_runpath=no
11669      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11670      ;;
11671  esac
11672  ;;
11673
11674sysv4*MP*)
11675  if test -d /usr/nec ;then
11676    version_type=linux
11677    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11678    soname_spec='$libname${shared_ext}.$major'
11679    shlibpath_var=LD_LIBRARY_PATH
11680  fi
11681  ;;
11682
11683sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11684  version_type=freebsd-elf
11685  need_lib_prefix=no
11686  need_version=no
11687  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11688  soname_spec='${libname}${release}${shared_ext}$major'
11689  shlibpath_var=LD_LIBRARY_PATH
11690  shlibpath_overrides_runpath=yes
11691  hardcode_into_libs=yes
11692  if test "$with_gnu_ld" = yes; then
11693    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11694  else
11695    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11696    case $host_os in
11697      sco3.2v5*)
11698        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11699	;;
11700    esac
11701  fi
11702  sys_lib_dlsearch_path_spec='/usr/lib'
11703  ;;
11704
11705tpf*)
11706  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11707  version_type=linux
11708  need_lib_prefix=no
11709  need_version=no
11710  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711  shlibpath_var=LD_LIBRARY_PATH
11712  shlibpath_overrides_runpath=no
11713  hardcode_into_libs=yes
11714  ;;
11715
11716uts4*)
11717  version_type=linux
11718  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11719  soname_spec='${libname}${release}${shared_ext}$major'
11720  shlibpath_var=LD_LIBRARY_PATH
11721  ;;
11722
11723*)
11724  dynamic_linker=no
11725  ;;
11726esac
11727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11728$as_echo "$dynamic_linker" >&6; }
11729test "$dynamic_linker" = no && can_build_shared=no
11730
11731variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11732if test "$GCC" = yes; then
11733  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11734fi
11735
11736if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11737  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11738fi
11739if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11740  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11741fi
11742
11743
11744    
11745    
11746    
11747
11748
11749    
11750    
11751    
11752
11753
11754    
11755    
11756    
11757
11758
11759    
11760    
11761    
11762
11763
11764    
11765    
11766    
11767
11768
11769    
11770    
11771    
11772
11773
11774    
11775    
11776    
11777
11778
11779    
11780    
11781    
11782
11783
11784    
11785    
11786    
11787
11788
11789    
11790    
11791    
11792
11793
11794    
11795    
11796    
11797
11798
11799    
11800    
11801    
11802
11803
11804    
11805    
11806    
11807
11808
11809    
11810    
11811    
11812
11813
11814    
11815    
11816    
11817
11818
11819    
11820    
11821    
11822
11823
11824    
11825    
11826    
11827
11828
11829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11830$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11831hardcode_action=
11832if test -n "$hardcode_libdir_flag_spec" ||
11833   test -n "$runpath_var" ||
11834   test "X$hardcode_automatic" = "Xyes" ; then
11835
11836  # We can hardcode non-existent directories.
11837  if test "$hardcode_direct" != no &&
11838     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11839     # have to relink, otherwise we might link with an installed library
11840     # when we should be linking with a yet-to-be-installed one
11841     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11842     test "$hardcode_minus_L" != no; then
11843    # Linking always hardcodes the temporary library directory.
11844    hardcode_action=relink
11845  else
11846    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11847    hardcode_action=immediate
11848  fi
11849else
11850  # We cannot hardcode anything, or else we can only hardcode existing
11851  # directories.
11852  hardcode_action=unsupported
11853fi
11854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11855$as_echo "$hardcode_action" >&6; }
11856
11857if test "$hardcode_action" = relink ||
11858   test "$inherit_rpath" = yes; then
11859  # Fast installation is not supported
11860  enable_fast_install=no
11861elif test "$shlibpath_overrides_runpath" = yes ||
11862     test "$enable_shared" = no; then
11863  # Fast installation is not necessary
11864  enable_fast_install=needless
11865fi
11866
11867    
11868    
11869    
11870
11871
11872  if test "x$enable_dlopen" != xyes; then
11873  enable_dlopen=unknown
11874  enable_dlopen_self=unknown
11875  enable_dlopen_self_static=unknown
11876else
11877  lt_cv_dlopen=no
11878  lt_cv_dlopen_libs=
11879
11880  case $host_os in
11881  beos*)
11882    lt_cv_dlopen="load_add_on"
11883    lt_cv_dlopen_libs=
11884    lt_cv_dlopen_self=yes
11885    ;;
11886
11887  mingw* | pw32* | cegcc*)
11888    lt_cv_dlopen="LoadLibrary"
11889    lt_cv_dlopen_libs=
11890    ;;
11891
11892  cygwin*)
11893    lt_cv_dlopen="dlopen"
11894    lt_cv_dlopen_libs=
11895    ;;
11896
11897  darwin*)
11898  # if libdl is installed we need to link against it
11899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11900$as_echo_n "checking for dlopen in -ldl... " >&6; }
11901if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11902  $as_echo_n "(cached) " >&6
11903else
11904  ac_check_lib_save_LIBS=$LIBS
11905LIBS="-ldl  $LIBS"
11906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907/* end confdefs.h.  */
11908
11909/* Override any GCC internal prototype to avoid an error.
11910   Use char because int might match the return type of a GCC
11911   builtin and then its argument prototype would still apply.  */
11912#ifdef __cplusplus
11913extern "C"
11914#endif
11915char dlopen ();
11916int
11917main ()
11918{
11919return dlopen ();
11920  ;
11921  return 0;
11922}
11923_ACEOF
11924if ac_fn_c_try_link "$LINENO"; then :
11925  ac_cv_lib_dl_dlopen=yes
11926else
11927  ac_cv_lib_dl_dlopen=no
11928fi
11929rm -f core conftest.err conftest.$ac_objext \
11930    conftest$ac_exeext conftest.$ac_ext
11931LIBS=$ac_check_lib_save_LIBS
11932fi
11933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11934$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11935if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11936  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11937else
11938  
11939    lt_cv_dlopen="dyld"
11940    lt_cv_dlopen_libs=
11941    lt_cv_dlopen_self=yes
11942    
11943fi
11944
11945    ;;
11946
11947  *)
11948    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11949if test "x$ac_cv_func_shl_load" = x""yes; then :
11950  lt_cv_dlopen="shl_load"
11951else
11952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11953$as_echo_n "checking for shl_load in -ldld... " >&6; }
11954if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11955  $as_echo_n "(cached) " >&6
11956else
11957  ac_check_lib_save_LIBS=$LIBS
11958LIBS="-ldld  $LIBS"
11959cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960/* end confdefs.h.  */
11961
11962/* Override any GCC internal prototype to avoid an error.
11963   Use char because int might match the return type of a GCC
11964   builtin and then its argument prototype would still apply.  */
11965#ifdef __cplusplus
11966extern "C"
11967#endif
11968char shl_load ();
11969int
11970main ()
11971{
11972return shl_load ();
11973  ;
11974  return 0;
11975}
11976_ACEOF
11977if ac_fn_c_try_link "$LINENO"; then :
11978  ac_cv_lib_dld_shl_load=yes
11979else
11980  ac_cv_lib_dld_shl_load=no
11981fi
11982rm -f core conftest.err conftest.$ac_objext \
11983    conftest$ac_exeext conftest.$ac_ext
11984LIBS=$ac_check_lib_save_LIBS
11985fi
11986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11987$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11988if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11989  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11990else
11991  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11992if test "x$ac_cv_func_dlopen" = x""yes; then :
11993  lt_cv_dlopen="dlopen"
11994else
11995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11996$as_echo_n "checking for dlopen in -ldl... " >&6; }
11997if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11998  $as_echo_n "(cached) " >&6
11999else
12000  ac_check_lib_save_LIBS=$LIBS
12001LIBS="-ldl  $LIBS"
12002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003/* end confdefs.h.  */
12004
12005/* Override any GCC internal prototype to avoid an error.
12006   Use char because int might match the return type of a GCC
12007   builtin and then its argument prototype would still apply.  */
12008#ifdef __cplusplus
12009extern "C"
12010#endif
12011char dlopen ();
12012int
12013main ()
12014{
12015return dlopen ();
12016  ;
12017  return 0;
12018}
12019_ACEOF
12020if ac_fn_c_try_link "$LINENO"; then :
12021  ac_cv_lib_dl_dlopen=yes
12022else
12023  ac_cv_lib_dl_dlopen=no
12024fi
12025rm -f core conftest.err conftest.$ac_objext \
12026    conftest$ac_exeext conftest.$ac_ext
12027LIBS=$ac_check_lib_save_LIBS
12028fi
12029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12030$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12031if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12032  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12033else
12034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12035$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12036if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12037  $as_echo_n "(cached) " >&6
12038else
12039  ac_check_lib_save_LIBS=$LIBS
12040LIBS="-lsvld  $LIBS"
12041cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042/* end confdefs.h.  */
12043
12044/* Override any GCC internal prototype to avoid an error.
12045   Use char because int might match the return type of a GCC
12046   builtin and then its argument prototype would still apply.  */
12047#ifdef __cplusplus
12048extern "C"
12049#endif
12050char dlopen ();
12051int
12052main ()
12053{
12054return dlopen ();
12055  ;
12056  return 0;
12057}
12058_ACEOF
12059if ac_fn_c_try_link "$LINENO"; then :
12060  ac_cv_lib_svld_dlopen=yes
12061else
12062  ac_cv_lib_svld_dlopen=no
12063fi
12064rm -f core conftest.err conftest.$ac_objext \
12065    conftest$ac_exeext conftest.$ac_ext
12066LIBS=$ac_check_lib_save_LIBS
12067fi
12068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12069$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12070if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12071  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12072else
12073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12074$as_echo_n "checking for dld_link in -ldld... " >&6; }
12075if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12076  $as_echo_n "(cached) " >&6
12077else
12078  ac_check_lib_save_LIBS=$LIBS
12079LIBS="-ldld  $LIBS"
12080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081/* end confdefs.h.  */
12082
12083/* Override any GCC internal prototype to avoid an error.
12084   Use char because int might match the return type of a GCC
12085   builtin and then its argument prototype would still apply.  */
12086#ifdef __cplusplus
12087extern "C"
12088#endif
12089char dld_link ();
12090int
12091main ()
12092{
12093return dld_link ();
12094  ;
12095  return 0;
12096}
12097_ACEOF
12098if ac_fn_c_try_link "$LINENO"; then :
12099  ac_cv_lib_dld_dld_link=yes
12100else
12101  ac_cv_lib_dld_dld_link=no
12102fi
12103rm -f core conftest.err conftest.$ac_objext \
12104    conftest$ac_exeext conftest.$ac_ext
12105LIBS=$ac_check_lib_save_LIBS
12106fi
12107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12108$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12109if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12110  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12111fi
12112
12113	      
12114fi
12115
12116	    
12117fi
12118
12119	  
12120fi
12121
12122	
12123fi
12124
12125      
12126fi
12127
12128    ;;
12129  esac
12130
12131  if test "x$lt_cv_dlopen" != xno; then
12132    enable_dlopen=yes
12133  else
12134    enable_dlopen=no
12135  fi
12136
12137  case $lt_cv_dlopen in
12138  dlopen)
12139    save_CPPFLAGS="$CPPFLAGS"
12140    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12141
12142    save_LDFLAGS="$LDFLAGS"
12143    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12144
12145    save_LIBS="$LIBS"
12146    LIBS="$lt_cv_dlopen_libs $LIBS"
12147
12148    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12149$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12150if test "${lt_cv_dlopen_self+set}" = set; then :
12151  $as_echo_n "(cached) " >&6
12152else
12153  	  if test "$cross_compiling" = yes; then :
12154  lt_cv_dlopen_self=cross
12155else
12156  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12157  lt_status=$lt_dlunknown
12158  cat > conftest.$ac_ext <<_LT_EOF
12159#line __oline__ "configure"
12160#include "confdefs.h"
12161
12162#if HAVE_DLFCN_H
12163#include <dlfcn.h>
12164#endif
12165
12166#include <stdio.h>
12167
12168#ifdef RTLD_GLOBAL
12169#  define LT_DLGLOBAL		RTLD_GLOBAL
12170#else
12171#  ifdef DL_GLOBAL
12172#    define LT_DLGLOBAL		DL_GLOBAL
12173#  else
12174#    define LT_DLGLOBAL		0
12175#  endif
12176#endif
12177
12178/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12179   find out it does not work in some platform. */
12180#ifndef LT_DLLAZY_OR_NOW
12181#  ifdef RTLD_LAZY
12182#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12183#  else
12184#    ifdef DL_LAZY
12185#      define LT_DLLAZY_OR_NOW		DL_LAZY
12186#    else
12187#      ifdef RTLD_NOW
12188#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12189#      else
12190#        ifdef DL_NOW
12191#          define LT_DLLAZY_OR_NOW	DL_NOW
12192#        else
12193#          define LT_DLLAZY_OR_NOW	0
12194#        endif
12195#      endif
12196#    endif
12197#  endif
12198#endif
12199
12200void fnord() { int i=42;}
12201int main ()
12202{
12203  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12204  int status = $lt_dlunknown;
12205
12206  if (self)
12207    {
12208      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12209      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12210      /* dlclose (self); */
12211    }
12212  else
12213    puts (dlerror ());
12214
12215  return status;
12216}
12217_LT_EOF
12218  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12219  (eval $ac_link) 2>&5
12220  ac_status=$?
12221  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12222  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12223    (./conftest; exit; ) >&5 2>/dev/null
12224    lt_status=$?
12225    case x$lt_status in
12226      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12227      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12228      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12229    esac
12230  else :
12231    # compilation failed
12232    lt_cv_dlopen_self=no
12233  fi
12234fi
12235rm -fr conftest*
12236
12237    
12238fi
12239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12240$as_echo "$lt_cv_dlopen_self" >&6; }
12241
12242    if test "x$lt_cv_dlopen_self" = xyes; then
12243      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12244      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12245$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12246if test "${lt_cv_dlopen_self_static+set}" = set; then :
12247  $as_echo_n "(cached) " >&6
12248else
12249  	  if test "$cross_compiling" = yes; then :
12250  lt_cv_dlopen_self_static=cross
12251else
12252  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12253  lt_status=$lt_dlunknown
12254  cat > conftest.$ac_ext <<_LT_EOF
12255#line __oline__ "configure"
12256#include "confdefs.h"
12257
12258#if HAVE_DLFCN_H
12259#include <dlfcn.h>
12260#endif
12261
12262#include <stdio.h>
12263
12264#ifdef RTLD_GLOBAL
12265#  define LT_DLGLOBAL		RTLD_GLOBAL
12266#else
12267#  ifdef DL_GLOBAL
12268#    define LT_DLGLOBAL		DL_GLOBAL
12269#  else
12270#    define LT_DLGLOBAL		0
12271#  endif
12272#endif
12273
12274/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12275   find out it does not work in some platform. */
12276#ifndef LT_DLLAZY_OR_NOW
12277#  ifdef RTLD_LAZY
12278#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12279#  else
12280#    ifdef DL_LAZY
12281#      define LT_DLLAZY_OR_NOW		DL_LAZY
12282#    else
12283#      ifdef RTLD_NOW
12284#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12285#      else
12286#        ifdef DL_NOW
12287#          define LT_DLLAZY_OR_NOW	DL_NOW
12288#        else
12289#          define LT_DLLAZY_OR_NOW	0
12290#        endif
12291#      endif
12292#    endif
12293#  endif
12294#endif
12295
12296void fnord() { int i=42;}
12297int main ()
12298{
12299  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12300  int status = $lt_dlunknown;
12301
12302  if (self)
12303    {
12304      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12305      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12306      /* dlclose (self); */
12307    }
12308  else
12309    puts (dlerror ());
12310
12311  return status;
12312}
12313_LT_EOF
12314  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12315  (eval $ac_link) 2>&5
12316  ac_status=$?
12317  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12319    (./conftest; exit; ) >&5 2>/dev/null
12320    lt_status=$?
12321    case x$lt_status in
12322      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12323      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12324      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12325    esac
12326  else :
12327    # compilation failed
12328    lt_cv_dlopen_self_static=no
12329  fi
12330fi
12331rm -fr conftest*
12332
12333      
12334fi
12335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12336$as_echo "$lt_cv_dlopen_self_static" >&6; }
12337    fi
12338
12339    CPPFLAGS="$save_CPPFLAGS"
12340    LDFLAGS="$save_LDFLAGS"
12341    LIBS="$save_LIBS"
12342    ;;
12343  esac
12344
12345  case $lt_cv_dlopen_self in
12346  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12347  *) enable_dlopen_self=unknown ;;
12348  esac
12349
12350  case $lt_cv_dlopen_self_static in
12351  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12352  *) enable_dlopen_self_static=unknown ;;
12353  esac
12354fi
12355
12356    
12357    
12358    
12359
12360
12361    
12362    
12363    
12364
12365
12366    
12367    
12368    
12369
12370
12371  
12372striplib=
12373old_striplib=
12374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12375$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12376if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12377  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12378  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12380$as_echo "yes" >&6; }
12381else
12382# FIXME - insert some real tests, host_os isn't really good enough
12383  case $host_os in
12384  darwin*)
12385    if test -n "$STRIP" ; then
12386      striplib="$STRIP -x"
12387      old_striplib="$STRIP -S"
12388      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12389$as_echo "yes" >&6; }
12390    else
12391      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12392$as_echo "no" >&6; }
12393    fi
12394    ;;
12395  *)
12396    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12397$as_echo "no" >&6; }
12398    ;;
12399  esac
12400fi
12401
12402    
12403    
12404    
12405
12406
12407    
12408    
12409    
12410
12411
12412
12413  # Report which library types will actually be built
12414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12415$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12417$as_echo "$can_build_shared" >&6; }
12418
12419  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12420$as_echo_n "checking whether to build shared libraries... " >&6; }
12421  test "$can_build_shared" = "no" && enable_shared=no
12422
12423  # On AIX, shared libraries and static libraries use the same namespace, and
12424  # are all built from PIC.
12425  case $host_os in
12426  aix3*)
12427    test "$enable_shared" = yes && enable_static=no
12428    if test -n "$RANLIB"; then
12429      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12430      postinstall_cmds='$RANLIB $lib'
12431    fi
12432    ;;
12433
12434  aix[4-9]*)
12435    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12436      test "$enable_shared" = yes && enable_static=no
12437    fi
12438    ;;
12439  esac
12440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12441$as_echo "$enable_shared" >&6; }
12442
12443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12444$as_echo_n "checking whether to build static libraries... " >&6; }
12445  # Make sure either enable_shared or enable_static is yes.
12446  test "$enable_shared" = yes || enable_static=yes
12447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12448$as_echo "$enable_static" >&6; }
12449
12450  
12451
12452
12453fi
12454ac_ext=c
12455ac_cpp='$CPP $CPPFLAGS'
12456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12458ac_compiler_gnu=$ac_cv_c_compiler_gnu
12459
12460CC="$lt_save_CC"
12461
12462      
12463ac_ext=cpp
12464ac_cpp='$CXXCPP $CPPFLAGS'
12465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12468
12469archive_cmds_need_lc_CXX=no
12470allow_undefined_flag_CXX=
12471always_export_symbols_CXX=no
12472archive_expsym_cmds_CXX=
12473compiler_needs_object_CXX=no
12474export_dynamic_flag_spec_CXX=
12475hardcode_direct_CXX=no
12476hardcode_direct_absolute_CXX=no
12477hardcode_libdir_flag_spec_CXX=
12478hardcode_libdir_flag_spec_ld_CXX=
12479hardcode_libdir_separator_CXX=
12480hardcode_minus_L_CXX=no
12481hardcode_shlibpath_var_CXX=unsupported
12482hardcode_automatic_CXX=no
12483inherit_rpath_CXX=no
12484module_cmds_CXX=
12485module_expsym_cmds_CXX=
12486link_all_deplibs_CXX=unknown
12487old_archive_cmds_CXX=$old_archive_cmds
12488no_undefined_flag_CXX=
12489whole_archive_flag_spec_CXX=
12490enable_shared_with_static_runtimes_CXX=no
12491
12492# Source file extension for C++ test sources.
12493ac_ext=cpp
12494
12495# Object file extension for compiled C++ test sources.
12496objext=o
12497objext_CXX=$objext
12498
12499# No sense in running all these tests if we already determined that
12500# the CXX compiler isn't working.  Some variables (like enable_shared)
12501# are currently assumed to apply to all compilers on this platform,
12502# and will be corrupted by setting them based on a non-working compiler.
12503if test "$_lt_caught_CXX_error" != yes; then
12504  # Code to be used in simple compile tests
12505  lt_simple_compile_test_code="int some_variable = 0;"
12506
12507  # Code to be used in simple link tests
12508  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12509
12510  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12511  
12512
12513
12514
12515
12516
12517# If no C compiler was specified, use CC.
12518LTCC=${LTCC-"$CC"}
12519
12520# If no C compiler flags were specified, use CFLAGS.
12521LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12522
12523# Allow CC to be a program name with arguments.
12524compiler=$CC
12525
12526
12527  # save warnings/boilerplate of simple test code
12528  ac_outfile=conftest.$ac_objext
12529echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12530eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12531_lt_compiler_boilerplate=`cat conftest.err`
12532$RM conftest*
12533
12534  ac_outfile=conftest.$ac_objext
12535echo "$lt_simple_link_test_code" >conftest.$ac_ext
12536eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12537_lt_linker_boilerplate=`cat conftest.err`
12538$RM -r conftest*
12539
12540
12541  # Allow CC to be a program name with arguments.
12542  lt_save_CC=$CC
12543  lt_save_LD=$LD
12544  lt_save_GCC=$GCC
12545  GCC=$GXX
12546  lt_save_with_gnu_ld=$with_gnu_ld
12547  lt_save_path_LD=$lt_cv_path_LD
12548  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12549    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12550  else
12551    $as_unset lt_cv_prog_gnu_ld
12552  fi
12553  if test -n "${lt_cv_path_LDCXX+set}"; then
12554    lt_cv_path_LD=$lt_cv_path_LDCXX
12555  else
12556    $as_unset lt_cv_path_LD
12557  fi
12558  test -z "${LDCXX+set}" || LD=$LDCXX
12559  CC=${CXX-"c++"}
12560  compiler=$CC
12561  compiler_CXX=$CC
12562  for cc_temp in $compiler""; do
12563  case $cc_temp in
12564    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12565    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12566    \-*) ;;
12567    *) break;;
12568  esac
12569done
12570cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12571
12572
12573  if test -n "$compiler"; then
12574    # We don't want -fno-exception when compiling C++ code, so set the
12575    # no_builtin_flag separately
12576    if test "$GXX" = yes; then
12577      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12578    else
12579      lt_prog_compiler_no_builtin_flag_CXX=
12580    fi
12581
12582    if test "$GXX" = yes; then
12583      # Set up default GNU C++ configuration
12584
12585      
12586
12587@%:@ Check whether --with-gnu-ld was given.
12588if test "${with_gnu_ld+set}" = set; then :
12589  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12590else
12591  with_gnu_ld=no
12592fi
12593
12594ac_prog=ld
12595if test "$GCC" = yes; then
12596  # Check if gcc -print-prog-name=ld gives a path.
12597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12598$as_echo_n "checking for ld used by $CC... " >&6; }
12599  case $host in
12600  *-*-mingw*)
12601    # gcc leaves a trailing carriage return which upsets mingw
12602    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12603  *)
12604    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12605  esac
12606  case $ac_prog in
12607    # Accept absolute paths.
12608    [\\/]* | ?:[\\/]*)
12609      re_direlt='/[^/][^/]*/\.\./'
12610      # Canonicalize the pathname of ld
12611      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12612      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12613	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12614      done
12615      test -z "$LD" && LD="$ac_prog"
12616      ;;
12617  "")
12618    # If it fails, then pretend we aren't using GCC.
12619    ac_prog=ld
12620    ;;
12621  *)
12622    # If it is relative, then search for the first ld in PATH.
12623    with_gnu_ld=unknown
12624    ;;
12625  esac
12626elif test "$with_gnu_ld" = yes; then
12627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12628$as_echo_n "checking for GNU ld... " >&6; }
12629else
12630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12631$as_echo_n "checking for non-GNU ld... " >&6; }
12632fi
12633if test "${lt_cv_path_LD+set}" = set; then :
12634  $as_echo_n "(cached) " >&6
12635else
12636  if test -z "$LD"; then
12637  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12638  for ac_dir in $PATH; do
12639    IFS="$lt_save_ifs"
12640    test -z "$ac_dir" && ac_dir=.
12641    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12642      lt_cv_path_LD="$ac_dir/$ac_prog"
12643      # Check to see if the program is GNU ld.  I'd rather use --version,
12644      # but apparently some variants of GNU ld only accept -v.
12645      # Break only if it was the GNU/non-GNU ld that we prefer.
12646      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12647      *GNU* | *'with BFD'*)
12648	test "$with_gnu_ld" != no && break
12649	;;
12650      *)
12651	test "$with_gnu_ld" != yes && break
12652	;;
12653      esac
12654    fi
12655  done
12656  IFS="$lt_save_ifs"
12657else
12658  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12659fi
12660fi
12661
12662LD="$lt_cv_path_LD"
12663if test -n "$LD"; then
12664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12665$as_echo "$LD" >&6; }
12666else
12667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12668$as_echo "no" >&6; }
12669fi
12670test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12672$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12673if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12674  $as_echo_n "(cached) " >&6
12675else
12676  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12677case `$LD -v 2>&1 </dev/null` in
12678*GNU* | *'with BFD'*)
12679  lt_cv_prog_gnu_ld=yes
12680  ;;
12681*)
12682  lt_cv_prog_gnu_ld=no
12683  ;;
12684esac
12685fi
12686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12687$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12688with_gnu_ld=$lt_cv_prog_gnu_ld
12689
12690
12691
12692
12693
12694
12695
12696      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12697      # archiving commands below assume that GNU ld is being used.
12698      if test "$with_gnu_ld" = yes; then
12699        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12700        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12701
12702        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12703        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12704
12705        # If archive_cmds runs LD, not CC, wlarc should be empty
12706        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12707        #     investigate it a little bit more. (MM)
12708        wlarc='${wl}'
12709
12710        # ancient GNU ld didn't support --whole-archive et. al.
12711        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12712	  $GREP 'no-whole-archive' > /dev/null; then
12713          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12714        else
12715          whole_archive_flag_spec_CXX=
12716        fi
12717      else
12718        with_gnu_ld=no
12719        wlarc=
12720
12721        # A generic and very simple default shared library creation
12722        # command for GNU C++ for the case where it uses the native
12723        # linker, instead of GNU ld.  If possible, this setting should
12724        # overridden to take advantage of the native linker features on
12725        # the platform it is being used on.
12726        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12727      fi
12728
12729      # Commands to make compiler produce verbose output that lists
12730      # what "hidden" libraries, object files and flags are used when
12731      # linking a shared library.
12732      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12733
12734    else
12735      GXX=no
12736      with_gnu_ld=no
12737      wlarc=
12738    fi
12739
12740    # PORTME: fill in a description of your system's C++ link characteristics
12741    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12742$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12743    ld_shlibs_CXX=yes
12744    case $host_os in
12745      aix3*)
12746        # FIXME: insert proper C++ library support
12747        ld_shlibs_CXX=no
12748        ;;
12749      aix[4-9]*)
12750        if test "$host_cpu" = ia64; then
12751          # On IA64, the linker does run time linking by default, so we don't
12752          # have to do anything special.
12753          aix_use_runtimelinking=no
12754          exp_sym_flag='-Bexport'
12755          no_entry_flag=""
12756        else
12757          aix_use_runtimelinking=no
12758
12759          # Test if we are trying to use run time linking or normal
12760          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12761          # need to do runtime linking.
12762          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12763	    for ld_flag in $LDFLAGS; do
12764	      case $ld_flag in
12765	      *-brtl*)
12766	        aix_use_runtimelinking=yes
12767	        break
12768	        ;;
12769	      esac
12770	    done
12771	    ;;
12772          esac
12773
12774          exp_sym_flag='-bexport'
12775          no_entry_flag='-bnoentry'
12776        fi
12777
12778        # When large executables or shared objects are built, AIX ld can
12779        # have problems creating the table of contents.  If linking a library
12780        # or program results in "error TOC overflow" add -mminimal-toc to
12781        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12782        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12783
12784        archive_cmds_CXX=''
12785        hardcode_direct_CXX=yes
12786        hardcode_direct_absolute_CXX=yes
12787        hardcode_libdir_separator_CXX=':'
12788        link_all_deplibs_CXX=yes
12789        file_list_spec_CXX='${wl}-f,'
12790
12791        if test "$GXX" = yes; then
12792          case $host_os in aix4.[012]|aix4.[012].*)
12793          # We only want to do this on AIX 4.2 and lower, the check
12794          # below for broken collect2 doesn't work under 4.3+
12795	  collect2name=`${CC} -print-prog-name=collect2`
12796	  if test -f "$collect2name" &&
12797	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12798	  then
12799	    # We have reworked collect2
12800	    :
12801	  else
12802	    # We have old collect2
12803	    hardcode_direct_CXX=unsupported
12804	    # It fails to find uninstalled libraries when the uninstalled
12805	    # path is not listed in the libpath.  Setting hardcode_minus_L
12806	    # to unsupported forces relinking
12807	    hardcode_minus_L_CXX=yes
12808	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12809	    hardcode_libdir_separator_CXX=
12810	  fi
12811          esac
12812          shared_flag='-shared'
12813	  if test "$aix_use_runtimelinking" = yes; then
12814	    shared_flag="$shared_flag "'${wl}-G'
12815	  fi
12816        else
12817          # not using gcc
12818          if test "$host_cpu" = ia64; then
12819	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12820	  # chokes on -Wl,-G. The following line is correct:
12821	  shared_flag='-G'
12822          else
12823	    if test "$aix_use_runtimelinking" = yes; then
12824	      shared_flag='${wl}-G'
12825	    else
12826	      shared_flag='${wl}-bM:SRE'
12827	    fi
12828          fi
12829        fi
12830
12831        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12832        # It seems that -bexpall does not export symbols beginning with
12833        # underscore (_), so it is better to generate a list of symbols to
12834	# export.
12835        always_export_symbols_CXX=yes
12836        if test "$aix_use_runtimelinking" = yes; then
12837          # Warning - without using the other runtime loading flags (-brtl),
12838          # -berok will link without error, but may produce a broken library.
12839          allow_undefined_flag_CXX='-berok'
12840          # Determine the default libpath from the value encoded in an empty
12841          # executable.
12842          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843/* end confdefs.h.  */
12844
12845int
12846main ()
12847{
12848
12849  ;
12850  return 0;
12851}
12852_ACEOF
12853if ac_fn_cxx_try_link "$LINENO"; then :
12854  
12855lt_aix_libpath_sed='
12856    /Import File Strings/,/^$/ {
12857	/^0/ {
12858	    s/^0  *\(.*\)$/\1/
12859	    p
12860	}
12861    }'
12862aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12863# Check for a 64-bit object if we didn't find anything.
12864if test -z "$aix_libpath"; then
12865  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12866fi
12867fi
12868rm -f core conftest.err conftest.$ac_objext \
12869    conftest$ac_exeext conftest.$ac_ext
12870if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12871
12872          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12873
12874          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12875        else
12876          if test "$host_cpu" = ia64; then
12877	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12878	    allow_undefined_flag_CXX="-z nodefs"
12879	    archive_expsym_cmds_CXX="\$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"
12880          else
12881	    # Determine the default libpath from the value encoded in an
12882	    # empty executable.
12883	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884/* end confdefs.h.  */
12885
12886int
12887main ()
12888{
12889
12890  ;
12891  return 0;
12892}
12893_ACEOF
12894if ac_fn_cxx_try_link "$LINENO"; then :
12895  
12896lt_aix_libpath_sed='
12897    /Import File Strings/,/^$/ {
12898	/^0/ {
12899	    s/^0  *\(.*\)$/\1/
12900	    p
12901	}
12902    }'
12903aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12904# Check for a 64-bit object if we didn't find anything.
12905if test -z "$aix_libpath"; then
12906  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12907fi
12908fi
12909rm -f core conftest.err conftest.$ac_objext \
12910    conftest$ac_exeext conftest.$ac_ext
12911if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12912
12913	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12914	    # Warning - without using the other run time loading flags,
12915	    # -berok will link without error, but may produce a broken library.
12916	    no_undefined_flag_CXX=' ${wl}-bernotok'
12917	    allow_undefined_flag_CXX=' ${wl}-berok'
12918	    # Exported symbols can be pulled into shared objects from archives
12919	    whole_archive_flag_spec_CXX='$convenience'
12920	    archive_cmds_need_lc_CXX=yes
12921	    # This is similar to how AIX traditionally builds its shared
12922	    # libraries.
12923	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12924          fi
12925        fi
12926        ;;
12927
12928      beos*)
12929	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12930	  allow_undefined_flag_CXX=unsupported
12931	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12932	  # support --undefined.  This deserves some investigation.  FIXME
12933	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12934	else
12935	  ld_shlibs_CXX=no
12936	fi
12937	;;
12938
12939      chorus*)
12940        case $cc_basename in
12941          *)
12942	  # FIXME: insert proper C++ library support
12943	  ld_shlibs_CXX=no
12944	  ;;
12945        esac
12946        ;;
12947
12948      cygwin* | mingw* | pw32* | cegcc*)
12949        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12950        # as there is no search path for DLLs.
12951        hardcode_libdir_flag_spec_CXX='-L$libdir'
12952        allow_undefined_flag_CXX=unsupported
12953        always_export_symbols_CXX=no
12954        enable_shared_with_static_runtimes_CXX=yes
12955
12956        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12957          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12958          # If the export-symbols file already is a .def file (1st line
12959          # is EXPORTS), use it as is; otherwise, prepend...
12960          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12961	    cp $export_symbols $output_objdir/$soname.def;
12962          else
12963	    echo EXPORTS > $output_objdir/$soname.def;
12964	    cat $export_symbols >> $output_objdir/$soname.def;
12965          fi~
12966          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12967        else
12968          ld_shlibs_CXX=no
12969        fi
12970        ;;
12971      darwin* | rhapsody*)
12972        
12973  
12974  archive_cmds_need_lc_CXX=no
12975  hardcode_direct_CXX=no
12976  hardcode_automatic_CXX=yes
12977  hardcode_shlibpath_var_CXX=unsupported
12978  whole_archive_flag_spec_CXX=''
12979  link_all_deplibs_CXX=yes
12980  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12981  case $cc_basename in
12982     ifort*) _lt_dar_can_shared=yes ;;
12983     *) _lt_dar_can_shared=$GCC ;;
12984  esac
12985  if test "$_lt_dar_can_shared" = "yes"; then
12986    output_verbose_link_cmd=echo
12987    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12988    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12989    archive_expsym_cmds_CXX="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}"
12990    module_expsym_cmds_CXX="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}"
12991       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12992      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12993      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12994    fi
12995
12996  else
12997  ld_shlibs_CXX=no
12998  fi
12999
13000	;;
13001
13002      dgux*)
13003        case $cc_basename in
13004          ec++*)
13005	    # FIXME: insert proper C++ library support
13006	    ld_shlibs_CXX=no
13007	    ;;
13008          ghcx*)
13009	    # Green Hills C++ Compiler
13010	    # FIXME: insert proper C++ library support
13011	    ld_shlibs_CXX=no
13012	    ;;
13013          *)
13014	    # FIXME: insert proper C++ library support
13015	    ld_shlibs_CXX=no
13016	    ;;
13017        esac
13018        ;;
13019
13020      freebsd[12]*)
13021        # C++ shared libraries reported to be fairly broken before
13022	# switch to ELF
13023        ld_shlibs_CXX=no
13024        ;;
13025
13026      freebsd-elf*)
13027        archive_cmds_need_lc_CXX=no
13028        ;;
13029
13030      freebsd* | dragonfly*)
13031        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13032        # conventions
13033        ld_shlibs_CXX=yes
13034        ;;
13035
13036      gnu*)
13037        ;;
13038
13039      hpux9*)
13040        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13041        hardcode_libdir_separator_CXX=:
13042        export_dynamic_flag_spec_CXX='${wl}-E'
13043        hardcode_direct_CXX=yes
13044        hardcode_minus_L_CXX=yes # Not in the search PATH,
13045				             # but as the default
13046				             # location of the library.
13047
13048        case $cc_basename in
13049          CC*)
13050            # FIXME: insert proper C++ library support
13051            ld_shlibs_CXX=no
13052            ;;
13053          aCC*)
13054            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13055            # Commands to make compiler produce verbose output that lists
13056            # what "hidden" libraries, object files and flags are used when
13057            # linking a shared library.
13058            #
13059            # There doesn't appear to be a way to prevent this compiler from
13060            # explicitly linking system object files so we need to strip them
13061            # from the output so that they don't get included in the library
13062            # dependencies.
13063            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13064            ;;
13065          *)
13066            if test "$GXX" = yes; then
13067              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13068            else
13069              # FIXME: insert proper C++ library support
13070              ld_shlibs_CXX=no
13071            fi
13072            ;;
13073        esac
13074        ;;
13075
13076      hpux10*|hpux11*)
13077        if test $with_gnu_ld = no; then
13078	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13079	  hardcode_libdir_separator_CXX=:
13080
13081          case $host_cpu in
13082            hppa*64*|ia64*)
13083              ;;
13084            *)
13085	      export_dynamic_flag_spec_CXX='${wl}-E'
13086              ;;
13087          esac
13088        fi
13089        case $host_cpu in
13090          hppa*64*|ia64*)
13091            hardcode_direct_CXX=no
13092            hardcode_shlibpath_var_CXX=no
13093            ;;
13094          *)
13095            hardcode_direct_CXX=yes
13096            hardcode_direct_absolute_CXX=yes
13097            hardcode_minus_L_CXX=yes # Not in the search PATH,
13098					         # but as the default
13099					         # location of the library.
13100            ;;
13101        esac
13102
13103        case $cc_basename in
13104          CC*)
13105	    # FIXME: insert proper C++ library support
13106	    ld_shlibs_CXX=no
13107	    ;;
13108          aCC*)
13109	    case $host_cpu in
13110	      hppa*64*)
13111	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13112	        ;;
13113	      ia64*)
13114	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13115	        ;;
13116	      *)
13117	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13118	        ;;
13119	    esac
13120	    # Commands to make compiler produce verbose output that lists
13121	    # what "hidden" libraries, object files and flags are used when
13122	    # linking a shared library.
13123	    #
13124	    # There doesn't appear to be a way to prevent this compiler from
13125	    # explicitly linking system object files so we need to strip them
13126	    # from the output so that they don't get included in the library
13127	    # dependencies.
13128	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13129	    ;;
13130          *)
13131	    if test "$GXX" = yes; then
13132	      if test $with_gnu_ld = no; then
13133	        case $host_cpu in
13134	          hppa*64*)
13135	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13136	            ;;
13137	          ia64*)
13138	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13139	            ;;
13140	          *)
13141	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13142	            ;;
13143	        esac
13144	      fi
13145	    else
13146	      # FIXME: insert proper C++ library support
13147	      ld_shlibs_CXX=no
13148	    fi
13149	    ;;
13150        esac
13151        ;;
13152
13153      interix[3-9]*)
13154	hardcode_direct_CXX=no
13155	hardcode_shlibpath_var_CXX=no
13156	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13157	export_dynamic_flag_spec_CXX='${wl}-E'
13158	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13159	# Instead, shared libraries are loaded at an image base (0x10000000 by
13160	# default) and relocated if they conflict, which is a slow very memory
13161	# consuming and fragmenting process.  To avoid this, we pick a random,
13162	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13163	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13164	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13165	archive_expsym_cmds_CXX='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'
13166	;;
13167      irix5* | irix6*)
13168        case $cc_basename in
13169          CC*)
13170	    # SGI C++
13171	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13172
13173	    # Archives containing C++ object files must be created using
13174	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13175	    # necessary to make sure instantiated templates are included
13176	    # in the archive.
13177	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13178	    ;;
13179          *)
13180	    if test "$GXX" = yes; then
13181	      if test "$with_gnu_ld" = no; then
13182	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13183	      else
13184	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13185	      fi
13186	    fi
13187	    link_all_deplibs_CXX=yes
13188	    ;;
13189        esac
13190        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13191        hardcode_libdir_separator_CXX=:
13192        inherit_rpath_CXX=yes
13193        ;;
13194
13195      linux* | k*bsd*-gnu)
13196        case $cc_basename in
13197          KCC*)
13198	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13199
13200	    # KCC will only create a shared library if the output file
13201	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13202	    # to its proper name (with version) after linking.
13203	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13204	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13205	    # Commands to make compiler produce verbose output that lists
13206	    # what "hidden" libraries, object files and flags are used when
13207	    # linking a shared library.
13208	    #
13209	    # There doesn't appear to be a way to prevent this compiler from
13210	    # explicitly linking system object files so we need to strip them
13211	    # from the output so that they don't get included in the library
13212	    # dependencies.
13213	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13214
13215	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13216	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13217
13218	    # Archives containing C++ object files must be created using
13219	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13220	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13221	    ;;
13222	  icpc* | ecpc* )
13223	    # Intel C++
13224	    with_gnu_ld=yes
13225	    # version 8.0 and above of icpc choke on multiply defined symbols
13226	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13227	    # earlier do not add the objects themselves.
13228	    case `$CC -V 2>&1` in
13229	      *"Version 7."*)
13230	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13231		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13232		;;
13233	      *)  # Version 8.0 or newer
13234	        tmp_idyn=
13235	        case $host_cpu in
13236		  ia64*) tmp_idyn=' -i_dynamic';;
13237		esac
13238	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13239		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13240		;;
13241	    esac
13242	    archive_cmds_need_lc_CXX=no
13243	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13244	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13245	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13246	    ;;
13247          pgCC* | pgcpp*)
13248            # Portland Group C++ compiler
13249	    case `$CC -V` in
13250	    *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
13251	      prelink_cmds_CXX='tpldir=Template.dir~
13252		rm -rf $tpldir~
13253		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13254		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13255	      old_archive_cmds_CXX='tpldir=Template.dir~
13256		rm -rf $tpldir~
13257		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13258		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13259		$RANLIB $oldlib'
13260	      archive_cmds_CXX='tpldir=Template.dir~
13261		rm -rf $tpldir~
13262		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13263		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13264	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13265		rm -rf $tpldir~
13266		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13267		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13268	      ;;
13269	    *) # Version 6 will use weak symbols
13270	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13271	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13272	      ;;
13273	    esac
13274
13275	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13276	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13277	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13278            ;;
13279	  cxx*)
13280	    # Compaq C++
13281	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13282	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13283
13284	    runpath_var=LD_RUN_PATH
13285	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13286	    hardcode_libdir_separator_CXX=:
13287
13288	    # Commands to make compiler produce verbose output that lists
13289	    # what "hidden" libraries, object files and flags are used when
13290	    # linking a shared library.
13291	    #
13292	    # There doesn't appear to be a way to prevent this compiler from
13293	    # explicitly linking system object files so we need to strip them
13294	    # from the output so that they don't get included in the library
13295	    # dependencies.
13296	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13297	    ;;
13298	  xl*)
13299	    # IBM XL 8.0 on PPC, with GNU ld
13300	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13301	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13302	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13303	    if test "x$supports_anon_versioning" = xyes; then
13304	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13305		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13306		echo "local: *; };" >> $output_objdir/$libname.ver~
13307		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13308	    fi
13309	    ;;
13310	  *)
13311	    case `$CC -V 2>&1 | sed 5q` in
13312	    *Sun\ C*)
13313	      # Sun C++ 5.9
13314	      no_undefined_flag_CXX=' -zdefs'
13315	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13316	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13317	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13318	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13319	      compiler_needs_object_CXX=yes
13320
13321	      # Not sure whether something based on
13322	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13323	      # would be better.
13324	      output_verbose_link_cmd='echo'
13325
13326	      # Archives containing C++ object files must be created using
13327	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13328	      # necessary to make sure instantiated templates are included
13329	      # in the archive.
13330	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13331	      ;;
13332	    esac
13333	    ;;
13334	esac
13335	;;
13336
13337      lynxos*)
13338        # FIXME: insert proper C++ library support
13339	ld_shlibs_CXX=no
13340	;;
13341
13342      m88k*)
13343        # FIXME: insert proper C++ library support
13344        ld_shlibs_CXX=no
13345	;;
13346
13347      mvs*)
13348        case $cc_basename in
13349          cxx*)
13350	    # FIXME: insert proper C++ library support
13351	    ld_shlibs_CXX=no
13352	    ;;
13353	  *)
13354	    # FIXME: insert proper C++ library support
13355	    ld_shlibs_CXX=no
13356	    ;;
13357	esac
13358	;;
13359
13360      netbsd*)
13361        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13362	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13363	  wlarc=
13364	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13365	  hardcode_direct_CXX=yes
13366	  hardcode_shlibpath_var_CXX=no
13367	fi
13368	# Workaround some broken pre-1.5 toolchains
13369	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13370	;;
13371
13372      *nto* | *qnx*)
13373        ld_shlibs_CXX=yes
13374	;;
13375
13376      openbsd2*)
13377        # C++ shared libraries are fairly broken
13378	ld_shlibs_CXX=no
13379	;;
13380
13381      openbsd*)
13382	if test -f /usr/libexec/ld.so; then
13383	  hardcode_direct_CXX=yes
13384	  hardcode_shlibpath_var_CXX=no
13385	  hardcode_direct_absolute_CXX=yes
13386	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13387	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13388	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13389	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13390	    export_dynamic_flag_spec_CXX='${wl}-E'
13391	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13392	  fi
13393	  output_verbose_link_cmd=echo
13394	else
13395	  ld_shlibs_CXX=no
13396	fi
13397	;;
13398
13399      osf3* | osf4* | osf5*)
13400        case $cc_basename in
13401          KCC*)
13402	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13403
13404	    # KCC will only create a shared library if the output file
13405	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13406	    # to its proper name (with version) after linking.
13407	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13408
13409	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13410	    hardcode_libdir_separator_CXX=:
13411
13412	    # Archives containing C++ object files must be created using
13413	    # the KAI C++ compiler.
13414	    case $host in
13415	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13416	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13417	    esac
13418	    ;;
13419          RCC*)
13420	    # Rational C++ 2.4.1
13421	    # FIXME: insert proper C++ library support
13422	    ld_shlibs_CXX=no
13423	    ;;
13424          cxx*)
13425	    case $host in
13426	      osf3*)
13427	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13428	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13429	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13430		;;
13431	      *)
13432	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13433	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13434	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13435	          echo "-hidden">> $lib.exp~
13436	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13437	          $RM $lib.exp'
13438	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13439		;;
13440	    esac
13441
13442	    hardcode_libdir_separator_CXX=:
13443
13444	    # Commands to make compiler produce verbose output that lists
13445	    # what "hidden" libraries, object files and flags are used when
13446	    # linking a shared library.
13447	    #
13448	    # There doesn't appear to be a way to prevent this compiler from
13449	    # explicitly linking system object files so we need to strip them
13450	    # from the output so that they don't get included in the library
13451	    # dependencies.
13452	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13453	    ;;
13454	  *)
13455	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13456	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13457	      case $host in
13458	        osf3*)
13459	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13460		  ;;
13461	        *)
13462	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13463		  ;;
13464	      esac
13465
13466	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13467	      hardcode_libdir_separator_CXX=:
13468
13469	      # Commands to make compiler produce verbose output that lists
13470	      # what "hidden" libraries, object files and flags are used when
13471	      # linking a shared library.
13472	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13473
13474	    else
13475	      # FIXME: insert proper C++ library support
13476	      ld_shlibs_CXX=no
13477	    fi
13478	    ;;
13479        esac
13480        ;;
13481
13482      psos*)
13483        # FIXME: insert proper C++ library support
13484        ld_shlibs_CXX=no
13485        ;;
13486
13487      sunos4*)
13488        case $cc_basename in
13489          CC*)
13490	    # Sun C++ 4.x
13491	    # FIXME: insert proper C++ library support
13492	    ld_shlibs_CXX=no
13493	    ;;
13494          lcc*)
13495	    # Lucid
13496	    # FIXME: insert proper C++ library support
13497	    ld_shlibs_CXX=no
13498	    ;;
13499          *)
13500	    # FIXME: insert proper C++ library support
13501	    ld_shlibs_CXX=no
13502	    ;;
13503        esac
13504        ;;
13505
13506      solaris*)
13507        case $cc_basename in
13508          CC*)
13509	    # Sun C++ 4.2, 5.x and Centerline C++
13510            archive_cmds_need_lc_CXX=yes
13511	    no_undefined_flag_CXX=' -zdefs'
13512	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13513	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13514	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13515
13516	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13517	    hardcode_shlibpath_var_CXX=no
13518	    case $host_os in
13519	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13520	      *)
13521		# The compiler driver will combine and reorder linker options,
13522		# but understands `-z linker_flag'.
13523	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13524		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13525	        ;;
13526	    esac
13527	    link_all_deplibs_CXX=yes
13528
13529	    output_verbose_link_cmd='echo'
13530
13531	    # Archives containing C++ object files must be created using
13532	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13533	    # necessary to make sure instantiated templates are included
13534	    # in the archive.
13535	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13536	    ;;
13537          gcx*)
13538	    # Green Hills C++ Compiler
13539	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13540
13541	    # The C++ compiler must be used to create the archive.
13542	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13543	    ;;
13544          *)
13545	    # GNU C++ compiler with Solaris linker
13546	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13547	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13548	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13549	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13550	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13551		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13552
13553	        # Commands to make compiler produce verbose output that lists
13554	        # what "hidden" libraries, object files and flags are used when
13555	        # linking a shared library.
13556	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13557	      else
13558	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13559	        # platform.
13560	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13561	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13562		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13563
13564	        # Commands to make compiler produce verbose output that lists
13565	        # what "hidden" libraries, object files and flags are used when
13566	        # linking a shared library.
13567	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13568	      fi
13569
13570	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13571	      case $host_os in
13572		solaris2.[0-5] | solaris2.[0-5].*) ;;
13573		*)
13574		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13575		  ;;
13576	      esac
13577	    fi
13578	    ;;
13579        esac
13580        ;;
13581
13582    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13583      no_undefined_flag_CXX='${wl}-z,text'
13584      archive_cmds_need_lc_CXX=no
13585      hardcode_shlibpath_var_CXX=no
13586      runpath_var='LD_RUN_PATH'
13587
13588      case $cc_basename in
13589        CC*)
13590	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13591	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13592	  ;;
13593	*)
13594	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13595	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13596	  ;;
13597      esac
13598      ;;
13599
13600      sysv5* | sco3.2v5* | sco5v6*)
13601	# Note: We can NOT use -z defs as we might desire, because we do not
13602	# link with -lc, and that would cause any symbols used from libc to
13603	# always be unresolved, which means just about no library would
13604	# ever link correctly.  If we're not using GNU ld we use -z text
13605	# though, which does catch some bad symbols but isn't as heavy-handed
13606	# as -z defs.
13607	no_undefined_flag_CXX='${wl}-z,text'
13608	allow_undefined_flag_CXX='${wl}-z,nodefs'
13609	archive_cmds_need_lc_CXX=no
13610	hardcode_shlibpath_var_CXX=no
13611	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13612	hardcode_libdir_separator_CXX=':'
13613	link_all_deplibs_CXX=yes
13614	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13615	runpath_var='LD_RUN_PATH'
13616
13617	case $cc_basename in
13618          CC*)
13619	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13620	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13621	    ;;
13622	  *)
13623	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13624	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13625	    ;;
13626	esac
13627      ;;
13628
13629      tandem*)
13630        case $cc_basename in
13631          NCC*)
13632	    # NonStop-UX NCC 3.20
13633	    # FIXME: insert proper C++ library support
13634	    ld_shlibs_CXX=no
13635	    ;;
13636          *)
13637	    # FIXME: insert proper C++ library support
13638	    ld_shlibs_CXX=no
13639	    ;;
13640        esac
13641        ;;
13642
13643      vxworks*)
13644        # FIXME: insert proper C++ library support
13645        ld_shlibs_CXX=no
13646        ;;
13647
13648      *)
13649        # FIXME: insert proper C++ library support
13650        ld_shlibs_CXX=no
13651        ;;
13652    esac
13653
13654    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13655$as_echo "$ld_shlibs_CXX" >&6; }
13656    test "$ld_shlibs_CXX" = no && can_build_shared=no
13657
13658    GCC_CXX="$GXX"
13659    LD_CXX="$LD"
13660
13661    ## CAVEAT EMPTOR:
13662    ## There is no encapsulation within the following macros, do not change
13663    ## the running order or otherwise move them around unless you know exactly
13664    ## what you are doing...
13665    # Dependencies to place before and after the object being linked:
13666predep_objects_CXX=
13667postdep_objects_CXX=
13668predeps_CXX=
13669postdeps_CXX=
13670compiler_lib_search_path_CXX=
13671
13672cat > conftest.$ac_ext <<_LT_EOF
13673class Foo
13674{
13675public:
13676  Foo (void) { a = 0; }
13677private:
13678  int a;
13679};
13680_LT_EOF
13681
13682if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13683  (eval $ac_compile) 2>&5
13684  ac_status=$?
13685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13686  test $ac_status = 0; }; then
13687  # Parse the compiler output and extract the necessary
13688  # objects, libraries and library flags.
13689
13690  # Sentinel used to keep track of whether or not we are before
13691  # the conftest object file.
13692  pre_test_object_deps_done=no
13693
13694  for p in `eval "$output_verbose_link_cmd"`; do
13695    case $p in
13696
13697    -L* | -R* | -l*)
13698       # Some compilers place space between "-{L,R}" and the path.
13699       # Remove the space.
13700       if test $p = "-L" ||
13701          test $p = "-R"; then
13702	 prev=$p
13703	 continue
13704       else
13705	 prev=
13706       fi
13707
13708       if test "$pre_test_object_deps_done" = no; then
13709	 case $p in
13710	 -L* | -R*)
13711	   # Internal compiler library paths should come after those
13712	   # provided the user.  The postdeps already come after the
13713	   # user supplied libs so there is no need to process them.
13714	   if test -z "$compiler_lib_search_path_CXX"; then
13715	     compiler_lib_search_path_CXX="${prev}${p}"
13716	   else
13717	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13718	   fi
13719	   ;;
13720	 # The "-l" case would never come before the object being
13721	 # linked, so don't bother handling this case.
13722	 esac
13723       else
13724	 if test -z "$postdeps_CXX"; then
13725	   postdeps_CXX="${prev}${p}"
13726	 else
13727	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13728	 fi
13729       fi
13730       ;;
13731
13732    *.$objext)
13733       # This assumes that the test object file only shows up
13734       # once in the compiler output.
13735       if test "$p" = "conftest.$objext"; then
13736	 pre_test_object_deps_done=yes
13737	 continue
13738       fi
13739
13740       if test "$pre_test_object_deps_done" = no; then
13741	 if test -z "$predep_objects_CXX"; then
13742	   predep_objects_CXX="$p"
13743	 else
13744	   predep_objects_CXX="$predep_objects_CXX $p"
13745	 fi
13746       else
13747	 if test -z "$postdep_objects_CXX"; then
13748	   postdep_objects_CXX="$p"
13749	 else
13750	   postdep_objects_CXX="$postdep_objects_CXX $p"
13751	 fi
13752       fi
13753       ;;
13754
13755    *) ;; # Ignore the rest.
13756
13757    esac
13758  done
13759
13760  # Clean up.
13761  rm -f a.out a.exe
13762else
13763  echo "libtool.m4: error: problem compiling CXX test program"
13764fi
13765
13766$RM -f confest.$objext
13767
13768# PORTME: override above test on systems where it is broken
13769case $host_os in
13770interix[3-9]*)
13771  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13772  # hack all around it, let's just trust "g++" to DTRT.
13773  predep_objects_CXX=
13774  postdep_objects_CXX=
13775  postdeps_CXX=
13776  ;;
13777
13778linux*)
13779  case `$CC -V 2>&1 | sed 5q` in
13780  *Sun\ C*)
13781    # Sun C++ 5.9
13782
13783    # The more standards-conforming stlport4 library is
13784    # incompatible with the Cstd library. Avoid specifying
13785    # it if it's in CXXFLAGS. Ignore libCrun as
13786    # -library=stlport4 depends on it.
13787    case " $CXX $CXXFLAGS " in
13788    *" -library=stlport4 "*)
13789      solaris_use_stlport4=yes
13790      ;;
13791    esac
13792
13793    if test "$solaris_use_stlport4" != yes; then
13794      postdeps_CXX='-library=Cstd -library=Crun'
13795    fi
13796    ;;
13797  esac
13798  ;;
13799
13800solaris*)
13801  case $cc_basename in
13802  CC*)
13803    # The more standards-conforming stlport4 library is
13804    # incompatible with the Cstd library. Avoid specifying
13805    # it if it's in CXXFLAGS. Ignore libCrun as
13806    # -library=stlport4 depends on it.
13807    case " $CXX $CXXFLAGS " in
13808    *" -library=stlport4 "*)
13809      solaris_use_stlport4=yes
13810      ;;
13811    esac
13812
13813    # Adding this requires a known-good setup of shared libraries for
13814    # Sun compiler versions before 5.6, else PIC objects from an old
13815    # archive will be linked into the output, leading to subtle bugs.
13816    if test "$solaris_use_stlport4" != yes; then
13817      postdeps_CXX='-library=Cstd -library=Crun'
13818    fi
13819    ;;
13820  esac
13821  ;;
13822esac
13823
13824
13825case " $postdeps_CXX " in
13826*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13827esac
13828 compiler_lib_search_dirs_CXX=
13829if test -n "${compiler_lib_search_path_CXX}"; then
13830 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13831fi
13832
13833    
13834    
13835    
13836
13837
13838    
13839    
13840    
13841
13842
13843    
13844    
13845    
13846
13847
13848    
13849    
13850    
13851
13852
13853    
13854    
13855    
13856
13857
13858    
13859    
13860    
13861
13862
13863    lt_prog_compiler_wl_CXX=
13864lt_prog_compiler_pic_CXX=
13865lt_prog_compiler_static_CXX=
13866
13867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13868$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13869
13870  # C++ specific cases for pic, static, wl, etc.
13871  if test "$GXX" = yes; then
13872    lt_prog_compiler_wl_CXX='-Wl,'
13873    lt_prog_compiler_static_CXX='-static'
13874
13875    case $host_os in
13876    aix*)
13877      # All AIX code is PIC.
13878      if test "$host_cpu" = ia64; then
13879	# AIX 5 now supports IA64 processor
13880	lt_prog_compiler_static_CXX='-Bstatic'
13881      fi
13882      ;;
13883
13884    amigaos*)
13885      case $host_cpu in
13886      powerpc)
13887            # see comment about AmigaOS4 .so support
13888            lt_prog_compiler_pic_CXX='-fPIC'
13889        ;;
13890      m68k)
13891            # FIXME: we need at least 68020 code to build shared libraries, but
13892            # adding the `-m68020' flag to GCC prevents building anything better,
13893            # like `-m68040'.
13894            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13895        ;;
13896      esac
13897      ;;
13898
13899    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13900      # PIC is the default for these OSes.
13901      ;;
13902    mingw* | cygwin* | os2* | pw32* | cegcc*)
13903      # This hack is so that the source file can tell whether it is being
13904      # built for inclusion in a dll (and should export symbols for example).
13905      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13906      # (--disable-auto-import) libraries
13907      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13908      ;;
13909    darwin* | rhapsody*)
13910      # PIC is the default on this platform
13911      # Common symbols not allowed in MH_DYLIB files
13912      lt_prog_compiler_pic_CXX='-fno-common'
13913      ;;
13914    *djgpp*)
13915      # DJGPP does not support shared libraries at all
13916      lt_prog_compiler_pic_CXX=
13917      ;;
13918    interix[3-9]*)
13919      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13920      # Instead, we relocate shared libraries at runtime.
13921      ;;
13922    sysv4*MP*)
13923      if test -d /usr/nec; then
13924	lt_prog_compiler_pic_CXX=-Kconform_pic
13925      fi
13926      ;;
13927    hpux*)
13928      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13929      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13930      # sets the default TLS model and affects inlining.
13931      case $host_cpu in
13932      hppa*64*)
13933	;;
13934      *)
13935	lt_prog_compiler_pic_CXX='-fPIC'
13936	;;
13937      esac
13938      ;;
13939    *qnx* | *nto*)
13940      # QNX uses GNU C++, but need to define -shared option too, otherwise
13941      # it will coredump.
13942      lt_prog_compiler_pic_CXX='-fPIC -shared'
13943      ;;
13944    *)
13945      lt_prog_compiler_pic_CXX='-fPIC'
13946      ;;
13947    esac
13948  else
13949    case $host_os in
13950      aix[4-9]*)
13951	# All AIX code is PIC.
13952	if test "$host_cpu" = ia64; then
13953	  # AIX 5 now supports IA64 processor
13954	  lt_prog_compiler_static_CXX='-Bstatic'
13955	else
13956	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13957	fi
13958	;;
13959      chorus*)
13960	case $cc_basename in
13961	cxch68*)
13962	  # Green Hills C++ Compiler
13963	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13964	  ;;
13965	esac
13966	;;
13967      dgux*)
13968	case $cc_basename in
13969	  ec++*)
13970	    lt_prog_compiler_pic_CXX='-KPIC'
13971	    ;;
13972	  ghcx*)
13973	    # Green Hills C++ Compiler
13974	    lt_prog_compiler_pic_CXX='-pic'
13975	    ;;
13976	  *)
13977	    ;;
13978	esac
13979	;;
13980      freebsd* | dragonfly*)
13981	# FreeBSD uses GNU C++
13982	;;
13983      hpux9* | hpux10* | hpux11*)
13984	case $cc_basename in
13985	  CC*)
13986	    lt_prog_compiler_wl_CXX='-Wl,'
13987	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13988	    if test "$host_cpu" != ia64; then
13989	      lt_prog_compiler_pic_CXX='+Z'
13990	    fi
13991	    ;;
13992	  aCC*)
13993	    lt_prog_compiler_wl_CXX='-Wl,'
13994	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13995	    case $host_cpu in
13996	    hppa*64*|ia64*)
13997	      # +Z the default
13998	      ;;
13999	    *)
14000	      lt_prog_compiler_pic_CXX='+Z'
14001	      ;;
14002	    esac
14003	    ;;
14004	  *)
14005	    ;;
14006	esac
14007	;;
14008      interix*)
14009	# This is c89, which is MS Visual C++ (no shared libs)
14010	# Anyone wants to do a port?
14011	;;
14012      irix5* | irix6* | nonstopux*)
14013	case $cc_basename in
14014	  CC*)
14015	    lt_prog_compiler_wl_CXX='-Wl,'
14016	    lt_prog_compiler_static_CXX='-non_shared'
14017	    # CC pic flag -KPIC is the default.
14018	    ;;
14019	  *)
14020	    ;;
14021	esac
14022	;;
14023      linux* | k*bsd*-gnu)
14024	case $cc_basename in
14025	  KCC*)
14026	    # KAI C++ Compiler
14027	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14028	    lt_prog_compiler_pic_CXX='-fPIC'
14029	    ;;
14030	  ecpc* )
14031	    # old Intel C++ for x86_64 which still supported -KPIC.
14032	    lt_prog_compiler_wl_CXX='-Wl,'
14033	    lt_prog_compiler_pic_CXX='-KPIC'
14034	    lt_prog_compiler_static_CXX='-static'
14035	    ;;
14036	  icpc* )
14037	    # Intel C++, used to be incompatible with GCC.
14038	    # ICC 10 doesn't accept -KPIC any more.
14039	    lt_prog_compiler_wl_CXX='-Wl,'
14040	    lt_prog_compiler_pic_CXX='-fPIC'
14041	    lt_prog_compiler_static_CXX='-static'
14042	    ;;
14043	  pgCC* | pgcpp*)
14044	    # Portland Group C++ compiler
14045	    lt_prog_compiler_wl_CXX='-Wl,'
14046	    lt_prog_compiler_pic_CXX='-fpic'
14047	    lt_prog_compiler_static_CXX='-Bstatic'
14048	    ;;
14049	  cxx*)
14050	    # Compaq C++
14051	    # Make sure the PIC flag is empty.  It appears that all Alpha
14052	    # Linux and Compaq Tru64 Unix objects are PIC.
14053	    lt_prog_compiler_pic_CXX=
14054	    lt_prog_compiler_static_CXX='-non_shared'
14055	    ;;
14056	  xlc* | xlC*)
14057	    # IBM XL 8.0 on PPC
14058	    lt_prog_compiler_wl_CXX='-Wl,'
14059	    lt_prog_compiler_pic_CXX='-qpic'
14060	    lt_prog_compiler_static_CXX='-qstaticlink'
14061	    ;;
14062	  *)
14063	    case `$CC -V 2>&1 | sed 5q` in
14064	    *Sun\ C*)
14065	      # Sun C++ 5.9
14066	      lt_prog_compiler_pic_CXX='-KPIC'
14067	      lt_prog_compiler_static_CXX='-Bstatic'
14068	      lt_prog_compiler_wl_CXX='-Qoption ld '
14069	      ;;
14070	    esac
14071	    ;;
14072	esac
14073	;;
14074      lynxos*)
14075	;;
14076      m88k*)
14077	;;
14078      mvs*)
14079	case $cc_basename in
14080	  cxx*)
14081	    lt_prog_compiler_pic_CXX='-W c,exportall'
14082	    ;;
14083	  *)
14084	    ;;
14085	esac
14086	;;
14087      netbsd*)
14088	;;
14089      *qnx* | *nto*)
14090        # QNX uses GNU C++, but need to define -shared option too, otherwise
14091        # it will coredump.
14092        lt_prog_compiler_pic_CXX='-fPIC -shared'
14093        ;;
14094      osf3* | osf4* | osf5*)
14095	case $cc_basename in
14096	  KCC*)
14097	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14098	    ;;
14099	  RCC*)
14100	    # Rational C++ 2.4.1
14101	    lt_prog_compiler_pic_CXX='-pic'
14102	    ;;
14103	  cxx*)
14104	    # Digital/Compaq C++
14105	    lt_prog_compiler_wl_CXX='-Wl,'
14106	    # Make sure the PIC flag is empty.  It appears that all Alpha
14107	    # Linux and Compaq Tru64 Unix objects are PIC.
14108	    lt_prog_compiler_pic_CXX=
14109	    lt_prog_compiler_static_CXX='-non_shared'
14110	    ;;
14111	  *)
14112	    ;;
14113	esac
14114	;;
14115      psos*)
14116	;;
14117      solaris*)
14118	case $cc_basename in
14119	  CC*)
14120	    # Sun C++ 4.2, 5.x and Centerline C++
14121	    lt_prog_compiler_pic_CXX='-KPIC'
14122	    lt_prog_compiler_static_CXX='-Bstatic'
14123	    lt_prog_compiler_wl_CXX='-Qoption ld '
14124	    ;;
14125	  gcx*)
14126	    # Green Hills C++ Compiler
14127	    lt_prog_compiler_pic_CXX='-PIC'
14128	    ;;
14129	  *)
14130	    ;;
14131	esac
14132	;;
14133      sunos4*)
14134	case $cc_basename in
14135	  CC*)
14136	    # Sun C++ 4.x
14137	    lt_prog_compiler_pic_CXX='-pic'
14138	    lt_prog_compiler_static_CXX='-Bstatic'
14139	    ;;
14140	  lcc*)
14141	    # Lucid
14142	    lt_prog_compiler_pic_CXX='-pic'
14143	    ;;
14144	  *)
14145	    ;;
14146	esac
14147	;;
14148      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14149	case $cc_basename in
14150	  CC*)
14151	    lt_prog_compiler_wl_CXX='-Wl,'
14152	    lt_prog_compiler_pic_CXX='-KPIC'
14153	    lt_prog_compiler_static_CXX='-Bstatic'
14154	    ;;
14155	esac
14156	;;
14157      tandem*)
14158	case $cc_basename in
14159	  NCC*)
14160	    # NonStop-UX NCC 3.20
14161	    lt_prog_compiler_pic_CXX='-KPIC'
14162	    ;;
14163	  *)
14164	    ;;
14165	esac
14166	;;
14167      vxworks*)
14168	;;
14169      *)
14170	lt_prog_compiler_can_build_shared_CXX=no
14171	;;
14172    esac
14173  fi
14174
14175case $host_os in
14176  # For platforms which do not support PIC, -DPIC is meaningless:
14177  *djgpp*)
14178    lt_prog_compiler_pic_CXX=
14179    ;;
14180  *)
14181    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
14182    ;;
14183esac
14184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14185$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14186
14187
14188
14189#
14190# Check to make sure the PIC flag actually works.
14191#
14192if test -n "$lt_prog_compiler_pic_CXX"; then
14193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14194$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14195if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14196  $as_echo_n "(cached) " >&6
14197else
14198  lt_cv_prog_compiler_pic_works_CXX=no
14199   ac_outfile=conftest.$ac_objext
14200   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14201   lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
14202   # Insert the option either (1) after the last *FLAGS variable, or
14203   # (2) before a word containing "conftest.", or (3) at the end.
14204   # Note that $ac_compile itself does not contain backslashes and begins
14205   # with a dollar sign (not a hyphen), so the echo should work correctly.
14206   # The option is referenced via a variable to avoid confusing sed.
14207   lt_compile=`echo "$ac_compile" | $SED \
14208   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14209   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14210   -e 's:$: $lt_compiler_flag:'`
14211   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14212   (eval "$lt_compile" 2>conftest.err)
14213   ac_status=$?
14214   cat conftest.err >&5
14215   echo "$as_me:__oline__: \$? = $ac_status" >&5
14216   if (exit $ac_status) && test -s "$ac_outfile"; then
14217     # The compiler can only warn and ignore the option if not recognized
14218     # So say no if there are warnings other than the usual output.
14219     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14220     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14221     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14222       lt_cv_prog_compiler_pic_works_CXX=yes
14223     fi
14224   fi
14225   $RM conftest*
14226
14227fi
14228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14229$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14230
14231if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14232    case $lt_prog_compiler_pic_CXX in
14233     "" | " "*) ;;
14234     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14235     esac
14236else
14237    lt_prog_compiler_pic_CXX=
14238     lt_prog_compiler_can_build_shared_CXX=no
14239fi
14240
14241fi
14242
14243
14244
14245#
14246# Check to make sure the static flag actually works.
14247#
14248wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14250$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14251if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14252  $as_echo_n "(cached) " >&6
14253else
14254  lt_cv_prog_compiler_static_works_CXX=no
14255   save_LDFLAGS="$LDFLAGS"
14256   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14257   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14258   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14259     # The linker can only warn and ignore the option if not recognized
14260     # So say no if there are warnings
14261     if test -s conftest.err; then
14262       # Append any errors to the config.log.
14263       cat conftest.err 1>&5
14264       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14265       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14266       if diff conftest.exp conftest.er2 >/dev/null; then
14267         lt_cv_prog_compiler_static_works_CXX=yes
14268       fi
14269     else
14270       lt_cv_prog_compiler_static_works_CXX=yes
14271     fi
14272   fi
14273   $RM -r conftest*
14274   LDFLAGS="$save_LDFLAGS"
14275
14276fi
14277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14278$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14279
14280if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14281    :
14282else
14283    lt_prog_compiler_static_CXX=
14284fi
14285
14286
14287
14288
14289    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14290$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14291if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14292  $as_echo_n "(cached) " >&6
14293else
14294  lt_cv_prog_compiler_c_o_CXX=no
14295   $RM -r conftest 2>/dev/null
14296   mkdir conftest
14297   cd conftest
14298   mkdir out
14299   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14300
14301   lt_compiler_flag="-o out/conftest2.$ac_objext"
14302   # Insert the option either (1) after the last *FLAGS variable, or
14303   # (2) before a word containing "conftest.", or (3) at the end.
14304   # Note that $ac_compile itself does not contain backslashes and begins
14305   # with a dollar sign (not a hyphen), so the echo should work correctly.
14306   lt_compile=`echo "$ac_compile" | $SED \
14307   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14308   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14309   -e 's:$: $lt_compiler_flag:'`
14310   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14311   (eval "$lt_compile" 2>out/conftest.err)
14312   ac_status=$?
14313   cat out/conftest.err >&5
14314   echo "$as_me:__oline__: \$? = $ac_status" >&5
14315   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14316   then
14317     # The compiler can only warn and ignore the option if not recognized
14318     # So say no if there are warnings
14319     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14320     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14321     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14322       lt_cv_prog_compiler_c_o_CXX=yes
14323     fi
14324   fi
14325   chmod u+w . 2>&5
14326   $RM conftest*
14327   # SGI C++ compiler will create directory out/ii_files/ for
14328   # template instantiation
14329   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14330   $RM out/* && rmdir out
14331   cd ..
14332   $RM -r conftest
14333   $RM conftest*
14334
14335fi
14336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14337$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14338
14339
14340
14341    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14342$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14343if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14344  $as_echo_n "(cached) " >&6
14345else
14346  lt_cv_prog_compiler_c_o_CXX=no
14347   $RM -r conftest 2>/dev/null
14348   mkdir conftest
14349   cd conftest
14350   mkdir out
14351   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14352
14353   lt_compiler_flag="-o out/conftest2.$ac_objext"
14354   # Insert the option either (1) after the last *FLAGS variable, or
14355   # (2) before a word containing "conftest.", or (3) at the end.
14356   # Note that $ac_compile itself does not contain backslashes and begins
14357   # with a dollar sign (not a hyphen), so the echo should work correctly.
14358   lt_compile=`echo "$ac_compile" | $SED \
14359   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14360   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14361   -e 's:$: $lt_compiler_flag:'`
14362   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14363   (eval "$lt_compile" 2>out/conftest.err)
14364   ac_status=$?
14365   cat out/conftest.err >&5
14366   echo "$as_me:__oline__: \$? = $ac_status" >&5
14367   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14368   then
14369     # The compiler can only warn and ignore the option if not recognized
14370     # So say no if there are warnings
14371     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14372     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14373     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14374       lt_cv_prog_compiler_c_o_CXX=yes
14375     fi
14376   fi
14377   chmod u+w . 2>&5
14378   $RM conftest*
14379   # SGI C++ compiler will create directory out/ii_files/ for
14380   # template instantiation
14381   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14382   $RM out/* && rmdir out
14383   cd ..
14384   $RM -r conftest
14385   $RM conftest*
14386
14387fi
14388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14389$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14390
14391
14392
14393
14394hard_links="nottested"
14395if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14396  # do not overwrite the value of need_locks provided by the user
14397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14398$as_echo_n "checking if we can lock with hard links... " >&6; }
14399  hard_links=yes
14400  $RM conftest*
14401  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14402  touch conftest.a
14403  ln conftest.a conftest.b 2>&5 || hard_links=no
14404  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14406$as_echo "$hard_links" >&6; }
14407  if test "$hard_links" = no; then
14408    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14409$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14410    need_locks=warn
14411  fi
14412else
14413  need_locks=no
14414fi
14415
14416
14417
14418    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14419$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14420
14421  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14422  case $host_os in
14423  aix[4-9]*)
14424    # If we're using GNU nm, then we don't want the "-C" option.
14425    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14426    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14427      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14428    else
14429      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14430    fi
14431    ;;
14432  pw32*)
14433    export_symbols_cmds_CXX="$ltdll_cmds"
14434  ;;
14435  cygwin* | mingw* | cegcc*)
14436    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14437  ;;
14438  *)
14439    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14440  ;;
14441  esac
14442  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14443
14444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14445$as_echo "$ld_shlibs_CXX" >&6; }
14446test "$ld_shlibs_CXX" = no && can_build_shared=no
14447
14448with_gnu_ld_CXX=$with_gnu_ld
14449
14450
14451
14452
14453
14454
14455#
14456# Do we need to explicitly link libc?
14457#
14458case "x$archive_cmds_need_lc_CXX" in
14459x|xyes)
14460  # Assume -lc should be added
14461  archive_cmds_need_lc_CXX=yes
14462
14463  if test "$enable_shared" = yes && test "$GCC" = yes; then
14464    case $archive_cmds_CXX in
14465    *'~'*)
14466      # FIXME: we may have to deal with multi-command sequences.
14467      ;;
14468    '$CC '*)
14469      # Test whether the compiler implicitly links with -lc since on some
14470      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14471      # to ld, don't add -lc before -lgcc.
14472      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14473$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14474      $RM conftest*
14475      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14476
14477      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14478  (eval $ac_compile) 2>&5
14479  ac_status=$?
14480  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14481  test $ac_status = 0; } 2>conftest.err; then
14482        soname=conftest
14483        lib=conftest
14484        libobjs=conftest.$ac_objext
14485        deplibs=
14486        wl=$lt_prog_compiler_wl_CXX
14487	pic_flag=$lt_prog_compiler_pic_CXX
14488        compiler_flags=-v
14489        linker_flags=-v
14490        verstring=
14491        output_objdir=.
14492        libname=conftest
14493        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14494        allow_undefined_flag_CXX=
14495        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14496  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14497  ac_status=$?
14498  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14499  test $ac_status = 0; }
14500        then
14501	  archive_cmds_need_lc_CXX=no
14502        else
14503	  archive_cmds_need_lc_CXX=yes
14504        fi
14505        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14506      else
14507        cat conftest.err 1>&5
14508      fi
14509      $RM conftest*
14510      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14511$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14512      ;;
14513    esac
14514  fi
14515  ;;
14516esac
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14582$as_echo_n "checking dynamic linker characteristics... " >&6; }
14583
14584library_names_spec=
14585libname_spec='lib$name'
14586soname_spec=
14587shrext_cmds=".so"
14588postinstall_cmds=
14589postuninstall_cmds=
14590finish_cmds=
14591finish_eval=
14592shlibpath_var=
14593shlibpath_overrides_runpath=unknown
14594version_type=none
14595dynamic_linker="$host_os ld.so"
14596sys_lib_dlsearch_path_spec="/lib /usr/lib"
14597need_lib_prefix=unknown
14598hardcode_into_libs=no
14599
14600# when you set need_version to no, make sure it does not cause -set_version
14601# flags to be left without arguments
14602need_version=unknown
14603
14604case $host_os in
14605aix3*)
14606  version_type=linux
14607  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14608  shlibpath_var=LIBPATH
14609
14610  # AIX 3 has no versioning support, so we append a major version to the name.
14611  soname_spec='${libname}${release}${shared_ext}$major'
14612  ;;
14613
14614aix[4-9]*)
14615  version_type=linux
14616  need_lib_prefix=no
14617  need_version=no
14618  hardcode_into_libs=yes
14619  if test "$host_cpu" = ia64; then
14620    # AIX 5 supports IA64
14621    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14622    shlibpath_var=LD_LIBRARY_PATH
14623  else
14624    # With GCC up to 2.95.x, collect2 would create an import file
14625    # for dependence libraries.  The import file would start with
14626    # the line `#! .'.  This would cause the generated library to
14627    # depend on `.', always an invalid library.  This was fixed in
14628    # development snapshots of GCC prior to 3.0.
14629    case $host_os in
14630      aix4 | aix4.[01] | aix4.[01].*)
14631      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14632	   echo ' yes '
14633	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14634	:
14635      else
14636	can_build_shared=no
14637      fi
14638      ;;
14639    esac
14640    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14641    # soname into executable. Probably we can add versioning support to
14642    # collect2, so additional links can be useful in future.
14643    if test "$aix_use_runtimelinking" = yes; then
14644      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14645      # instead of lib<name>.a to let people know that these are not
14646      # typical AIX shared libraries.
14647      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14648    else
14649      # We preserve .a as extension for shared libraries through AIX4.2
14650      # and later when we are not doing run time linking.
14651      library_names_spec='${libname}${release}.a $libname.a'
14652      soname_spec='${libname}${release}${shared_ext}$major'
14653    fi
14654    shlibpath_var=LIBPATH
14655  fi
14656  ;;
14657
14658amigaos*)
14659  case $host_cpu in
14660  powerpc)
14661    # Since July 2007 AmigaOS4 officially supports .so libraries.
14662    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14663    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664    ;;
14665  m68k)
14666    library_names_spec='$libname.ixlibrary $libname.a'
14667    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14668    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14669    ;;
14670  esac
14671  ;;
14672
14673beos*)
14674  library_names_spec='${libname}${shared_ext}'
14675  dynamic_linker="$host_os ld.so"
14676  shlibpath_var=LIBRARY_PATH
14677  ;;
14678
14679bsdi[45]*)
14680  version_type=linux
14681  need_version=no
14682  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14683  soname_spec='${libname}${release}${shared_ext}$major'
14684  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14685  shlibpath_var=LD_LIBRARY_PATH
14686  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14687  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14688  # the default ld.so.conf also contains /usr/contrib/lib and
14689  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14690  # libtool to hard-code these into programs
14691  ;;
14692
14693cygwin* | mingw* | pw32* | cegcc*)
14694  version_type=windows
14695  shrext_cmds=".dll"
14696  need_version=no
14697  need_lib_prefix=no
14698
14699  case $GCC,$host_os in
14700  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14701    library_names_spec='$libname.dll.a'
14702    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14703    postinstall_cmds='base_file=`basename \${file}`~
14704      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14705      dldir=$destdir/`dirname \$dlpath`~
14706      test -d \$dldir || mkdir -p \$dldir~
14707      $install_prog $dir/$dlname \$dldir/$dlname~
14708      chmod a+x \$dldir/$dlname~
14709      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14710        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14711      fi'
14712    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14713      dlpath=$dir/\$dldll~
14714       $RM \$dlpath'
14715    shlibpath_overrides_runpath=yes
14716
14717    case $host_os in
14718    cygwin*)
14719      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14720      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14721      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14722      ;;
14723    mingw* | cegcc*)
14724      # MinGW DLLs use traditional 'lib' prefix
14725      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14726      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14727      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14728        # It is most probably a Windows format PATH printed by
14729        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14730        # path with ; separators, and with drive letters. We can handle the
14731        # drive letters (cygwin fileutils understands them), so leave them,
14732        # especially as we might pass files found there to a mingw objdump,
14733        # which wouldn't understand a cygwinified path. Ahh.
14734        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14735      else
14736        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14737      fi
14738      ;;
14739    pw32*)
14740      # pw32 DLLs use 'pw' prefix rather than 'lib'
14741      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14742      ;;
14743    esac
14744    ;;
14745
14746  *)
14747    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14748    ;;
14749  esac
14750  dynamic_linker='Win32 ld.exe'
14751  # FIXME: first we should search . and the directory the executable is in
14752  shlibpath_var=PATH
14753  ;;
14754
14755darwin* | rhapsody*)
14756  dynamic_linker="$host_os dyld"
14757  version_type=darwin
14758  need_lib_prefix=no
14759  need_version=no
14760  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14761  soname_spec='${libname}${release}${major}$shared_ext'
14762  shlibpath_overrides_runpath=yes
14763  shlibpath_var=DYLD_LIBRARY_PATH
14764  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14765
14766  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14767  ;;
14768
14769dgux*)
14770  version_type=linux
14771  need_lib_prefix=no
14772  need_version=no
14773  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14774  soname_spec='${libname}${release}${shared_ext}$major'
14775  shlibpath_var=LD_LIBRARY_PATH
14776  ;;
14777
14778freebsd1*)
14779  dynamic_linker=no
14780  ;;
14781
14782freebsd* | dragonfly*)
14783  # DragonFly does not have aout.  When/if they implement a new
14784  # versioning mechanism, adjust this.
14785  if test -x /usr/bin/objformat; then
14786    objformat=`/usr/bin/objformat`
14787  else
14788    case $host_os in
14789    freebsd[123]*) objformat=aout ;;
14790    *) objformat=elf ;;
14791    esac
14792  fi
14793  version_type=freebsd-$objformat
14794  case $version_type in
14795    freebsd-elf*)
14796      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14797      need_version=no
14798      need_lib_prefix=no
14799      ;;
14800    freebsd-*)
14801      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14802      need_version=yes
14803      ;;
14804  esac
14805  shlibpath_var=LD_LIBRARY_PATH
14806  case $host_os in
14807  freebsd2*)
14808    shlibpath_overrides_runpath=yes
14809    ;;
14810  freebsd3.[01]* | freebsdelf3.[01]*)
14811    shlibpath_overrides_runpath=yes
14812    hardcode_into_libs=yes
14813    ;;
14814  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14815  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14816    shlibpath_overrides_runpath=no
14817    hardcode_into_libs=yes
14818    ;;
14819  *) # from 4.6 on, and DragonFly
14820    shlibpath_overrides_runpath=yes
14821    hardcode_into_libs=yes
14822    ;;
14823  esac
14824  ;;
14825
14826gnu*)
14827  version_type=linux
14828  need_lib_prefix=no
14829  need_version=no
14830  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14831  soname_spec='${libname}${release}${shared_ext}$major'
14832  shlibpath_var=LD_LIBRARY_PATH
14833  hardcode_into_libs=yes
14834  ;;
14835
14836hpux9* | hpux10* | hpux11*)
14837  # Give a soname corresponding to the major version so that dld.sl refuses to
14838  # link against other versions.
14839  version_type=sunos
14840  need_lib_prefix=no
14841  need_version=no
14842  case $host_cpu in
14843  ia64*)
14844    shrext_cmds='.so'
14845    hardcode_into_libs=yes
14846    dynamic_linker="$host_os dld.so"
14847    shlibpath_var=LD_LIBRARY_PATH
14848    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14849    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850    soname_spec='${libname}${release}${shared_ext}$major'
14851    if test "X$HPUX_IA64_MODE" = X32; then
14852      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14853    else
14854      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14855    fi
14856    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14857    ;;
14858  hppa*64*)
14859    shrext_cmds='.sl'
14860    hardcode_into_libs=yes
14861    dynamic_linker="$host_os dld.sl"
14862    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14863    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14864    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14865    soname_spec='${libname}${release}${shared_ext}$major'
14866    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14867    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14868    ;;
14869  *)
14870    shrext_cmds='.sl'
14871    dynamic_linker="$host_os dld.sl"
14872    shlibpath_var=SHLIB_PATH
14873    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14874    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14875    soname_spec='${libname}${release}${shared_ext}$major'
14876    ;;
14877  esac
14878  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14879  postinstall_cmds='chmod 555 $lib'
14880  ;;
14881
14882interix[3-9]*)
14883  version_type=linux
14884  need_lib_prefix=no
14885  need_version=no
14886  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14887  soname_spec='${libname}${release}${shared_ext}$major'
14888  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14889  shlibpath_var=LD_LIBRARY_PATH
14890  shlibpath_overrides_runpath=no
14891  hardcode_into_libs=yes
14892  ;;
14893
14894irix5* | irix6* | nonstopux*)
14895  case $host_os in
14896    nonstopux*) version_type=nonstopux ;;
14897    *)
14898	if test "$lt_cv_prog_gnu_ld" = yes; then
14899		version_type=linux
14900	else
14901		version_type=irix
14902	fi ;;
14903  esac
14904  need_lib_prefix=no
14905  need_version=no
14906  soname_spec='${libname}${release}${shared_ext}$major'
14907  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14908  case $host_os in
14909  irix5* | nonstopux*)
14910    libsuff= shlibsuff=
14911    ;;
14912  *)
14913    case $LD in # libtool.m4 will add one of these switches to LD
14914    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14915      libsuff= shlibsuff= libmagic=32-bit;;
14916    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14917      libsuff=32 shlibsuff=N32 libmagic=N32;;
14918    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14919      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14920    *) libsuff= shlibsuff= libmagic=never-match;;
14921    esac
14922    ;;
14923  esac
14924  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14925  shlibpath_overrides_runpath=no
14926  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14927  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14928  hardcode_into_libs=yes
14929  ;;
14930
14931# No shared lib support for Linux oldld, aout, or coff.
14932linux*oldld* | linux*aout* | linux*coff*)
14933  dynamic_linker=no
14934  ;;
14935
14936# This must be Linux ELF.
14937linux* | k*bsd*-gnu)
14938  version_type=linux
14939  need_lib_prefix=no
14940  need_version=no
14941  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14942  soname_spec='${libname}${release}${shared_ext}$major'
14943  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14944  shlibpath_var=LD_LIBRARY_PATH
14945  shlibpath_overrides_runpath=no
14946  # Some binutils ld are patched to set DT_RUNPATH
14947  save_LDFLAGS=$LDFLAGS
14948  save_libdir=$libdir
14949  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14950       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14951  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952/* end confdefs.h.  */
14953
14954int
14955main ()
14956{
14957
14958  ;
14959  return 0;
14960}
14961_ACEOF
14962if ac_fn_cxx_try_link "$LINENO"; then :
14963  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14964  shlibpath_overrides_runpath=yes
14965fi
14966fi
14967rm -f core conftest.err conftest.$ac_objext \
14968    conftest$ac_exeext conftest.$ac_ext
14969  LDFLAGS=$save_LDFLAGS
14970  libdir=$save_libdir
14971
14972  # This implies no fast_install, which is unacceptable.
14973  # Some rework will be needed to allow for fast_install
14974  # before this can be enabled.
14975  hardcode_into_libs=yes
14976
14977  # Add ABI-specific directories to the system library path.
14978  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14979
14980  # Append ld.so.conf contents to the search path
14981  if test -f /etc/ld.so.conf; then
14982    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14983    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14984  fi
14985
14986  # We used to test for /lib/ld.so.1 and disable shared libraries on
14987  # powerpc, because MkLinux only supported shared libraries with the
14988  # GNU dynamic linker.  Since this was broken with cross compilers,
14989  # most powerpc-linux boxes support dynamic linking these days and
14990  # people can always --disable-shared, the test was removed, and we
14991  # assume the GNU/Linux dynamic linker is in use.
14992  dynamic_linker='GNU/Linux ld.so'
14993  ;;
14994
14995netbsd*)
14996  version_type=sunos
14997  need_lib_prefix=no
14998  need_version=no
14999  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15000    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15001    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15002    dynamic_linker='NetBSD (a.out) ld.so'
15003  else
15004    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15005    soname_spec='${libname}${release}${shared_ext}$major'
15006    dynamic_linker='NetBSD ld.elf_so'
15007  fi
15008  shlibpath_var=LD_LIBRARY_PATH
15009  shlibpath_overrides_runpath=yes
15010  hardcode_into_libs=yes
15011  ;;
15012
15013newsos6)
15014  version_type=linux
15015  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15016  shlibpath_var=LD_LIBRARY_PATH
15017  shlibpath_overrides_runpath=yes
15018  ;;
15019
15020*nto* | *qnx*)
15021  version_type=qnx
15022  need_lib_prefix=no
15023  need_version=no
15024  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15025  soname_spec='${libname}${release}${shared_ext}$major'
15026  shlibpath_var=LD_LIBRARY_PATH
15027  shlibpath_overrides_runpath=no
15028  hardcode_into_libs=yes
15029  dynamic_linker='ldqnx.so'
15030  ;;
15031
15032openbsd*)
15033  version_type=sunos
15034  sys_lib_dlsearch_path_spec="/usr/lib"
15035  need_lib_prefix=no
15036  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15037  case $host_os in
15038    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15039    *)				need_version=no  ;;
15040  esac
15041  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15042  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15043  shlibpath_var=LD_LIBRARY_PATH
15044  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15045    case $host_os in
15046      openbsd2.[89] | openbsd2.[89].*)
15047	shlibpath_overrides_runpath=no
15048	;;
15049      *)
15050	shlibpath_overrides_runpath=yes
15051	;;
15052      esac
15053  else
15054    shlibpath_overrides_runpath=yes
15055  fi
15056  ;;
15057
15058os2*)
15059  libname_spec='$name'
15060  shrext_cmds=".dll"
15061  need_lib_prefix=no
15062  library_names_spec='$libname${shared_ext} $libname.a'
15063  dynamic_linker='OS/2 ld.exe'
15064  shlibpath_var=LIBPATH
15065  ;;
15066
15067osf3* | osf4* | osf5*)
15068  version_type=osf
15069  need_lib_prefix=no
15070  need_version=no
15071  soname_spec='${libname}${release}${shared_ext}$major'
15072  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15073  shlibpath_var=LD_LIBRARY_PATH
15074  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15075  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15076  ;;
15077
15078rdos*)
15079  dynamic_linker=no
15080  ;;
15081
15082solaris*)
15083  version_type=linux
15084  need_lib_prefix=no
15085  need_version=no
15086  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087  soname_spec='${libname}${release}${shared_ext}$major'
15088  shlibpath_var=LD_LIBRARY_PATH
15089  shlibpath_overrides_runpath=yes
15090  hardcode_into_libs=yes
15091  # ldd complains unless libraries are executable
15092  postinstall_cmds='chmod +x $lib'
15093  ;;
15094
15095sunos4*)
15096  version_type=sunos
15097  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15098  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15099  shlibpath_var=LD_LIBRARY_PATH
15100  shlibpath_overrides_runpath=yes
15101  if test "$with_gnu_ld" = yes; then
15102    need_lib_prefix=no
15103  fi
15104  need_version=yes
15105  ;;
15106
15107sysv4 | sysv4.3*)
15108  version_type=linux
15109  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15110  soname_spec='${libname}${release}${shared_ext}$major'
15111  shlibpath_var=LD_LIBRARY_PATH
15112  case $host_vendor in
15113    sni)
15114      shlibpath_overrides_runpath=no
15115      need_lib_prefix=no
15116      runpath_var=LD_RUN_PATH
15117      ;;
15118    siemens)
15119      need_lib_prefix=no
15120      ;;
15121    motorola)
15122      need_lib_prefix=no
15123      need_version=no
15124      shlibpath_overrides_runpath=no
15125      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15126      ;;
15127  esac
15128  ;;
15129
15130sysv4*MP*)
15131  if test -d /usr/nec ;then
15132    version_type=linux
15133    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15134    soname_spec='$libname${shared_ext}.$major'
15135    shlibpath_var=LD_LIBRARY_PATH
15136  fi
15137  ;;
15138
15139sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15140  version_type=freebsd-elf
15141  need_lib_prefix=no
15142  need_version=no
15143  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15144  soname_spec='${libname}${release}${shared_ext}$major'
15145  shlibpath_var=LD_LIBRARY_PATH
15146  shlibpath_overrides_runpath=yes
15147  hardcode_into_libs=yes
15148  if test "$with_gnu_ld" = yes; then
15149    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15150  else
15151    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15152    case $host_os in
15153      sco3.2v5*)
15154        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15155	;;
15156    esac
15157  fi
15158  sys_lib_dlsearch_path_spec='/usr/lib'
15159  ;;
15160
15161tpf*)
15162  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15163  version_type=linux
15164  need_lib_prefix=no
15165  need_version=no
15166  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15167  shlibpath_var=LD_LIBRARY_PATH
15168  shlibpath_overrides_runpath=no
15169  hardcode_into_libs=yes
15170  ;;
15171
15172uts4*)
15173  version_type=linux
15174  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175  soname_spec='${libname}${release}${shared_ext}$major'
15176  shlibpath_var=LD_LIBRARY_PATH
15177  ;;
15178
15179*)
15180  dynamic_linker=no
15181  ;;
15182esac
15183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15184$as_echo "$dynamic_linker" >&6; }
15185test "$dynamic_linker" = no && can_build_shared=no
15186
15187variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15188if test "$GCC" = yes; then
15189  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15190fi
15191
15192if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15193  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15194fi
15195if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15196  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15197fi
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15235$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15236hardcode_action_CXX=
15237if test -n "$hardcode_libdir_flag_spec_CXX" ||
15238   test -n "$runpath_var_CXX" ||
15239   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15240
15241  # We can hardcode non-existent directories.
15242  if test "$hardcode_direct_CXX" != no &&
15243     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15244     # have to relink, otherwise we might link with an installed library
15245     # when we should be linking with a yet-to-be-installed one
15246     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15247     test "$hardcode_minus_L_CXX" != no; then
15248    # Linking always hardcodes the temporary library directory.
15249    hardcode_action_CXX=relink
15250  else
15251    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15252    hardcode_action_CXX=immediate
15253  fi
15254else
15255  # We cannot hardcode anything, or else we can only hardcode existing
15256  # directories.
15257  hardcode_action_CXX=unsupported
15258fi
15259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15260$as_echo "$hardcode_action_CXX" >&6; }
15261
15262if test "$hardcode_action_CXX" = relink ||
15263   test "$inherit_rpath_CXX" = yes; then
15264  # Fast installation is not supported
15265  enable_fast_install=no
15266elif test "$shlibpath_overrides_runpath" = yes ||
15267     test "$enable_shared" = no; then
15268  # Fast installation is not necessary
15269  enable_fast_install=needless
15270fi
15271
15272
15273
15274
15275    
15276
15277
15278  fi # test -n "$compiler"
15279
15280  CC=$lt_save_CC
15281  LDCXX=$LD
15282  LD=$lt_save_LD
15283  GCC=$lt_save_GCC
15284  with_gnu_ld=$lt_save_with_gnu_ld
15285  lt_cv_path_LDCXX=$lt_cv_path_LD
15286  lt_cv_path_LD=$lt_save_path_LD
15287  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15288  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15289fi # test "$_lt_caught_CXX_error" != yes
15290
15291ac_ext=c
15292ac_cpp='$CPP $CPPFLAGS'
15293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15295ac_compiler_gnu=$ac_cv_c_compiler_gnu
15296
15297
15298
15299
15300
15301
15302
15303
15304       
15305       
15306
15307
15308
15309        ac_config_commands="$ac_config_commands libtool"
15310
15311
15312
15313
15314# Only expand once:
15315
15316
15317
15318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
15319$as_echo_n "checking whether the C++ compiler works... " >&6; }
15320if test "${avahi_cv_sys_cxx_works+set}" = set; then :
15321  $as_echo_n "(cached) " >&6
15322else
15323  
15324    ac_ext=cpp
15325ac_cpp='$CXXCPP $CPPFLAGS'
15326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15329
15330    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331/* end confdefs.h.  */
15332int main() { return 0; }
15333_ACEOF
15334if ac_fn_cxx_try_compile "$LINENO"; then :
15335  avahi_cv_sys_cxx_works=yes
15336else
15337  avahi_cv_sys_cxx_works=no
15338fi
15339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15340    ac_ext=c
15341ac_cpp='$CPP $CPPFLAGS'
15342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15344ac_compiler_gnu=$ac_cv_c_compiler_gnu
15345
15346    
15347fi
15348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $avahi_cv_sys_cxx_works" >&5
15349$as_echo "$avahi_cv_sys_cxx_works" >&6; }
15350 if [ "x$avahi_cv_sys_cxx_works" = "xno" ]; then 
15351    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15352$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15353as_fn_error "The C++ compiler does not work
15354See \`config.log' for more details." "$LINENO" 5; }
15355 fi 
15356
15357
15358
15359
15360ac_ext=c
15361ac_cpp='$CPP $CPPFLAGS'
15362ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15363ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15364ac_compiler_gnu=$ac_cv_c_compiler_gnu
15365
15366acx_pthread_ok=no
15367
15368# We used to check for pthread.h first, but this fails if pthread.h
15369# requires special compiler flags (e.g. on True64 or Sequent).
15370# It gets checked for in the link test anyway.
15371
15372# First of all, check if the user has set any of the PTHREAD_LIBS,
15373# etcetera environment variables, and if threads linking works using
15374# them:
15375if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
15376        save_CFLAGS="$CFLAGS"
15377        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15378        save_LIBS="$LIBS"
15379        LIBS="$PTHREAD_LIBS $LIBS"
15380        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
15381$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
15382        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383/* end confdefs.h.  */
15384
15385/* Override any GCC internal prototype to avoid an error.
15386   Use char because int might match the return type of a GCC
15387   builtin and then its argument prototype would still apply.  */
15388#ifdef __cplusplus
15389extern "C"
15390#endif
15391char pthread_join ();
15392int
15393main ()
15394{
15395return pthread_join ();
15396  ;
15397  return 0;
15398}
15399_ACEOF
15400if ac_fn_c_try_link "$LINENO"; then :
15401  acx_pthread_ok=yes
15402fi
15403rm -f core conftest.err conftest.$ac_objext \
15404    conftest$ac_exeext conftest.$ac_ext
15405        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
15406$as_echo "$acx_pthread_ok" >&6; }
15407        if test x"$acx_pthread_ok" = xno; then
15408                PTHREAD_LIBS=""
15409                PTHREAD_CFLAGS=""
15410        fi
15411        LIBS="$save_LIBS"
15412        CFLAGS="$save_CFLAGS"
15413fi
15414
15415# We must check for the threads library under a number of different
15416# names; the ordering is very important because some systems
15417# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
15418# libraries is broken (non-POSIX).
15419
15420# Create a list of thread flags to try.  Items starting with a "-" are
15421# C compiler flags, and other items are library names, except for "none"
15422# which indicates that we try without any flags at all, and "pthread-config"
15423# which is a program returning the flags for the Pth emulation library.
15424
15425acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
15426
15427# The ordering *is* (sometimes) important.  Some notes on the
15428# individual items follow:
15429
15430# pthreads: AIX (must check this before -lpthread)
15431# none: in case threads are in libc; should be tried before -Kthread and
15432#       other compiler flags to prevent continual compiler warnings
15433# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
15434# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
15435# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
15436# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
15437# -pthreads: Solaris/gcc
15438# -mthreads: Mingw32/gcc, Lynx/gcc
15439# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
15440#      doesn't hurt to check since this sometimes defines pthreads too;
15441#      also defines -D_REENTRANT)
15442#      ... -mt is also the pthreads flag for HP/aCC
15443# pthread: Linux, etcetera
15444# --thread-safe: KAI C++
15445# pthread-config: use pthread-config program (for GNU Pth library)
15446
15447case "${host_cpu}-${host_os}" in
15448        *solaris*)
15449
15450        # On Solaris (at least, for some versions), libc contains stubbed
15451        # (non-functional) versions of the pthreads routines, so link-based
15452        # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
15453        # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
15454        # a function called by this macro, so we could check for that, but
15455        # who knows whether they'll stub that too in a future libc.)  So,
15456        # we'll just look for -pthreads and -lpthread first:
15457
15458        acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
15459        ;;
15460esac
15461
15462if test x"$acx_pthread_ok" = xno; then
15463for flag in $acx_pthread_flags; do
15464
15465        case $flag in
15466                none)
15467                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
15468$as_echo_n "checking whether pthreads work without any flags... " >&6; }
15469                ;;
15470
15471                -*)
15472                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
15473$as_echo_n "checking whether pthreads work with $flag... " >&6; }
15474                PTHREAD_CFLAGS="$flag"
15475                ;;
15476
15477		pthread-config)
15478		# Extract the first word of "pthread-config", so it can be a program name with args.
15479set dummy pthread-config; ac_word=$2
15480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15481$as_echo_n "checking for $ac_word... " >&6; }
15482if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
15483  $as_echo_n "(cached) " >&6
15484else
15485  if test -n "$acx_pthread_config"; then
15486  ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
15487else
15488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15489for as_dir in $PATH
15490do
15491  IFS=$as_save_IFS
15492  test -z "$as_dir" && as_dir=.
15493    for ac_exec_ext in '' $ac_executable_extensions; do
15494  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15495    ac_cv_prog_acx_pthread_config="yes"
15496    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15497    break 2
15498  fi
15499done
15500  done
15501IFS=$as_save_IFS
15502
15503  test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
15504fi
15505fi
15506acx_pthread_config=$ac_cv_prog_acx_pthread_config
15507if test -n "$acx_pthread_config"; then
15508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
15509$as_echo "$acx_pthread_config" >&6; }
15510else
15511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15512$as_echo "no" >&6; }
15513fi
15514
15515
15516		if test x"$acx_pthread_config" = xno; then continue; fi
15517		PTHREAD_CFLAGS="`pthread-config --cflags`"
15518		PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
15519		;;
15520
15521                *)
15522                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
15523$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
15524                PTHREAD_LIBS="-l$flag"
15525                ;;
15526        esac
15527
15528        save_LIBS="$LIBS"
15529        save_CFLAGS="$CFLAGS"
15530        LIBS="$PTHREAD_LIBS $LIBS"
15531        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15532
15533        # Check for various functions.  We must include pthread.h,
15534        # since some functions may be macros.  (On the Sequent, we
15535        # need a special flag -Kthread to make this header compile.)
15536        # We check for pthread_join because it is in -lpthread on IRIX
15537        # while pthread_create is in libc.  We check for pthread_attr_init
15538        # due to DEC craziness with -lpthreads.  We check for
15539        # pthread_cleanup_push because it is one of the few pthread
15540        # functions on Solaris that doesn't have a non-functional libc stub.
15541        # We try pthread_create on general principles.
15542        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543/* end confdefs.h.  */
15544#include <pthread.h>
15545int
15546main ()
15547{
15548pthread_t th; pthread_join(th, 0);
15549                     pthread_attr_init(0); pthread_cleanup_push(0, 0);
15550                     pthread_create(0,0,0,0); pthread_cleanup_pop(0); 
15551  ;
15552  return 0;
15553}
15554_ACEOF
15555if ac_fn_c_try_link "$LINENO"; then :
15556  acx_pthread_ok=yes
15557fi
15558rm -f core conftest.err conftest.$ac_objext \
15559    conftest$ac_exeext conftest.$ac_ext
15560
15561        LIBS="$save_LIBS"
15562        CFLAGS="$save_CFLAGS"
15563
15564        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
15565$as_echo "$acx_pthread_ok" >&6; }
15566        if test "x$acx_pthread_ok" = xyes; then
15567                break;
15568        fi
15569
15570        PTHREAD_LIBS=""
15571        PTHREAD_CFLAGS=""
15572done
15573fi
15574
15575# Various other checks:
15576if test "x$acx_pthread_ok" = xyes; then
15577        save_LIBS="$LIBS"
15578        LIBS="$PTHREAD_LIBS $LIBS"
15579        save_CFLAGS="$CFLAGS"
15580        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15581
15582        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
15583	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
15584$as_echo_n "checking for joinable pthread attribute... " >&6; }
15585	attr_name=unknown
15586	for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
15587	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588/* end confdefs.h.  */
15589#include <pthread.h>
15590int
15591main ()
15592{
15593int attr=$attr; return attr;
15594  ;
15595  return 0;
15596}
15597_ACEOF
15598if ac_fn_c_try_link "$LINENO"; then :
15599  attr_name=$attr; break
15600fi
15601rm -f core conftest.err conftest.$ac_objext \
15602    conftest$ac_exeext conftest.$ac_ext
15603	done
15604        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
15605$as_echo "$attr_name" >&6; }
15606        if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
15607            
15608cat >>confdefs.h <<_ACEOF
15609@%:@define PTHREAD_CREATE_JOINABLE $attr_name
15610_ACEOF
15611
15612        fi
15613
15614        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
15615$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
15616        flag=no
15617        case "${host_cpu}-${host_os}" in
15618            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
15619            *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
15620        esac
15621        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
15622$as_echo "${flag}" >&6; }
15623        if test "x$flag" != xno; then
15624            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
15625        fi
15626
15627        LIBS="$save_LIBS"
15628        CFLAGS="$save_CFLAGS"
15629        # More AIX lossage: must compile with xlc_r or cc_r
15630	if test x"$GCC" != xyes; then
15631          for ac_prog in xlc_r cc_r
15632do
15633  # Extract the first word of "$ac_prog", so it can be a program name with args.
15634set dummy $ac_prog; ac_word=$2
15635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15636$as_echo_n "checking for $ac_word... " >&6; }
15637if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
15638  $as_echo_n "(cached) " >&6
15639else
15640  if test -n "$PTHREAD_CC"; then
15641  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
15642else
15643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15644for as_dir in $PATH
15645do
15646  IFS=$as_save_IFS
15647  test -z "$as_dir" && as_dir=.
15648    for ac_exec_ext in '' $ac_executable_extensions; do
15649  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15650    ac_cv_prog_PTHREAD_CC="$ac_prog"
15651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15652    break 2
15653  fi
15654done
15655  done
15656IFS=$as_save_IFS
15657
15658fi
15659fi
15660PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
15661if test -n "$PTHREAD_CC"; then
15662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
15663$as_echo "$PTHREAD_CC" >&6; }
15664else
15665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15666$as_echo "no" >&6; }
15667fi
15668
15669
15670  test -n "$PTHREAD_CC" && break
15671done
15672test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
15673
15674        else
15675          PTHREAD_CC=$CC
15676	fi
15677
15678   # The next part tries to detect GCC inconsistency with -shared on some
15679   # architectures and systems. The problem is that in certain
15680   # configurations, when -shared is specified, GCC "forgets" to
15681   # internally use various flags which are still necessary.
15682   
15683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check for GCC pthread/shared inconsistencies" >&5
15684$as_echo_n "checking whether to check for GCC pthread/shared inconsistencies... " >&6; }
15685   check_inconsistencies=yes
15686   case "${host_cpu}-${host_os}" in
15687     *-darwin*) check_inconsistencies=no ;;
15688   esac
15689   if test x"$GCC" != xyes -o "x$check_inconsistencies" != xyes ; then
15690      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15691$as_echo "no" >&6; }
15692   else
15693      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15694$as_echo "yes" >&6; }
15695
15696      # In order not to create several levels of indentation, we test
15697      # the value of "$ok" until we find out the cure or run out of
15698      # ideas.
15699      ok="no"
15700
15701      #
15702      # Prepare the flags
15703      #
15704      save_CFLAGS="$CFLAGS"
15705      save_LIBS="$LIBS"
15706      save_CC="$CC"
15707      # Try with the flags determined by the earlier checks.
15708      #
15709      # -Wl,-z,defs forces link-time symbol resolution, so that the
15710      # linking checks with -shared actually have any value
15711      #
15712      # FIXME: -fPIC is required for -shared on many architectures,
15713      # so we specify it here, but the right way would probably be to
15714      # properly detect whether it is actually required.
15715      CFLAGS="-shared -fPIC -Wl,-z,defs $CFLAGS $PTHREAD_CFLAGS"
15716      LIBS="$PTHREAD_LIBS $LIBS"
15717      CC="$PTHREAD_CC"
15718
15719      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is sufficient with -shared" >&5
15720$as_echo_n "checking whether -pthread is sufficient with -shared... " >&6; }
15721      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722/* end confdefs.h.  */
15723#include <pthread.h>
15724int
15725main ()
15726{
15727pthread_t th; pthread_join(th, 0);
15728         pthread_attr_init(0); pthread_cleanup_push(0, 0);
15729         pthread_create(0,0,0,0); pthread_cleanup_pop(0); 
15730  ;
15731  return 0;
15732}
15733_ACEOF
15734if ac_fn_c_try_link "$LINENO"; then :
15735  ok=yes
15736fi
15737rm -f core conftest.err conftest.$ac_objext \
15738    conftest$ac_exeext conftest.$ac_ext
15739      
15740      if test "x$ok" = xyes; then
15741         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15742$as_echo "yes" >&6; }
15743      else
15744         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15745$as_echo "no" >&6; }
15746      fi
15747   
15748      #
15749      # Linux gcc on some architectures such as mips/mipsel forgets
15750      # about -lpthread
15751      #
15752      if test x"$ok" = xno; then
15753         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lpthread fixes that" >&5
15754$as_echo_n "checking whether -lpthread fixes that... " >&6; }
15755         LIBS="-lpthread $PTHREAD_LIBS $save_LIBS"
15756         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757/* end confdefs.h.  */
15758#include <pthread.h>
15759int
15760main ()
15761{
15762pthread_t th; pthread_join(th, 0);
15763            pthread_attr_init(0); pthread_cleanup_push(0, 0);
15764            pthread_create(0,0,0,0); pthread_cleanup_pop(0); 
15765  ;
15766  return 0;
15767}
15768_ACEOF
15769if ac_fn_c_try_link "$LINENO"; then :
15770  ok=yes
15771fi
15772rm -f core conftest.err conftest.$ac_objext \
15773    conftest$ac_exeext conftest.$ac_ext
15774   
15775         if test "x$ok" = xyes; then
15776            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15777$as_echo "yes" >&6; }
15778            PTHREAD_LIBS="-lpthread $PTHREAD_LIBS"
15779         else
15780            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15781$as_echo "no" >&6; }
15782         fi
15783      fi
15784      #
15785      # FreeBSD 4.10 gcc forgets to use -lc_r instead of -lc
15786      #
15787      if test x"$ok" = xno; then
15788         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc_r fixes that" >&5
15789$as_echo_n "checking whether -lc_r fixes that... " >&6; }
15790         LIBS="-lc_r $PTHREAD_LIBS $save_LIBS"
15791         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792/* end confdefs.h.  */
15793#include <pthread.h>
15794int
15795main ()
15796{
15797pthread_t th; pthread_join(th, 0);
15798              pthread_attr_init(0); pthread_cleanup_push(0, 0);
15799              pthread_create(0,0,0,0); pthread_cleanup_pop(0); 
15800  ;
15801  return 0;
15802}
15803_ACEOF
15804if ac_fn_c_try_link "$LINENO"; then :
15805  ok=yes
15806fi
15807rm -f core conftest.err conftest.$ac_objext \
15808    conftest$ac_exeext conftest.$ac_ext
15809   
15810         if test "x$ok" = xyes; then
15811            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15812$as_echo "yes" >&6; }
15813            PTHREAD_LIBS="-lc_r $PTHREAD_LIBS"
15814         else
15815            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15816$as_echo "no" >&6; }
15817         fi
15818      fi
15819      if test x"$ok" = xno; then
15820         # OK, we have run out of ideas
15821         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5
15822$as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;}
15823
15824         # so it's not safe to assume that we may use pthreads
15825         acx_pthread_ok=no
15826      fi
15827
15828      CFLAGS="$save_CFLAGS"
15829      LIBS="$save_LIBS"
15830      CC="$save_CC"
15831   fi
15832else
15833        PTHREAD_CC="$CC"
15834fi
15835
15836
15837
15838
15839
15840# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
15841if test x"$acx_pthread_ok" = xyes; then
15842        
15843$as_echo "@%:@define HAVE_PTHREAD 1" >>confdefs.h
15844
15845        :
15846else
15847        acx_pthread_ok=no
15848        as_fn_error "Missing POSIX Threads support" "$LINENO" 5
15849fi
15850ac_ext=c
15851ac_cpp='$CPP $CPPFLAGS'
15852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15854ac_compiler_gnu=$ac_cv_c_compiler_gnu
15855
15856
15857
15858#
15859# Check for netlink.h
15860#
15861ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_netlink_h" "
15862#include <sys/socket.h>
15863#include <asm/types.h>
15864
15865"
15866if test "x$ac_cv_header_linux_netlink_h" = x""yes; then :
15867  HAVE_NETLINK=yes
15868
15869$as_echo "@%:@define HAVE_NETLINK /**/" >>confdefs.h
15870
15871
15872fi
15873
15874
15875
15876 if  test x"$HAVE_NETLINK" = xyes ; then
15877  HAVE_NETLINK_TRUE=
15878  HAVE_NETLINK_FALSE='#'
15879else
15880  HAVE_NETLINK_TRUE='#'
15881  HAVE_NETLINK_FALSE=
15882fi
15883
15884
15885#
15886# Check for net/route.h
15887#
15888ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "
15889#include <sys/types.h>
15890#include <sys/socket.h>
15891
15892"
15893if test "x$ac_cv_header_net_route_h" = x""yes; then :
15894  HAVE_PF_ROUTE=yes
15895
15896$as_echo "@%:@define HAVE_PF_ROUTE /**/" >>confdefs.h
15897
15898
15899fi
15900
15901
15902
15903 if  test x"$HAVE_PF_ROUTE" = xyes ; then
15904  HAVE_PF_ROUTE_TRUE=
15905  HAVE_PF_ROUTE_FALSE='#'
15906else
15907  HAVE_PF_ROUTE_TRUE='#'
15908  HAVE_PF_ROUTE_FALSE=
15909fi
15910
15911
15912#
15913# Check for sys/filio.h; needed for FIONREAD on Solaris
15914#
15915ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "
15916
15917"
15918if test "x$ac_cv_header_sys_filio_h" = x""yes; then :
15919  HAVE_SYS_FILIO_H=yes
15920
15921$as_echo "@%:@define HAVE_SYS_FILIO_H /**/" >>confdefs.h
15922
15923
15924fi
15925
15926
15927
15928 if  test x"$HAVE_SYS_FILIO_H" = xyes ; then
15929  HAVE_SYS_FILIO_H_TRUE=
15930  HAVE_SYS_FILIO_H_FALSE='#'
15931else
15932  HAVE_SYS_FILIO_H_TRUE='#'
15933  HAVE_SYS_FILIO_H_FALSE=
15934fi
15935
15936
15937#
15938# Check for sys/sysctl.h; not present on Solaris
15939#
15940ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "
15941#include <sys/types.h>
15942#include <sys/socket.h>
15943#include <sys/param.h>
15944
15945"
15946if test "x$ac_cv_header_sys_sysctl_h" = x""yes; then :
15947  HAVE_SYS_SYSCTL=yes
15948
15949$as_echo "@%:@define HAVE_SYS_SYSCTL_H /**/" >>confdefs.h
15950
15951
15952fi
15953
15954
15955
15956 if  test x"$HAVE_SYS_SYSCTL_H" = xyes ; then
15957  HAVE_SYS_SYSCTL_H_TRUE=
15958  HAVE_SYS_SYSCTL_H_FALSE='#'
15959else
15960  HAVE_SYS_SYSCTL_H_TRUE='#'
15961  HAVE_SYS_SYSCTL_H_FALSE=
15962fi
15963
15964
15965#
15966# Check for lifconf struct; only present on Solaris
15967#
15968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifconf" >&5
15969$as_echo_n "checking for struct lifconf... " >&6; }
15970if test "${avahi_cv_has_struct_lifconf+set}" = set; then :
15971  $as_echo_n "(cached) " >&6
15972else
15973  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974/* end confdefs.h.  */
15975#include <sys/socket.h>
15976#include <net/if.h>
15977
15978int
15979main ()
15980{
15981sizeof (struct lifconf);
15982  ;
15983  return 0;
15984}
15985_ACEOF
15986if ac_fn_c_try_compile "$LINENO"; then :
15987  avahi_cv_has_struct_lifconf=yes
15988else
15989  avahi_cv_has_struct_lifconf=no
15990fi
15991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15992fi
15993
15994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $avahi_cv_has_struct_lifconf" >&5
15995$as_echo "$avahi_cv_has_struct_lifconf" >&6; }
15996if test $avahi_cv_has_struct_lifconf = yes; then
15997    
15998$as_echo "@%:@define HAVE_STRUCT_LIFCONF 1" >>confdefs.h
15999
16000fi
16001
16002#
16003# Check for struct ip_mreqn
16004#
16005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ip_mreqn" >&5
16006$as_echo_n "checking for struct ip_mreqn... " >&6; }
16007cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008/* end confdefs.h.  */
16009#include <netinet/in.h>
16010int
16011main ()
16012{
16013
16014	struct ip_mreqn mreq;
16015	mreq.imr_address.s_addr = 0;
16016
16017  ;
16018  return 0;
16019}
16020_ACEOF
16021if ac_fn_c_try_compile "$LINENO"; then :
16022  
16023	# Yes, we have it...
16024	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16025$as_echo "yes" >&6; }
16026	
16027$as_echo "@%:@define HAVE_STRUCT_IP_MREQN /**/" >>confdefs.h
16028
16029
16030else
16031  
16032	# We'll just have to try and use struct ip_mreq
16033	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16034$as_echo "no" >&6; }
16035	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ip_mreq" >&5
16036$as_echo_n "checking for struct ip_mreq... " >&6; }
16037	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16038/* end confdefs.h.  */
16039#include <netinet/in.h>
16040int
16041main ()
16042{
16043
16044		struct ip_mreq mreq;
16045		mreq.imr_interface.s_addr = 0;
16046	
16047  ;
16048  return 0;
16049}
16050_ACEOF
16051if ac_fn_c_try_compile "$LINENO"; then :
16052  
16053		# Yes, we have it...
16054		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16055$as_echo "yes" >&6; }
16056		
16057$as_echo "@%:@define HAVE_STRUCT_IP_MREQ /**/" >>confdefs.h
16058
16059	
16060else
16061  
16062		# No multicast support
16063			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16064$as_echo "no" >&6; }
16065	
16066fi
16067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16068
16069fi
16070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16071
16072#
16073# Detecting the linux distribution for specific things like init scripts.
16074#
16075
16076@%:@ Check whether --with-distro was given.
16077if test "${with_distro+set}" = set; then :
16078  withval=$with_distro; 
16079fi
16080
16081if test "z$with_distro" = "z"; then
16082    if test "$cross_compiling" = yes; then
16083        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&5
16084$as_echo "$as_me: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&2;}
16085    else
16086        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/lfs-release" >&5
16087$as_echo_n "checking for /etc/lfs-release... " >&6; }
16088if test "${ac_cv_file__etc_lfs_release+set}" = set; then :
16089  $as_echo_n "(cached) " >&6
16090else
16091  test "$cross_compiling" = yes &&
16092  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
16093if test -r "/etc/lfs-release"; then
16094  ac_cv_file__etc_lfs_release=yes
16095else
16096  ac_cv_file__etc_lfs_release=no
16097fi
16098fi
16099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_lfs_release" >&5
16100$as_echo "$ac_cv_file__etc_lfs_release" >&6; }
16101if test "x$ac_cv_file__etc_lfs_release" = x""yes; then :
16102  with_distro="lfs"
16103fi
16104
16105        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/SuSE-release" >&5
16106$as_echo_n "checking for /etc/SuSE-release... " >&6; }
16107if test "${ac_cv_file__etc_SuSE_release+set}" = set; then :
16108  $as_echo_n "(cached) " >&6
16109else
16110  test "$cross_compiling" = yes &&
16111  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
16112if test -r "/etc/SuSE-release"; then
16113  ac_cv_file__etc_SuSE_release=yes
16114else
16115  ac_cv_file__etc_SuSE_release=no
16116fi
16117fi
16118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_SuSE_release" >&5
16119$as_echo "$ac_cv_file__etc_SuSE_release" >&6; }
16120if test "x$ac_cv_file__etc_SuSE_release" = x""yes; then :
16121  with_distro="suse"
16122fi
16123
16124        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/gentoo-release" >&5
16125$as_echo_n "checking for /etc/gentoo-release... " >&6; }
16126if test "${ac_cv_file__etc_gentoo_release+set}" = set; then :
16127  $as_echo_n "(cached) " >&6
16128else
16129  test "$cross_compiling" = yes &&
16130  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
16131if test -r "/etc/gentoo-release"; then
16132  ac_cv_file__etc_gentoo_release=yes
16133else
16134  ac_cv_file__etc_gentoo_release=no
16135fi
16136fi
16137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_gentoo_release" >&5
16138$as_echo "$ac_cv_file__etc_gentoo_release" >&6; }
16139if test "x$ac_cv_file__etc_gentoo_release" = x""yes; then :
16140  with_distro="gentoo"
16141fi
16142
16143        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/arch-release" >&5
16144$as_echo_n "checking for /etc/arch-release... " >&6; }
16145if test "${ac_cv_file__etc_arch_release+set}" = set; then :
16146  $as_echo_n "(cached) " >&6
16147else
16148  test "$cross_compiling" = yes &&
16149  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
16150if test -r "/etc/arch-release"; then
16151  ac_cv_file__etc_arch_release=yes
16152else
16153  ac_cv_file__etc_arch_release=no
16154fi
16155fi
16156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_arch_release" >&5
16157$as_echo "$ac_cv_file__etc_arch_release" >&6; }
16158if test "x$ac_cv_file__etc_arch_release" = x""yes; then :
16159  with_distro="archlinux"
16160fi
16161
16162        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/debian_version" >&5
16163$as_echo_n "checking for /etc/debian_version... " >&6; }
16164if test "${ac_cv_file__etc_debian_version+set}" = set; then :
16165  $as_echo_n "(cached) " >&6
16166else
16167  test "$cross_compiling" = yes &&
16168  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
16169if test -r "/etc/debian_version"; then
16170  ac_cv_file__etc_debian_version=yes
16171else
16172  ac_cv_file__etc_debian_version=no
16173fi
16174fi
16175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_debian_version" >&5
16176$as_echo "$ac_cv_file__etc_debian_version" >&6; }
16177if test "x$ac_cv_file__etc_debian_version" = x""yes; then :
16178  with_distro="debian"
16179fi
16180
16181        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/redhat-release" >&5
16182$as_echo_n "checking for /etc/redhat-release... " >&6; }
16183if test "${ac_cv_file__etc_redhat_release+set}" = set; then :
16184  $as_echo_n "(cached) " >&6
16185else
16186  test "$cross_compiling" = yes &&
16187  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
16188if test -r "/etc/redhat-release"; then
16189  ac_cv_file__etc_redhat_release=yes
16190else
16191  ac_cv_file__etc_redhat_release=no
16192fi
16193fi
16194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_redhat_release" >&5
16195$as_echo "$ac_cv_file__etc_redhat_release" >&6; }
16196if test "x$ac_cv_file__etc_redhat_release" = x""yes; then :
16197  with_distro="fedora"
16198fi
16199
16200        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/mandriva-release" >&5
16201$as_echo_n "checking for /etc/mandriva-release... " >&6; }
16202if test "${ac_cv_file__etc_mandriva_release+set}" = set; then :
16203  $as_echo_n "(cached) " >&6
16204else
16205  test "$cross_compiling" = yes &&
16206  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
16207if test -r "/etc/mandriva-release"; then
16208  ac_cv_file__etc_mandriva_release=yes
16209else
16210  ac_cv_file__etc_mandriva_release=no
16211fi
16212fi
16213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_mandriva_release" >&5
16214$as_echo "$ac_cv_file__etc_mandriva_release" >&6; }
16215if test "x$ac_cv_file__etc_mandriva_release" = x""yes; then :
16216  with_distro="mandriva"
16217fi
16218
16219        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/slackware-version" >&5
16220$as_echo_n "checking for /etc/slackware-version... " >&6; }
16221if test "${ac_cv_file__etc_slackware_version+set}" = set; then :
16222  $as_echo_n "(cached) " >&6
16223else
16224  test "$cross_compiling" = yes &&
16225  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
16226if test -r "/etc/slackware-version"; then
16227  ac_cv_file__etc_slackware_version=yes
16228else
16229  ac_cv_file__etc_slackware_version=no
16230fi
16231fi
16232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_slackware_version" >&5
16233$as_echo "$ac_cv_file__etc_slackware_version" >&6; }
16234if test "x$ac_cv_file__etc_slackware_version" = x""yes; then :
16235  with_distro="slackware"
16236fi
16237
16238    fi
16239    if test "z$with_distro" = "z"; then
16240        with_distro=`uname -s`
16241    fi
16242fi
16243with_distro=`echo ${with_distro} | tr '[:upper:]' '[:lower:]' `
16244
16245case $with_distro in
16246    lfs|debian|gentoo|archlinux|suse|fedora|mandriva|darwin|freebsd|slackware|none)
16247     ;;
16248    netbsd)
16249     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)" >&5
16250$as_echo "$as_me: WARNING: Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)" >&2;}
16251     ;;
16252    linux)
16253     as_fn_error "Linux distribution autodetection failed, you must specify the distribution to target using --with-distro=DISTRO, set DISTRO to none if your distribution is not supported." "$LINENO" 5
16254     ;;
16255    *)
16256     as_fn_error "Your distribution (${with_distro}) is not yet supported, init scripts and D-Bus configuration will not be installed! (patches welcome), you can specify --with-distro=none to skip this check" "$LINENO" 5
16257     ;;
16258esac
16259
16260 if test x"$with_distro" = xlfs; then
16261  TARGET_LFS_TRUE=
16262  TARGET_LFS_FALSE='#'
16263else
16264  TARGET_LFS_TRUE='#'
16265  TARGET_LFS_FALSE=
16266fi
16267
16268 if test x"$with_distro" = xsuse; then
16269  TARGET_SUSE_TRUE=
16270  TARGET_SUSE_FALSE='#'
16271else
16272  TARGET_SUSE_TRUE='#'
16273  TARGET_SUSE_FALSE=
16274fi
16275
16276 if test x"$with_distro" = xgentoo; then
16277  TARGET_GENTOO_TRUE=
16278  TARGET_GENTOO_FALSE='#'
16279else
16280  TARGET_GENTOO_TRUE='#'
16281  TARGET_GENTOO_FALSE=
16282fi
16283
16284 if test x"$with_distro" = xdebian; then
16285  TARGET_DEBIAN_TRUE=
16286  TARGET_DEBIAN_FALSE='#'
16287else
16288  TARGET_DEBIAN_TRUE='#'
16289  TARGET_DEBIAN_FALSE=
16290fi
16291
16292 if test x"$with_distro" = xarchlinux; then
16293  TARGET_ARCHLINUX_TRUE=
16294  TARGET_ARCHLINUX_FALSE='#'
16295else
16296  TARGET_ARCHLINUX_TRUE='#'
16297  TARGET_ARCHLINUX_FALSE=
16298fi
16299
16300 if test x"$with_distro" = xfedora; then
16301  TARGET_FEDORA_TRUE=
16302  TARGET_FEDORA_FALSE='#'
16303else
16304  TARGET_FEDORA_TRUE='#'
16305  TARGET_FEDORA_FALSE=
16306fi
16307
16308 if test x"$with_distro" = xmandriva; then
16309  TARGET_MANDRIVA_TRUE=
16310  TARGET_MANDRIVA_FALSE='#'
16311else
16312  TARGET_MANDRIVA_TRUE='#'
16313  TARGET_MANDRIVA_FALSE=
16314fi
16315
16316 if test x"$with_distro" = xdarwin; then
16317  TARGET_DARWIN_TRUE=
16318  TARGET_DARWIN_FALSE='#'
16319else
16320  TARGET_DARWIN_TRUE='#'
16321  TARGET_DARWIN_FALSE=
16322fi
16323
16324 if test x"$with_distro" = xnetbsd; then
16325  TARGET_NETBSD_TRUE=
16326  TARGET_NETBSD_FALSE='#'
16327else
16328  TARGET_NETBSD_TRUE='#'
16329  TARGET_NETBSD_FALSE=
16330fi
16331
16332 if test x"$with_distro" = xfreebsd; then
16333  TARGET_FREEBSD_TRUE=
16334  TARGET_FREEBSD_FALSE='#'
16335else
16336  TARGET_FREEBSD_TRUE='#'
16337  TARGET_FREEBSD_FALSE=
16338fi
16339
16340 if test x"$with_distro" = xslackware; then
16341  TARGET_SLACKWARE_TRUE=
16342  TARGET_SLACKWARE_FALSE='#'
16343else
16344  TARGET_SLACKWARE_TRUE='#'
16345  TARGET_SLACKWARE_FALSE=
16346fi
16347
16348
16349test_gcc_flag() {
16350    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351/* end confdefs.h.  */
16352int main() {}
16353_ACEOF
16354    $CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null
16355    ret=$?
16356    rm -f conftest.o
16357    return $ret
16358}
16359
16360# If using GCC specify some additional parameters
16361if test "x$GCC" = "xyes" ; then
16362
16363    DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline"
16364
16365    if test "x$HAVE_NETLINK" = "xyes" ; then
16366        # Test whether rtnetlink.h can be included when compiled with -std=c99
16367        # some distributions (e.g. archlinux) have broken headers that dont
16368        # define __u64 with -std=c99
16369        { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking whether rtnetlink.h can be included with -std=c99" >&5
16370$as_echo_n "checking checking whether rtnetlink.h can be included with -std=c99... " >&6; }
16371        OLDCFLAGS="$CFLAGS"
16372        CFLAGS="-std=c99"
16373        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374/* end confdefs.h.  */
16375#include <linux/rtnetlink.h>
16376int
16377main ()
16378{
16379
16380  ;
16381  return 0;
16382}
16383_ACEOF
16384if ac_fn_c_try_compile "$LINENO"; then :
16385  use_stdc99=yes
16386else
16387  use_stdc99=no
16388fi
16389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16390
16391        if test x"$use_stdc99" = xyes; then
16392            DESIRED_FLAGS="-std=c99 $DESIRED_FLAGS"
16393            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16394$as_echo "yes" >&6; }
16395        else
16396            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16397$as_echo "no" >&6; }
16398        fi
16399
16400        CFLAGS="$OLDCFLAGS"
16401    else
16402        DESIRED_FLAGS="-std=c99 $DESIRED_FLAGS"
16403    fi
16404
16405    for flag in $DESIRED_FLAGS ; do
16406        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $flag" >&5
16407$as_echo_n "checking whether $CC accepts $flag... " >&6; }
16408        if test_gcc_flag $flag ; then
16409           CFLAGS="$CFLAGS $flag"
16410           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16411$as_echo "yes" >&6; }
16412        else
16413           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16414$as_echo "no" >&6; }
16415        fi
16416    done
16417fi
16418
16419# Checks for header files.
16420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16421$as_echo_n "checking for ANSI C header files... " >&6; }
16422if test "${ac_cv_header_stdc+set}" = set; then :
16423  $as_echo_n "(cached) " >&6
16424else
16425  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16426/* end confdefs.h.  */
16427#include <stdlib.h>
16428#include <stdarg.h>
16429#include <string.h>
16430#include <float.h>
16431
16432int
16433main ()
16434{
16435
16436  ;
16437  return 0;
16438}
16439_ACEOF
16440if ac_fn_c_try_compile "$LINENO"; then :
16441  ac_cv_header_stdc=yes
16442else
16443  ac_cv_header_stdc=no
16444fi
16445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16446
16447if test $ac_cv_header_stdc = yes; then
16448  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16449  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450/* end confdefs.h.  */
16451#include <string.h>
16452
16453_ACEOF
16454if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16455  $EGREP "memchr" >/dev/null 2>&1; then :
16456  
16457else
16458  ac_cv_header_stdc=no
16459fi
16460rm -f conftest*
16461
16462fi
16463
16464if test $ac_cv_header_stdc = yes; then
16465  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16466  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16467/* end confdefs.h.  */
16468#include <stdlib.h>
16469
16470_ACEOF
16471if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16472  $EGREP "free" >/dev/null 2>&1; then :
16473  
16474else
16475  ac_cv_header_stdc=no
16476fi
16477rm -f conftest*
16478
16479fi
16480
16481if test $ac_cv_header_stdc = yes; then
16482  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16483  if test "$cross_compiling" = yes; then :
16484  :
16485else
16486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487/* end confdefs.h.  */
16488#include <ctype.h>
16489#include <stdlib.h>
16490#if ((' ' & 0x0FF) == 0x020)
16491# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16492# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16493#else
16494# define ISLOWER(c) \
16495		   (('a' <= (c) && (c) <= 'i') \
16496		     || ('j' <= (c) && (c) <= 'r') \
16497		     || ('s' <= (c) && (c) <= 'z'))
16498# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16499#endif
16500
16501#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16502int
16503main ()
16504{
16505  int i;
16506  for (i = 0; i < 256; i++)
16507    if (XOR (islower (i), ISLOWER (i))
16508	|| toupper (i) != TOUPPER (i))
16509      return 2;
16510  return 0;
16511}
16512_ACEOF
16513if ac_fn_c_try_run "$LINENO"; then :
16514  
16515else
16516  ac_cv_header_stdc=no
16517fi
16518rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16519  conftest.$ac_objext conftest.beam conftest.$ac_ext
16520fi
16521
16522fi
16523fi
16524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16525$as_echo "$ac_cv_header_stdc" >&6; }
16526if test $ac_cv_header_stdc = yes; then
16527  
16528$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
16529
16530fi
16531
16532for ac_header in arpa/inet.h fcntl.h inttypes.h limits.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h netdb.h syslog.h
16533do :
16534  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16535ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16536eval as_val=\$$as_ac_Header
16537   if test "x$as_val" = x""yes; then :
16538  cat >>confdefs.h <<_ACEOF
16539@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16540_ACEOF
16541 
16542fi
16543
16544done
16545
16546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
16547$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
16548if test "${ac_cv_header_stdbool_h+set}" = set; then :
16549  $as_echo_n "(cached) " >&6
16550else
16551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16552/* end confdefs.h.  */
16553
16554#include <stdbool.h>
16555#ifndef bool
16556 "error: bool is not defined"
16557#endif
16558#ifndef false
16559 "error: false is not defined"
16560#endif
16561#if false
16562 "error: false is not 0"
16563#endif
16564#ifndef true
16565 "error: true is not defined"
16566#endif
16567#if true != 1
16568 "error: true is not 1"
16569#endif
16570#ifndef __bool_true_false_are_defined
16571 "error: __bool_true_false_are_defined is not defined"
16572#endif
16573
16574	struct s { _Bool s: 1; _Bool t; } s;
16575
16576	char a[true == 1 ? 1 : -1];
16577	char b[false == 0 ? 1 : -1];
16578	char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16579	char d[(bool) 0.5 == true ? 1 : -1];
16580	bool e = &s;
16581	char f[(_Bool) 0.0 == false ? 1 : -1];
16582	char g[true];
16583	char h[sizeof (_Bool)];
16584	char i[sizeof s.t];
16585	enum { j = false, k = true, l = false * true, m = true * 256 };
16586	/* The following fails for
16587	   HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16588	_Bool n[m];
16589	char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16590	char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16591#	if defined __xlc__ || defined __GNUC__
16592	 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
16593	    reported by James Lemley on 2005-10-05; see
16594	    http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
16595	    This test is not quite right, since xlc is allowed to
16596	    reject this program, as the initializer for xlcbug is
16597	    not one of the forms that C requires support for.
16598	    However, doing the test right would require a runtime
16599	    test, and that would make cross-compilation harder.
16600	    Let us hope that IBM fixes the xlc bug, and also adds
16601	    support for this kind of constant expression.  In the
16602	    meantime, this test will reject xlc, which is OK, since
16603	    our stdbool.h substitute should suffice.  We also test
16604	    this with GCC, where it should work, to detect more
16605	    quickly whether someone messes up the test in the
16606	    future.  */
16607	 char digs[] = "0123456789";
16608	 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
16609#	endif
16610	/* Catch a bug in an HP-UX C compiler.  See
16611	   http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16612	   http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16613	 */
16614	_Bool q = true;
16615	_Bool *pq = &q;
16616      
16617int
16618main ()
16619{
16620
16621	*pq |= q;
16622	*pq |= ! q;
16623	/* Refer to every declared value, to avoid compiler optimizations.  */
16624	return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16625		+ !m + !n + !o + !p + !q + !pq);
16626      
16627  ;
16628  return 0;
16629}
16630_ACEOF
16631if ac_fn_c_try_compile "$LINENO"; then :
16632  ac_cv_header_stdbool_h=yes
16633else
16634  ac_cv_header_stdbool_h=no
16635fi
16636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16637fi
16638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
16639$as_echo "$ac_cv_header_stdbool_h" >&6; }
16640ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
16641if test "x$ac_cv_type__Bool" = x""yes; then :
16642  
16643cat >>confdefs.h <<_ACEOF
16644@%:@define HAVE__BOOL 1
16645_ACEOF
16646
16647
16648fi
16649
16650if test $ac_cv_header_stdbool_h = yes; then
16651  
16652$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
16653
16654fi
16655
16656
16657# Checks for typedefs, structures, and compiler characteristics.
16658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16659$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16660if test "${ac_cv_c_const+set}" = set; then :
16661  $as_echo_n "(cached) " >&6
16662else
16663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664/* end confdefs.h.  */
16665
16666int
16667main ()
16668{
16669/* FIXME: Include the comments suggested by Paul. */
16670#ifndef __cplusplus
16671  /* Ultrix mips cc rejects this.  */
16672  typedef int charset[2];
16673  const charset cs;
16674  /* SunOS 4.1.1 cc rejects this.  */
16675  char const *const *pcpcc;
16676  char **ppc;
16677  /* NEC SVR4.0.2 mips cc rejects this.  */
16678  struct point {int x, y;};
16679  static struct point const zero = {0,0};
16680  /* AIX XL C 1.02.0.0 rejects this.
16681     It does not let you subtract one const X* pointer from another in
16682     an arm of an if-expression whose if-part is not a constant
16683     expression */
16684  const char *g = "string";
16685  pcpcc = &g + (g ? g-g : 0);
16686  /* HPUX 7.0 cc rejects these. */
16687  ++pcpcc;
16688  ppc = (char**) pcpcc;
16689  pcpcc = (char const *const *) ppc;
16690  { /* SCO 3.2v4 cc rejects this.  */
16691    char *t;
16692    char const *s = 0 ? (char *) 0 : (char const *) 0;
16693
16694    *t++ = 0;
16695    if (s) return 0;
16696  }
16697  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16698    int x[] = {25, 17};
16699    const int *foo = &x[0];
16700    ++foo;
16701  }
16702  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16703    typedef const int *iptr;
16704    iptr p = 0;
16705    ++p;
16706  }
16707  { /* AIX XL C 1.02.0.0 rejects this saying
16708       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16709    struct s { int j; const int *ap[3]; };
16710    struct s *b; b->j = 5;
16711  }
16712  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16713    const int foo = 10;
16714    if (!foo) return 0;
16715  }
16716  return !cs[0] && !zero.x;
16717#endif
16718
16719  ;
16720  return 0;
16721}
16722_ACEOF
16723if ac_fn_c_try_compile "$LINENO"; then :
16724  ac_cv_c_const=yes
16725else
16726  ac_cv_c_const=no
16727fi
16728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16729fi
16730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16731$as_echo "$ac_cv_c_const" >&6; }
16732if test $ac_cv_c_const = no; then
16733  
16734$as_echo "@%:@define const /**/" >>confdefs.h
16735
16736fi
16737
16738ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16739if test "x$ac_cv_type_size_t" = x""yes; then :
16740  
16741else
16742  
16743cat >>confdefs.h <<_ACEOF
16744@%:@define size_t unsigned int
16745_ACEOF
16746
16747fi
16748
16749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
16750$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
16751if test "${ac_cv_header_time+set}" = set; then :
16752  $as_echo_n "(cached) " >&6
16753else
16754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16755/* end confdefs.h.  */
16756#include <sys/types.h>
16757#include <sys/time.h>
16758#include <time.h>
16759
16760int
16761main ()
16762{
16763if ((struct tm *) 0)
16764return 0;
16765  ;
16766  return 0;
16767}
16768_ACEOF
16769if ac_fn_c_try_compile "$LINENO"; then :
16770  ac_cv_header_time=yes
16771else
16772  ac_cv_header_time=no
16773fi
16774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16775fi
16776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
16777$as_echo "$ac_cv_header_time" >&6; }
16778if test $ac_cv_header_time = yes; then
16779  
16780$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
16781
16782fi
16783
16784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
16785$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
16786if test "${ac_cv_header_sys_wait_h+set}" = set; then :
16787  $as_echo_n "(cached) " >&6
16788else
16789  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790/* end confdefs.h.  */
16791#include <sys/types.h>
16792#include <sys/wait.h>
16793#ifndef WEXITSTATUS
16794# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
16795#endif
16796#ifndef WIFEXITED
16797# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
16798#endif
16799
16800int
16801main ()
16802{
16803  int s;
16804  wait (&s);
16805  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
16806  ;
16807  return 0;
16808}
16809_ACEOF
16810if ac_fn_c_try_compile "$LINENO"; then :
16811  ac_cv_header_sys_wait_h=yes
16812else
16813  ac_cv_header_sys_wait_h=no
16814fi
16815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16816fi
16817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
16818$as_echo "$ac_cv_header_sys_wait_h" >&6; }
16819if test $ac_cv_header_sys_wait_h = yes; then
16820  
16821$as_echo "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h
16822
16823fi
16824
16825
16826 # Solaris stuff
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
16828$as_echo_n "checking for library containing inet_ntop... " >&6; }
16829if test "${ac_cv_search_inet_ntop+set}" = set; then :
16830  $as_echo_n "(cached) " >&6
16831else
16832  ac_func_search_save_LIBS=$LIBS
16833cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834/* end confdefs.h.  */
16835
16836/* Override any GCC internal prototype to avoid an error.
16837   Use char because int might match the return type of a GCC
16838   builtin and then its argument prototype would still apply.  */
16839#ifdef __cplusplus
16840extern "C"
16841#endif
16842char inet_ntop ();
16843int
16844main ()
16845{
16846return inet_ntop ();
16847  ;
16848  return 0;
16849}
16850_ACEOF
16851for ac_lib in '' nsl; do
16852  if test -z "$ac_lib"; then
16853    ac_res="none required"
16854  else
16855    ac_res=-l$ac_lib
16856    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16857  fi
16858  if ac_fn_c_try_link "$LINENO"; then :
16859  ac_cv_search_inet_ntop=$ac_res
16860fi
16861rm -f core conftest.err conftest.$ac_objext \
16862    conftest$ac_exeext
16863  if test "${ac_cv_search_inet_ntop+set}" = set; then :
16864  break
16865fi
16866done
16867if test "${ac_cv_search_inet_ntop+set}" = set; then :
16868  
16869else
16870  ac_cv_search_inet_ntop=no
16871fi
16872rm conftest.$ac_ext
16873LIBS=$ac_func_search_save_LIBS
16874fi
16875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
16876$as_echo "$ac_cv_search_inet_ntop" >&6; }
16877ac_res=$ac_cv_search_inet_ntop
16878if test "$ac_res" != no; then :
16879  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16880  
16881fi
16882
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing recv" >&5
16884$as_echo_n "checking for library containing recv... " >&6; }
16885if test "${ac_cv_search_recv+set}" = set; then :
16886  $as_echo_n "(cached) " >&6
16887else
16888  ac_func_search_save_LIBS=$LIBS
16889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890/* end confdefs.h.  */
16891
16892/* Override any GCC internal prototype to avoid an error.
16893   Use char because int might match the return type of a GCC
16894   builtin and then its argument prototype would still apply.  */
16895#ifdef __cplusplus
16896extern "C"
16897#endif
16898char recv ();
16899int
16900main ()
16901{
16902return recv ();
16903  ;
16904  return 0;
16905}
16906_ACEOF
16907for ac_lib in '' socket; do
16908  if test -z "$ac_lib"; then
16909    ac_res="none required"
16910  else
16911    ac_res=-l$ac_lib
16912    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16913  fi
16914  if ac_fn_c_try_link "$LINENO"; then :
16915  ac_cv_search_recv=$ac_res
16916fi
16917rm -f core conftest.err conftest.$ac_objext \
16918    conftest$ac_exeext
16919  if test "${ac_cv_search_recv+set}" = set; then :
16920  break
16921fi
16922done
16923if test "${ac_cv_search_recv+set}" = set; then :
16924  
16925else
16926  ac_cv_search_recv=no
16927fi
16928rm conftest.$ac_ext
16929LIBS=$ac_func_search_save_LIBS
16930fi
16931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_recv" >&5
16932$as_echo "$ac_cv_search_recv" >&6; }
16933ac_res=$ac_cv_search_recv
16934if test "$ac_res" != no; then :
16935  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16936  
16937fi
16938
16939 ac_fn_c_check_decl "$LINENO" "CMSG_SPACE" "ac_cv_have_decl_CMSG_SPACE" "$ac_includes_default"
16940if test "x$ac_cv_have_decl_CMSG_SPACE" = x""yes; then :
16941  
16942else
16943  CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
16944fi
16945
16946
16947# Checks for library functions.
16948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
16949$as_echo_n "checking for working memcmp... " >&6; }
16950if test "${ac_cv_func_memcmp_working+set}" = set; then :
16951  $as_echo_n "(cached) " >&6
16952else
16953  if test "$cross_compiling" = yes; then :
16954  ac_cv_func_memcmp_working=no
16955else
16956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957/* end confdefs.h.  */
16958$ac_includes_default
16959int
16960main ()
16961{
16962
16963  /* Some versions of memcmp are not 8-bit clean.  */
16964  char c0 = '\100', c1 = '\200', c2 = '\201';
16965  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
16966    return 1;
16967
16968  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
16969     or more and with at least one buffer not starting on a 4-byte boundary.
16970     William Lewis provided this test program.   */
16971  {
16972    char foo[21];
16973    char bar[21];
16974    int i;
16975    for (i = 0; i < 4; i++)
16976      {
16977	char *a = foo + i;
16978	char *b = bar + i;
16979	strcpy (a, "--------01111111");
16980	strcpy (b, "--------10000000");
16981	if (memcmp (a, b, 16) >= 0)
16982	  return 1;
16983      }
16984    return 0;
16985  }
16986
16987  ;
16988  return 0;
16989}
16990_ACEOF
16991if ac_fn_c_try_run "$LINENO"; then :
16992  ac_cv_func_memcmp_working=yes
16993else
16994  ac_cv_func_memcmp_working=no
16995fi
16996rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16997  conftest.$ac_objext conftest.beam conftest.$ac_ext
16998fi
16999
17000fi
17001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
17002$as_echo "$ac_cv_func_memcmp_working" >&6; }
17003test $ac_cv_func_memcmp_working = no && case " $LIB@&t@OBJS " in
17004  *" memcmp.$ac_objext "* ) ;;
17005  *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext"
17006 ;;
17007esac
17008
17009
17010for ac_header in sys/select.h sys/socket.h
17011do :
17012  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17013ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17014eval as_val=\$$as_ac_Header
17015   if test "x$as_val" = x""yes; then :
17016  cat >>confdefs.h <<_ACEOF
17017@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17018_ACEOF
17019 
17020fi
17021
17022done
17023
17024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
17025$as_echo_n "checking types of arguments for select... " >&6; }
17026if test "${ac_cv_func_select_args+set}" = set; then :
17027  $as_echo_n "(cached) " >&6
17028else
17029  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
17030 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
17031  for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
17032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033/* end confdefs.h.  */
17034$ac_includes_default
17035#ifdef HAVE_SYS_SELECT_H
17036# include <sys/select.h>
17037#endif
17038#ifdef HAVE_SYS_SOCKET_H
17039# include <sys/socket.h>
17040#endif
17041
17042int
17043main ()
17044{
17045extern int select ($ac_arg1,
17046					    $ac_arg234, $ac_arg234, $ac_arg234,
17047					    $ac_arg5);
17048  ;
17049  return 0;
17050}
17051_ACEOF
17052if ac_fn_c_try_compile "$LINENO"; then :
17053  ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
17054fi
17055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056  done
17057 done
17058done
17059# Provide a safe default value.
17060: ${ac_cv_func_select_args='int,int *,struct timeval *'}
17061
17062fi
17063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
17064$as_echo "$ac_cv_func_select_args" >&6; }
17065ac_save_IFS=$IFS; IFS=','
17066set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
17067IFS=$ac_save_IFS
17068shift
17069
17070cat >>confdefs.h <<_ACEOF
17071@%:@define SELECT_TYPE_ARG1 $1
17072_ACEOF
17073
17074
17075cat >>confdefs.h <<_ACEOF
17076@%:@define SELECT_TYPE_ARG234 ($2)
17077_ACEOF
17078
17079
17080cat >>confdefs.h <<_ACEOF
17081@%:@define SELECT_TYPE_ARG5 ($3)
17082_ACEOF
17083
17084rm -f conftest*
17085
17086# avahi_malloc actually returns NULL for avahi_malloc(0), so it does not matter
17087# whether libc's malloc does too. (Same for realloc.)
17088#AC_FUNC_MALLOC
17089#AC_FUNC_REALLOC
17090for ac_func in gethostname memchr memmove memset mkdir select socket strchr strcspn strdup strerror strrchr strspn strstr uname setresuid setreuid setresgid setregid strcasecmp gettimeofday putenv strncasecmp strlcpy gethostbyname seteuid setegid setproctitle getprogname
17091do :
17092  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17093ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17094eval as_val=\$$as_ac_var
17095   if test "x$as_val" = x""yes; then :
17096  cat >>confdefs.h <<_ACEOF
17097@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17098_ACEOF
17099 
17100fi
17101done
17102
17103
17104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
17105$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
17106if test "${ac_cv_type_uid_t+set}" = set; then :
17107  $as_echo_n "(cached) " >&6
17108else
17109  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110/* end confdefs.h.  */
17111#include <sys/types.h>
17112
17113_ACEOF
17114if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17115  $EGREP "uid_t" >/dev/null 2>&1; then :
17116  ac_cv_type_uid_t=yes
17117else
17118  ac_cv_type_uid_t=no
17119fi
17120rm -f conftest*
17121
17122fi
17123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
17124$as_echo "$ac_cv_type_uid_t" >&6; }
17125if test $ac_cv_type_uid_t = no; then
17126  
17127$as_echo "@%:@define uid_t int" >>confdefs.h
17128
17129  
17130$as_echo "@%:@define gid_t int" >>confdefs.h
17131
17132fi
17133
17134for ac_header in unistd.h
17135do :
17136  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
17137if test "x$ac_cv_header_unistd_h" = x""yes; then :
17138  cat >>confdefs.h <<_ACEOF
17139@%:@define HAVE_UNISTD_H 1
17140_ACEOF
17141 
17142fi
17143
17144done
17145
17146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
17147$as_echo_n "checking for working chown... " >&6; }
17148if test "${ac_cv_func_chown_works+set}" = set; then :
17149  $as_echo_n "(cached) " >&6
17150else
17151  if test "$cross_compiling" = yes; then :
17152  ac_cv_func_chown_works=no
17153else
17154  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155/* end confdefs.h.  */
17156$ac_includes_default
17157#include <fcntl.h>
17158
17159int
17160main ()
17161{
17162  char *f = "conftest.chown";
17163  struct stat before, after;
17164
17165  if (creat (f, 0600) < 0)
17166    return 1;
17167  if (stat (f, &before) < 0)
17168    return 1;
17169  if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
17170    return 1;
17171  if (stat (f, &after) < 0)
17172    return 1;
17173  return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
17174
17175  ;
17176  return 0;
17177}
17178_ACEOF
17179if ac_fn_c_try_run "$LINENO"; then :
17180  ac_cv_func_chown_works=yes
17181else
17182  ac_cv_func_chown_works=no
17183fi
17184rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17185  conftest.$ac_objext conftest.beam conftest.$ac_ext
17186fi
17187
17188rm -f conftest.chown
17189
17190fi
17191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
17192$as_echo "$ac_cv_func_chown_works" >&6; }
17193if test $ac_cv_func_chown_works = yes; then
17194  
17195$as_echo "@%:@define HAVE_CHOWN 1" >>confdefs.h
17196
17197fi
17198
17199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
17200$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
17201if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
17202  $as_echo_n "(cached) " >&6
17203else
17204  rm -f conftest.sym conftest.file
17205echo >conftest.file
17206if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
17207  if test "$cross_compiling" = yes; then :
17208  ac_cv_func_lstat_dereferences_slashed_symlink=no
17209else
17210  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211/* end confdefs.h.  */
17212$ac_includes_default
17213int
17214main ()
17215{
17216struct stat sbuf;
17217     /* Linux will dereference the symlink and fail, as required by POSIX.
17218	That is better in the sense that it means we will not
17219	have to compile and use the lstat wrapper.  */
17220     return lstat ("conftest.sym/", &sbuf) == 0;
17221  ;
17222  return 0;
17223}
17224_ACEOF
17225if ac_fn_c_try_run "$LINENO"; then :
17226  ac_cv_func_lstat_dereferences_slashed_symlink=yes
17227else
17228  ac_cv_func_lstat_dereferences_slashed_symlink=no
17229fi
17230rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17231  conftest.$ac_objext conftest.beam conftest.$ac_ext
17232fi
17233
17234else
17235  # If the `ln -s' command failed, then we probably don't even
17236  # have an lstat function.
17237  ac_cv_func_lstat_dereferences_slashed_symlink=no
17238fi
17239rm -f conftest.sym conftest.file
17240
17241fi
17242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
17243$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
17244
17245test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
17246  
17247cat >>confdefs.h <<_ACEOF
17248@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
17249_ACEOF
17250
17251
17252if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
17253  case " $LIB@&t@OBJS " in
17254  *" lstat.$ac_objext "* ) ;;
17255  *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
17256 ;;
17257esac
17258
17259fi
17260
17261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
17262$as_echo_n "checking whether stat accepts an empty string... " >&6; }
17263if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
17264  $as_echo_n "(cached) " >&6
17265else
17266  if test "$cross_compiling" = yes; then :
17267  ac_cv_func_stat_empty_string_bug=yes
17268else
17269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270/* end confdefs.h.  */
17271$ac_includes_default
17272int
17273main ()
17274{
17275struct stat sbuf;
17276  return stat ("", &sbuf) == 0;
17277  ;
17278  return 0;
17279}
17280_ACEOF
17281if ac_fn_c_try_run "$LINENO"; then :
17282  ac_cv_func_stat_empty_string_bug=no
17283else
17284  ac_cv_func_stat_empty_string_bug=yes
17285fi
17286rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17287  conftest.$ac_objext conftest.beam conftest.$ac_ext
17288fi
17289
17290fi
17291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
17292$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
17293if test $ac_cv_func_stat_empty_string_bug = yes; then
17294  case " $LIB@&t@OBJS " in
17295  *" stat.$ac_objext "* ) ;;
17296  *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext"
17297 ;;
17298esac
17299
17300  
17301cat >>confdefs.h <<_ACEOF
17302@%:@define HAVE_STAT_EMPTY_STRING_BUG 1
17303_ACEOF
17304
17305fi
17306
17307ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17308if test "x$ac_cv_type_mode_t" = x""yes; then :
17309  
17310else
17311  
17312cat >>confdefs.h <<_ACEOF
17313@%:@define mode_t int
17314_ACEOF
17315
17316fi
17317
17318ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17319if test "x$ac_cv_type_pid_t" = x""yes; then :
17320  
17321else
17322  
17323cat >>confdefs.h <<_ACEOF
17324@%:@define pid_t int
17325_ACEOF
17326
17327fi
17328
17329
17330ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
17331if test "x$ac_cv_have_decl_environ" = x""yes; then :
17332  ac_have_decl=1
17333else
17334  ac_have_decl=0
17335fi
17336
17337cat >>confdefs.h <<_ACEOF
17338@%:@define HAVE_DECL_ENVIRON $ac_have_decl
17339_ACEOF
17340
17341
17342# check if gcc's -fvisibility is supported
17343
17344  save_CFLAGS="$CFLAGS"
17345  VISIBILITY_HIDDEN_CFLAGS=""
17346  OPTION=-fvisibility=hidden
17347
17348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc $OPTION support" >&5
17349$as_echo_n "checking for gcc $OPTION support... " >&6; }
17350
17351  CFLAGS="$CFLAGS $OPTION"
17352
17353  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354/* end confdefs.h.  */
17355
17356      int default_vis __attribute__ ((visibility("default")));
17357      int hidden_vis __attribute__ ((visibility("hidden")));
17358    
17359int
17360main ()
17361{
17362
17363  ;
17364  return 0;
17365}
17366_ACEOF
17367if ac_fn_c_try_compile "$LINENO"; then :
17368  ac_visibility_supported=yes
17369else
17370  ac_visibility_supported=no
17371fi
17372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_visibility_supported" >&5
17374$as_echo "$ac_visibility_supported" >&6; }
17375
17376  if test x"$ac_visibility_supported" = xyes; then
17377    
17378$as_echo "@%:@define HAVE_GCC_VISIBILITY 1" >>confdefs.h
17379
17380    VISIBILITY_HIDDEN_CFLAGS="$OPTION -DHAVE_VISIBILITY_HIDDEN"
17381    
17382$as_echo "@%:@define HAVE_VISIBILITY_HIDDEN /**/" >>confdefs.h
17383
17384  else
17385    
17386    :
17387  fi
17388
17389  
17390
17391  CFLAGS="$save_CFLAGS"
17392
17393
17394enable_chroot=yes
17395for ac_header in sys/capability.h
17396do :
17397  ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
17398if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
17399  cat >>confdefs.h <<_ACEOF
17400@%:@define HAVE_SYS_CAPABILITY_H 1
17401_ACEOF
17402 
17403else
17404  enable_chroot=no
17405fi
17406
17407done
17408
17409for ac_header in sys/prctl.h
17410do :
17411  ac_fn_c_check_header_mongrel "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
17412if test "x$ac_cv_header_sys_prctl_h" = x""yes; then :
17413  cat >>confdefs.h <<_ACEOF
17414@%:@define HAVE_SYS_PRCTL_H 1
17415_ACEOF
17416 
17417else
17418  enable_chroot=no
17419fi
17420
17421done
17422
17423for ac_func in chroot
17424do :
17425  ac_fn_c_check_func "$LINENO" "chroot" "ac_cv_func_chroot"
17426if test "x$ac_cv_func_chroot" = x""yes; then :
17427  cat >>confdefs.h <<_ACEOF
17428@%:@define HAVE_CHROOT 1
17429_ACEOF
17430 
17431else
17432  enable_chroot=no
17433fi
17434done
17435
17436
17437 if test "x$enable_chroot" = "xyes"; then
17438  ENABLE_CHROOT_TRUE=
17439  ENABLE_CHROOT_FALSE='#'
17440else
17441  ENABLE_CHROOT_TRUE='#'
17442  ENABLE_CHROOT_FALSE=
17443fi
17444
17445
17446if test "x$enable_chroot" = "xyes" ; then
17447   
17448$as_echo "@%:@define ENABLE_CHROOT 1" >>confdefs.h
17449
17450fi
17451
17452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17453$as_echo_n "checking for dlopen in -ldl... " >&6; }
17454if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
17455  $as_echo_n "(cached) " >&6
17456else
17457  ac_check_lib_save_LIBS=$LIBS
17458LIBS="-ldl  $LIBS"
17459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460/* end confdefs.h.  */
17461
17462/* Override any GCC internal prototype to avoid an error.
17463   Use char because int might match the return type of a GCC
17464   builtin and then its argument prototype would still apply.  */
17465#ifdef __cplusplus
17466extern "C"
17467#endif
17468char dlopen ();
17469int
17470main ()
17471{
17472return dlopen ();
17473  ;
17474  return 0;
17475}
17476_ACEOF
17477if ac_fn_c_try_link "$LINENO"; then :
17478  ac_cv_lib_dl_dlopen=yes
17479else
17480  ac_cv_lib_dl_dlopen=no
17481fi
17482rm -f core conftest.err conftest.$ac_objext \
17483    conftest$ac_exeext conftest.$ac_ext
17484LIBS=$ac_check_lib_save_LIBS
17485fi
17486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17487$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17488if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
17489   for ac_header in dlfcn.h
17490do :
17491  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
17492if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
17493  cat >>confdefs.h <<_ACEOF
17494@%:@define HAVE_DLFCN_H 1
17495_ACEOF
17496 HAVE_DLOPEN=yes
17497else
17498  HAVE_DLOPEN=no
17499fi
17500
17501done
17502 
17503else
17504  HAVE_DLOPEN=no
17505fi
17506
17507if test "x$HAVE_DLOPEN" = "xyes" ; then
17508    
17509$as_echo "@%:@define HAVE_DLOPEN 1" >>confdefs.h
17510
17511fi
17512 if test "x$HAVE_DLOPEN" = "xyes"; then
17513  HAVE_DLOPEN_TRUE=
17514  HAVE_DLOPEN_FALSE='#'
17515else
17516  HAVE_DLOPEN_TRUE='#'
17517  HAVE_DLOPEN_FALSE=
17518fi
17519
17520
17521have_inotify=no
17522for ac_header in sys/inotify.h
17523do :
17524  ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
17525if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
17526  cat >>confdefs.h <<_ACEOF
17527@%:@define HAVE_SYS_INOTIFY_H 1
17528_ACEOF
17529 have_inotify=yes
17530fi
17531
17532done
17533
17534
17535 if test "x$have_inotify" = "xyes"; then
17536  HAVE_INOTIFY_TRUE=
17537  HAVE_INOTIFY_FALSE='#'
17538else
17539  HAVE_INOTIFY_TRUE='#'
17540  HAVE_INOTIFY_FALSE=
17541fi
17542
17543
17544if test "x$have_inotify" = "xyes" ; then
17545   
17546$as_echo "@%:@define HAVE_INOTIFY 1" >>confdefs.h
17547
17548fi
17549
17550have_kqueue=yes
17551for ac_func in kqueue
17552do :
17553  ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
17554if test "x$ac_cv_func_kqueue" = x""yes; then :
17555  cat >>confdefs.h <<_ACEOF
17556@%:@define HAVE_KQUEUE 1
17557_ACEOF
17558 
17559else
17560  have_kqueue=no
17561fi
17562done
17563
17564
17565 if test "x$have_kqueue" = "xyes"; then
17566  HAVE_KQUEUE_TRUE=
17567  HAVE_KQUEUE_FALSE='#'
17568else
17569  HAVE_KQUEUE_TRUE='#'
17570  HAVE_KQUEUE_FALSE=
17571fi
17572
17573
17574if test "x$have_kqueue" = "xyes" ; then
17575    
17576$as_echo "@%:@define HAVE_KQUEUE 1" >>confdefs.h
17577
17578fi
17579
17580
17581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17582$as_echo_n "checking whether NLS is requested... " >&6; }
17583    @%:@ Check whether --enable-nls was given.
17584if test "${enable_nls+set}" = set; then :
17585  enableval=$enable_nls; USE_NLS=$enableval
17586else
17587  USE_NLS=yes
17588fi
17589
17590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17591$as_echo "$USE_NLS" >&6; }
17592  
17593
17594
17595
17596case "$am__api_version" in
17597    1.01234)
17598	as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
17599    ;;
17600    *)
17601    ;;
17602esac
17603
17604if test -n "0.35.0"; then
17605    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
17606$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
17607
17608    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17609    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
17610    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17611    
17612    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
17613$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
17614    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
17615	as_fn_error "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
17616fi
17617
17618# Extract the first word of "intltool-update", so it can be a program name with args.
17619set dummy intltool-update; ac_word=$2
17620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17621$as_echo_n "checking for $ac_word... " >&6; }
17622if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
17623  $as_echo_n "(cached) " >&6
17624else
17625  case $INTLTOOL_UPDATE in
17626  [\\/]* | ?:[\\/]*)
17627  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
17628  ;;
17629  *)
17630  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17631for as_dir in $PATH
17632do
17633  IFS=$as_save_IFS
17634  test -z "$as_dir" && as_dir=.
17635    for ac_exec_ext in '' $ac_executable_extensions; do
17636  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17637    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
17638    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17639    break 2
17640  fi
17641done
17642  done
17643IFS=$as_save_IFS
17644
17645  ;;
17646esac
17647fi
17648INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
17649if test -n "$INTLTOOL_UPDATE"; then
17650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
17651$as_echo "$INTLTOOL_UPDATE" >&6; }
17652else
17653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17654$as_echo "no" >&6; }
17655fi
17656
17657
17658# Extract the first word of "intltool-merge", so it can be a program name with args.
17659set dummy intltool-merge; ac_word=$2
17660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17661$as_echo_n "checking for $ac_word... " >&6; }
17662if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
17663  $as_echo_n "(cached) " >&6
17664else
17665  case $INTLTOOL_MERGE in
17666  [\\/]* | ?:[\\/]*)
17667  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
17668  ;;
17669  *)
17670  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17671for as_dir in $PATH
17672do
17673  IFS=$as_save_IFS
17674  test -z "$as_dir" && as_dir=.
17675    for ac_exec_ext in '' $ac_executable_extensions; do
17676  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17677    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
17678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17679    break 2
17680  fi
17681done
17682  done
17683IFS=$as_save_IFS
17684
17685  ;;
17686esac
17687fi
17688INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
17689if test -n "$INTLTOOL_MERGE"; then
17690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
17691$as_echo "$INTLTOOL_MERGE" >&6; }
17692else
17693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17694$as_echo "no" >&6; }
17695fi
17696
17697
17698# Extract the first word of "intltool-extract", so it can be a program name with args.
17699set dummy intltool-extract; ac_word=$2
17700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17701$as_echo_n "checking for $ac_word... " >&6; }
17702if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
17703  $as_echo_n "(cached) " >&6
17704else
17705  case $INTLTOOL_EXTRACT in
17706  [\\/]* | ?:[\\/]*)
17707  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
17708  ;;
17709  *)
17710  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17711for as_dir in $PATH
17712do
17713  IFS=$as_save_IFS
17714  test -z "$as_dir" && as_dir=.
17715    for ac_exec_ext in '' $ac_executable_extensions; do
17716  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17717    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
17718    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17719    break 2
17720  fi
17721done
17722  done
17723IFS=$as_save_IFS
17724
17725  ;;
17726esac
17727fi
17728INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
17729if test -n "$INTLTOOL_EXTRACT"; then
17730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
17731$as_echo "$INTLTOOL_EXTRACT" >&6; }
17732else
17733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17734$as_echo "no" >&6; }
17735fi
17736
17737
17738if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
17739    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
17740fi
17741
17742  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17743INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17744     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17745     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17746      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
17747     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17748   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17749    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17750INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17751       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17752      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17753      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' 
17754      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17755      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17756    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17757  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17758    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 
17759    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17760   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782# Check the gettext tools to make sure they are GNU
17783# Extract the first word of "xgettext", so it can be a program name with args.
17784set dummy xgettext; ac_word=$2
17785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17786$as_echo_n "checking for $ac_word... " >&6; }
17787if test "${ac_cv_path_XGETTEXT+set}" = set; then :
17788  $as_echo_n "(cached) " >&6
17789else
17790  case $XGETTEXT in
17791  [\\/]* | ?:[\\/]*)
17792  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17793  ;;
17794  *)
17795  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17796for as_dir in $PATH
17797do
17798  IFS=$as_save_IFS
17799  test -z "$as_dir" && as_dir=.
17800    for ac_exec_ext in '' $ac_executable_extensions; do
17801  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17802    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
17803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17804    break 2
17805  fi
17806done
17807  done
17808IFS=$as_save_IFS
17809
17810  ;;
17811esac
17812fi
17813XGETTEXT=$ac_cv_path_XGETTEXT
17814if test -n "$XGETTEXT"; then
17815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17816$as_echo "$XGETTEXT" >&6; }
17817else
17818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17819$as_echo "no" >&6; }
17820fi
17821
17822
17823# Extract the first word of "msgmerge", so it can be a program name with args.
17824set dummy msgmerge; ac_word=$2
17825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17826$as_echo_n "checking for $ac_word... " >&6; }
17827if test "${ac_cv_path_MSGMERGE+set}" = set; then :
17828  $as_echo_n "(cached) " >&6
17829else
17830  case $MSGMERGE in
17831  [\\/]* | ?:[\\/]*)
17832  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17833  ;;
17834  *)
17835  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17836for as_dir in $PATH
17837do
17838  IFS=$as_save_IFS
17839  test -z "$as_dir" && as_dir=.
17840    for ac_exec_ext in '' $ac_executable_extensions; do
17841  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17842    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
17843    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17844    break 2
17845  fi
17846done
17847  done
17848IFS=$as_save_IFS
17849
17850  ;;
17851esac
17852fi
17853MSGMERGE=$ac_cv_path_MSGMERGE
17854if test -n "$MSGMERGE"; then
17855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17856$as_echo "$MSGMERGE" >&6; }
17857else
17858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17859$as_echo "no" >&6; }
17860fi
17861
17862
17863# Extract the first word of "msgfmt", so it can be a program name with args.
17864set dummy msgfmt; ac_word=$2
17865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17866$as_echo_n "checking for $ac_word... " >&6; }
17867if test "${ac_cv_path_MSGFMT+set}" = set; then :
17868  $as_echo_n "(cached) " >&6
17869else
17870  case $MSGFMT in
17871  [\\/]* | ?:[\\/]*)
17872  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17873  ;;
17874  *)
17875  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17876for as_dir in $PATH
17877do
17878  IFS=$as_save_IFS
17879  test -z "$as_dir" && as_dir=.
17880    for ac_exec_ext in '' $ac_executable_extensions; do
17881  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17882    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
17883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17884    break 2
17885  fi
17886done
17887  done
17888IFS=$as_save_IFS
17889
17890  ;;
17891esac
17892fi
17893MSGFMT=$ac_cv_path_MSGFMT
17894if test -n "$MSGFMT"; then
17895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17896$as_echo "$MSGFMT" >&6; }
17897else
17898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17899$as_echo "no" >&6; }
17900fi
17901
17902
17903# Extract the first word of "gmsgfmt", so it can be a program name with args.
17904set dummy gmsgfmt; ac_word=$2
17905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17906$as_echo_n "checking for $ac_word... " >&6; }
17907if test "${ac_cv_path_GMSGFMT+set}" = set; then :
17908  $as_echo_n "(cached) " >&6
17909else
17910  case $GMSGFMT in
17911  [\\/]* | ?:[\\/]*)
17912  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17913  ;;
17914  *)
17915  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17916for as_dir in $PATH
17917do
17918  IFS=$as_save_IFS
17919  test -z "$as_dir" && as_dir=.
17920    for ac_exec_ext in '' $ac_executable_extensions; do
17921  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17922    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17923    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17924    break 2
17925  fi
17926done
17927  done
17928IFS=$as_save_IFS
17929
17930  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17931  ;;
17932esac
17933fi
17934GMSGFMT=$ac_cv_path_GMSGFMT
17935if test -n "$GMSGFMT"; then
17936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17937$as_echo "$GMSGFMT" >&6; }
17938else
17939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17940$as_echo "no" >&6; }
17941fi
17942
17943
17944if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
17945    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
17946fi
17947xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
17948mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
17949mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
17950if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
17951    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
17952fi
17953
17954# Extract the first word of "perl", so it can be a program name with args.
17955set dummy perl; ac_word=$2
17956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17957$as_echo_n "checking for $ac_word... " >&6; }
17958if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
17959  $as_echo_n "(cached) " >&6
17960else
17961  case $INTLTOOL_PERL in
17962  [\\/]* | ?:[\\/]*)
17963  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
17964  ;;
17965  *)
17966  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17967for as_dir in $PATH
17968do
17969  IFS=$as_save_IFS
17970  test -z "$as_dir" && as_dir=.
17971    for ac_exec_ext in '' $ac_executable_extensions; do
17972  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17973    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
17974    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17975    break 2
17976  fi
17977done
17978  done
17979IFS=$as_save_IFS
17980
17981  ;;
17982esac
17983fi
17984INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
17985if test -n "$INTLTOOL_PERL"; then
17986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
17987$as_echo "$INTLTOOL_PERL" >&6; }
17988else
17989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17990$as_echo "no" >&6; }
17991fi
17992
17993
17994if test -z "$INTLTOOL_PERL"; then
17995   as_fn_error "perl not found; required for intltool" "$LINENO" 5
17996fi
17997if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
17998   as_fn_error "perl 5.x required for intltool" "$LINENO" 5
17999fi
18000if test "x" != "xno-xml"; then
18001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
18002$as_echo_n "checking for XML::Parser... " >&6; }
18003   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
18004       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18005$as_echo "ok" >&6; }
18006   else
18007       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
18008   fi
18009fi
18010
18011# Substitute ALL_LINGUAS so we can use it in po/Makefile
18012
18013
18014# Set DATADIRNAME correctly if it is not set yet
18015# (copied from glib-gettext.m4)
18016if test -z "$DATADIRNAME"; then
18017  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018/* end confdefs.h.  */
18019
18020int
18021main ()
18022{
18023extern int _nl_msg_cat_cntr;
18024                       return _nl_msg_cat_cntr
18025  ;
18026  return 0;
18027}
18028_ACEOF
18029if ac_fn_c_try_link "$LINENO"; then :
18030  DATADIRNAME=share
18031else
18032  case $host in
18033    *-*-solaris*)
18034                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18035if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
18036  DATADIRNAME=share
18037else
18038  DATADIRNAME=lib
18039fi
18040
18041    ;;
18042    *)
18043    DATADIRNAME=lib
18044    ;;
18045    esac
18046fi
18047rm -f core conftest.err conftest.$ac_objext \
18048    conftest$ac_exeext conftest.$ac_ext
18049fi
18050
18051
18052
18053
18054
18055GETTEXT_PACKAGE=avahi
18056
18057
18058cat >>confdefs.h <<_ACEOF
18059@%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
18060_ACEOF
18061
18062      
18063   for ac_header in locale.h
18064do :
18065  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
18066if test "x$ac_cv_header_locale_h" = x""yes; then :
18067  cat >>confdefs.h <<_ACEOF
18068@%:@define HAVE_LOCALE_H 1
18069_ACEOF
18070 
18071fi
18072
18073done
18074
18075    if test $ac_cv_header_locale_h = yes; then
18076    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
18077$as_echo_n "checking for LC_MESSAGES... " >&6; }
18078if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
18079  $as_echo_n "(cached) " >&6
18080else
18081  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082/* end confdefs.h.  */
18083#include <locale.h>
18084int
18085main ()
18086{
18087return LC_MESSAGES
18088  ;
18089  return 0;
18090}
18091_ACEOF
18092if ac_fn_c_try_link "$LINENO"; then :
18093  am_cv_val_LC_MESSAGES=yes
18094else
18095  am_cv_val_LC_MESSAGES=no
18096fi
18097rm -f core conftest.err conftest.$ac_objext \
18098    conftest$ac_exeext conftest.$ac_ext
18099fi
18100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
18101$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
18102    if test $am_cv_val_LC_MESSAGES = yes; then
18103      
18104$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h
18105
18106    fi
18107  fi
18108     USE_NLS=yes
18109    
18110
18111    gt_cv_have_gettext=no
18112
18113    CATOBJEXT=NONE
18114    XGETTEXT=:
18115    INTLLIBS=
18116
18117    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
18118if test "x$ac_cv_header_libintl_h" = x""yes; then :
18119  gt_cv_func_dgettext_libintl="no"
18120      libintl_extra_libs=""
18121
18122      #
18123      # First check in libc
18124      #
18125      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
18126$as_echo_n "checking for ngettext in libc... " >&6; }
18127if test "${gt_cv_func_ngettext_libc+set}" = set; then :
18128  $as_echo_n "(cached) " >&6
18129else
18130  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131/* end confdefs.h.  */
18132
18133#include <libintl.h>
18134
18135int
18136main ()
18137{
18138return !ngettext ("","", 1)
18139  ;
18140  return 0;
18141}
18142_ACEOF
18143if ac_fn_c_try_link "$LINENO"; then :
18144  gt_cv_func_ngettext_libc=yes
18145else
18146  gt_cv_func_ngettext_libc=no
18147fi
18148rm -f core conftest.err conftest.$ac_objext \
18149    conftest$ac_exeext conftest.$ac_ext
18150        
18151fi
18152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
18153$as_echo "$gt_cv_func_ngettext_libc" >&6; }
18154  
18155      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18156	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
18157$as_echo_n "checking for dgettext in libc... " >&6; }
18158if test "${gt_cv_func_dgettext_libc+set}" = set; then :
18159  $as_echo_n "(cached) " >&6
18160else
18161  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162/* end confdefs.h.  */
18163
18164#include <libintl.h>
18165
18166int
18167main ()
18168{
18169return !dgettext ("","")
18170  ;
18171  return 0;
18172}
18173_ACEOF
18174if ac_fn_c_try_link "$LINENO"; then :
18175  gt_cv_func_dgettext_libc=yes
18176else
18177  gt_cv_func_dgettext_libc=no
18178fi
18179rm -f core conftest.err conftest.$ac_objext \
18180    conftest$ac_exeext conftest.$ac_ext
18181        	
18182fi
18183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
18184$as_echo "$gt_cv_func_dgettext_libc" >&6; }
18185      fi
18186  
18187      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18188        for ac_func in bind_textdomain_codeset
18189do :
18190  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18191if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
18192  cat >>confdefs.h <<_ACEOF
18193@%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
18194_ACEOF
18195 
18196fi
18197done
18198
18199      fi
18200
18201      #
18202      # If we don't have everything we want, check in libintl
18203      #
18204      if test "$gt_cv_func_dgettext_libc" != "yes" \
18205	 || test "$gt_cv_func_ngettext_libc" != "yes" \
18206         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
18207        
18208        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
18209$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
18210if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
18211  $as_echo_n "(cached) " >&6
18212else
18213  ac_check_lib_save_LIBS=$LIBS
18214LIBS="-lintl  $LIBS"
18215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18216/* end confdefs.h.  */
18217
18218/* Override any GCC internal prototype to avoid an error.
18219   Use char because int might match the return type of a GCC
18220   builtin and then its argument prototype would still apply.  */
18221#ifdef __cplusplus
18222extern "C"
18223#endif
18224char bindtextdomain ();
18225int
18226main ()
18227{
18228return bindtextdomain ();
18229  ;
18230  return 0;
18231}
18232_ACEOF
18233if ac_fn_c_try_link "$LINENO"; then :
18234  ac_cv_lib_intl_bindtextdomain=yes
18235else
18236  ac_cv_lib_intl_bindtextdomain=no
18237fi
18238rm -f core conftest.err conftest.$ac_objext \
18239    conftest$ac_exeext conftest.$ac_ext
18240LIBS=$ac_check_lib_save_LIBS
18241fi
18242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
18243$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
18244if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
18245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
18246$as_echo_n "checking for ngettext in -lintl... " >&6; }
18247if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
18248  $as_echo_n "(cached) " >&6
18249else
18250  ac_check_lib_save_LIBS=$LIBS
18251LIBS="-lintl  $LIBS"
18252cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18253/* end confdefs.h.  */
18254
18255/* Override any GCC internal prototype to avoid an error.
18256   Use char because int might match the return type of a GCC
18257   builtin and then its argument prototype would still apply.  */
18258#ifdef __cplusplus
18259extern "C"
18260#endif
18261char ngettext ();
18262int
18263main ()
18264{
18265return ngettext ();
18266  ;
18267  return 0;
18268}
18269_ACEOF
18270if ac_fn_c_try_link "$LINENO"; then :
18271  ac_cv_lib_intl_ngettext=yes
18272else
18273  ac_cv_lib_intl_ngettext=no
18274fi
18275rm -f core conftest.err conftest.$ac_objext \
18276    conftest$ac_exeext conftest.$ac_ext
18277LIBS=$ac_check_lib_save_LIBS
18278fi
18279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
18280$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
18281if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
18282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
18283$as_echo_n "checking for dgettext in -lintl... " >&6; }
18284if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
18285  $as_echo_n "(cached) " >&6
18286else
18287  ac_check_lib_save_LIBS=$LIBS
18288LIBS="-lintl  $LIBS"
18289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290/* end confdefs.h.  */
18291
18292/* Override any GCC internal prototype to avoid an error.
18293   Use char because int might match the return type of a GCC
18294   builtin and then its argument prototype would still apply.  */
18295#ifdef __cplusplus
18296extern "C"
18297#endif
18298char dgettext ();
18299int
18300main ()
18301{
18302return dgettext ();
18303  ;
18304  return 0;
18305}
18306_ACEOF
18307if ac_fn_c_try_link "$LINENO"; then :
18308  ac_cv_lib_intl_dgettext=yes
18309else
18310  ac_cv_lib_intl_dgettext=no
18311fi
18312rm -f core conftest.err conftest.$ac_objext \
18313    conftest$ac_exeext conftest.$ac_ext
18314LIBS=$ac_check_lib_save_LIBS
18315fi
18316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
18317$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
18318if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
18319  gt_cv_func_dgettext_libintl=yes
18320fi
18321
18322fi
18323
18324fi
18325
18326
18327	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
18328	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
18329$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
18330	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18331$as_echo "" >&6; }
18332  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
18333$as_echo_n "checking for ngettext in -lintl... " >&6; }
18334if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
18335  $as_echo_n "(cached) " >&6
18336else
18337  ac_check_lib_save_LIBS=$LIBS
18338LIBS="-lintl -liconv $LIBS"
18339cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18340/* end confdefs.h.  */
18341
18342/* Override any GCC internal prototype to avoid an error.
18343   Use char because int might match the return type of a GCC
18344   builtin and then its argument prototype would still apply.  */
18345#ifdef __cplusplus
18346extern "C"
18347#endif
18348char ngettext ();
18349int
18350main ()
18351{
18352return ngettext ();
18353  ;
18354  return 0;
18355}
18356_ACEOF
18357if ac_fn_c_try_link "$LINENO"; then :
18358  ac_cv_lib_intl_ngettext=yes
18359else
18360  ac_cv_lib_intl_ngettext=no
18361fi
18362rm -f core conftest.err conftest.$ac_objext \
18363    conftest$ac_exeext conftest.$ac_ext
18364LIBS=$ac_check_lib_save_LIBS
18365fi
18366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
18367$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
18368if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
18369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
18370$as_echo_n "checking for dcgettext in -lintl... " >&6; }
18371if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
18372  $as_echo_n "(cached) " >&6
18373else
18374  ac_check_lib_save_LIBS=$LIBS
18375LIBS="-lintl -liconv $LIBS"
18376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377/* end confdefs.h.  */
18378
18379/* Override any GCC internal prototype to avoid an error.
18380   Use char because int might match the return type of a GCC
18381   builtin and then its argument prototype would still apply.  */
18382#ifdef __cplusplus
18383extern "C"
18384#endif
18385char dcgettext ();
18386int
18387main ()
18388{
18389return dcgettext ();
18390  ;
18391  return 0;
18392}
18393_ACEOF
18394if ac_fn_c_try_link "$LINENO"; then :
18395  ac_cv_lib_intl_dcgettext=yes
18396else
18397  ac_cv_lib_intl_dcgettext=no
18398fi
18399rm -f core conftest.err conftest.$ac_objext \
18400    conftest$ac_exeext conftest.$ac_ext
18401LIBS=$ac_check_lib_save_LIBS
18402fi
18403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
18404$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
18405if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
18406  gt_cv_func_dgettext_libintl=yes
18407			libintl_extra_libs=-liconv
18408else
18409  :
18410fi
18411
18412else
18413  :
18414fi
18415
18416        fi
18417
18418        #
18419        # If we found libintl, then check in it for bind_textdomain_codeset();
18420        # we'll prefer libc if neither have bind_textdomain_codeset(),
18421        # and both have dgettext and ngettext
18422        #
18423        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
18424          glib_save_LIBS="$LIBS"
18425          LIBS="$LIBS -lintl $libintl_extra_libs"
18426          unset ac_cv_func_bind_textdomain_codeset
18427          for ac_func in bind_textdomain_codeset
18428do :
18429  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18430if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
18431  cat >>confdefs.h <<_ACEOF
18432@%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
18433_ACEOF
18434 
18435fi
18436done
18437
18438          LIBS="$glib_save_LIBS"
18439
18440          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
18441            gt_cv_func_dgettext_libc=no
18442          else
18443            if test "$gt_cv_func_dgettext_libc" = "yes" \
18444		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
18445              gt_cv_func_dgettext_libintl=no
18446            fi
18447          fi
18448        fi
18449      fi
18450
18451      if test "$gt_cv_func_dgettext_libc" = "yes" \
18452	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
18453        gt_cv_have_gettext=yes
18454      fi
18455  
18456      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
18457        INTLLIBS="-lintl $libintl_extra_libs"
18458      fi
18459  
18460      if test "$gt_cv_have_gettext" = "yes"; then
18461	
18462$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
18463
18464	# Extract the first word of "msgfmt", so it can be a program name with args.
18465set dummy msgfmt; ac_word=$2
18466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18467$as_echo_n "checking for $ac_word... " >&6; }
18468if test "${ac_cv_path_MSGFMT+set}" = set; then :
18469  $as_echo_n "(cached) " >&6
18470else
18471  case "$MSGFMT" in
18472  /*)
18473  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
18474  ;;
18475  *)
18476  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
18477  for ac_dir in $PATH; do
18478    test -z "$ac_dir" && ac_dir=.
18479    if test -f $ac_dir/$ac_word; then
18480      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
18481	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
18482	break
18483      fi
18484    fi
18485  done
18486  IFS="$ac_save_ifs"
18487  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
18488  ;;
18489esac
18490fi
18491MSGFMT="$ac_cv_path_MSGFMT"
18492if test "$MSGFMT" != "no"; then
18493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18494$as_echo "$MSGFMT" >&6; }
18495else
18496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18497$as_echo "no" >&6; }
18498fi
18499	if test "$MSGFMT" != "no"; then
18500          glib_save_LIBS="$LIBS"
18501          LIBS="$LIBS $INTLLIBS"
18502	  for ac_func in dcgettext
18503do :
18504  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
18505if test "x$ac_cv_func_dcgettext" = x""yes; then :
18506  cat >>confdefs.h <<_ACEOF
18507@%:@define HAVE_DCGETTEXT 1
18508_ACEOF
18509 
18510fi
18511done
18512
18513	  MSGFMT_OPTS=
18514	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
18515$as_echo_n "checking if msgfmt accepts -c... " >&6; }
18516	  cat >conftest.foo <<_ACEOF
18517
18518msgid ""
18519msgstr ""
18520"Content-Type: text/plain; charset=UTF-8\n"
18521"Project-Id-Version: test 1.0\n"
18522"PO-Revision-Date: 2007-02-15 12:01+0100\n"
18523"Last-Translator: test <foo@bar.xx>\n"
18524"Language-Team: C <LL@li.org>\n"
18525"MIME-Version: 1.0\n"
18526"Content-Transfer-Encoding: 8bit\n"
18527
18528_ACEOF
18529if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
18530  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
18531  ac_status=$?
18532  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18533  test $ac_status = 0; }; then
18534  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18535$as_echo "yes" >&6; }
18536else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18537$as_echo "no" >&6; }
18538echo "$as_me: failed input was:" >&5
18539sed 's/^/| /' conftest.foo >&5
18540fi
18541	  
18542	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
18543set dummy gmsgfmt; ac_word=$2
18544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18545$as_echo_n "checking for $ac_word... " >&6; }
18546if test "${ac_cv_path_GMSGFMT+set}" = set; then :
18547  $as_echo_n "(cached) " >&6
18548else
18549  case $GMSGFMT in
18550  [\\/]* | ?:[\\/]*)
18551  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
18552  ;;
18553  *)
18554  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18555for as_dir in $PATH
18556do
18557  IFS=$as_save_IFS
18558  test -z "$as_dir" && as_dir=.
18559    for ac_exec_ext in '' $ac_executable_extensions; do
18560  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18561    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
18562    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18563    break 2
18564  fi
18565done
18566  done
18567IFS=$as_save_IFS
18568
18569  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
18570  ;;
18571esac
18572fi
18573GMSGFMT=$ac_cv_path_GMSGFMT
18574if test -n "$GMSGFMT"; then
18575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18576$as_echo "$GMSGFMT" >&6; }
18577else
18578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18579$as_echo "no" >&6; }
18580fi
18581
18582
18583	  # Extract the first word of "xgettext", so it can be a program name with args.
18584set dummy xgettext; ac_word=$2
18585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18586$as_echo_n "checking for $ac_word... " >&6; }
18587if test "${ac_cv_path_XGETTEXT+set}" = set; then :
18588  $as_echo_n "(cached) " >&6
18589else
18590  case "$XGETTEXT" in
18591  /*)
18592  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
18593  ;;
18594  *)
18595  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
18596  for ac_dir in $PATH; do
18597    test -z "$ac_dir" && ac_dir=.
18598    if test -f $ac_dir/$ac_word; then
18599      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
18600	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
18601	break
18602      fi
18603    fi
18604  done
18605  IFS="$ac_save_ifs"
18606  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
18607  ;;
18608esac
18609fi
18610XGETTEXT="$ac_cv_path_XGETTEXT"
18611if test "$XGETTEXT" != ":"; then
18612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18613$as_echo "$XGETTEXT" >&6; }
18614else
18615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18616$as_echo "no" >&6; }
18617fi
18618
18619	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620/* end confdefs.h.  */
18621
18622int
18623main ()
18624{
18625extern int _nl_msg_cat_cntr;
18626			 return _nl_msg_cat_cntr
18627  ;
18628  return 0;
18629}
18630_ACEOF
18631if ac_fn_c_try_link "$LINENO"; then :
18632  CATOBJEXT=.gmo 
18633             DATADIRNAME=share
18634else
18635  case $host in
18636	    *-*-solaris*)
18637	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18638if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
18639  CATOBJEXT=.gmo 
18640               DATADIRNAME=share
18641else
18642  CATOBJEXT=.mo
18643               DATADIRNAME=lib
18644fi
18645
18646	    ;;
18647	    *)
18648	    CATOBJEXT=.mo
18649            DATADIRNAME=lib
18650	    ;;
18651	    esac
18652fi
18653rm -f core conftest.err conftest.$ac_objext \
18654    conftest$ac_exeext conftest.$ac_ext
18655          LIBS="$glib_save_LIBS"
18656	  INSTOBJEXT=.mo
18657	else
18658	  gt_cv_have_gettext=no
18659	fi
18660      fi
18661    
18662fi
18663
18664
18665
18666    if test "$gt_cv_have_gettext" = "yes" ; then
18667      
18668$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
18669
18670    fi
18671
18672        if test "$XGETTEXT" != ":"; then
18673                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
18674        : ;
18675      else
18676        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
18677$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
18678        XGETTEXT=":"
18679      fi
18680    fi
18681
18682    # We need to process the po/ directory.
18683    POSUB=po
18684
18685    ac_config_commands="$ac_config_commands default-1"
18686
18687
18688                for lang in $ALL_LINGUAS; do
18689      GMOFILES="$GMOFILES $lang.gmo"
18690      POFILES="$POFILES $lang.po"
18691    done
18692
18693        
18694    
18695    
18696    
18697    
18698    
18699    
18700    
18701    
18702    
18703  
18704
18705   if test "$gt_cv_have_gettext" = "yes"; then
18706     if test "x$ALL_LINGUAS" = "x"; then
18707       LINGUAS=
18708     else
18709       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
18710$as_echo_n "checking for catalogs to be installed... " >&6; }
18711       NEW_LINGUAS=
18712       for presentlang in $ALL_LINGUAS; do
18713         useit=no
18714         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
18715           desiredlanguages="$LINGUAS"
18716         else
18717           desiredlanguages="$ALL_LINGUAS"
18718         fi
18719         for desiredlang in $desiredlanguages; do
18720 	   # Use the presentlang catalog if desiredlang is
18721           #   a. equal to presentlang, or
18722           #   b. a variant of presentlang (because in this case,
18723           #      presentlang can be used as a fallback for messages
18724           #      which are not translated in the desiredlang catalog).
18725           case "$desiredlang" in
18726             "$presentlang"*) useit=yes;;
18727           esac
18728         done
18729         if test $useit = yes; then
18730           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
18731         fi
18732       done
18733       LINGUAS=$NEW_LINGUAS
18734       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
18735$as_echo "$LINGUAS" >&6; }
18736     fi
18737
18738          if test -n "$LINGUAS"; then
18739       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
18740     fi
18741   fi
18742
18743            MKINSTALLDIRS=
18744   if test -n "$ac_aux_dir"; then
18745     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
18746   fi
18747   if test -z "$MKINSTALLDIRS"; then
18748     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
18749   fi
18750   
18751
18752         test -d po || mkdir po
18753   if test "x$srcdir" != "x."; then
18754     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
18755       posrcprefix="$srcdir/"
18756     else
18757       posrcprefix="../$srcdir/"
18758     fi
18759   else
18760     posrcprefix="../"
18761   fi
18762   rm -f po/POTFILES
18763   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
18764	< $srcdir/po/POTFILES.in > po/POTFILES
18765  
18766
18767avahilocaledir='${prefix}/${DATADIRNAME}/locale'
18768
18769
18770
18771# Check for pkg-config manually first, as if its not installed the
18772# PKG_PROG_PKG_CONFIG macro won't be defined.
18773# Extract the first word of "pkg-config", so it can be a program name with args.
18774set dummy pkg-config; ac_word=$2
18775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18776$as_echo_n "checking for $ac_word... " >&6; }
18777if test "${ac_cv_prog_have_pkg_config+set}" = set; then :
18778  $as_echo_n "(cached) " >&6
18779else
18780  if test -n "$have_pkg_config"; then
18781  ac_cv_prog_have_pkg_config="$have_pkg_config" # Let the user override the test.
18782else
18783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18784for as_dir in $PATH
18785do
18786  IFS=$as_save_IFS
18787  test -z "$as_dir" && as_dir=.
18788    for ac_exec_ext in '' $ac_executable_extensions; do
18789  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18790    ac_cv_prog_have_pkg_config="yes"
18791    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18792    break 2
18793  fi
18794done
18795  done
18796IFS=$as_save_IFS
18797
18798  test -z "$ac_cv_prog_have_pkg_config" && ac_cv_prog_have_pkg_config="no"
18799fi
18800fi
18801have_pkg_config=$ac_cv_prog_have_pkg_config
18802if test -n "$have_pkg_config"; then
18803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pkg_config" >&5
18804$as_echo "$have_pkg_config" >&6; }
18805else
18806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18807$as_echo "no" >&6; }
18808fi
18809
18810
18811
18812if test x"$have_pkg_config" = "xno"; then
18813    as_fn_error "pkg-config is required to install this program" "$LINENO" 5
18814fi
18815
18816
18817
18818if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18819	if test -n "$ac_tool_prefix"; then
18820  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18821set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18823$as_echo_n "checking for $ac_word... " >&6; }
18824if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18825  $as_echo_n "(cached) " >&6
18826else
18827  case $PKG_CONFIG in
18828  [\\/]* | ?:[\\/]*)
18829  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18830  ;;
18831  *)
18832  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18833for as_dir in $PATH
18834do
18835  IFS=$as_save_IFS
18836  test -z "$as_dir" && as_dir=.
18837    for ac_exec_ext in '' $ac_executable_extensions; do
18838  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18839    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18840    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18841    break 2
18842  fi
18843done
18844  done
18845IFS=$as_save_IFS
18846
18847  ;;
18848esac
18849fi
18850PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18851if test -n "$PKG_CONFIG"; then
18852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18853$as_echo "$PKG_CONFIG" >&6; }
18854else
18855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18856$as_echo "no" >&6; }
18857fi
18858
18859
18860fi
18861if test -z "$ac_cv_path_PKG_CONFIG"; then
18862  ac_pt_PKG_CONFIG=$PKG_CONFIG
18863  # Extract the first word of "pkg-config", so it can be a program name with args.
18864set dummy pkg-config; ac_word=$2
18865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18866$as_echo_n "checking for $ac_word... " >&6; }
18867if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
18868  $as_echo_n "(cached) " >&6
18869else
18870  case $ac_pt_PKG_CONFIG in
18871  [\\/]* | ?:[\\/]*)
18872  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18873  ;;
18874  *)
18875  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18876for as_dir in $PATH
18877do
18878  IFS=$as_save_IFS
18879  test -z "$as_dir" && as_dir=.
18880    for ac_exec_ext in '' $ac_executable_extensions; do
18881  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18882    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18884    break 2
18885  fi
18886done
18887  done
18888IFS=$as_save_IFS
18889
18890  ;;
18891esac
18892fi
18893ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18894if test -n "$ac_pt_PKG_CONFIG"; then
18895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18896$as_echo "$ac_pt_PKG_CONFIG" >&6; }
18897else
18898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18899$as_echo "no" >&6; }
18900fi
18901
18902  if test "x$ac_pt_PKG_CONFIG" = x; then
18903    PKG_CONFIG=""
18904  else
18905    case $cross_compiling:$ac_tool_warned in
18906yes:)
18907{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18908$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18909ac_tool_warned=yes ;;
18910esac
18911    PKG_CONFIG=$ac_pt_PKG_CONFIG
18912  fi
18913else
18914  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18915fi
18916
18917fi
18918if test -n "$PKG_CONFIG"; then
18919	_pkg_min_version=0.9.0
18920	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18921$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18922	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18923		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18924$as_echo "yes" >&6; }
18925	else
18926		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18927$as_echo "no" >&6; }
18928		PKG_CONFIG=""
18929	fi
18930		
18931fi
18932
18933#
18934# Check for GLIB 2.0
18935#
18936@%:@ Check whether --enable-glib was given.
18937if test "${enable_glib+set}" = set; then :
18938  enableval=$enable_glib; case "${enableval}" in
18939                yes) HAVE_GLIB=yes ;;
18940                no)  HAVE_GLIB=no ;;
18941                *) as_fn_error "bad value ${enableval} for --enable-glib" "$LINENO" 5 ;;
18942        esac
18943else
18944  HAVE_GLIB=yes
18945fi
18946
18947
18948if test "x$HAVE_GLIB" = "xyes" ; then
18949        
18950pkg_failed=no
18951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB20" >&5
18952$as_echo_n "checking for GLIB20... " >&6; }
18953
18954if test -n "$GLIB20_CFLAGS"; then
18955    pkg_cv_GLIB20_CFLAGS="$GLIB20_CFLAGS"
18956 elif test -n "$PKG_CONFIG"; then
18957    if test -n "$PKG_CONFIG" && \
18958    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 \""; } >&5
18959  ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 ") 2>&5
18960  ac_status=$?
18961  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18962  test $ac_status = 0; }; then
18963  pkg_cv_GLIB20_CFLAGS=`$PKG_CONFIG --cflags " glib-2.0 >= 2.4.0 " 2>/dev/null`
18964else
18965  pkg_failed=yes
18966fi
18967 else
18968    pkg_failed=untried
18969fi
18970if test -n "$GLIB20_LIBS"; then
18971    pkg_cv_GLIB20_LIBS="$GLIB20_LIBS"
18972 elif test -n "$PKG_CONFIG"; then
18973    if test -n "$PKG_CONFIG" && \
18974    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 \""; } >&5
18975  ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 ") 2>&5
18976  ac_status=$?
18977  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18978  test $ac_status = 0; }; then
18979  pkg_cv_GLIB20_LIBS=`$PKG_CONFIG --libs " glib-2.0 >= 2.4.0 " 2>/dev/null`
18980else
18981  pkg_failed=yes
18982fi
18983 else
18984    pkg_failed=untried
18985fi
18986
18987
18988
18989if test $pkg_failed = yes; then
18990        
18991if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18992        _pkg_short_errors_supported=yes
18993else
18994        _pkg_short_errors_supported=no
18995fi
18996        if test $_pkg_short_errors_supported = yes; then
18997	        GLIB20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " glib-2.0 >= 2.4.0 " 2>&1`
18998        else 
18999	        GLIB20_PKG_ERRORS=`$PKG_CONFIG --print-errors " glib-2.0 >= 2.4.0 " 2>&1`
19000        fi
19001	# Put the nasty error message in config.log where it belongs
19002	echo "$GLIB20_PKG_ERRORS" >&5
19003
19004	as_fn_error "Package requirements ( glib-2.0 >= 2.4.0 ) were not met:
19005
19006$GLIB20_PKG_ERRORS
19007
19008Consider adjusting the PKG_CONFIG_PATH environment variable if you
19009installed software in a non-standard prefix.
19010
19011Alternatively, you may set the environment variables GLIB20_CFLAGS
19012and GLIB20_LIBS to avoid the need to call pkg-config.
19013See the pkg-config man page for more details.
19014" "$LINENO" 5
19015elif test $pkg_failed = untried; then
19016	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19018as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
19019is in your PATH or set the PKG_CONFIG environment variable to the full
19020path to pkg-config.
19021
19022Alternatively, you may set the environment variables GLIB20_CFLAGS
19023and GLIB20_LIBS to avoid the need to call pkg-config.
19024See the pkg-config man page for more details.
19025
19026To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19027See \`config.log' for more details." "$LINENO" 5; }
19028else
19029	GLIB20_CFLAGS=$pkg_cv_GLIB20_CFLAGS
19030	GLIB20_LIBS=$pkg_cv_GLIB20_LIBS
19031        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19032$as_echo "yes" >&6; }
19033	:
19034fi
19035        
19036        
19037fi
19038 if test "x$HAVE_GLIB" = "xyes"; then
19039  HAVE_GLIB_TRUE=
19040  HAVE_GLIB_FALSE='#'
19041else
19042  HAVE_GLIB_TRUE='#'
19043  HAVE_GLIB_FALSE=
19044fi
19045
19046
19047#
19048# Check for GLIB's gobject 2.0
19049#
19050@%:@ Check whether --enable-gobject was given.
19051if test "${enable_gobject+set}" = set; then :
19052  enableval=$enable_gobject; case "${enableval}" in
19053                yes) HAVE_GOBJECT=yes ;;
19054                no)  HAVE_GOBJECT=no ;;
19055                *) as_fn_error "bad value ${enableval} for --enable-gobject" "$LINENO" 5 ;;
19056        esac
19057else
19058  HAVE_GOBJECT=yes
19059fi
19060
19061
19062if test "x$HAVE_GOBJECT" = "xyes" ; then
19063        
19064pkg_failed=no
19065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
19066$as_echo_n "checking for GOBJECT... " >&6; }
19067
19068if test -n "$GOBJECT_CFLAGS"; then
19069    pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
19070 elif test -n "$PKG_CONFIG"; then
19071    if test -n "$PKG_CONFIG" && \
19072    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 gobject-2.0 \""; } >&5
19073  ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 ") 2>&5
19074  ac_status=$?
19075  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19076  test $ac_status = 0; }; then
19077  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags " glib-2.0 >= 2.4.0 gobject-2.0 " 2>/dev/null`
19078else
19079  pkg_failed=yes
19080fi
19081 else
19082    pkg_failed=untried
19083fi
19084if test -n "$GOBJECT_LIBS"; then
19085    pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
19086 elif test -n "$PKG_CONFIG"; then
19087    if test -n "$PKG_CONFIG" && \
19088    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 gobject-2.0 \""; } >&5
19089  ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 ") 2>&5
19090  ac_status=$?
19091  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19092  test $ac_status = 0; }; then
19093  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs " glib-2.0 >= 2.4.0 gobject-2.0 " 2>/dev/null`
19094else
19095  pkg_failed=yes
19096fi
19097 else
19098    pkg_failed=untried
19099fi
19100
19101
19102
19103if test $pkg_failed = yes; then
19104        
19105if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19106        _pkg_short_errors_supported=yes
19107else
19108        _pkg_short_errors_supported=no
19109fi
19110        if test $_pkg_short_errors_supported = yes; then
19111	        GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 " 2>&1`
19112        else 
19113	        GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 " 2>&1`
19114        fi
19115	# Put the nasty error message in config.log where it belongs
19116	echo "$GOBJECT_PKG_ERRORS" >&5
19117
19118	as_fn_error "Package requirements ( glib-2.0 >= 2.4.0 gobject-2.0 ) were not met:
19119
19120$GOBJECT_PKG_ERRORS
19121
19122Consider adjusting the PKG_CONFIG_PATH environment variable if you
19123installed software in a non-standard prefix.
19124
19125Alternatively, you may set the environment variables GOBJECT_CFLAGS
19126and GOBJECT_LIBS to avoid the need to call pkg-config.
19127See the pkg-config man page for more details.
19128" "$LINENO" 5
19129elif test $pkg_failed = untried; then
19130	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19131$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19132as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
19133is in your PATH or set the PKG_CONFIG environment variable to the full
19134path to pkg-config.
19135
19136Alternatively, you may set the environment variables GOBJECT_CFLAGS
19137and GOBJECT_LIBS to avoid the need to call pkg-config.
19138See the pkg-config man page for more details.
19139
19140To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19141See \`config.log' for more details." "$LINENO" 5; }
19142else
19143	GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
19144	GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
19145        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19146$as_echo "yes" >&6; }
19147	:
19148fi
19149        
19150        
19151fi
19152 if test "x$HAVE_GOBJECT" = "xyes"; then
19153  HAVE_GOBJECT_TRUE=
19154  HAVE_GOBJECT_FALSE='#'
19155else
19156  HAVE_GOBJECT_TRUE='#'
19157  HAVE_GOBJECT_FALSE=
19158fi
19159
19160
19161#
19162# Check for Qt 3
19163#
19164@%:@ Check whether --enable-qt3 was given.
19165if test "${enable_qt3+set}" = set; then :
19166  enableval=$enable_qt3; case "${enableval}" in
19167                yes) HAVE_QT3=yes ;;
19168                no)  HAVE_QT3=no ;;
19169                *) as_fn_error "bad value ${enableval} for --enable-qt3" "$LINENO" 5 ;;
19170        esac
19171else
19172  HAVE_QT3=yes
19173fi
19174
19175
19176if test "x$HAVE_QT3" = "xyes" ; then
19177        
19178pkg_failed=no
19179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT3" >&5
19180$as_echo_n "checking for QT3... " >&6; }
19181
19182if test -n "$QT3_CFLAGS"; then
19183    pkg_cv_QT3_CFLAGS="$QT3_CFLAGS"
19184 elif test -n "$PKG_CONFIG"; then
19185    if test -n "$PKG_CONFIG" && \
19186    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" qt-mt >= 3.0.0 \""; } >&5
19187  ($PKG_CONFIG --exists --print-errors " qt-mt >= 3.0.0 ") 2>&5
19188  ac_status=$?
19189  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19190  test $ac_status = 0; }; then
19191  pkg_cv_QT3_CFLAGS=`$PKG_CONFIG --cflags " qt-mt >= 3.0.0 " 2>/dev/null`
19192else
19193  pkg_failed=yes
19194fi
19195 else
19196    pkg_failed=untried
19197fi
19198if test -n "$QT3_LIBS"; then
19199    pkg_cv_QT3_LIBS="$QT3_LIBS"
19200 elif test -n "$PKG_CONFIG"; then
19201    if test -n "$PKG_CONFIG" && \
19202    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" qt-mt >= 3.0.0 \""; } >&5
19203  ($PKG_CONFIG --exists --print-errors " qt-mt >= 3.0.0 ") 2>&5
19204  ac_status=$?
19205  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19206  test $ac_status = 0; }; then
19207  pkg_cv_QT3_LIBS=`$PKG_CONFIG --libs " qt-mt >= 3.0.0 " 2>/dev/null`
19208else
19209  pkg_failed=yes
19210fi
19211 else
19212    pkg_failed=untried
19213fi
19214
19215
19216
19217if test $pkg_failed = yes; then
19218        
19219if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19220        _pkg_short_errors_supported=yes
19221else
19222        _pkg_short_errors_supported=no
19223fi
19224        if test $_pkg_short_errors_supported = yes; then
19225	        QT3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " qt-mt >= 3.0.0 " 2>&1`
19226        else 
19227	        QT3_PKG_ERRORS=`$PKG_CONFIG --print-errors " qt-mt >= 3.0.0 " 2>&1`
19228        fi
19229	# Put the nasty error message in config.log where it belongs
19230	echo "$QT3_PKG_ERRORS" >&5
19231
19232	as_fn_error "Package requirements ( qt-mt >= 3.0.0 ) were not met:
19233
19234$QT3_PKG_ERRORS
19235
19236Consider adjusting the PKG_CONFIG_PATH environment variable if you
19237installed software in a non-standard prefix.
19238
19239Alternatively, you may set the environment variables QT3_CFLAGS
19240and QT3_LIBS to avoid the need to call pkg-config.
19241See the pkg-config man page for more details.
19242" "$LINENO" 5
19243elif test $pkg_failed = untried; then
19244	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19246as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
19247is in your PATH or set the PKG_CONFIG environment variable to the full
19248path to pkg-config.
19249
19250Alternatively, you may set the environment variables QT3_CFLAGS
19251and QT3_LIBS to avoid the need to call pkg-config.
19252See the pkg-config man page for more details.
19253
19254To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19255See \`config.log' for more details." "$LINENO" 5; }
19256else
19257	QT3_CFLAGS=$pkg_cv_QT3_CFLAGS
19258	QT3_LIBS=$pkg_cv_QT3_LIBS
19259        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19260$as_echo "yes" >&6; }
19261	:
19262fi
19263        
19264        
19265	    QT3_PREFIX="`$PKG_CONFIG --variable=prefix qt-mt`/bin"
19266        for ac_prog in moc-qt3 moc
19267do
19268  # Extract the first word of "$ac_prog", so it can be a program name with args.
19269set dummy $ac_prog; ac_word=$2
19270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19271$as_echo_n "checking for $ac_word... " >&6; }
19272if test "${ac_cv_path_MOC_QT3+set}" = set; then :
19273  $as_echo_n "(cached) " >&6
19274else
19275  case $MOC_QT3 in
19276  [\\/]* | ?:[\\/]*)
19277  ac_cv_path_MOC_QT3="$MOC_QT3" # Let the user override the test with a path.
19278  ;;
19279  *)
19280  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19281for as_dir in $QT3_PREFIX
19282do
19283  IFS=$as_save_IFS
19284  test -z "$as_dir" && as_dir=.
19285    for ac_exec_ext in '' $ac_executable_extensions; do
19286  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19287    ac_cv_path_MOC_QT3="$as_dir/$ac_word$ac_exec_ext"
19288    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19289    break 2
19290  fi
19291done
19292  done
19293IFS=$as_save_IFS
19294
19295  ;;
19296esac
19297fi
19298MOC_QT3=$ac_cv_path_MOC_QT3
19299if test -n "$MOC_QT3"; then
19300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC_QT3" >&5
19301$as_echo "$MOC_QT3" >&6; }
19302else
19303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19304$as_echo "no" >&6; }
19305fi
19306
19307
19308  test -n "$MOC_QT3" && break
19309done
19310test -n "$MOC_QT3" || MOC_QT3="no"
19311
19312        if test "$MOC_QT3" = no; then
19313            as_fn_error "Could not find QT3 moc" "$LINENO" 5
19314        fi
19315        
19316fi
19317 if test "x$HAVE_QT3" = "xyes"; then
19318  HAVE_QT3_TRUE=
19319  HAVE_QT3_FALSE='#'
19320else
19321  HAVE_QT3_TRUE='#'
19322  HAVE_QT3_FALSE=
19323fi
19324
19325
19326#
19327# Check for Qt 4
19328#
19329@%:@ Check whether --enable-qt4 was given.
19330if test "${enable_qt4+set}" = set; then :
19331  enableval=$enable_qt4; case "${enableval}" in
19332                yes) HAVE_QT4=yes ;;
19333                no)  HAVE_QT4=no ;;
19334                *) as_fn_error "bad value ${enableval} for --enable-qt4" "$LINENO" 5 ;;
19335        esac
19336else
19337  HAVE_QT4=yes
19338fi
19339
19340
19341if test "x$HAVE_QT4" = "xyes" ; then
19342        
19343pkg_failed=no
19344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT4" >&5
19345$as_echo_n "checking for QT4... " >&6; }
19346
19347if test -n "$QT4_CFLAGS"; then
19348    pkg_cv_QT4_CFLAGS="$QT4_CFLAGS"
19349 elif test -n "$PKG_CONFIG"; then
19350    if test -n "$PKG_CONFIG" && \
19351    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" QtCore >= 4.0.0 \""; } >&5
19352  ($PKG_CONFIG --exists --print-errors " QtCore >= 4.0.0 ") 2>&5
19353  ac_status=$?
19354  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19355  test $ac_status = 0; }; then
19356  pkg_cv_QT4_CFLAGS=`$PKG_CONFIG --cflags " QtCore >= 4.0.0 " 2>/dev/null`
19357else
19358  pkg_failed=yes
19359fi
19360 else
19361    pkg_failed=untried
19362fi
19363if test -n "$QT4_LIBS"; then
19364    pkg_cv_QT4_LIBS="$QT4_LIBS"
19365 elif test -n "$PKG_CONFIG"; then
19366    if test -n "$PKG_CONFIG" && \
19367    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" QtCore >= 4.0.0 \""; } >&5
19368  ($PKG_CONFIG --exists --print-errors " QtCore >= 4.0.0 ") 2>&5
19369  ac_status=$?
19370  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19371  test $ac_status = 0; }; then
19372  pkg_cv_QT4_LIBS=`$PKG_CONFIG --libs " QtCore >= 4.0.0 " 2>/dev/null`
19373else
19374  pkg_failed=yes
19375fi
19376 else
19377    pkg_failed=untried
19378fi
19379
19380
19381
19382if test $pkg_failed = yes; then
19383        
19384if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19385        _pkg_short_errors_supported=yes
19386else
19387        _pkg_short_errors_supported=no
19388fi
19389        if test $_pkg_short_errors_supported = yes; then
19390	        QT4_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " QtCore >= 4.0.0 " 2>&1`
19391        else 
19392	        QT4_PKG_ERRORS=`$PKG_CONFIG --print-errors " QtCore >= 4.0.0 " 2>&1`
19393        fi
19394	# Put the nasty error message in config.log where it belongs
19395	echo "$QT4_PKG_ERRORS" >&5
19396
19397	as_fn_error "Package requirements ( QtCore >= 4.0.0 ) were not met:
19398
19399$QT4_PKG_ERRORS
19400
19401Consider adjusting the PKG_CONFIG_PATH environment variable if you
19402installed software in a non-standard prefix.
19403
19404Alternatively, you may set the environment variables QT4_CFLAGS
19405and QT4_LIBS to avoid the need to call pkg-config.
19406See the pkg-config man page for more details.
19407" "$LINENO" 5
19408elif test $pkg_failed = untried; then
19409	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19410$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19411as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
19412is in your PATH or set the PKG_CONFIG environment variable to the full
19413path to pkg-config.
19414
19415Alternatively, you may set the environment variables QT4_CFLAGS
19416and QT4_LIBS to avoid the need to call pkg-config.
19417See the pkg-config man page for more details.
19418
19419To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19420See \`config.log' for more details." "$LINENO" 5; }
19421else
19422	QT4_CFLAGS=$pkg_cv_QT4_CFLAGS
19423	QT4_LIBS=$pkg_cv_QT4_LIBS
19424        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19425$as_echo "yes" >&6; }
19426	:
19427fi
19428        
19429        
19430	    QT4_PREFIX="`$PKG_CONFIG --variable=prefix QtCore`/bin"
19431        for ac_prog in moc-qt4 moc
19432do
19433  # Extract the first word of "$ac_prog", so it can be a program name with args.
19434set dummy $ac_prog; ac_word=$2
19435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19436$as_echo_n "checking for $ac_word... " >&6; }
19437if test "${ac_cv_path_MOC_QT4+set}" = set; then :
19438  $as_echo_n "(cached) " >&6
19439else
19440  case $MOC_QT4 in
19441  [\\/]* | ?:[\\/]*)
19442  ac_cv_path_MOC_QT4="$MOC_QT4" # Let the user override the test with a path.
19443  ;;
19444  *)
19445  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19446for as_dir in $QT4_PREFIX
19447do
19448  IFS=$as_save_IFS
19449  test -z "$as_dir" && as_dir=.
19450    for ac_exec_ext in '' $ac_executable_extensions; do
19451  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19452    ac_cv_path_MOC_QT4="$as_dir/$ac_word$ac_exec_ext"
19453    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19454    break 2
19455  fi
19456done
19457  done
19458IFS=$as_save_IFS
19459
19460  ;;
19461esac
19462fi
19463MOC_QT4=$ac_cv_path_MOC_QT4
19464if test -n "$MOC_QT4"; then
19465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC_QT4" >&5
19466$as_echo "$MOC_QT4" >&6; }
19467else
19468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19469$as_echo "no" >&6; }
19470fi
19471
19472
19473  test -n "$MOC_QT4" && break
19474done
19475test -n "$MOC_QT4" || MOC_QT4="no"
19476
19477        if test "$MOC_QT4" = no; then
19478            as_fn_error "Could not find QT4 moc" "$LINENO" 5
19479        fi
19480        
19481fi
19482 if test "x$HAVE_QT4" = "xyes"; then
19483  HAVE_QT4_TRUE=
19484  HAVE_QT4_FALSE='#'
19485else
19486  HAVE_QT4_TRUE='#'
19487  HAVE_QT4_FALSE=
19488fi
19489
19490
19491#
19492# Check for GTK+
19493#
19494@%:@ Check whether --enable-gtk was given.
19495if test "${enable_gtk+set}" = set; then :
19496  enableval=$enable_gtk; case "${enableval}" in
19497                yes) HAVE_GTK=yes ;;
19498                no)  HAVE_GTK=no ;;
19499                *) as_fn_error "bad value ${enableval} for --enable-gtk" "$LINENO" 5 ;;
19500        esac
19501else
19502  HAVE_GTK=yes
19503fi
19504
19505
19506if test "x$HAVE_GTK" = "xyes" ; then
19507        # Check for GTK 2.0
19508        
19509pkg_failed=no
19510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK20" >&5
19511$as_echo_n "checking for GTK20... " >&6; }
19512
19513if test -n "$GTK20_CFLAGS"; then
19514    pkg_cv_GTK20_CFLAGS="$GTK20_CFLAGS"
19515 elif test -n "$PKG_CONFIG"; then
19516    if test -n "$PKG_CONFIG" && \
19517    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 >= 2.4.0 \""; } >&5
19518  ($PKG_CONFIG --exists --print-errors " gtk+-2.0 >= 2.4.0 ") 2>&5
19519  ac_status=$?
19520  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19521  test $ac_status = 0; }; then
19522  pkg_cv_GTK20_CFLAGS=`$PKG_CONFIG --cflags " gtk+-2.0 >= 2.4.0 " 2>/dev/null`
19523else
19524  pkg_failed=yes
19525fi
19526 else
19527    pkg_failed=untried
19528fi
19529if test -n "$GTK20_LIBS"; then
19530    pkg_cv_GTK20_LIBS="$GTK20_LIBS"
19531 elif test -n "$PKG_CONFIG"; then
19532    if test -n "$PKG_CONFIG" && \
19533    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 >= 2.4.0 \""; } >&5
19534  ($PKG_CONFIG --exists --print-errors " gtk+-2.0 >= 2.4.0 ") 2>&5
19535  ac_status=$?
19536  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19537  test $ac_status = 0; }; then
19538  pkg_cv_GTK20_LIBS=`$PKG_CONFIG --libs " gtk+-2.0 >= 2.4.0 " 2>/dev/null`
19539else
19540  pkg_failed=yes
19541fi
19542 else
19543    pkg_failed=untried
19544fi
19545
19546
19547
19548if test $pkg_failed = yes; then
19549        
19550if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19551        _pkg_short_errors_supported=yes
19552else
19553        _pkg_short_errors_supported=no
19554fi
19555        if test $_pkg_short_errors_supported = yes; then
19556	        GTK20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " gtk+-2.0 >= 2.4.0 " 2>&1`
19557        else 
19558	        GTK20_PKG_ERRORS=`$PKG_CONFIG --print-errors " gtk+-2.0 >= 2.4.0 " 2>&1`
19559        fi
19560	# Put the nasty error message in config.log where it belongs
19561	echo "$GTK20_PKG_ERRORS" >&5
19562
19563	as_fn_error "Package requirements ( gtk+-2.0 >= 2.4.0 ) were not met:
19564
19565$GTK20_PKG_ERRORS
19566
19567Consider adjusting the PKG_CONFIG_PATH environment variable if you
19568installed software in a non-standard prefix.
19569
19570Alternatively, you may set the environment variables GTK20_CFLAGS
19571and GTK20_LIBS to avoid the need to call pkg-config.
19572See the pkg-config man page for more details.
19573" "$LINENO" 5
19574elif test $pkg_failed = untried; then
19575	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19576$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19577as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
19578is in your PATH or set the PKG_CONFIG environment variable to the full
19579path to pkg-config.
19580
19581Alternatively, you may set the environment variables GTK20_CFLAGS
19582and GTK20_LIBS to avoid the need to call pkg-config.
19583See the pkg-config man page for more details.
19584
19585To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19586See \`config.log' for more details." "$LINENO" 5; }
19587else
19588	GTK20_CFLAGS=$pkg_cv_GTK20_CFLAGS
19589	GTK20_LIBS=$pkg_cv_GTK20_LIBS
19590        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19591$as_echo "yes" >&6; }
19592	:
19593fi
19594        
19595        
19596
19597        # Check for GLADE 2.0
19598        
19599pkg_failed=no
19600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLADE20" >&5
19601$as_echo_n "checking for GLADE20... " >&6; }
19602
19603if test -n "$GLADE20_CFLAGS"; then
19604    pkg_cv_GLADE20_CFLAGS="$GLADE20_CFLAGS"
19605 elif test -n "$PKG_CONFIG"; then
19606    if test -n "$PKG_CONFIG" && \
19607    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libglade-2.0 >= 2.4.0 \""; } >&5
19608  ($PKG_CONFIG --exists --print-errors " libglade-2.0 >= 2.4.0 ") 2>&5
19609  ac_status=$?
19610  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19611  test $ac_status = 0; }; then
19612  pkg_cv_GLADE20_CFLAGS=`$PKG_CONFIG --cflags " libglade-2.0 >= 2.4.0 " 2>/dev/null`
19613else
19614  pkg_failed=yes
19615fi
19616 else
19617    pkg_failed=untried
19618fi
19619if test -n "$GLADE20_LIBS"; then
19620    pkg_cv_GLADE20_LIBS="$GLADE20_LIBS"
19621 elif test -n "$PKG_CONFIG"; then
19622    if test -n "$PKG_CONFIG" && \
19623    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libglade-2.0 >= 2.4.0 \""; } >&5
19624  ($PKG_CONFIG --exists --print-errors " libglade-2.0 >= 2.4.0 ") 2>&5
19625  ac_status=$?
19626  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19627  test $ac_status = 0; }; then
19628  pkg_cv_GLADE20_LIBS=`$PKG_CONFIG --libs " libglade-2.0 >= 2.4.0 " 2>/dev/null`
19629else
19630  pkg_failed=yes
19631fi
19632 else
19633    pkg_failed=untried
19634fi
19635
19636
19637
19638if test $pkg_failed = yes; then
19639        
19640if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19641        _pkg_short_errors_supported=yes
19642else
19643        _pkg_short_errors_supported=no
19644fi
19645        if test $_pkg_short_errors_supported = yes; then
19646	        GLADE20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libglade-2.0 >= 2.4.0 " 2>&1`
19647        else 
19648	        GLADE20_PKG_ERRORS=`$PKG_CONFIG --print-errors " libglade-2.0 >= 2.4.0 " 2>&1`
19649        fi
19650	# Put the nasty error message in config.log where it belongs
19651	echo "$GLADE20_PKG_ERRORS" >&5
19652
19653	as_fn_error "Package requirements ( libglade-2.0 >= 2.4.0 ) were not met:
19654
19655$GLADE20_PKG_ERRORS
19656
19657Consider adjusting the PKG_CONFIG_PATH environment variable if you
19658installed software in a non-standard prefix.
19659
19660Alternatively, you may set the environment variables GLADE20_CFLAGS
19661and GLADE20_LIBS to avoid the need to call pkg-config.
19662See the pkg-config man page for more details.
19663" "$LINENO" 5
19664elif test $pkg_failed = untried; then
19665	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19666$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19667as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
19668is in your PATH or set the PKG_CONFIG environment variable to the full
19669path to pkg-config.
19670
19671Alternatively, you may set the environment variables GLADE20_CFLAGS
19672and GLADE20_LIBS to avoid the need to call pkg-config.
19673See the pkg-config man page for more details.
19674
19675To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19676See \`config.log' for more details." "$LINENO" 5; }
19677else
19678	GLADE20_CFLAGS=$pkg_cv_GLADE20_CFLAGS
19679	GLADE20_LIBS=$pkg_cv_GLADE20_LIBS
19680        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19681$as_echo "yes" >&6; }
19682	:
19683fi
19684        
19685        
19686fi
19687 if test "x$HAVE_GTK" = "xyes"; then
19688  HAVE_GTK_TRUE=
19689  HAVE_GTK_FALSE='#'
19690else
19691  HAVE_GTK_TRUE='#'
19692  HAVE_GTK_FALSE=
19693fi
19694
19695
19696#
19697# D-Bus
19698#
19699@%:@ Check whether --enable-dbus was given.
19700if test "${enable_dbus+set}" = set; then :
19701  enableval=$enable_dbus; case "${enableval}" in
19702                yes) HAVE_DBUS=yes ;;
19703                no)  HAVE_DBUS=no ;;
19704                *) as_fn_error "bad value ${enableval} for --enable-dbus" "$LINENO" 5 ;;
19705        esac
19706else
19707  HAVE_DBUS=yes
19708fi
19709
19710
19711
19712@%:@ Check whether --with-dbus-sys was given.
19713if test "${with_dbus_sys+set}" = set; then :
19714  withval=$with_dbus_sys; 
19715fi
19716
19717
19718@%:@ Check whether --with-dbus-system-socket was given.
19719if test "${with_dbus_system_socket+set}" = set; then :
19720  withval=$with_dbus_system_socket; 
19721fi
19722
19723
19724DBUS_VERSION="Disabled"
19725DBUS_SYS_DIR="Disabled"
19726DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="Disabled"
19727if test "x$HAVE_DBUS" = "xyes" ; then
19728    
19729pkg_failed=no
19730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
19731$as_echo_n "checking for DBUS... " >&6; }
19732
19733if test -n "$DBUS_CFLAGS"; then
19734    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
19735 elif test -n "$PKG_CONFIG"; then
19736    if test -n "$PKG_CONFIG" && \
19737    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 0.34 \""; } >&5
19738  ($PKG_CONFIG --exists --print-errors " dbus-1 >= 0.34 ") 2>&5
19739  ac_status=$?
19740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19741  test $ac_status = 0; }; then
19742  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags " dbus-1 >= 0.34 " 2>/dev/null`
19743else
19744  pkg_failed=yes
19745fi
19746 else
19747    pkg_failed=untried
19748fi
19749if test -n "$DBUS_LIBS"; then
19750    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
19751 elif test -n "$PKG_CONFIG"; then
19752    if test -n "$PKG_CONFIG" && \
19753    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 0.34 \""; } >&5
19754  ($PKG_CONFIG --exists --print-errors " dbus-1 >= 0.34 ") 2>&5
19755  ac_status=$?
19756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19757  test $ac_status = 0; }; then
19758  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs " dbus-1 >= 0.34 " 2>/dev/null`
19759else
19760  pkg_failed=yes
19761fi
19762 else
19763    pkg_failed=untried
19764fi
19765
19766
19767
19768if test $pkg_failed = yes; then
19769        
19770if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19771        _pkg_short_errors_supported=yes
19772else
19773        _pkg_short_errors_supported=no
19774fi
19775        if test $_pkg_short_errors_supported = yes; then
19776	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " dbus-1 >= 0.34 " 2>&1`
19777        else 
19778	        DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors " dbus-1 >= 0.34 " 2>&1`
19779        fi
19780	# Put the nasty error message in config.log where it belongs
19781	echo "$DBUS_PKG_ERRORS" >&5
19782
19783	as_fn_error "Package requirements ( dbus-1 >= 0.34 ) were not met:
19784
19785$DBUS_PKG_ERRORS
19786
19787Consider adjusting the PKG_CONFIG_PATH environment variable if you
19788installed software in a non-standard prefix.
19789
19790Alternatively, you may set the environment variables DBUS_CFLAGS
19791and DBUS_LIBS to avoid the need to call pkg-config.
19792See the pkg-config man page for more details.
19793" "$LINENO" 5
19794elif test $pkg_failed = untried; then
19795	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19796$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19797as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
19798is in your PATH or set the PKG_CONFIG environment variable to the full
19799path to pkg-config.
19800
19801Alternatively, you may set the environment variables DBUS_CFLAGS
19802and DBUS_LIBS to avoid the need to call pkg-config.
19803See the pkg-config man page for more details.
19804
19805To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19806See \`config.log' for more details." "$LINENO" 5; }
19807else
19808	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
19809	DBUS_LIBS=$pkg_cv_DBUS_LIBS
19810        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19811$as_echo "yes" >&6; }
19812	:
19813fi
19814
19815    
19816$as_echo "@%:@define HAVE_DBUS 1" >>confdefs.h
19817
19818
19819    DBUS_VERSION=`$PKG_CONFIG dbus-1 --modversion`
19820    DBUS_VERSION_MAJOR=`echo $DBUS_VERSION | awk -F. '{print $1}'`
19821    DBUS_VERSION_MINOR=`echo $DBUS_VERSION | awk -F. '{print $2}'`
19822    DBUS_VERSION_MICRO=`echo $DBUS_VERSION | awk -F. '{print $3}'`
19823    if test "z$DBUS_VERSION_MAJOR" = "z"; then
19824        DBUS_VERSION_MAJOR="0"
19825    fi
19826    if test "z$DBUS_VERSION_MINOR" = "z"; then
19827        DBUS_VERSION_MINOR="0"
19828    fi
19829    if test "z$DBUS_VERSION_MICRO" = "z"; then
19830        DBUS_VERSION_MICRO="0"
19831    fi
19832
19833    if test "z$DBUS_VERSION_MAJOR" = "z0" -a "z$DBUS_VERSION_MINOR" = "z0" -a "z$DBUS_VERSION_MICRO" = "z0"; then
19834        echo "Error: Couldn't determine the version of your D-Bus package."
19835        echo "  This is probably an error in this script, please report it"
19836        echo "  along with the following information:"
19837        echo "      Base D-Buss version ='$DBUS_VERSION'"
19838        echo "      DBUS_VERSION_MAJOR='$DBUS_VERSION_MAJOR'"
19839        echo "      DBUS_VERSION_MINOR='$DBUS_VERSION_MINOR'"
19840        echo "      DBUS_VERSION_MICRO='$DBUS_VERSION_MICRO'"
19841        exit 1
19842    else
19843        echo "Your D-Bus version is $DBUS_VERSION_MAJOR,$DBUS_VERSION_MINOR,$DBUS_VERSION_MICRO."
19844        DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
19845        DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
19846        DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
19847    fi
19848
19849    DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
19850    
19851    
19852
19853    if ! test -z "$with_dbus_sys" ; then
19854        DBUS_SYS_DIR="$with_dbus_sys"
19855    else
19856        DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
19857    fi
19858    
19859
19860    if ! test -z "$with_dbus_system_address" ; then
19861        DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="$with_dbus_system_address"
19862    else
19863        # This is ugly, but D-Bus doesn't export this address for us
19864        # so we have to guess, pretty much all setups i've seen have
19865        # it in /var/lib/dbus or /var/run/dbus, and its defaulted to
19866        # /var/run upstream so we will try guess first then default
19867        # to /var/run/dbus.
19868
19869        DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=/var/run/dbus/system_bus_socket"
19870        TRY_SOCKETS="/var/lib/dbus/system_bus_socket /var/run/dbus/system_bus_socket ${localstatedir}/run/dbus/system_bus_socket ${prefix}/var/run/dbus/system_bus_socket"
19871        for sock in $TRY_SOCKETS; do
19872            if test -S $sock; then
19873                DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=$sock"
19874            fi
19875        done
19876    fi
19877    
19878
19879    SAVED_LIBS="$LIBS"
19880    LIBS="$LIBS $DBUS_LIBS"
19881    for ac_func in dbus_connection_close dbus_bus_get_private
19882do :
19883  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19884ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19885eval as_val=\$$as_ac_var
19886   if test "x$as_val" = x""yes; then :
19887  cat >>confdefs.h <<_ACEOF
19888@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19889_ACEOF
19890 
19891fi
19892done
19893
19894    LIBS="$SAVED_LIBS"
19895fi
19896 if test "x$HAVE_DBUS" = "xyes"; then
19897  HAVE_DBUS_TRUE=
19898  HAVE_DBUS_FALSE='#'
19899else
19900  HAVE_DBUS_TRUE='#'
19901  HAVE_DBUS_FALSE=
19902fi
19903
19904
19905#
19906# Expat
19907#
19908
19909@%:@ Check whether --with-xml was given.
19910if test "${with_xml+set}" = set; then :
19911  withval=$with_xml; 
19912fi
19913
19914use_expat=false
19915use_bsdxml=false
19916
19917# See what we have
19918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
19919$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
19920if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
19921  $as_echo_n "(cached) " >&6
19922else
19923  ac_check_lib_save_LIBS=$LIBS
19924LIBS="-lexpat  $LIBS"
19925cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926/* end confdefs.h.  */
19927
19928/* Override any GCC internal prototype to avoid an error.
19929   Use char because int might match the return type of a GCC
19930   builtin and then its argument prototype would still apply.  */
19931#ifdef __cplusplus
19932extern "C"
19933#endif
19934char XML_ParserCreate ();
19935int
19936main ()
19937{
19938return XML_ParserCreate ();
19939  ;
19940  return 0;
19941}
19942_ACEOF
19943if ac_fn_c_try_link "$LINENO"; then :
19944  ac_cv_lib_expat_XML_ParserCreate=yes
19945else
19946  ac_cv_lib_expat_XML_ParserCreate=no
19947fi
19948rm -f core conftest.err conftest.$ac_objext \
19949    conftest$ac_exeext conftest.$ac_ext
19950LIBS=$ac_check_lib_save_LIBS
19951fi
19952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19953$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
19954if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
19955   for ac_header in expat.h
19956do :
19957  ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
19958if test "x$ac_cv_header_expat_h" = x""yes; then :
19959  cat >>confdefs.h <<_ACEOF
19960@%:@define HAVE_EXPAT_H 1
19961_ACEOF
19962 have_expat=true
19963else
19964  have_expat=false
19965fi
19966
19967done
19968 
19969else
19970  have_expat=false
19971fi
19972
19973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lbsdxml" >&5
19974$as_echo_n "checking for XML_ParserCreate in -lbsdxml... " >&6; }
19975if test "${ac_cv_lib_bsdxml_XML_ParserCreate+set}" = set; then :
19976  $as_echo_n "(cached) " >&6
19977else
19978  ac_check_lib_save_LIBS=$LIBS
19979LIBS="-lbsdxml  $LIBS"
19980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19981/* end confdefs.h.  */
19982
19983/* Override any GCC internal prototype to avoid an error.
19984   Use char because int might match the return type of a GCC
19985   builtin and then its argument prototype would still apply.  */
19986#ifdef __cplusplus
19987extern "C"
19988#endif
19989char XML_ParserCreate ();
19990int
19991main ()
19992{
19993return XML_ParserCreate ();
19994  ;
19995  return 0;
19996}
19997_ACEOF
19998if ac_fn_c_try_link "$LINENO"; then :
19999  ac_cv_lib_bsdxml_XML_ParserCreate=yes
20000else
20001  ac_cv_lib_bsdxml_XML_ParserCreate=no
20002fi
20003rm -f core conftest.err conftest.$ac_objext \
20004    conftest$ac_exeext conftest.$ac_ext
20005LIBS=$ac_check_lib_save_LIBS
20006fi
20007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsdxml_XML_ParserCreate" >&5
20008$as_echo "$ac_cv_lib_bsdxml_XML_ParserCreate" >&6; }
20009if test "x$ac_cv_lib_bsdxml_XML_ParserCreate" = x""yes; then :
20010   for ac_header in bsdxml.h
20011do :
20012  ac_fn_c_check_header_mongrel "$LINENO" "bsdxml.h" "ac_cv_header_bsdxml_h" "$ac_includes_default"
20013if test "x$ac_cv_header_bsdxml_h" = x""yes; then :
20014  cat >>confdefs.h <<_ACEOF
20015@%:@define HAVE_BSDXML_H 1
20016_ACEOF
20017 have_bsdxml=true
20018else
20019  have_bsdxml=false
20020fi
20021
20022done
20023 
20024else
20025  have_bsdxml=false
20026fi
20027
20028
20029if test "x$with_xml" = "xnone"; then
20030        :
20031elif test "x$with_xml" = "xexpat"; then
20032	use_expat=true
20033	if ! $have_expat ; then
20034		as_fn_error "*** libexpat requested, but not found ***" "$LINENO" 5
20035	fi
20036elif test "x$with_xml" = "xbsdxml"; then
20037	use_bsdxml=true
20038	if ! $have_bsdxml ; then
20039		as_fn_error "*** libbsdxml requested, but not found ***" "$LINENO" 5
20040	fi
20041elif test "x$with_xml" != "x"; then
20042	as_fn_error "*** unknown with-xml option ***" "$LINENO" 5
20043else
20044	if $have_expat ; then
20045		use_expat=true
20046	elif $have_bsdxml ; then
20047		use_bsdxml=true
20048	else
20049		as_fn_error "*** neither libexpat not libbsdxml could be found ***" "$LINENO" 5
20050	fi
20051fi
20052
20053if $use_expat; then
20054	with_xml=expat
20055	XML_CFLAGS=-DUSE_EXPAT_H
20056	XML_LIBS=-lexpat
20057fi
20058if $use_bsdxml; then
20059	with_xml=bsdxml
20060	XML_CFLAGS=-DUSE_BSDXML_H
20061	XML_LIBS=-lbsdxml
20062fi
20063
20064
20065
20066if $use_expat || $use_bsdxml; then
20067	HAVE_XML=yes
20068fi
20069
20070 if test "x$HAVE_XML" = "xyes"; then
20071  HAVE_XML_TRUE=
20072  HAVE_XML_FALSE='#'
20073else
20074  HAVE_XML_TRUE='#'
20075  HAVE_XML_FALSE=
20076fi
20077
20078
20079#
20080# GDBM
20081#
20082#
20083# Check for dbm
20084#
20085@%:@ Check whether --enable-dbm was given.
20086if test "${enable_dbm+set}" = set; then :
20087  enableval=$enable_dbm; case "${enableval}" in
20088                yes) HAVE_DBM=yes ;;
20089                no)  HAVE_DBM=no ;;
20090                *) as_fn_error "bad value ${enableval} for --enable-dbm" "$LINENO" 5 ;;
20091        esac
20092else
20093  HAVE_DBM=no
20094fi
20095
20096
20097@%:@ Check whether --enable-gdbm was given.
20098if test "${enable_gdbm+set}" = set; then :
20099  enableval=$enable_gdbm; case "${enableval}" in
20100                yes) HAVE_GDBM=yes ;;
20101                no)  HAVE_GDBM=no ;;
20102                *) as_fn_error "bad value ${enableval} for --disable-gdbm" "$LINENO" 5 ;;
20103        esac
20104else
20105  HAVE_GDBM=yes
20106fi
20107
20108
20109if test "x$HAVE_GDBM" = "xyes" ; then
20110    if test "x$HAVE_DBM" = "xyes" ; then
20111        as_fn_error "*** --enable-gdbm and --enable-dbm both specified ***" "$LINENO" 5
20112    fi
20113    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
20114$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
20115if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then :
20116  $as_echo_n "(cached) " >&6
20117else
20118  ac_check_lib_save_LIBS=$LIBS
20119LIBS="-lgdbm  $LIBS"
20120cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20121/* end confdefs.h.  */
20122
20123/* Override any GCC internal prototype to avoid an error.
20124   Use char because int might match the return type of a GCC
20125   builtin and then its argument prototype would still apply.  */
20126#ifdef __cplusplus
20127extern "C"
20128#endif
20129char gdbm_open ();
20130int
20131main ()
20132{
20133return gdbm_open ();
20134  ;
20135  return 0;
20136}
20137_ACEOF
20138if ac_fn_c_try_link "$LINENO"; then :
20139  ac_cv_lib_gdbm_gdbm_open=yes
20140else
20141  ac_cv_lib_gdbm_gdbm_open=no
20142fi
20143rm -f core conftest.err conftest.$ac_objext \
20144    conftest$ac_exeext conftest.$ac_ext
20145LIBS=$ac_check_lib_save_LIBS
20146fi
20147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
20148$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
20149if test "x$ac_cv_lib_gdbm_gdbm_open" = x""yes; then :
20150   for ac_header in gdbm.h
20151do :
20152  ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
20153if test "x$ac_cv_header_gdbm_h" = x""yes; then :
20154  cat >>confdefs.h <<_ACEOF
20155@%:@define HAVE_GDBM_H 1
20156_ACEOF
20157 have_gdbm=true
20158else
20159  have_gdbm=false
20160fi
20161
20162done
20163 
20164else
20165  have_gdbm=false
20166fi
20167
20168
20169    if ! $have_gdbm ; then
20170        as_fn_error "*** libgdbm not found ***" "$LINENO" 5
20171    fi
20172    
20173$as_echo "@%:@define HAVE_GDBM /**/" >>confdefs.h
20174
20175else
20176    if test "x$HAVE_DBM" = "xyes" ; then
20177        for ac_header in ndbm.h
20178do :
20179  ac_fn_c_check_header_mongrel "$LINENO" "ndbm.h" "ac_cv_header_ndbm_h" "$ac_includes_default"
20180if test "x$ac_cv_header_ndbm_h" = x""yes; then :
20181  cat >>confdefs.h <<_ACEOF
20182@%:@define HAVE_NDBM_H 1
20183_ACEOF
20184 have_dbm=true
20185else
20186  have_dbm=false
20187fi
20188
20189done
20190
20191
20192        if ! $have_dbm ; then
20193            as_fn_error "*** dbm not found ***" "$LINENO" 5
20194        fi
20195        
20196$as_echo "@%:@define HAVE_DBM /**/" >>confdefs.h
20197
20198    fi
20199fi
20200 if test "x$HAVE_GDBM" = "xyes"; then
20201  HAVE_GDBM_TRUE=
20202  HAVE_GDBM_FALSE='#'
20203else
20204  HAVE_GDBM_TRUE='#'
20205  HAVE_GDBM_FALSE=
20206fi
20207
20208 if test "x$HAVE_DBM" = "xyes"; then
20209  HAVE_DBM_TRUE=
20210  HAVE_DBM_FALSE='#'
20211else
20212  HAVE_DBM_TRUE='#'
20213  HAVE_DBM_FALSE=
20214fi
20215
20216
20217#
20218# libdaemon
20219#
20220@%:@ Check whether --enable-libdaemon was given.
20221if test "${enable_libdaemon+set}" = set; then :
20222  enableval=$enable_libdaemon; case "${enableval}" in
20223                yes) HAVE_LIBDAEMON=yes ;;
20224                no)  HAVE_LIBDAEMON=no ;;
20225                *) as_fn_error "bad value ${enableval} for --enable-libdaemon" "$LINENO" 5 ;;
20226        esac
20227else
20228  HAVE_LIBDAEMON=yes
20229fi
20230
20231
20232if test "x$HAVE_LIBDAEMON" = "xyes" ; then
20233    
20234pkg_failed=no
20235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDAEMON" >&5
20236$as_echo_n "checking for LIBDAEMON... " >&6; }
20237
20238if test -n "$LIBDAEMON_CFLAGS"; then
20239    pkg_cv_LIBDAEMON_CFLAGS="$LIBDAEMON_CFLAGS"
20240 elif test -n "$PKG_CONFIG"; then
20241    if test -n "$PKG_CONFIG" && \
20242    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libdaemon >= 0.11 \""; } >&5
20243  ($PKG_CONFIG --exists --print-errors " libdaemon >= 0.11 ") 2>&5
20244  ac_status=$?
20245  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20246  test $ac_status = 0; }; then
20247  pkg_cv_LIBDAEMON_CFLAGS=`$PKG_CONFIG --cflags " libdaemon >= 0.11 " 2>/dev/null`
20248else
20249  pkg_failed=yes
20250fi
20251 else
20252    pkg_failed=untried
20253fi
20254if test -n "$LIBDAEMON_LIBS"; then
20255    pkg_cv_LIBDAEMON_LIBS="$LIBDAEMON_LIBS"
20256 elif test -n "$PKG_CONFIG"; then
20257    if test -n "$PKG_CONFIG" && \
20258    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libdaemon >= 0.11 \""; } >&5
20259  ($PKG_CONFIG --exists --print-errors " libdaemon >= 0.11 ") 2>&5
20260  ac_status=$?
20261  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20262  test $ac_status = 0; }; then
20263  pkg_cv_LIBDAEMON_LIBS=`$PKG_CONFIG --libs " libdaemon >= 0.11 " 2>/dev/null`
20264else
20265  pkg_failed=yes
20266fi
20267 else
20268    pkg_failed=untried
20269fi
20270
20271
20272
20273if test $pkg_failed = yes; then
20274        
20275if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20276        _pkg_short_errors_supported=yes
20277else
20278        _pkg_short_errors_supported=no
20279fi
20280        if test $_pkg_short_errors_supported = yes; then
20281	        LIBDAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libdaemon >= 0.11 " 2>&1`
20282        else 
20283	        LIBDAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors " libdaemon >= 0.11 " 2>&1`
20284        fi
20285	# Put the nasty error message in config.log where it belongs
20286	echo "$LIBDAEMON_PKG_ERRORS" >&5
20287
20288	as_fn_error "Package requirements ( libdaemon >= 0.11 ) were not met:
20289
20290$LIBDAEMON_PKG_ERRORS
20291
20292Consider adjusting the PKG_CONFIG_PATH environment variable if you
20293installed software in a non-standard prefix.
20294
20295Alternatively, you may set the environment variables LIBDAEMON_CFLAGS
20296and LIBDAEMON_LIBS to avoid the need to call pkg-config.
20297See the pkg-config man page for more details.
20298" "$LINENO" 5
20299elif test $pkg_failed = untried; then
20300	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20302as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
20303is in your PATH or set the PKG_CONFIG environment variable to the full
20304path to pkg-config.
20305
20306Alternatively, you may set the environment variables LIBDAEMON_CFLAGS
20307and LIBDAEMON_LIBS to avoid the need to call pkg-config.
20308See the pkg-config man page for more details.
20309
20310To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20311See \`config.log' for more details." "$LINENO" 5; }
20312else
20313	LIBDAEMON_CFLAGS=$pkg_cv_LIBDAEMON_CFLAGS
20314	LIBDAEMON_LIBS=$pkg_cv_LIBDAEMON_LIBS
20315        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20316$as_echo "yes" >&6; }
20317	:
20318fi
20319    
20320    
20321fi
20322 if test "x$HAVE_LIBDAEMON" = "xyes"; then
20323  HAVE_LIBDAEMON_TRUE=
20324  HAVE_LIBDAEMON_FALSE='#'
20325else
20326  HAVE_LIBDAEMON_TRUE='#'
20327  HAVE_LIBDAEMON_FALSE=
20328fi
20329
20330
20331#
20332# Python stuff
20333#
20334@%:@ Check whether --enable-python was given.
20335if test "${enable_python+set}" = set; then :
20336  enableval=$enable_python; case "${enableval}" in
20337          yes) HAVE_PYTHON=yes ;;
20338          no)  HAVE_PYTHON=no ;;
20339          *) as_fn_error "bad value ${enableval} for --enable-python" "$LINENO" 5 ;;
20340    esac
20341else
20342  HAVE_PYTHON=yes
20343fi
20344
20345
20346HAVE_PYTHON_DBUS=no
20347HAVE_PYGTK=no
20348
20349if test "x$HAVE_PYTHON" = "xyes" ; then
20350    
20351          
20352
20353  
20354        if test -n "$PYTHON"; then
20355      # If the user set $PYTHON, use it and don't search something else.
20356      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.4" >&5
20357$as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; }
20358      prog="import sys, string
20359# split strings by '.' and convert to numeric.  Append some zeros
20360# because we need at least 4 digits for the hex conversion.
20361minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
20362minverhex = 0
20363for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
20364sys.exit(sys.hexversion < minverhex)"
20365  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
20366   ($PYTHON -c "$prog") >&5 2>&5
20367   ac_status=$?
20368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369   (exit $ac_status); }; then :
20370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20371$as_echo "yes" >&6; }
20372else
20373  as_fn_error "too old" "$LINENO" 5
20374fi
20375      am_display_PYTHON=$PYTHON
20376    else
20377      # Otherwise, try each interpreter until we find one that satisfies
20378      # VERSION.
20379      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5
20380$as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; }
20381if test "${am_cv_pathless_PYTHON+set}" = set; then :
20382  $as_echo_n "(cached) " >&6
20383else
20384  
20385	for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
20386	  test "$am_cv_pathless_PYTHON" = none && break
20387	  prog="import sys, string
20388# split strings by '.' and convert to numeric.  Append some zeros
20389# because we need at least 4 digits for the hex conversion.
20390minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
20391minverhex = 0
20392for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
20393sys.exit(sys.hexversion < minverhex)"
20394  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
20395   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
20396   ac_status=$?
20397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398   (exit $ac_status); }; then :
20399  break
20400fi
20401	done
20402fi
20403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
20404$as_echo "$am_cv_pathless_PYTHON" >&6; }
20405      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
20406      if test "$am_cv_pathless_PYTHON" = none; then
20407	PYTHON=:
20408      else
20409        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
20410set dummy $am_cv_pathless_PYTHON; ac_word=$2
20411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20412$as_echo_n "checking for $ac_word... " >&6; }
20413if test "${ac_cv_path_PYTHON+set}" = set; then :
20414  $as_echo_n "(cached) " >&6
20415else
20416  case $PYTHON in
20417  [\\/]* | ?:[\\/]*)
20418  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
20419  ;;
20420  *)
20421  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20422for as_dir in $PATH
20423do
20424  IFS=$as_save_IFS
20425  test -z "$as_dir" && as_dir=.
20426    for ac_exec_ext in '' $ac_executable_extensions; do
20427  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20428    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
20429    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20430    break 2
20431  fi
20432done
20433  done
20434IFS=$as_save_IFS
20435
20436  ;;
20437esac
20438fi
20439PYTHON=$ac_cv_path_PYTHON
20440if test -n "$PYTHON"; then
20441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
20442$as_echo "$PYTHON" >&6; }
20443else
20444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20445$as_echo "no" >&6; }
20446fi
20447
20448
20449      fi
20450      am_display_PYTHON=$am_cv_pathless_PYTHON
20451    fi
20452  
20453
20454  if test "$PYTHON" = :; then
20455      as_fn_error "no suitable Python interpreter found" "$LINENO" 5
20456  else
20457
20458      
20459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
20460$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
20461if test "${am_cv_python_version+set}" = set; then :
20462  $as_echo_n "(cached) " >&6
20463else
20464  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
20465fi
20466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
20467$as_echo "$am_cv_python_version" >&6; }
20468  PYTHON_VERSION=$am_cv_python_version
20469
20470
20471        
20472  PYTHON_PREFIX='${prefix}'
20473
20474  PYTHON_EXEC_PREFIX='${exec_prefix}'
20475
20476
20477    
20478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
20479$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
20480if test "${am_cv_python_platform+set}" = set; then :
20481  $as_echo_n "(cached) " >&6
20482else
20483  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
20484fi
20485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
20486$as_echo "$am_cv_python_platform" >&6; }
20487  PYTHON_PLATFORM=$am_cv_python_platform
20488
20489
20490
20491  
20492                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
20493$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
20494if test "${am_cv_python_pythondir+set}" = set; then :
20495  $as_echo_n "(cached) " >&6
20496else
20497  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
20498     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
20499fi
20500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
20501$as_echo "$am_cv_python_pythondir" >&6; }
20502  pythondir=$am_cv_python_pythondir
20503
20504
20505      
20506  pkgpythondir=\${pythondir}/$PACKAGE
20507
20508
20509            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
20510$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
20511if test "${am_cv_python_pyexecdir+set}" = set; then :
20512  $as_echo_n "(cached) " >&6
20513else
20514  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
20515     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
20516fi
20517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
20518$as_echo "$am_cv_python_pyexecdir" >&6; }
20519  pyexecdir=$am_cv_python_pyexecdir
20520
20521
20522  
20523  pkgpyexecdir=\${pyexecdir}/$PACKAGE
20524
20525
20526    
20527  fi
20528
20529
20530
20531    @%:@ Check whether --enable-pygtk was given.
20532if test "${enable_pygtk+set}" = set; then :
20533  enableval=$enable_pygtk; case "${enableval}" in
20534                yes) HAVE_PYGTK=yes ;;
20535                no)  HAVE_PYGTK=no ;;
20536                *) as_fn_error "bad value ${enableval} for --enable-pygtk" "$LINENO" 5 ;;
20537        esac
20538else
20539  HAVE_PYGTK=yes
20540fi
20541
20542
20543    if test "x$HAVE_PYGTK" = "xyes" ; then
20544        
20545py_mod_var=`echo gtk'_' | sed 'y%./+-%__p_%'`
20546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module gtk" >&5
20547$as_echo_n "checking for python module gtk... " >&6; }
20548if { as_var=py_cv_mod_$py_mod_var; eval "test \"\${$as_var+set}\" = set"; }; then :
20549  $as_echo_n "(cached) " >&6
20550else
20551  
20552prog="
20553import sys
20554try:
20555        import gtk
20556except ImportError:
20557        sys.exit(1)
20558except:
20559        sys.exit(0)
20560sys.exit(0)"
20561if $PYTHON -c "$prog" 1>&5 2>&5
20562  then
20563    eval "py_cv_mod_$py_mod_var=yes"
20564  else
20565    eval "py_cv_mod_$py_mod_var=no"
20566  fi
20567
20568fi
20569
20570py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
20571if test "x$py_val" != xno; then
20572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20573$as_echo "yes" >&6; }
20574  else
20575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20576$as_echo "no" >&6; }
20577  as_fn_error "Could not find Python module gtk" "$LINENO" 5
20578fi
20579
20580    fi
20581
20582
20583    if test "x$HAVE_DBUS" = "xyes" ; then
20584        @%:@ Check whether --enable-python-dbus was given.
20585if test "${enable_python_dbus+set}" = set; then :
20586  enableval=$enable_python_dbus; case "${enableval}" in
20587                   yes) HAVE_PYTHON_DBUS=yes ;;
20588                   no)  HAVE_PYTHON_DBUS=no ;;
20589                   *) as_fn_error "bad value ${enableval} for --enable-python-dbus" "$LINENO" 5 ;;
20590            esac
20591else
20592  HAVE_PYTHON_DBUS=yes
20593fi
20594
20595
20596        if test "x$HAVE_PYTHON_DBUS" = "xyes"; then
20597            
20598py_mod_var=`echo dbus'_' | sed 'y%./+-%__p_%'`
20599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module dbus" >&5
20600$as_echo_n "checking for python module dbus... " >&6; }
20601if { as_var=py_cv_mod_$py_mod_var; eval "test \"\${$as_var+set}\" = set"; }; then :
20602  $as_echo_n "(cached) " >&6
20603else
20604  
20605prog="
20606import sys
20607try:
20608        import dbus
20609except ImportError:
20610        sys.exit(1)
20611except:
20612        sys.exit(0)
20613sys.exit(0)"
20614if $PYTHON -c "$prog" 1>&5 2>&5
20615  then
20616    eval "py_cv_mod_$py_mod_var=yes"
20617  else
20618    eval "py_cv_mod_$py_mod_var=no"
20619  fi
20620
20621fi
20622
20623py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
20624if test "x$py_val" != xno; then
20625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20626$as_echo "yes" >&6; }
20627  else
20628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20629$as_echo "no" >&6; }
20630  as_fn_error "Could not find Python module dbus" "$LINENO" 5
20631fi
20632
20633        fi
20634
20635        
20636py_mod_var=`echo socket'_' | sed 'y%./+-%__p_%'`
20637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module socket" >&5
20638$as_echo_n "checking for python module socket... " >&6; }
20639if { as_var=py_cv_mod_$py_mod_var; eval "test \"\${$as_var+set}\" = set"; }; then :
20640  $as_echo_n "(cached) " >&6
20641else
20642  
20643prog="
20644import sys
20645try:
20646        import socket
20647except ImportError:
20648        sys.exit(1)
20649except:
20650        sys.exit(0)
20651sys.exit(0)"
20652if $PYTHON -c "$prog" 1>&5 2>&5
20653  then
20654    eval "py_cv_mod_$py_mod_var=yes"
20655  else
20656    eval "py_cv_mod_$py_mod_var=no"
20657  fi
20658
20659fi
20660
20661py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
20662if test "x$py_val" != xno; then
20663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20664$as_echo "yes" >&6; }
20665  else
20666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20667$as_echo "no" >&6; }
20668  as_fn_error "Could not find Python module socket" "$LINENO" 5
20669fi
20670
20671        if test "x$HAVE_GDBM" = "xyes"; then
20672            
20673py_mod_var=`echo gdbm'_' | sed 'y%./+-%__p_%'`
20674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module gdbm" >&5
20675$as_echo_n "checking for python module gdbm... " >&6; }
20676if { as_var=py_cv_mod_$py_mod_var; eval "test \"\${$as_var+set}\" = set"; }; then :
20677  $as_echo_n "(cached) " >&6
20678else
20679  
20680prog="
20681import sys
20682try:
20683        import gdbm
20684except ImportError:
20685        sys.exit(1)
20686except:
20687        sys.exit(0)
20688sys.exit(0)"
20689if $PYTHON -c "$prog" 1>&5 2>&5
20690  then
20691    eval "py_cv_mod_$py_mod_var=yes"
20692  else
20693    eval "py_cv_mod_$py_mod_var=no"
20694  fi
20695
20696fi
20697
20698py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
20699if test "x$py_val" != xno; then
20700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20701$as_echo "yes" >&6; }
20702  else
20703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20704$as_echo "no" >&6; }
20705  as_fn_error "Could not find Python module gdbm" "$LINENO" 5
20706fi
20707
20708        fi
20709        if test "x$HAVE_DBM" = "xyes"; then
20710            
20711py_mod_var=`echo dbm'_' | sed 'y%./+-%__p_%'`
20712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module dbm" >&5
20713$as_echo_n "checking for python module dbm... " >&6; }
20714if { as_var=py_cv_mod_$py_mod_var; eval "test \"\${$as_var+set}\" = set"; }; then :
20715  $as_echo_n "(cached) " >&6
20716else
20717  
20718prog="
20719import sys
20720try:
20721        import dbm
20722except ImportError:
20723        sys.exit(1)
20724except:
20725        sys.exit(0)
20726sys.exit(0)"
20727if $PYTHON -c "$prog" 1>&5 2>&5
20728  then
20729    eval "py_cv_mod_$py_mod_var=yes"
20730  else
20731    eval "py_cv_mod_$py_mod_var=no"
20732  fi
20733
20734fi
20735
20736py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
20737if test "x$py_val" != xno; then
20738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20739$as_echo "yes" >&6; }
20740  else
20741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20742$as_echo "no" >&6; }
20743  as_fn_error "Could not find Python module dbm" "$LINENO" 5
20744fi
20745
20746        fi
20747    fi
20748fi
20749 if test "x$HAVE_PYTHON" = "xyes" ; then
20750  HAVE_PYTHON_TRUE=
20751  HAVE_PYTHON_FALSE='#'
20752else
20753  HAVE_PYTHON_TRUE='#'
20754  HAVE_PYTHON_FALSE=
20755fi
20756
20757 if test "x$HAVE_PYGTK" = "xyes"; then
20758  HAVE_PYGTK_TRUE=
20759  HAVE_PYGTK_FALSE='#'
20760else
20761  HAVE_PYGTK_TRUE='#'
20762  HAVE_PYGTK_FALSE=
20763fi
20764
20765 if test "x$HAVE_PYTHON_DBUS" = "xyes"; then
20766  HAVE_PYTHON_DBUS_TRUE=
20767  HAVE_PYTHON_DBUS_FALSE='#'
20768else
20769  HAVE_PYTHON_DBUS_TRUE='#'
20770  HAVE_PYTHON_DBUS_FALSE=
20771fi
20772
20773
20774#
20775# Check for mono stuff
20776#
20777HAVE_MONO=no
20778if test "x$HAVE_DBUS" = "xyes" ; then
20779    @%:@ Check whether --enable-mono was given.
20780if test "${enable_mono+set}" = set; then :
20781  enableval=$enable_mono; case "${enableval}" in
20782                    yes) HAVE_MONO=yes ;;
20783                    no)  HAVE_MONO=no ;;
20784                    *) as_fn_error "bad value ${enableval} for --enable-mono" "$LINENO" 5 ;;
20785            esac
20786else
20787  HAVE_MONO=yes
20788fi
20789
20790
20791    if test "x$HAVE_MONO" = "xyes" ; then
20792        # Extract the first word of "mcs", so it can be a program name with args.
20793set dummy mcs; ac_word=$2
20794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20795$as_echo_n "checking for $ac_word... " >&6; }
20796if test "${ac_cv_path_MCS+set}" = set; then :
20797  $as_echo_n "(cached) " >&6
20798else
20799  case $MCS in
20800  [\\/]* | ?:[\\/]*)
20801  ac_cv_path_MCS="$MCS" # Let the user override the test with a path.
20802  ;;
20803  *)
20804  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20805for as_dir in $PATH
20806do
20807  IFS=$as_save_IFS
20808  test -z "$as_dir" && as_dir=.
20809    for ac_exec_ext in '' $ac_executable_extensions; do
20810  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20811    ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext"
20812    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20813    break 2
20814  fi
20815done
20816  done
20817IFS=$as_save_IFS
20818
20819  ;;
20820esac
20821fi
20822MCS=$ac_cv_path_MCS
20823if test -n "$MCS"; then
20824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCS" >&5
20825$as_echo "$MCS" >&6; }
20826else
20827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20828$as_echo "no" >&6; }
20829fi
20830
20831
20832        if test "x$MCS" = "x" ; then
20833            as_fn_error "Can not find \"mcs\" - The Mono C-Sharp Compiler) in your PATH" "$LINENO" 5
20834        fi
20835
20836        # Extract the first word of "gacutil", so it can be a program name with args.
20837set dummy gacutil; ac_word=$2
20838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20839$as_echo_n "checking for $ac_word... " >&6; }
20840if test "${ac_cv_path_GACUTIL+set}" = set; then :
20841  $as_echo_n "(cached) " >&6
20842else
20843  case $GACUTIL in
20844  [\\/]* | ?:[\\/]*)
20845  ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path.
20846  ;;
20847  *)
20848  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20849for as_dir in $PATH
20850do
20851  IFS=$as_save_IFS
20852  test -z "$as_dir" && as_dir=.
20853    for ac_exec_ext in '' $ac_executable_extensions; do
20854  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20855    ac_cv_path_GACUTIL="$as_dir/$ac_word$ac_exec_ext"
20856    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20857    break 2
20858  fi
20859done
20860  done
20861IFS=$as_save_IFS
20862
20863  ;;
20864esac
20865fi
20866GACUTIL=$ac_cv_path_GACUTIL
20867if test -n "$GACUTIL"; then
20868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GACUTIL" >&5
20869$as_echo "$GACUTIL" >&6; }
20870else
20871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20872$as_echo "no" >&6; }
20873fi
20874
20875
20876        if test "x$GACUTIL" = "x" ; then
20877            as_fn_error "Can not find \"gacutil\" in your PATH" "$LINENO" 5
20878        fi
20879
20880        
20881        
20882    fi
20883fi
20884 if test "x$HAVE_MONO" = "xyes"; then
20885  HAVE_MONO_TRUE=
20886  HAVE_MONO_FALSE='#'
20887else
20888  HAVE_MONO_TRUE='#'
20889  HAVE_MONO_FALSE=
20890fi
20891
20892
20893#
20894# Check for monodoc stuff
20895#
20896HAVE_MONODOC=no
20897@%:@ Check whether --enable-monodoc was given.
20898if test "${enable_monodoc+set}" = set; then :
20899  enableval=$enable_monodoc; case "${enableval}" in
20900                yes) HAVE_MONODOC=yes ;;
20901                no)  HAVE_MONODOC=no ;;
20902                *) as_fn_error "bad value ${enableval} for --enable-monodoc" "$LINENO" 5 ;;
20903        esac
20904else
20905  HAVE_MONODOC=yes
20906fi
20907
20908
20909if test "x$HAVE_MONO" = "xyes" && test "x$HAVE_MONODOC" = "xyes" ; then
20910        
20911pkg_failed=no
20912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONODOC" >&5
20913$as_echo_n "checking for MONODOC... " >&6; }
20914
20915if test -n "$MONODOC_CFLAGS"; then
20916    pkg_cv_MONODOC_CFLAGS="$MONODOC_CFLAGS"
20917 elif test -n "$PKG_CONFIG"; then
20918    if test -n "$PKG_CONFIG" && \
20919    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"monodoc >= 1.1.8\""; } >&5
20920  ($PKG_CONFIG --exists --print-errors "monodoc >= 1.1.8") 2>&5
20921  ac_status=$?
20922  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20923  test $ac_status = 0; }; then
20924  pkg_cv_MONODOC_CFLAGS=`$PKG_CONFIG --cflags "monodoc >= 1.1.8" 2>/dev/null`
20925else
20926  pkg_failed=yes
20927fi
20928 else
20929    pkg_failed=untried
20930fi
20931if test -n "$MONODOC_LIBS"; then
20932    pkg_cv_MONODOC_LIBS="$MONODOC_LIBS"
20933 elif test -n "$PKG_CONFIG"; then
20934    if test -n "$PKG_CONFIG" && \
20935    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"monodoc >= 1.1.8\""; } >&5
20936  ($PKG_CONFIG --exists --print-errors "monodoc >= 1.1.8") 2>&5
20937  ac_status=$?
20938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20939  test $ac_status = 0; }; then
20940  pkg_cv_MONODOC_LIBS=`$PKG_CONFIG --libs "monodoc >= 1.1.8" 2>/dev/null`
20941else
20942  pkg_failed=yes
20943fi
20944 else
20945    pkg_failed=untried
20946fi
20947
20948
20949
20950if test $pkg_failed = yes; then
20951        
20952if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20953        _pkg_short_errors_supported=yes
20954else
20955        _pkg_short_errors_supported=no
20956fi
20957        if test $_pkg_short_errors_supported = yes; then
20958	        MONODOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "monodoc >= 1.1.8" 2>&1`
20959        else 
20960	        MONODOC_PKG_ERRORS=`$PKG_CONFIG --print-errors "monodoc >= 1.1.8" 2>&1`
20961        fi
20962	# Put the nasty error message in config.log where it belongs
20963	echo "$MONODOC_PKG_ERRORS" >&5
20964
20965	as_fn_error "Package requirements (monodoc >= 1.1.8) were not met:
20966
20967$MONODOC_PKG_ERRORS
20968
20969Consider adjusting the PKG_CONFIG_PATH environment variable if you
20970installed software in a non-standard prefix.
20971
20972Alternatively, you may set the environment variables MONODOC_CFLAGS
20973and MONODOC_LIBS to avoid the need to call pkg-config.
20974See the pkg-config man page for more details.
20975" "$LINENO" 5
20976elif test $pkg_failed = untried; then
20977	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20978$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20979as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
20980is in your PATH or set the PKG_CONFIG environment variable to the full
20981path to pkg-config.
20982
20983Alternatively, you may set the environment variables MONODOC_CFLAGS
20984and MONODOC_LIBS to avoid the need to call pkg-config.
20985See the pkg-config man page for more details.
20986
20987To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20988See \`config.log' for more details." "$LINENO" 5; }
20989else
20990	MONODOC_CFLAGS=$pkg_cv_MONODOC_CFLAGS
20991	MONODOC_LIBS=$pkg_cv_MONODOC_LIBS
20992        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20993$as_echo "yes" >&6; }
20994	:
20995fi
20996        MONODOC_DIR=`$PKG_CONFIG --variable=sourcesdir monodoc`
20997
20998        # Extract the first word of "monodocer", so it can be a program name with args.
20999set dummy monodocer; ac_word=$2
21000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21001$as_echo_n "checking for $ac_word... " >&6; }
21002if test "${ac_cv_path_MONODOCER+set}" = set; then :
21003  $as_echo_n "(cached) " >&6
21004else
21005  case $MONODOCER in
21006  [\\/]* | ?:[\\/]*)
21007  ac_cv_path_MONODOCER="$MONODOCER" # Let the user override the test with a path.
21008  ;;
21009  *)
21010  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21011for as_dir in $PATH
21012do
21013  IFS=$as_save_IFS
21014  test -z "$as_dir" && as_dir=.
21015    for ac_exec_ext in '' $ac_executable_extensions; do
21016  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21017    ac_cv_path_MONODOCER="$as_dir/$ac_word$ac_exec_ext"
21018    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21019    break 2
21020  fi
21021done
21022  done
21023IFS=$as_save_IFS
21024
21025  ;;
21026esac
21027fi
21028MONODOCER=$ac_cv_path_MONODOCER
21029if test -n "$MONODOCER"; then
21030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONODOCER" >&5
21031$as_echo "$MONODOCER" >&6; }
21032else
21033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21034$as_echo "no" >&6; }
21035fi
21036
21037
21038        # Extract the first word of "mdassembler", so it can be a program name with args.
21039set dummy mdassembler; ac_word=$2
21040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21041$as_echo_n "checking for $ac_word... " >&6; }
21042if test "${ac_cv_path_MDASSEMBLER+set}" = set; then :
21043  $as_echo_n "(cached) " >&6
21044else
21045  case $MDASSEMBLER in
21046  [\\/]* | ?:[\\/]*)
21047  ac_cv_path_MDASSEMBLER="$MDASSEMBLER" # Let the user override the test with a path.
21048  ;;
21049  *)
21050  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21051for as_dir in $PATH
21052do
21053  IFS=$as_save_IFS
21054  test -z "$as_dir" && as_dir=.
21055    for ac_exec_ext in '' $ac_executable_extensions; do
21056  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21057    ac_cv_path_MDASSEMBLER="$as_dir/$ac_word$ac_exec_ext"
21058    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21059    break 2
21060  fi
21061done
21062  done
21063IFS=$as_save_IFS
21064
21065  ;;
21066esac
21067fi
21068MDASSEMBLER=$ac_cv_path_MDASSEMBLER
21069if test -n "$MDASSEMBLER"; then
21070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MDASSEMBLER" >&5
21071$as_echo "$MDASSEMBLER" >&6; }
21072else
21073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21074$as_echo "no" >&6; }
21075fi
21076
21077
21078
21079        
21080        
21081        
21082fi
21083 if test "x$HAVE_MONODOC" = "xyes"; then
21084  HAVE_MONODOC_TRUE=
21085  HAVE_MONODOC_FALSE='#'
21086else
21087  HAVE_MONODOC_TRUE='#'
21088  HAVE_MONODOC_FALSE=
21089fi
21090
21091
21092#
21093# Build autoipd?
21094#
21095@%:@ Check whether --enable-autoipd was given.
21096if test "${enable_autoipd+set}" = set; then :
21097  enableval=$enable_autoipd; case "${enableval}" in
21098                yes) ENABLE_AUTOIPD=yes ;;
21099                no)  ENABLE_AUTOIPD=no ;;
21100                *) as_fn_error "bad value ${enableval} for --disable-autoipd" "$LINENO" 5 ;;
21101        esac
21102else
21103  ENABLE_AUTOIPD=yes
21104fi
21105
21106
21107 if test "x$ENABLE_AUTOIPD" = "xyes"; then
21108  ENABLE_AUTOIPD_TRUE=
21109  ENABLE_AUTOIPD_FALSE='#'
21110else
21111  ENABLE_AUTOIPD_TRUE='#'
21112  ENABLE_AUTOIPD_FALSE=
21113fi
21114
21115
21116#
21117# Defining users and groups
21118#
21119
21120@%:@ Check whether --with-avahi_user was given.
21121if test "${with_avahi_user+set}" = set; then :
21122  withval=$with_avahi_user; 
21123fi
21124
21125if test -z "$with_avahi_user" ; then
21126    AVAHI_USER=avahi
21127else
21128    AVAHI_USER=$with_avahi_user
21129fi
21130
21131
21132cat >>confdefs.h <<_ACEOF
21133@%:@define AVAHI_USER "$AVAHI_USER"
21134_ACEOF
21135
21136
21137
21138@%:@ Check whether --with-avahi_group was given.
21139if test "${with_avahi_group+set}" = set; then :
21140  withval=$with_avahi_group; 
21141fi
21142
21143if test -z "$with_avahi_group" ; then
21144    AVAHI_GROUP=avahi
21145else
21146    AVAHI_GROUP=$with_avahi_group
21147fi
21148
21149
21150cat >>confdefs.h <<_ACEOF
21151@%:@define AVAHI_GROUP "$AVAHI_GROUP"
21152_ACEOF
21153
21154
21155
21156@%:@ Check whether --with-avahi_priv_access_group was given.
21157if test "${with_avahi_priv_access_group+set}" = set; then :
21158  withval=$with_avahi_priv_access_group; 
21159fi
21160
21161if test -z "$with_avahi_priv_access_group" ; then
21162    AVAHI_PRIV_ACCESS_GROUP=netdev
21163else
21164    AVAHI_PRIV_ACCESS_GROUP=$with_avahi_priv_access_group
21165fi
21166
21167
21168cat >>confdefs.h <<_ACEOF
21169@%:@define AVAHI_PRIV_ACCESS_GROUP "$AVAHI_PRIV_ACCESS_GROUP"
21170_ACEOF
21171
21172
21173
21174@%:@ Check whether --with-autoipd_user was given.
21175if test "${with_autoipd_user+set}" = set; then :
21176  withval=$with_autoipd_user; 
21177fi
21178
21179if test -z "$with_autoipd_user" ; then
21180    AVAHI_AUTOIPD_USER=avahi-autoipd
21181else
21182    AVAHI_AUTOIPD_USER=$with_autoipd_user
21183fi
21184
21185
21186cat >>confdefs.h <<_ACEOF
21187@%:@define AVAHI_AUTOIPD_USER "$AVAHI_AUTOIPD_USER"
21188_ACEOF
21189
21190
21191
21192@%:@ Check whether --with-autoipd_group was given.
21193if test "${with_autoipd_group+set}" = set; then :
21194  withval=$with_autoipd_group; 
21195fi
21196
21197if test -z "$with_autoipd_group" ; then
21198    AVAHI_AUTOIPD_GROUP=avahi-autoipd
21199else
21200    AVAHI_AUTOIPD_GROUP=$with_autoipd_group
21201fi
21202
21203
21204cat >>confdefs.h <<_ACEOF
21205@%:@define AVAHI_AUTOIPD_GROUP "$AVAHI_AUTOIPD_GROUP"
21206_ACEOF
21207
21208
21209#
21210# Avahi runtime dir
21211#
21212avahi_runtime_dir="${localstatedir}/run"
21213avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket"
21214
21215
21216
21217#
21218# Avahi interfaces dir
21219#
21220if test "x$HAVE_PYTHON_DBUS" = "xyes" -o "x$HAVE_GTK" = "xyes"; then
21221	interfacesdir="${datadir}/${PACKAGE}/interfaces/"
21222	
21223fi
21224
21225#
21226# Doxygen
21227#
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238# Files:
21239DX_PROJECT=avahi
21240
21241DX_CONFIG=doxygen.cfg
21242
21243DX_DOCDIR=doxygen
21244
21245
21246# Environment variables used inside doxygen.cfg:
21247DX_ENV="$DX_ENV SRCDIR='$srcdir'"
21248
21249DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
21250
21251DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
21252
21253DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
21254
21255
21256# Doxygen itself:
21257
21258    
21259    
21260    @%:@ Check whether --enable-doxygen-doc was given.
21261if test "${enable_doxygen_doc+set}" = set; then :
21262  enableval=$enable_doxygen_doc; 
21263case "$enableval" in
21264#(
21265y|Y|yes|Yes|YES)
21266    DX_FLAG_doc=1
21267
21268    
21269;; #(
21270n|N|no|No|NO)
21271    DX_FLAG_doc=0
21272
21273;; #(
21274*)
21275    as_fn_error "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
21276;;
21277esac
21278
21279else
21280  
21281DX_FLAG_doc=1
21282
21283
21284
21285fi
21286
21287if test "$DX_FLAG_doc" = 1; then
21288    
21289if test -n "$ac_tool_prefix"; then
21290  # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
21291set dummy ${ac_tool_prefix}doxygen; ac_word=$2
21292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21293$as_echo_n "checking for $ac_word... " >&6; }
21294if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
21295  $as_echo_n "(cached) " >&6
21296else
21297  case $DX_DOXYGEN in
21298  [\\/]* | ?:[\\/]*)
21299  ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
21300  ;;
21301  *)
21302  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21303for as_dir in $PATH
21304do
21305  IFS=$as_save_IFS
21306  test -z "$as_dir" && as_dir=.
21307    for ac_exec_ext in '' $ac_executable_extensions; do
21308  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21309    ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
21310    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21311    break 2
21312  fi
21313done
21314  done
21315IFS=$as_save_IFS
21316
21317  ;;
21318esac
21319fi
21320DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
21321if test -n "$DX_DOXYGEN"; then
21322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
21323$as_echo "$DX_DOXYGEN" >&6; }
21324else
21325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21326$as_echo "no" >&6; }
21327fi
21328
21329
21330fi
21331if test -z "$ac_cv_path_DX_DOXYGEN"; then
21332  ac_pt_DX_DOXYGEN=$DX_DOXYGEN
21333  # Extract the first word of "doxygen", so it can be a program name with args.
21334set dummy doxygen; ac_word=$2
21335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21336$as_echo_n "checking for $ac_word... " >&6; }
21337if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
21338  $as_echo_n "(cached) " >&6
21339else
21340  case $ac_pt_DX_DOXYGEN in
21341  [\\/]* | ?:[\\/]*)
21342  ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
21343  ;;
21344  *)
21345  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21346for as_dir in $PATH
21347do
21348  IFS=$as_save_IFS
21349  test -z "$as_dir" && as_dir=.
21350    for ac_exec_ext in '' $ac_executable_extensions; do
21351  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21352    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
21353    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21354    break 2
21355  fi
21356done
21357  done
21358IFS=$as_save_IFS
21359
21360  ;;
21361esac
21362fi
21363ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
21364if test -n "$ac_pt_DX_DOXYGEN"; then
21365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
21366$as_echo "$ac_pt_DX_DOXYGEN" >&6; }
21367else
21368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21369$as_echo "no" >&6; }
21370fi
21371
21372  if test "x$ac_pt_DX_DOXYGEN" = x; then
21373    DX_DOXYGEN=""
21374  else
21375    case $cross_compiling:$ac_tool_warned in
21376yes:)
21377{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21378$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21379ac_tool_warned=yes ;;
21380esac
21381    DX_DOXYGEN=$ac_pt_DX_DOXYGEN
21382  fi
21383else
21384  DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
21385fi
21386
21387if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
21388    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
21389$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
21390    DX_FLAG_doc=0
21391
21392fi
21393
21394             
21395if test -n "$ac_tool_prefix"; then
21396  # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
21397set dummy ${ac_tool_prefix}perl; ac_word=$2
21398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21399$as_echo_n "checking for $ac_word... " >&6; }
21400if test "${ac_cv_path_DX_PERL+set}" = set; then :
21401  $as_echo_n "(cached) " >&6
21402else
21403  case $DX_PERL in
21404  [\\/]* | ?:[\\/]*)
21405  ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
21406  ;;
21407  *)
21408  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21409for as_dir in $PATH
21410do
21411  IFS=$as_save_IFS
21412  test -z "$as_dir" && as_dir=.
21413    for ac_exec_ext in '' $ac_executable_extensions; do
21414  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21415    ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
21416    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21417    break 2
21418  fi
21419done
21420  done
21421IFS=$as_save_IFS
21422
21423  ;;
21424esac
21425fi
21426DX_PERL=$ac_cv_path_DX_PERL
21427if test -n "$DX_PERL"; then
21428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
21429$as_echo "$DX_PERL" >&6; }
21430else
21431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21432$as_echo "no" >&6; }
21433fi
21434
21435
21436fi
21437if test -z "$ac_cv_path_DX_PERL"; then
21438  ac_pt_DX_PERL=$DX_PERL
21439  # Extract the first word of "perl", so it can be a program name with args.
21440set dummy perl; ac_word=$2
21441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21442$as_echo_n "checking for $ac_word... " >&6; }
21443if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
21444  $as_echo_n "(cached) " >&6
21445else
21446  case $ac_pt_DX_PERL in
21447  [\\/]* | ?:[\\/]*)
21448  ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
21449  ;;
21450  *)
21451  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21452for as_dir in $PATH
21453do
21454  IFS=$as_save_IFS
21455  test -z "$as_dir" && as_dir=.
21456    for ac_exec_ext in '' $ac_executable_extensions; do
21457  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21458    ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
21459    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21460    break 2
21461  fi
21462done
21463  done
21464IFS=$as_save_IFS
21465
21466  ;;
21467esac
21468fi
21469ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
21470if test -n "$ac_pt_DX_PERL"; then
21471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
21472$as_echo "$ac_pt_DX_PERL" >&6; }
21473else
21474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21475$as_echo "no" >&6; }
21476fi
21477
21478  if test "x$ac_pt_DX_PERL" = x; then
21479    DX_PERL=""
21480  else
21481    case $cross_compiling:$ac_tool_warned in
21482yes:)
21483{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21484$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21485ac_tool_warned=yes ;;
21486esac
21487    DX_PERL=$ac_pt_DX_PERL
21488  fi
21489else
21490  DX_PERL="$ac_cv_path_DX_PERL"
21491fi
21492
21493if test "$DX_FLAG_doc$DX_PERL" = 1; then
21494    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
21495$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
21496    DX_FLAG_doc=0
21497
21498fi
21499
21500    :
21501fi
21502if test "$DX_FLAG_doc" = 1; then
21503     if :; then
21504  DX_COND_doc_TRUE=
21505  DX_COND_doc_FALSE='#'
21506else
21507  DX_COND_doc_TRUE='#'
21508  DX_COND_doc_FALSE=
21509fi
21510
21511    DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
21512
21513    :
21514else
21515     if false; then
21516  DX_COND_doc_TRUE=
21517  DX_COND_doc_FALSE='#'
21518else
21519  DX_COND_doc_TRUE='#'
21520  DX_COND_doc_FALSE=
21521fi
21522
21523    
21524    :
21525fi
21526
21527
21528# Dot for graphics:
21529
21530    
21531    
21532    @%:@ Check whether --enable-doxygen-dot was given.
21533if test "${enable_doxygen_dot+set}" = set; then :
21534  enableval=$enable_doxygen_dot; 
21535case "$enableval" in
21536#(
21537y|Y|yes|Yes|YES)
21538    DX_FLAG_dot=1
21539
21540    
21541test "$DX_FLAG_doc" = "1" \
21542|| as_fn_error "doxygen-dot requires doxygen-dot" "$LINENO" 5
21543
21544;; #(
21545n|N|no|No|NO)
21546    DX_FLAG_dot=0
21547
21548;; #(
21549*)
21550    as_fn_error "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
21551;;
21552esac
21553
21554else
21555  
21556DX_FLAG_dot=1
21557
21558
21559test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
21560
21561
21562
21563fi
21564
21565if test "$DX_FLAG_dot" = 1; then
21566    
21567if test -n "$ac_tool_prefix"; then
21568  # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
21569set dummy ${ac_tool_prefix}dot; ac_word=$2
21570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21571$as_echo_n "checking for $ac_word... " >&6; }
21572if test "${ac_cv_path_DX_DOT+set}" = set; then :
21573  $as_echo_n "(cached) " >&6
21574else
21575  case $DX_DOT in
21576  [\\/]* | ?:[\\/]*)
21577  ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
21578  ;;
21579  *)
21580  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21581for as_dir in $PATH
21582do
21583  IFS=$as_save_IFS
21584  test -z "$as_dir" && as_dir=.
21585    for ac_exec_ext in '' $ac_executable_extensions; do
21586  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21587    ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
21588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21589    break 2
21590  fi
21591done
21592  done
21593IFS=$as_save_IFS
21594
21595  ;;
21596esac
21597fi
21598DX_DOT=$ac_cv_path_DX_DOT
21599if test -n "$DX_DOT"; then
21600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
21601$as_echo "$DX_DOT" >&6; }
21602else
21603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21604$as_echo "no" >&6; }
21605fi
21606
21607
21608fi
21609if test -z "$ac_cv_path_DX_DOT"; then
21610  ac_pt_DX_DOT=$DX_DOT
21611  # Extract the first word of "dot", so it can be a program name with args.
21612set dummy dot; ac_word=$2
21613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21614$as_echo_n "checking for $ac_word... " >&6; }
21615if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
21616  $as_echo_n "(cached) " >&6
21617else
21618  case $ac_pt_DX_DOT in
21619  [\\/]* | ?:[\\/]*)
21620  ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
21621  ;;
21622  *)
21623  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21624for as_dir in $PATH
21625do
21626  IFS=$as_save_IFS
21627  test -z "$as_dir" && as_dir=.
21628    for ac_exec_ext in '' $ac_executable_extensions; do
21629  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21630    ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
21631    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21632    break 2
21633  fi
21634done
21635  done
21636IFS=$as_save_IFS
21637
21638  ;;
21639esac
21640fi
21641ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
21642if test -n "$ac_pt_DX_DOT"; then
21643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
21644$as_echo "$ac_pt_DX_DOT" >&6; }
21645else
21646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21647$as_echo "no" >&6; }
21648fi
21649
21650  if test "x$ac_pt_DX_DOT" = x; then
21651    DX_DOT=""
21652  else
21653    case $cross_compiling:$ac_tool_warned in
21654yes:)
21655{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21656$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21657ac_tool_warned=yes ;;
21658esac
21659    DX_DOT=$ac_pt_DX_DOT
21660  fi
21661else
21662  DX_DOT="$ac_cv_path_DX_DOT"
21663fi
21664
21665if test "$DX_FLAG_dot$DX_DOT" = 1; then
21666    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
21667$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
21668    DX_FLAG_dot=0
21669
21670fi
21671
21672    :
21673fi
21674if test "$DX_FLAG_dot" = 1; then
21675     if :; then
21676  DX_COND_dot_TRUE=
21677  DX_COND_dot_FALSE='#'
21678else
21679  DX_COND_dot_TRUE='#'
21680  DX_COND_dot_FALSE=
21681fi
21682
21683    DX_ENV="$DX_ENV HAVE_DOT='YES'"
21684
21685             DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
21686
21687    :
21688else
21689     if false; then
21690  DX_COND_dot_TRUE=
21691  DX_COND_dot_FALSE='#'
21692else
21693  DX_COND_dot_TRUE='#'
21694  DX_COND_dot_FALSE=
21695fi
21696
21697    DX_ENV="$DX_ENV HAVE_DOT='NO'"
21698
21699    :
21700fi
21701
21702
21703# Man pages generation:
21704
21705    
21706    
21707    @%:@ Check whether --enable-doxygen-man was given.
21708if test "${enable_doxygen_man+set}" = set; then :
21709  enableval=$enable_doxygen_man; 
21710case "$enableval" in
21711#(
21712y|Y|yes|Yes|YES)
21713    DX_FLAG_man=1
21714
21715    
21716test "$DX_FLAG_doc" = "1" \
21717|| as_fn_error "doxygen-man requires doxygen-man" "$LINENO" 5
21718
21719;; #(
21720n|N|no|No|NO)
21721    DX_FLAG_man=0
21722
21723;; #(
21724*)
21725    as_fn_error "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
21726;;
21727esac
21728
21729else
21730  
21731DX_FLAG_man=0
21732
21733
21734test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
21735
21736
21737
21738fi
21739
21740if test "$DX_FLAG_man" = 1; then
21741    
21742    :
21743fi
21744if test "$DX_FLAG_man" = 1; then
21745     if :; then
21746  DX_COND_man_TRUE=
21747  DX_COND_man_FALSE='#'
21748else
21749  DX_COND_man_TRUE='#'
21750  DX_COND_man_FALSE=
21751fi
21752
21753    DX_ENV="$DX_ENV GENERATE_MAN='YES'"
21754
21755    :
21756else
21757     if false; then
21758  DX_COND_man_TRUE=
21759  DX_COND_man_FALSE='#'
21760else
21761  DX_COND_man_TRUE='#'
21762  DX_COND_man_FALSE=
21763fi
21764
21765    DX_ENV="$DX_ENV GENERATE_MAN='NO'"
21766
21767    :
21768fi
21769
21770
21771# RTF file generation:
21772
21773    
21774    
21775    @%:@ Check whether --enable-doxygen-rtf was given.
21776if test "${enable_doxygen_rtf+set}" = set; then :
21777  enableval=$enable_doxygen_rtf; 
21778case "$enableval" in
21779#(
21780y|Y|yes|Yes|YES)
21781    DX_FLAG_rtf=1
21782
21783    
21784test "$DX_FLAG_doc" = "1" \
21785|| as_fn_error "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
21786
21787;; #(
21788n|N|no|No|NO)
21789    DX_FLAG_rtf=0
21790
21791;; #(
21792*)
21793    as_fn_error "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
21794;;
21795esac
21796
21797else
21798  
21799DX_FLAG_rtf=0
21800
21801
21802test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
21803
21804
21805
21806fi
21807
21808if test "$DX_FLAG_rtf" = 1; then
21809    
21810    :
21811fi
21812if test "$DX_FLAG_rtf" = 1; then
21813     if :; then
21814  DX_COND_rtf_TRUE=
21815  DX_COND_rtf_FALSE='#'
21816else
21817  DX_COND_rtf_TRUE='#'
21818  DX_COND_rtf_FALSE=
21819fi
21820
21821    DX_ENV="$DX_ENV GENERATE_RTF='YES'"
21822
21823    :
21824else
21825     if false; then
21826  DX_COND_rtf_TRUE=
21827  DX_COND_rtf_FALSE='#'
21828else
21829  DX_COND_rtf_TRUE='#'
21830  DX_COND_rtf_FALSE=
21831fi
21832
21833    DX_ENV="$DX_ENV GENERATE_RTF='NO'"
21834
21835    :
21836fi
21837
21838
21839# XML file generation:
21840
21841    
21842    
21843    @%:@ Check whether --enable-doxygen-xml was given.
21844if test "${enable_doxygen_xml+set}" = set; then :
21845  enableval=$enable_doxygen_xml; 
21846case "$enableval" in
21847#(
21848y|Y|yes|Yes|YES)
21849    DX_FLAG_xml=1
21850
21851    
21852test "$DX_FLAG_doc" = "1" \
21853|| as_fn_error "doxygen-xml requires doxygen-xml" "$LINENO" 5
21854
21855;; #(
21856n|N|no|No|NO)
21857    DX_FLAG_xml=0
21858
21859;; #(
21860*)
21861    as_fn_error "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
21862;;
21863esac
21864
21865else
21866  
21867DX_FLAG_xml=1
21868
21869
21870test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
21871
21872
21873
21874fi
21875
21876if test "$DX_FLAG_xml" = 1; then
21877    
21878    :
21879fi
21880if test "$DX_FLAG_xml" = 1; then
21881     if :; then
21882  DX_COND_xml_TRUE=
21883  DX_COND_xml_FALSE='#'
21884else
21885  DX_COND_xml_TRUE='#'
21886  DX_COND_xml_FALSE=
21887fi
21888
21889    DX_ENV="$DX_ENV GENERATE_XML='YES'"
21890
21891    :
21892else
21893     if false; then
21894  DX_COND_xml_TRUE=
21895  DX_COND_xml_FALSE='#'
21896else
21897  DX_COND_xml_TRUE='#'
21898  DX_COND_xml_FALSE=
21899fi
21900
21901    DX_ENV="$DX_ENV GENERATE_XML='NO'"
21902
21903    :
21904fi
21905
21906
21907# (Compressed) HTML help generation:
21908
21909    
21910    
21911    @%:@ Check whether --enable-doxygen-chm was given.
21912if test "${enable_doxygen_chm+set}" = set; then :
21913  enableval=$enable_doxygen_chm; 
21914case "$enableval" in
21915#(
21916y|Y|yes|Yes|YES)
21917    DX_FLAG_chm=1
21918
21919    
21920test "$DX_FLAG_doc" = "1" \
21921|| as_fn_error "doxygen-chm requires doxygen-chm" "$LINENO" 5
21922
21923;; #(
21924n|N|no|No|NO)
21925    DX_FLAG_chm=0
21926
21927;; #(
21928*)
21929    as_fn_error "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
21930;;
21931esac
21932
21933else
21934  
21935DX_FLAG_chm=0
21936
21937
21938test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
21939
21940
21941
21942fi
21943
21944if test "$DX_FLAG_chm" = 1; then
21945    
21946if test -n "$ac_tool_prefix"; then
21947  # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
21948set dummy ${ac_tool_prefix}hhc; ac_word=$2
21949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21950$as_echo_n "checking for $ac_word... " >&6; }
21951if test "${ac_cv_path_DX_HHC+set}" = set; then :
21952  $as_echo_n "(cached) " >&6
21953else
21954  case $DX_HHC in
21955  [\\/]* | ?:[\\/]*)
21956  ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
21957  ;;
21958  *)
21959  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21960for as_dir in $PATH
21961do
21962  IFS=$as_save_IFS
21963  test -z "$as_dir" && as_dir=.
21964    for ac_exec_ext in '' $ac_executable_extensions; do
21965  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21966    ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
21967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21968    break 2
21969  fi
21970done
21971  done
21972IFS=$as_save_IFS
21973
21974  ;;
21975esac
21976fi
21977DX_HHC=$ac_cv_path_DX_HHC
21978if test -n "$DX_HHC"; then
21979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
21980$as_echo "$DX_HHC" >&6; }
21981else
21982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21983$as_echo "no" >&6; }
21984fi
21985
21986
21987fi
21988if test -z "$ac_cv_path_DX_HHC"; then
21989  ac_pt_DX_HHC=$DX_HHC
21990  # Extract the first word of "hhc", so it can be a program name with args.
21991set dummy hhc; ac_word=$2
21992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21993$as_echo_n "checking for $ac_word... " >&6; }
21994if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
21995  $as_echo_n "(cached) " >&6
21996else
21997  case $ac_pt_DX_HHC in
21998  [\\/]* | ?:[\\/]*)
21999  ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
22000  ;;
22001  *)
22002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22003for as_dir in $PATH
22004do
22005  IFS=$as_save_IFS
22006  test -z "$as_dir" && as_dir=.
22007    for ac_exec_ext in '' $ac_executable_extensions; do
22008  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22009    ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
22010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22011    break 2
22012  fi
22013done
22014  done
22015IFS=$as_save_IFS
22016
22017  ;;
22018esac
22019fi
22020ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
22021if test -n "$ac_pt_DX_HHC"; then
22022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
22023$as_echo "$ac_pt_DX_HHC" >&6; }
22024else
22025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22026$as_echo "no" >&6; }
22027fi
22028
22029  if test "x$ac_pt_DX_HHC" = x; then
22030    DX_HHC=""
22031  else
22032    case $cross_compiling:$ac_tool_warned in
22033yes:)
22034{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22035$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22036ac_tool_warned=yes ;;
22037esac
22038    DX_HHC=$ac_pt_DX_HHC
22039  fi
22040else
22041  DX_HHC="$ac_cv_path_DX_HHC"
22042fi
22043
22044if test "$DX_FLAG_chm$DX_HHC" = 1; then
22045    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
22046$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
22047    DX_FLAG_chm=0
22048
22049fi
22050
22051    :
22052fi
22053if test "$DX_FLAG_chm" = 1; then
22054     if :; then
22055  DX_COND_chm_TRUE=
22056  DX_COND_chm_FALSE='#'
22057else
22058  DX_COND_chm_TRUE='#'
22059  DX_COND_chm_FALSE=
22060fi
22061
22062    DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
22063
22064             DX_ENV="$DX_ENV GENERATE_HTML='YES'"
22065
22066             DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
22067
22068    :
22069else
22070     if false; then
22071  DX_COND_chm_TRUE=
22072  DX_COND_chm_FALSE='#'
22073else
22074  DX_COND_chm_TRUE='#'
22075  DX_COND_chm_FALSE=
22076fi
22077
22078    DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
22079
22080    :
22081fi
22082
22083
22084# Seperate CHI file generation.
22085
22086    
22087    
22088    @%:@ Check whether --enable-doxygen-chi was given.
22089if test "${enable_doxygen_chi+set}" = set; then :
22090  enableval=$enable_doxygen_chi; 
22091case "$enableval" in
22092#(
22093y|Y|yes|Yes|YES)
22094    DX_FLAG_chi=1
22095
22096    
22097test "$DX_FLAG_chm" = "1" \
22098|| as_fn_error "doxygen-chi requires doxygen-chi" "$LINENO" 5
22099
22100;; #(
22101n|N|no|No|NO)
22102    DX_FLAG_chi=0
22103
22104;; #(
22105*)
22106    as_fn_error "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
22107;;
22108esac
22109
22110else
22111  
22112DX_FLAG_chi=0
22113
22114
22115test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
22116
22117
22118
22119fi
22120
22121if test "$DX_FLAG_chi" = 1; then
22122    
22123    :
22124fi
22125if test "$DX_FLAG_chi" = 1; then
22126     if :; then
22127  DX_COND_chi_TRUE=
22128  DX_COND_chi_FALSE='#'
22129else
22130  DX_COND_chi_TRUE='#'
22131  DX_COND_chi_FALSE=
22132fi
22133
22134    DX_ENV="$DX_ENV GENERATE_CHI='YES'"
22135
22136    :
22137else
22138     if false; then
22139  DX_COND_chi_TRUE=
22140  DX_COND_chi_FALSE='#'
22141else
22142  DX_COND_chi_TRUE='#'
22143  DX_COND_chi_FALSE=
22144fi
22145
22146    DX_ENV="$DX_ENV GENERATE_CHI='NO'"
22147
22148    :
22149fi
22150
22151
22152# Plain HTML pages generation:
22153
22154    
22155    
22156    @%:@ Check whether --enable-doxygen-html was given.
22157if test "${enable_doxygen_html+set}" = set; then :
22158  enableval=$enable_doxygen_html; 
22159case "$enableval" in
22160#(
22161y|Y|yes|Yes|YES)
22162    DX_FLAG_html=1
22163
22164    
22165test "$DX_FLAG_doc" = "1" \
22166|| as_fn_error "doxygen-html requires doxygen-html" "$LINENO" 5
22167 
22168test "$DX_FLAG_chm" = "0" \
22169|| as_fn_error "doxygen-html contradicts doxygen-html" "$LINENO" 5
22170
22171;; #(
22172n|N|no|No|NO)
22173    DX_FLAG_html=0
22174
22175;; #(
22176*)
22177    as_fn_error "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
22178;;
22179esac
22180
22181else
22182  
22183DX_FLAG_html=1
22184
22185
22186test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
22187
22188 
22189test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
22190
22191
22192
22193fi
22194
22195if test "$DX_FLAG_html" = 1; then
22196    
22197    :
22198fi
22199if test "$DX_FLAG_html" = 1; then
22200     if :; then
22201  DX_COND_html_TRUE=
22202  DX_COND_html_FALSE='#'
22203else
22204  DX_COND_html_TRUE='#'
22205  DX_COND_html_FALSE=
22206fi
22207
22208    DX_ENV="$DX_ENV GENERATE_HTML='YES'"
22209
22210    :
22211else
22212     if false; then
22213  DX_COND_html_TRUE=
22214  DX_COND_html_FALSE='#'
22215else
22216  DX_COND_html_TRUE='#'
22217  DX_COND_html_FALSE=
22218fi
22219
22220    test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
22221
22222    :
22223fi
22224
22225
22226# PostScript file generation:
22227
22228    
22229    
22230    @%:@ Check whether --enable-doxygen-ps was given.
22231if test "${enable_doxygen_ps+set}" = set; then :
22232  enableval=$enable_doxygen_ps; 
22233case "$enableval" in
22234#(
22235y|Y|yes|Yes|YES)
22236    DX_FLAG_ps=1
22237
22238    
22239test "$DX_FLAG_doc" = "1" \
22240|| as_fn_error "doxygen-ps requires doxygen-ps" "$LINENO" 5
22241
22242;; #(
22243n|N|no|No|NO)
22244    DX_FLAG_ps=0
22245
22246;; #(
22247*)
22248    as_fn_error "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
22249;;
22250esac
22251
22252else
22253  
22254DX_FLAG_ps=0
22255
22256
22257test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
22258
22259
22260
22261fi
22262
22263if test "$DX_FLAG_ps" = 1; then
22264    
22265if test -n "$ac_tool_prefix"; then
22266  # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
22267set dummy ${ac_tool_prefix}latex; ac_word=$2
22268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22269$as_echo_n "checking for $ac_word... " >&6; }
22270if test "${ac_cv_path_DX_LATEX+set}" = set; then :
22271  $as_echo_n "(cached) " >&6
22272else
22273  case $DX_LATEX in
22274  [\\/]* | ?:[\\/]*)
22275  ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
22276  ;;
22277  *)
22278  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22279for as_dir in $PATH
22280do
22281  IFS=$as_save_IFS
22282  test -z "$as_dir" && as_dir=.
22283    for ac_exec_ext in '' $ac_executable_extensions; do
22284  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22285    ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
22286    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22287    break 2
22288  fi
22289done
22290  done
22291IFS=$as_save_IFS
22292
22293  ;;
22294esac
22295fi
22296DX_LATEX=$ac_cv_path_DX_LATEX
22297if test -n "$DX_LATEX"; then
22298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
22299$as_echo "$DX_LATEX" >&6; }
22300else
22301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22302$as_echo "no" >&6; }
22303fi
22304
22305
22306fi
22307if test -z "$ac_cv_path_DX_LATEX"; then
22308  ac_pt_DX_LATEX=$DX_LATEX
22309  # Extract the first word of "latex", so it can be a program name with args.
22310set dummy latex; ac_word=$2
22311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22312$as_echo_n "checking for $ac_word... " >&6; }
22313if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
22314  $as_echo_n "(cached) " >&6
22315else
22316  case $ac_pt_DX_LATEX in
22317  [\\/]* | ?:[\\/]*)
22318  ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
22319  ;;
22320  *)
22321  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22322for as_dir in $PATH
22323do
22324  IFS=$as_save_IFS
22325  test -z "$as_dir" && as_dir=.
22326    for ac_exec_ext in '' $ac_executable_extensions; do
22327  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22328    ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
22329    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22330    break 2
22331  fi
22332done
22333  done
22334IFS=$as_save_IFS
22335
22336  ;;
22337esac
22338fi
22339ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
22340if test -n "$ac_pt_DX_LATEX"; then
22341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
22342$as_echo "$ac_pt_DX_LATEX" >&6; }
22343else
22344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22345$as_echo "no" >&6; }
22346fi
22347
22348  if test "x$ac_pt_DX_LATEX" = x; then
22349    DX_LATEX=""
22350  else
22351    case $cross_compiling:$ac_tool_warned in
22352yes:)
22353{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22354$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22355ac_tool_warned=yes ;;
22356esac
22357    DX_LATEX=$ac_pt_DX_LATEX
22358  fi
22359else
22360  DX_LATEX="$ac_cv_path_DX_LATEX"
22361fi
22362
22363if test "$DX_FLAG_ps$DX_LATEX" = 1; then
22364    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
22365$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
22366    DX_FLAG_ps=0
22367
22368fi
22369
22370             
22371if test -n "$ac_tool_prefix"; then
22372  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
22373set dummy ${ac_tool_prefix}makeindex; ac_word=$2
22374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22375$as_echo_n "checking for $ac_word... " >&6; }
22376if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
22377  $as_echo_n "(cached) " >&6
22378else
22379  case $DX_MAKEINDEX in
22380  [\\/]* | ?:[\\/]*)
22381  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
22382  ;;
22383  *)
22384  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22385for as_dir in $PATH
22386do
22387  IFS=$as_save_IFS
22388  test -z "$as_dir" && as_dir=.
22389    for ac_exec_ext in '' $ac_executable_extensions; do
22390  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22391    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
22392    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22393    break 2
22394  fi
22395done
22396  done
22397IFS=$as_save_IFS
22398
22399  ;;
22400esac
22401fi
22402DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
22403if test -n "$DX_MAKEINDEX"; then
22404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
22405$as_echo "$DX_MAKEINDEX" >&6; }
22406else
22407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22408$as_echo "no" >&6; }
22409fi
22410
22411
22412fi
22413if test -z "$ac_cv_path_DX_MAKEINDEX"; then
22414  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
22415  # Extract the first word of "makeindex", so it can be a program name with args.
22416set dummy makeindex; ac_word=$2
22417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22418$as_echo_n "checking for $ac_word... " >&6; }
22419if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
22420  $as_echo_n "(cached) " >&6
22421else
22422  case $ac_pt_DX_MAKEINDEX in
22423  [\\/]* | ?:[\\/]*)
22424  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
22425  ;;
22426  *)
22427  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22428for as_dir in $PATH
22429do
22430  IFS=$as_save_IFS
22431  test -z "$as_dir" && as_dir=.
22432    for ac_exec_ext in '' $ac_executable_extensions; do
22433  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22434    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
22435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22436    break 2
22437  fi
22438done
22439  done
22440IFS=$as_save_IFS
22441
22442  ;;
22443esac
22444fi
22445ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
22446if test -n "$ac_pt_DX_MAKEINDEX"; then
22447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
22448$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
22449else
22450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22451$as_echo "no" >&6; }
22452fi
22453
22454  if test "x$ac_pt_DX_MAKEINDEX" = x; then
22455    DX_MAKEINDEX=""
22456  else
22457    case $cross_compiling:$ac_tool_warned in
22458yes:)
22459{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22460$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22461ac_tool_warned=yes ;;
22462esac
22463    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
22464  fi
22465else
22466  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
22467fi
22468
22469if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
22470    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
22471$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
22472    DX_FLAG_ps=0
22473
22474fi
22475
22476             
22477if test -n "$ac_tool_prefix"; then
22478  # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
22479set dummy ${ac_tool_prefix}dvips; ac_word=$2
22480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22481$as_echo_n "checking for $ac_word... " >&6; }
22482if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
22483  $as_echo_n "(cached) " >&6
22484else
22485  case $DX_DVIPS in
22486  [\\/]* | ?:[\\/]*)
22487  ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
22488  ;;
22489  *)
22490  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22491for as_dir in $PATH
22492do
22493  IFS=$as_save_IFS
22494  test -z "$as_dir" && as_dir=.
22495    for ac_exec_ext in '' $ac_executable_extensions; do
22496  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22497    ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
22498    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22499    break 2
22500  fi
22501done
22502  done
22503IFS=$as_save_IFS
22504
22505  ;;
22506esac
22507fi
22508DX_DVIPS=$ac_cv_path_DX_DVIPS
22509if test -n "$DX_DVIPS"; then
22510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
22511$as_echo "$DX_DVIPS" >&6; }
22512else
22513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22514$as_echo "no" >&6; }
22515fi
22516
22517
22518fi
22519if test -z "$ac_cv_path_DX_DVIPS"; then
22520  ac_pt_DX_DVIPS=$DX_DVIPS
22521  # Extract the first word of "dvips", so it can be a program name with args.
22522set dummy dvips; ac_word=$2
22523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22524$as_echo_n "checking for $ac_word... " >&6; }
22525if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
22526  $as_echo_n "(cached) " >&6
22527else
22528  case $ac_pt_DX_DVIPS in
22529  [\\/]* | ?:[\\/]*)
22530  ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
22531  ;;
22532  *)
22533  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22534for as_dir in $PATH
22535do
22536  IFS=$as_save_IFS
22537  test -z "$as_dir" && as_dir=.
22538    for ac_exec_ext in '' $ac_executable_extensions; do
22539  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22540    ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
22541    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22542    break 2
22543  fi
22544done
22545  done
22546IFS=$as_save_IFS
22547
22548  ;;
22549esac
22550fi
22551ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
22552if test -n "$ac_pt_DX_DVIPS"; then
22553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
22554$as_echo "$ac_pt_DX_DVIPS" >&6; }
22555else
22556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22557$as_echo "no" >&6; }
22558fi
22559
22560  if test "x$ac_pt_DX_DVIPS" = x; then
22561    DX_DVIPS=""
22562  else
22563    case $cross_compiling:$ac_tool_warned in
22564yes:)
22565{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22566$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22567ac_tool_warned=yes ;;
22568esac
22569    DX_DVIPS=$ac_pt_DX_DVIPS
22570  fi
22571else
22572  DX_DVIPS="$ac_cv_path_DX_DVIPS"
22573fi
22574
22575if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
22576    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
22577$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
22578    DX_FLAG_ps=0
22579
22580fi
22581
22582             
22583if test -n "$ac_tool_prefix"; then
22584  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
22585set dummy ${ac_tool_prefix}egrep; ac_word=$2
22586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22587$as_echo_n "checking for $ac_word... " >&6; }
22588if test "${ac_cv_path_DX_EGREP+set}" = set; then :
22589  $as_echo_n "(cached) " >&6
22590else
22591  case $DX_EGREP in
22592  [\\/]* | ?:[\\/]*)
22593  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
22594  ;;
22595  *)
22596  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22597for as_dir in $PATH
22598do
22599  IFS=$as_save_IFS
22600  test -z "$as_dir" && as_dir=.
22601    for ac_exec_ext in '' $ac_executable_extensions; do
22602  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22603    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
22604    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22605    break 2
22606  fi
22607done
22608  done
22609IFS=$as_save_IFS
22610
22611  ;;
22612esac
22613fi
22614DX_EGREP=$ac_cv_path_DX_EGREP
22615if test -n "$DX_EGREP"; then
22616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
22617$as_echo "$DX_EGREP" >&6; }
22618else
22619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22620$as_echo "no" >&6; }
22621fi
22622
22623
22624fi
22625if test -z "$ac_cv_path_DX_EGREP"; then
22626  ac_pt_DX_EGREP=$DX_EGREP
22627  # Extract the first word of "egrep", so it can be a program name with args.
22628set dummy egrep; ac_word=$2
22629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22630$as_echo_n "checking for $ac_word... " >&6; }
22631if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
22632  $as_echo_n "(cached) " >&6
22633else
22634  case $ac_pt_DX_EGREP in
22635  [\\/]* | ?:[\\/]*)
22636  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
22637  ;;
22638  *)
22639  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22640for as_dir in $PATH
22641do
22642  IFS=$as_save_IFS
22643  test -z "$as_dir" && as_dir=.
22644    for ac_exec_ext in '' $ac_executable_extensions; do
22645  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22646    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
22647    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22648    break 2
22649  fi
22650done
22651  done
22652IFS=$as_save_IFS
22653
22654  ;;
22655esac
22656fi
22657ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
22658if test -n "$ac_pt_DX_EGREP"; then
22659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
22660$as_echo "$ac_pt_DX_EGREP" >&6; }
22661else
22662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22663$as_echo "no" >&6; }
22664fi
22665
22666  if test "x$ac_pt_DX_EGREP" = x; then
22667    DX_EGREP=""
22668  else
22669    case $cross_compiling:$ac_tool_warned in
22670yes:)
22671{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22672$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22673ac_tool_warned=yes ;;
22674esac
22675    DX_EGREP=$ac_pt_DX_EGREP
22676  fi
22677else
22678  DX_EGREP="$ac_cv_path_DX_EGREP"
22679fi
22680
22681if test "$DX_FLAG_ps$DX_EGREP" = 1; then
22682    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
22683$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
22684    DX_FLAG_ps=0
22685
22686fi
22687
22688    :
22689fi
22690if test "$DX_FLAG_ps" = 1; then
22691     if :; then
22692  DX_COND_ps_TRUE=
22693  DX_COND_ps_FALSE='#'
22694else
22695  DX_COND_ps_TRUE='#'
22696  DX_COND_ps_FALSE=
22697fi
22698
22699    
22700    :
22701else
22702     if false; then
22703  DX_COND_ps_TRUE=
22704  DX_COND_ps_FALSE='#'
22705else
22706  DX_COND_ps_TRUE='#'
22707  DX_COND_ps_FALSE=
22708fi
22709
22710    
22711    :
22712fi
22713
22714
22715# PDF file generation:
22716
22717    
22718    
22719    @%:@ Check whether --enable-doxygen-pdf was given.
22720if test "${enable_doxygen_pdf+set}" = set; then :
22721  enableval=$enable_doxygen_pdf; 
22722case "$enableval" in
22723#(
22724y|Y|yes|Yes|YES)
22725    DX_FLAG_pdf=1
22726
22727    
22728test "$DX_FLAG_doc" = "1" \
22729|| as_fn_error "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
22730
22731;; #(
22732n|N|no|No|NO)
22733    DX_FLAG_pdf=0
22734
22735;; #(
22736*)
22737    as_fn_error "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
22738;;
22739esac
22740
22741else
22742  
22743DX_FLAG_pdf=0
22744
22745
22746test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
22747
22748
22749
22750fi
22751
22752if test "$DX_FLAG_pdf" = 1; then
22753    
22754if test -n "$ac_tool_prefix"; then
22755  # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
22756set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
22757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22758$as_echo_n "checking for $ac_word... " >&6; }
22759if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
22760  $as_echo_n "(cached) " >&6
22761else
22762  case $DX_PDFLATEX in
22763  [\\/]* | ?:[\\/]*)
22764  ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
22765  ;;
22766  *)
22767  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22768for as_dir in $PATH
22769do
22770  IFS=$as_save_IFS
22771  test -z "$as_dir" && as_dir=.
22772    for ac_exec_ext in '' $ac_executable_extensions; do
22773  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22774    ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
22775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22776    break 2
22777  fi
22778done
22779  done
22780IFS=$as_save_IFS
22781
22782  ;;
22783esac
22784fi
22785DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
22786if test -n "$DX_PDFLATEX"; then
22787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
22788$as_echo "$DX_PDFLATEX" >&6; }
22789else
22790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22791$as_echo "no" >&6; }
22792fi
22793
22794
22795fi
22796if test -z "$ac_cv_path_DX_PDFLATEX"; then
22797  ac_pt_DX_PDFLATEX=$DX_PDFLATEX
22798  # Extract the first word of "pdflatex", so it can be a program name with args.
22799set dummy pdflatex; ac_word=$2
22800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22801$as_echo_n "checking for $ac_word... " >&6; }
22802if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
22803  $as_echo_n "(cached) " >&6
22804else
22805  case $ac_pt_DX_PDFLATEX in
22806  [\\/]* | ?:[\\/]*)
22807  ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
22808  ;;
22809  *)
22810  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22811for as_dir in $PATH
22812do
22813  IFS=$as_save_IFS
22814  test -z "$as_dir" && as_dir=.
22815    for ac_exec_ext in '' $ac_executable_extensions; do
22816  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22817    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
22818    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22819    break 2
22820  fi
22821done
22822  done
22823IFS=$as_save_IFS
22824
22825  ;;
22826esac
22827fi
22828ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
22829if test -n "$ac_pt_DX_PDFLATEX"; then
22830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
22831$as_echo "$ac_pt_DX_PDFLATEX" >&6; }
22832else
22833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22834$as_echo "no" >&6; }
22835fi
22836
22837  if test "x$ac_pt_DX_PDFLATEX" = x; then
22838    DX_PDFLATEX=""
22839  else
22840    case $cross_compiling:$ac_tool_warned in
22841yes:)
22842{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22843$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22844ac_tool_warned=yes ;;
22845esac
22846    DX_PDFLATEX=$ac_pt_DX_PDFLATEX
22847  fi
22848else
22849  DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
22850fi
22851
22852if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
22853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
22854$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
22855    DX_FLAG_pdf=0
22856
22857fi
22858
22859             
22860if test -n "$ac_tool_prefix"; then
22861  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
22862set dummy ${ac_tool_prefix}makeindex; ac_word=$2
22863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22864$as_echo_n "checking for $ac_word... " >&6; }
22865if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
22866  $as_echo_n "(cached) " >&6
22867else
22868  case $DX_MAKEINDEX in
22869  [\\/]* | ?:[\\/]*)
22870  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
22871  ;;
22872  *)
22873  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22874for as_dir in $PATH
22875do
22876  IFS=$as_save_IFS
22877  test -z "$as_dir" && as_dir=.
22878    for ac_exec_ext in '' $ac_executable_extensions; do
22879  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22880    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
22881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22882    break 2
22883  fi
22884done
22885  done
22886IFS=$as_save_IFS
22887
22888  ;;
22889esac
22890fi
22891DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
22892if test -n "$DX_MAKEINDEX"; then
22893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
22894$as_echo "$DX_MAKEINDEX" >&6; }
22895else
22896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22897$as_echo "no" >&6; }
22898fi
22899
22900
22901fi
22902if test -z "$ac_cv_path_DX_MAKEINDEX"; then
22903  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
22904  # Extract the first word of "makeindex", so it can be a program name with args.
22905set dummy makeindex; ac_word=$2
22906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22907$as_echo_n "checking for $ac_word... " >&6; }
22908if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
22909  $as_echo_n "(cached) " >&6
22910else
22911  case $ac_pt_DX_MAKEINDEX in
22912  [\\/]* | ?:[\\/]*)
22913  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
22914  ;;
22915  *)
22916  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22917for as_dir in $PATH
22918do
22919  IFS=$as_save_IFS
22920  test -z "$as_dir" && as_dir=.
22921    for ac_exec_ext in '' $ac_executable_extensions; do
22922  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22923    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
22924    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22925    break 2
22926  fi
22927done
22928  done
22929IFS=$as_save_IFS
22930
22931  ;;
22932esac
22933fi
22934ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
22935if test -n "$ac_pt_DX_MAKEINDEX"; then
22936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
22937$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
22938else
22939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22940$as_echo "no" >&6; }
22941fi
22942
22943  if test "x$ac_pt_DX_MAKEINDEX" = x; then
22944    DX_MAKEINDEX=""
22945  else
22946    case $cross_compiling:$ac_tool_warned in
22947yes:)
22948{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22949$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22950ac_tool_warned=yes ;;
22951esac
22952    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
22953  fi
22954else
22955  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
22956fi
22957
22958if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
22959    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
22960$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
22961    DX_FLAG_pdf=0
22962
22963fi
22964
22965             
22966if test -n "$ac_tool_prefix"; then
22967  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
22968set dummy ${ac_tool_prefix}egrep; ac_word=$2
22969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22970$as_echo_n "checking for $ac_word... " >&6; }
22971if test "${ac_cv_path_DX_EGREP+set}" = set; then :
22972  $as_echo_n "(cached) " >&6
22973else
22974  case $DX_EGREP in
22975  [\\/]* | ?:[\\/]*)
22976  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
22977  ;;
22978  *)
22979  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22980for as_dir in $PATH
22981do
22982  IFS=$as_save_IFS
22983  test -z "$as_dir" && as_dir=.
22984    for ac_exec_ext in '' $ac_executable_extensions; do
22985  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22986    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
22987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22988    break 2
22989  fi
22990done
22991  done
22992IFS=$as_save_IFS
22993
22994  ;;
22995esac
22996fi
22997DX_EGREP=$ac_cv_path_DX_EGREP
22998if test -n "$DX_EGREP"; then
22999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
23000$as_echo "$DX_EGREP" >&6; }
23001else
23002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23003$as_echo "no" >&6; }
23004fi
23005
23006
23007fi
23008if test -z "$ac_cv_path_DX_EGREP"; then
23009  ac_pt_DX_EGREP=$DX_EGREP
23010  # Extract the first word of "egrep", so it can be a program name with args.
23011set dummy egrep; ac_word=$2
23012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23013$as_echo_n "checking for $ac_word... " >&6; }
23014if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
23015  $as_echo_n "(cached) " >&6
23016else
23017  case $ac_pt_DX_EGREP in
23018  [\\/]* | ?:[\\/]*)
23019  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
23020  ;;
23021  *)
23022  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23023for as_dir in $PATH
23024do
23025  IFS=$as_save_IFS
23026  test -z "$as_dir" && as_dir=.
23027    for ac_exec_ext in '' $ac_executable_extensions; do
23028  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23029    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
23030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23031    break 2
23032  fi
23033done
23034  done
23035IFS=$as_save_IFS
23036
23037  ;;
23038esac
23039fi
23040ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
23041if test -n "$ac_pt_DX_EGREP"; then
23042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
23043$as_echo "$ac_pt_DX_EGREP" >&6; }
23044else
23045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23046$as_echo "no" >&6; }
23047fi
23048
23049  if test "x$ac_pt_DX_EGREP" = x; then
23050    DX_EGREP=""
23051  else
23052    case $cross_compiling:$ac_tool_warned in
23053yes:)
23054{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23055$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23056ac_tool_warned=yes ;;
23057esac
23058    DX_EGREP=$ac_pt_DX_EGREP
23059  fi
23060else
23061  DX_EGREP="$ac_cv_path_DX_EGREP"
23062fi
23063
23064if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
23065    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
23066$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
23067    DX_FLAG_pdf=0
23068
23069fi
23070
23071    :
23072fi
23073if test "$DX_FLAG_pdf" = 1; then
23074     if :; then
23075  DX_COND_pdf_TRUE=
23076  DX_COND_pdf_FALSE='#'
23077else
23078  DX_COND_pdf_TRUE='#'
23079  DX_COND_pdf_FALSE=
23080fi
23081
23082    
23083    :
23084else
23085     if false; then
23086  DX_COND_pdf_TRUE=
23087  DX_COND_pdf_FALSE='#'
23088else
23089  DX_COND_pdf_TRUE='#'
23090  DX_COND_pdf_FALSE=
23091fi
23092
23093    
23094    :
23095fi
23096
23097
23098# LaTeX generation for PS and/or PDF:
23099if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
23100     if :; then
23101  DX_COND_latex_TRUE=
23102  DX_COND_latex_FALSE='#'
23103else
23104  DX_COND_latex_TRUE='#'
23105  DX_COND_latex_FALSE=
23106fi
23107
23108    DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
23109
23110else
23111     if false; then
23112  DX_COND_latex_TRUE=
23113  DX_COND_latex_FALSE='#'
23114else
23115  DX_COND_latex_TRUE='#'
23116  DX_COND_latex_FALSE=
23117fi
23118
23119    DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
23120
23121fi
23122
23123# Paper size for PS and/or PDF:
23124
23125case "$DOXYGEN_PAPER_SIZE" in
23126#(
23127"")
23128    DOXYGEN_PAPER_SIZE=""
23129
23130;; #(
23131a4wide|a4|letter|legal|executive)
23132    DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
23133
23134;; #(
23135*)
23136    as_fn_error "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
23137;;
23138esac
23139
23140#For debugging:
23141#echo DX_FLAG_doc=$DX_FLAG_doc
23142#echo DX_FLAG_dot=$DX_FLAG_dot
23143#echo DX_FLAG_man=$DX_FLAG_man
23144#echo DX_FLAG_html=$DX_FLAG_html
23145#echo DX_FLAG_chm=$DX_FLAG_chm
23146#echo DX_FLAG_chi=$DX_FLAG_chi
23147#echo DX_FLAG_rtf=$DX_FLAG_rtf
23148#echo DX_FLAG_xml=$DX_FLAG_xml
23149#echo DX_FLAG_pdf=$DX_FLAG_pdf
23150#echo DX_FLAG_ps=$DX_FLAG_ps
23151#echo DX_ENV=$DX_ENV
23152
23153
23154@%:@ Check whether --enable-core-docs was given.
23155if test "${enable_core_docs+set}" = set; then :
23156  enableval=$enable_core_docs; case "${enableval}" in
23157  yes) ENABLE_CORE_DOCS=yes ;;
23158  no)  ENABLE_CORE_DOCS=no ;;
23159  *) as_fn_error "bad value ${enableval} for --enable-core-docs" "$LINENO" 5 ;;
23160esac
23161else
23162  ENABLE_CORE_DOCS=no
23163fi
23164
23165
23166 if test "x$ENABLE_CORE_DOCS" = xyes; then
23167  ENABLE_CORE_DOCS_TRUE=
23168  ENABLE_CORE_DOCS_FALSE='#'
23169else
23170  ENABLE_CORE_DOCS_TRUE='#'
23171  ENABLE_CORE_DOCS_FALSE=
23172fi
23173
23174
23175#
23176# Build and Install man pages
23177#
23178@%:@ Check whether --enable-manpages was given.
23179if test "${enable_manpages+set}" = set; then :
23180  enableval=$enable_manpages; case "${enableval}" in
23181  yes) manpages=yes ;;
23182  no)  manpages=no ;;
23183  *) as_fn_error "bad value ${enableval} for --disable-manpages" "$LINENO" 5 ;;
23184esac
23185else
23186  manpages=yes
23187fi
23188
23189
23190if test x$manpages = xyes ; then
23191    #
23192    # XMLTOMAN manpage generation
23193    #
23194    @%:@ Check whether --enable-xmltoman was given.
23195if test "${enable_xmltoman+set}" = set; then :
23196  enableval=$enable_xmltoman; case "${enableval}" in
23197      yes) xmltoman=yes ;;
23198      no)  xmltoman=no ;;
23199      *) as_fn_error "bad value ${enableval} for --disable-xmltoman" "$LINENO" 5 ;;
23200    esac
23201else
23202  xmltoman=yes
23203fi
23204
23205
23206    if test x$xmltoman = xyes ; then
23207        # Extract the first word of "xmltoman", so it can be a program name with args.
23208set dummy xmltoman; ac_word=$2
23209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23210$as_echo_n "checking for $ac_word... " >&6; }
23211if test "${ac_cv_prog_have_xmltoman+set}" = set; then :
23212  $as_echo_n "(cached) " >&6
23213else
23214  if test -n "$have_xmltoman"; then
23215  ac_cv_prog_have_xmltoman="$have_xmltoman" # Let the user override the test.
23216else
23217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23218for as_dir in $PATH
23219do
23220  IFS=$as_save_IFS
23221  test -z "$as_dir" && as_dir=.
23222    for ac_exec_ext in '' $ac_executable_extensions; do
23223  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23224    ac_cv_prog_have_xmltoman="yes"
23225    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23226    break 2
23227  fi
23228done
23229  done
23230IFS=$as_save_IFS
23231
23232  test -z "$ac_cv_prog_have_xmltoman" && ac_cv_prog_have_xmltoman="no"
23233fi
23234fi
23235have_xmltoman=$ac_cv_prog_have_xmltoman
23236if test -n "$have_xmltoman"; then
23237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmltoman" >&5
23238$as_echo "$have_xmltoman" >&6; }
23239else
23240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23241$as_echo "no" >&6; }
23242fi
23243
23244
23245    fi
23246
23247    if test x$have_xmltoman = xno -o x$xmltoman = xno; then
23248        if ! test -e man/avahi-daemon.8 ; then
23249            as_fn_error "*** xmltoman was not found or was disabled, it is required to build the manpages as they have not been pre-built, install xmltoman, pass --disable-manpages or dont pass --disable-xmltoman" "$LINENO" 5
23250            exit 1
23251        fi
23252        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Not rebuilding man pages as xmltoman is not found ***" >&5
23253$as_echo "$as_me: WARNING: *** Not rebuilding man pages as xmltoman is not found ***" >&2;}
23254        xmltoman=no
23255    fi
23256fi
23257 if test "x$xmltoman" = xyes; then
23258  USE_XMLTOMAN_TRUE=
23259  USE_XMLTOMAN_FALSE='#'
23260else
23261  USE_XMLTOMAN_TRUE='#'
23262  USE_XMLTOMAN_FALSE=
23263fi
23264
23265 if test "x$manpages" = xyes; then
23266  BUILD_MANPAGES_TRUE=
23267  BUILD_MANPAGES_FALSE='#'
23268else
23269  BUILD_MANPAGES_TRUE='#'
23270  BUILD_MANPAGES_FALSE=
23271fi
23272
23273
23274#
23275# Conditionally compile test and example programs
23276#
23277@%:@ Check whether --enable-tests was given.
23278if test "${enable_tests+set}" = set; then :
23279  enableval=$enable_tests; case "${enableval}" in
23280                yes) ENABLE_TESTS=yes ;;
23281                no)  ENABLE_TESTS=no ;;
23282                *) as_fn_error "bad value ${enableval} for --enable-tests" "$LINENO" 5 ;;
23283        esac
23284else
23285  ENABLE_TESTS=no
23286fi
23287
23288
23289 if test "x$ENABLE_TESTS" = "xyes"; then
23290  ENABLE_TESTS_TRUE=
23291  ENABLE_TESTS_FALSE='#'
23292else
23293  ENABLE_TESTS_TRUE='#'
23294  ENABLE_TESTS_FALSE=
23295fi
23296
23297
23298#
23299# Optionally enable libdns_sd compatibility support
23300#
23301@%:@ Check whether --enable-compat-libdns_sd was given.
23302if test "${enable_compat_libdns_sd+set}" = set; then :
23303  enableval=$enable_compat_libdns_sd; case "${enableval}" in
23304                yes) ENABLE_COMPAT_LIBDNS_SD=yes ;;
23305                no)  ENABLE_COMPAT_LIBDNS_SD=no ;;
23306                *) as_fn_error "bad value ${enableval} for --enable-compat-libdns_sd" "$LINENO" 5 ;;
23307        esac
23308else
23309  ENABLE_COMPAT_LIBDNS_SD=no
23310fi
23311
23312
23313 if test "x$ENABLE_COMPAT_LIBDNS_SD" = "xyes"; then
23314  ENABLE_COMPAT_LIBDNS_SD_TRUE=
23315  ENABLE_COMPAT_LIBDNS_SD_FALSE='#'
23316else
23317  ENABLE_COMPAT_LIBDNS_SD_TRUE='#'
23318  ENABLE_COMPAT_LIBDNS_SD_FALSE=
23319fi
23320
23321
23322#
23323# Optionally enable HOWL compatibility support
23324#
23325@%:@ Check whether --enable-compat-howl was given.
23326if test "${enable_compat_howl+set}" = set; then :
23327  enableval=$enable_compat_howl; case "${enableval}" in
23328                yes) ENABLE_COMPAT_HOWL=yes ;;
23329                no)  ENABLE_COMPAT_HOWL=no ;;
23330                *) as_fn_error "bad value ${enableval} for --enable-compat-howl" "$LINENO" 5 ;;
23331        esac
23332else
23333  ENABLE_COMPAT_HOWL=no
23334fi
23335
23336
23337 if test "x$ENABLE_COMPAT_HOWL" = "xyes"; then
23338  ENABLE_COMPAT_HOWL_TRUE=
23339  ENABLE_COMPAT_HOWL_FALSE='#'
23340else
23341  ENABLE_COMPAT_HOWL_TRUE='#'
23342  ENABLE_COMPAT_HOWL_FALSE=
23343fi
23344
23345
23346
23347# ==========================================================================
23348ac_config_files="$ac_config_files Makefile avahi-common/Makefile avahi-core/Makefile avahi-glib/Makefile avahi-gobject/Makefile avahi-qt/Makefile avahi-daemon/Makefile avahi-daemon/avahi-dbus.conf avahi-discover-standalone/Makefile avahi-client/Makefile initscript/Makefile initscript/debian/Makefile initscript/gentoo/Makefile initscript/archlinux/Makefile initscript/suse/Makefile initscript/fedora/Makefile initscript/lfs/Makefile initscript/mandriva/Makefile initscript/darwin/Makefile initscript/freebsd/Makefile initscript/slackware/Makefile avahi-dnsconfd/Makefile avahi-utils/Makefile avahi-python/Makefile avahi-python/avahi/Makefile avahi-python/avahi-discover/Makefile examples/Makefile common/Makefile man/Makefile tests/Makefile service-type-database/Makefile avahi-sharp/Makefile avahi-ui-sharp/Makefile avahi-compat-libdns_sd/Makefile avahi-compat-howl/Makefile avahi-compat-howl/samples/Makefile avahi-autoipd/Makefile avahi-ui/Makefile po/Makefile.in"
23349
23350cat >confcache <<\_ACEOF
23351# This file is a shell script that caches the results of configure
23352# tests run on this system so they can be shared between configure
23353# scripts and configure runs, see configure's option --config-cache.
23354# It is not useful on other systems.  If it contains results you don't
23355# want to keep, you may remove or edit it.
23356#
23357# config.status only pays attention to the cache file if you give it
23358# the --recheck option to rerun configure.
23359#
23360# `ac_cv_env_foo' variables (set or unset) will be overridden when
23361# loading this file, other *unset* `ac_cv_foo' will be assigned the
23362# following values.
23363
23364_ACEOF
23365
23366# The following way of writing the cache mishandles newlines in values,
23367# but we know of no workaround that is simple, portable, and efficient.
23368# So, we kill variables containing newlines.
23369# Ultrix sh set writes to stderr and can't be redirected directly,
23370# and sets the high bit in the cache file unless we assign to the vars.
23371(
23372  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23373    eval ac_val=\$$ac_var
23374    case $ac_val in #(
23375    *${as_nl}*)
23376      case $ac_var in #(
23377      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23378$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23379      esac
23380      case $ac_var in #(
23381      _ | IFS | as_nl) ;; #(
23382      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23383      *) { eval $ac_var=; unset $ac_var;} ;;
23384      esac ;;
23385    esac
23386  done
23387
23388  (set) 2>&1 |
23389    case $as_nl`(ac_space=' '; set) 2>&1` in #(
23390    *${as_nl}ac_space=\ *)
23391      # `set' does not quote correctly, so add quotes: double-quote
23392      # substitution turns \\\\ into \\, and sed turns \\ into \.
23393      sed -n \
23394	"s/'/'\\\\''/g;
23395	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23396      ;; #(
23397    *)
23398      # `set' quotes correctly as required by POSIX, so do not add quotes.
23399      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23400      ;;
23401    esac |
23402    sort
23403) |
23404  sed '
23405     /^ac_cv_env_/b end
23406     t clear
23407     :clear
23408     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23409     t end
23410     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23411     :end' >>confcache
23412if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23413  if test -w "$cache_file"; then
23414    test "x$cache_file" != "x/dev/null" &&
23415      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23416$as_echo "$as_me: updating cache $cache_file" >&6;}
23417    cat confcache >$cache_file
23418  else
23419    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23420$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23421  fi
23422fi
23423rm -f confcache
23424
23425test "x$prefix" = xNONE && prefix=$ac_default_prefix
23426# Let make expand exec_prefix.
23427test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23428
23429DEFS=-DHAVE_CONFIG_H
23430
23431ac_libobjs=
23432ac_ltlibobjs=
23433for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
23434  # 1. Remove the extension, and $U if already installed.
23435  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23436  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23437  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
23438  #    will be set to the directory where LIBOBJS objects are built.
23439  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23440  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23441done
23442LIB@&t@OBJS=$ac_libobjs
23443
23444LTLIBOBJS=$ac_ltlibobjs
23445
23446
23447if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23448  as_fn_error "conditional \"AMDEP\" was never defined.
23449Usually this means the macro was only invoked conditionally." "$LINENO" 5
23450fi
23451if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23452  as_fn_error "conditional \"am__fastdepCC\" was never defined.
23453Usually this means the macro was only invoked conditionally." "$LINENO" 5
23454fi
23455if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23456  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
23457Usually this means the macro was only invoked conditionally." "$LINENO" 5
23458fi
23459if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23460  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
23461Usually this means the macro was only invoked conditionally." "$LINENO" 5
23462fi
23463if test -z "${HAVE_NETLINK_TRUE}" && test -z "${HAVE_NETLINK_FALSE}"; then
23464  as_fn_error "conditional \"HAVE_NETLINK\" was never defined.
23465Usually this means the macro was only invoked conditionally." "$LINENO" 5
23466fi
23467if test -z "${HAVE_PF_ROUTE_TRUE}" && test -z "${HAVE_PF_ROUTE_FALSE}"; then
23468  as_fn_error "conditional \"HAVE_PF_ROUTE\" was never defined.
23469Usually this means the macro was only invoked conditionally." "$LINENO" 5
23470fi
23471if test -z "${HAVE_SYS_FILIO_H_TRUE}" && test -z "${HAVE_SYS_FILIO_H_FALSE}"; then
23472  as_fn_error "conditional \"HAVE_SYS_FILIO_H\" was never defined.
23473Usually this means the macro was only invoked conditionally." "$LINENO" 5
23474fi
23475if test -z "${HAVE_SYS_SYSCTL_H_TRUE}" && test -z "${HAVE_SYS_SYSCTL_H_FALSE}"; then
23476  as_fn_error "conditional \"HAVE_SYS_SYSCTL_H\" was never defined.
23477Usually this means the macro was only invoked conditionally." "$LINENO" 5
23478fi
23479if test -z "${TARGET_LFS_TRUE}" && test -z "${TARGET_LFS_FALSE}"; then
23480  as_fn_error "conditional \"TARGET_LFS\" was never defined.
23481Usually this means the macro was only invoked conditionally." "$LINENO" 5
23482fi
23483if test -z "${TARGET_SUSE_TRUE}" && test -z "${TARGET_SUSE_FALSE}"; then
23484  as_fn_error "conditional \"TARGET_SUSE\" was never defined.
23485Usually this means the macro was only invoked conditionally." "$LINENO" 5
23486fi
23487if test -z "${TARGET_GENTOO_TRUE}" && test -z "${TARGET_GENTOO_FALSE}"; then
23488  as_fn_error "conditional \"TARGET_GENTOO\" was never defined.
23489Usually this means the macro was only invoked conditionally." "$LINENO" 5
23490fi
23491if test -z "${TARGET_DEBIAN_TRUE}" && test -z "${TARGET_DEBIAN_FALSE}"; then
23492  as_fn_error "conditional \"TARGET_DEBIAN\" was never defined.
23493Usually this means the macro was only invoked conditionally." "$LINENO" 5
23494fi
23495if test -z "${TARGET_ARCHLINUX_TRUE}" && test -z "${TARGET_ARCHLINUX_FALSE}"; then
23496  as_fn_error "conditional \"TARGET_ARCHLINUX\" was never defined.
23497Usually this means the macro was only invoked conditionally." "$LINENO" 5
23498fi
23499if test -z "${TARGET_FEDORA_TRUE}" && test -z "${TARGET_FEDORA_FALSE}"; then
23500  as_fn_error "conditional \"TARGET_FEDORA\" was never defined.
23501Usually this means the macro was only invoked conditionally." "$LINENO" 5
23502fi
23503if test -z "${TARGET_MANDRIVA_TRUE}" && test -z "${TARGET_MANDRIVA_FALSE}"; then
23504  as_fn_error "conditional \"TARGET_MANDRIVA\" was never defined.
23505Usually this means the macro was only invoked conditionally." "$LINENO" 5
23506fi
23507if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
23508  as_fn_error "conditional \"TARGET_DARWIN\" was never defined.
23509Usually this means the macro was only invoked conditionally." "$LINENO" 5
23510fi
23511if test -z "${TARGET_NETBSD_TRUE}" && test -z "${TARGET_NETBSD_FALSE}"; then
23512  as_fn_error "conditional \"TARGET_NETBSD\" was never defined.
23513Usually this means the macro was only invoked conditionally." "$LINENO" 5
23514fi
23515if test -z "${TARGET_FREEBSD_TRUE}" && test -z "${TARGET_FREEBSD_FALSE}"; then
23516  as_fn_error "conditional \"TARGET_FREEBSD\" was never defined.
23517Usually this means the macro was only invoked conditionally." "$LINENO" 5
23518fi
23519if test -z "${TARGET_SLACKWARE_TRUE}" && test -z "${TARGET_SLACKWARE_FALSE}"; then
23520  as_fn_error "conditional \"TARGET_SLACKWARE\" was never defined.
23521Usually this means the macro was only invoked conditionally." "$LINENO" 5
23522fi
23523if test -z "${ENABLE_CHROOT_TRUE}" && test -z "${ENABLE_CHROOT_FALSE}"; then
23524  as_fn_error "conditional \"ENABLE_CHROOT\" was never defined.
23525Usually this means the macro was only invoked conditionally." "$LINENO" 5
23526fi
23527if test -z "${HAVE_DLOPEN_TRUE}" && test -z "${HAVE_DLOPEN_FALSE}"; then
23528  as_fn_error "conditional \"HAVE_DLOPEN\" was never defined.
23529Usually this means the macro was only invoked conditionally." "$LINENO" 5
23530fi
23531if test -z "${HAVE_INOTIFY_TRUE}" && test -z "${HAVE_INOTIFY_FALSE}"; then
23532  as_fn_error "conditional \"HAVE_INOTIFY\" was never defined.
23533Usually this means the macro was only invoked conditionally." "$LINENO" 5
23534fi
23535if test -z "${HAVE_KQUEUE_TRUE}" && test -z "${HAVE_KQUEUE_FALSE}"; then
23536  as_fn_error "conditional \"HAVE_KQUEUE\" was never defined.
23537Usually this means the macro was only invoked conditionally." "$LINENO" 5
23538fi
23539
23540  ac_config_commands="$ac_config_commands po/stamp-it"
23541
23542
23543if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
23544  as_fn_error "conditional \"HAVE_GLIB\" was never defined.
23545Usually this means the macro was only invoked conditionally." "$LINENO" 5
23546fi
23547if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then
23548  as_fn_error "conditional \"HAVE_GOBJECT\" was never defined.
23549Usually this means the macro was only invoked conditionally." "$LINENO" 5
23550fi
23551if test -z "${HAVE_QT3_TRUE}" && test -z "${HAVE_QT3_FALSE}"; then
23552  as_fn_error "conditional \"HAVE_QT3\" was never defined.
23553Usually this means the macro was only invoked conditionally." "$LINENO" 5
23554fi
23555if test -z "${HAVE_QT4_TRUE}" && test -z "${HAVE_QT4_FALSE}"; then
23556  as_fn_error "conditional \"HAVE_QT4\" was never defined.
23557Usually this means the macro was only invoked conditionally." "$LINENO" 5
23558fi
23559if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
23560  as_fn_error "conditional \"HAVE_GTK\" was never defined.
23561Usually this means the macro was only invoked conditionally." "$LINENO" 5
23562fi
23563if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
23564  as_fn_error "conditional \"HAVE_DBUS\" was never defined.
23565Usually this means the macro was only invoked conditionally." "$LINENO" 5
23566fi
23567if test -z "${HAVE_XML_TRUE}" && test -z "${HAVE_XML_FALSE}"; then
23568  as_fn_error "conditional \"HAVE_XML\" was never defined.
23569Usually this means the macro was only invoked conditionally." "$LINENO" 5
23570fi
23571if test -z "${HAVE_GDBM_TRUE}" && test -z "${HAVE_GDBM_FALSE}"; then
23572  as_fn_error "conditional \"HAVE_GDBM\" was never defined.
23573Usually this means the macro was only invoked conditionally." "$LINENO" 5
23574fi
23575if test -z "${HAVE_DBM_TRUE}" && test -z "${HAVE_DBM_FALSE}"; then
23576  as_fn_error "conditional \"HAVE_DBM\" was never defined.
23577Usually this means the macro was only invoked conditionally." "$LINENO" 5
23578fi
23579if test -z "${HAVE_LIBDAEMON_TRUE}" && test -z "${HAVE_LIBDAEMON_FALSE}"; then
23580  as_fn_error "conditional \"HAVE_LIBDAEMON\" was never defined.
23581Usually this means the macro was only invoked conditionally." "$LINENO" 5
23582fi
23583if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
23584  as_fn_error "conditional \"HAVE_PYTHON\" was never defined.
23585Usually this means the macro was only invoked conditionally." "$LINENO" 5
23586fi
23587if test -z "${HAVE_PYGTK_TRUE}" && test -z "${HAVE_PYGTK_FALSE}"; then
23588  as_fn_error "conditional \"HAVE_PYGTK\" was never defined.
23589Usually this means the macro was only invoked conditionally." "$LINENO" 5
23590fi
23591if test -z "${HAVE_PYTHON_DBUS_TRUE}" && test -z "${HAVE_PYTHON_DBUS_FALSE}"; then
23592  as_fn_error "conditional \"HAVE_PYTHON_DBUS\" was never defined.
23593Usually this means the macro was only invoked conditionally." "$LINENO" 5
23594fi
23595if test -z "${HAVE_MONO_TRUE}" && test -z "${HAVE_MONO_FALSE}"; then
23596  as_fn_error "conditional \"HAVE_MONO\" was never defined.
23597Usually this means the macro was only invoked conditionally." "$LINENO" 5
23598fi
23599if test -z "${HAVE_MONODOC_TRUE}" && test -z "${HAVE_MONODOC_FALSE}"; then
23600  as_fn_error "conditional \"HAVE_MONODOC\" was never defined.
23601Usually this means the macro was only invoked conditionally." "$LINENO" 5
23602fi
23603if test -z "${ENABLE_AUTOIPD_TRUE}" && test -z "${ENABLE_AUTOIPD_FALSE}"; then
23604  as_fn_error "conditional \"ENABLE_AUTOIPD\" was never defined.
23605Usually this means the macro was only invoked conditionally." "$LINENO" 5
23606fi
23607if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
23608  as_fn_error "conditional \"DX_COND_doc\" was never defined.
23609Usually this means the macro was only invoked conditionally." "$LINENO" 5
23610fi
23611if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
23612  as_fn_error "conditional \"DX_COND_doc\" was never defined.
23613Usually this means the macro was only invoked conditionally." "$LINENO" 5
23614fi
23615if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
23616  as_fn_error "conditional \"DX_COND_dot\" was never defined.
23617Usually this means the macro was only invoked conditionally." "$LINENO" 5
23618fi
23619if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
23620  as_fn_error "conditional \"DX_COND_dot\" was never defined.
23621Usually this means the macro was only invoked conditionally." "$LINENO" 5
23622fi
23623if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
23624  as_fn_error "conditional \"DX_COND_man\" was never defined.
23625Usually this means the macro was only invoked conditionally." "$LINENO" 5
23626fi
23627if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
23628  as_fn_error "conditional \"DX_COND_man\" was never defined.
23629Usually this means the macro was only invoked conditionally." "$LINENO" 5
23630fi
23631if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
23632  as_fn_error "conditional \"DX_COND_rtf\" was never defined.
23633Usually this means the macro was only invoked conditionally." "$LINENO" 5
23634fi
23635if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
23636  as_fn_error "conditional \"DX_COND_rtf\" was never defined.
23637Usually this means the macro was only invoked conditionally." "$LINENO" 5
23638fi
23639if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
23640  as_fn_error "conditional \"DX_COND_xml\" was never defined.
23641Usually this means the macro was only invoked conditionally." "$LINENO" 5
23642fi
23643if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
23644  as_fn_error "conditional \"DX_COND_xml\" was never defined.
23645Usually this means the macro was only invoked conditionally." "$LINENO" 5
23646fi
23647if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
23648  as_fn_error "conditional \"DX_COND_chm\" was never defined.
23649Usually this means the macro was only invoked conditionally." "$LINENO" 5
23650fi
23651if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
23652  as_fn_error "conditional \"DX_COND_chm\" was never defined.
23653Usually this means the macro was only invoked conditionally." "$LINENO" 5
23654fi
23655if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
23656  as_fn_error "conditional \"DX_COND_chi\" was never defined.
23657Usually this means the macro was only invoked conditionally." "$LINENO" 5
23658fi
23659if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
23660  as_fn_error "conditional \"DX_COND_chi\" was never defined.
23661Usually this means the macro was only invoked conditionally." "$LINENO" 5
23662fi
23663if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
23664  as_fn_error "conditional \"DX_COND_html\" was never defined.
23665Usually this means the macro was only invoked conditionally." "$LINENO" 5
23666fi
23667if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
23668  as_fn_error "conditional \"DX_COND_html\" was never defined.
23669Usually this means the macro was only invoked conditionally." "$LINENO" 5
23670fi
23671if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
23672  as_fn_error "conditional \"DX_COND_ps\" was never defined.
23673Usually this means the macro was only invoked conditionally." "$LINENO" 5
23674fi
23675if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
23676  as_fn_error "conditional \"DX_COND_ps\" was never defined.
23677Usually this means the macro was only invoked conditionally." "$LINENO" 5
23678fi
23679if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
23680  as_fn_error "conditional \"DX_COND_pdf\" was never defined.
23681Usually this means the macro was only invoked conditionally." "$LINENO" 5
23682fi
23683if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
23684  as_fn_error "conditional \"DX_COND_pdf\" was never defined.
23685Usually this means the macro was only invoked conditionally." "$LINENO" 5
23686fi
23687if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
23688  as_fn_error "conditional \"DX_COND_latex\" was never defined.
23689Usually this means the macro was only invoked conditionally." "$LINENO" 5
23690fi
23691if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
23692  as_fn_error "conditional \"DX_COND_latex\" was never defined.
23693Usually this means the macro was only invoked conditionally." "$LINENO" 5
23694fi
23695if test -z "${ENABLE_CORE_DOCS_TRUE}" && test -z "${ENABLE_CORE_DOCS_FALSE}"; then
23696  as_fn_error "conditional \"ENABLE_CORE_DOCS\" was never defined.
23697Usually this means the macro was only invoked conditionally." "$LINENO" 5
23698fi
23699if test -z "${USE_XMLTOMAN_TRUE}" && test -z "${USE_XMLTOMAN_FALSE}"; then
23700  as_fn_error "conditional \"USE_XMLTOMAN\" was never defined.
23701Usually this means the macro was only invoked conditionally." "$LINENO" 5
23702fi
23703if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then
23704  as_fn_error "conditional \"BUILD_MANPAGES\" was never defined.
23705Usually this means the macro was only invoked conditionally." "$LINENO" 5
23706fi
23707if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
23708  as_fn_error "conditional \"ENABLE_TESTS\" was never defined.
23709Usually this means the macro was only invoked conditionally." "$LINENO" 5
23710fi
23711if test -z "${ENABLE_COMPAT_LIBDNS_SD_TRUE}" && test -z "${ENABLE_COMPAT_LIBDNS_SD_FALSE}"; then
23712  as_fn_error "conditional \"ENABLE_COMPAT_LIBDNS_SD\" was never defined.
23713Usually this means the macro was only invoked conditionally." "$LINENO" 5
23714fi
23715if test -z "${ENABLE_COMPAT_HOWL_TRUE}" && test -z "${ENABLE_COMPAT_HOWL_FALSE}"; then
23716  as_fn_error "conditional \"ENABLE_COMPAT_HOWL\" was never defined.
23717Usually this means the macro was only invoked conditionally." "$LINENO" 5
23718fi
23719
23720: ${CONFIG_STATUS=./config.status}
23721ac_write_fail=0
23722ac_clean_files_save=$ac_clean_files
23723ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23724{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23725$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23726as_write_fail=0
23727cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23728#! $SHELL
23729# Generated by $as_me.
23730# Run this file to recreate the current configuration.
23731# Compiler output produced by configure, useful for debugging
23732# configure, is in config.log if it exists.
23733
23734debug=false
23735ac_cs_recheck=false
23736ac_cs_silent=false
23737
23738SHELL=\${CONFIG_SHELL-$SHELL}
23739export SHELL
23740_ASEOF
23741cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23742## -------------------- ##
23743## M4sh Initialization. ##
23744## -------------------- ##
23745
23746# Be more Bourne compatible
23747DUALCASE=1; export DUALCASE # for MKS sh
23748if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23749  emulate sh
23750  NULLCMD=:
23751  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23752  # is contrary to our usage.  Disable this feature.
23753  alias -g '${1+"$@"}'='"$@"'
23754  setopt NO_GLOB_SUBST
23755else
23756  case `(set -o) 2>/dev/null` in @%:@(
23757  *posix*) :
23758    set -o posix ;; @%:@(
23759  *) :
23760     ;;
23761esac
23762fi
23763
23764
23765as_nl='
23766'
23767export as_nl
23768# Printing a long string crashes Solaris 7 /usr/bin/printf.
23769as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23770as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23771as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23772# Prefer a ksh shell builtin over an external printf program on Solaris,
23773# but without wasting forks for bash or zsh.
23774if test -z "$BASH_VERSION$ZSH_VERSION" \
23775    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23776  as_echo='print -r --'
23777  as_echo_n='print -rn --'
23778elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23779  as_echo='printf %s\n'
23780  as_echo_n='printf %s'
23781else
23782  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23783    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23784    as_echo_n='/usr/ucb/echo -n'
23785  else
23786    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23787    as_echo_n_body='eval
23788      arg=$1;
23789      case $arg in @%:@(
23790      *"$as_nl"*)
23791	expr "X$arg" : "X\\(.*\\)$as_nl";
23792	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23793      esac;
23794      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23795    '
23796    export as_echo_n_body
23797    as_echo_n='sh -c $as_echo_n_body as_echo'
23798  fi
23799  export as_echo_body
23800  as_echo='sh -c $as_echo_body as_echo'
23801fi
23802
23803# The user is always right.
23804if test "${PATH_SEPARATOR+set}" != set; then
23805  PATH_SEPARATOR=:
23806  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23807    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23808      PATH_SEPARATOR=';'
23809  }
23810fi
23811
23812
23813# IFS
23814# We need space, tab and new line, in precisely that order.  Quoting is
23815# there to prevent editors from complaining about space-tab.
23816# (If _AS_PATH_WALK were called with IFS unset, it would disable word
23817# splitting by setting IFS to empty value.)
23818IFS=" ""	$as_nl"
23819
23820# Find who we are.  Look in the path if we contain no directory separator.
23821case $0 in @%:@((
23822  *[\\/]* ) as_myself=$0 ;;
23823  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23824for as_dir in $PATH
23825do
23826  IFS=$as_save_IFS
23827  test -z "$as_dir" && as_dir=.
23828    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23829  done
23830IFS=$as_save_IFS
23831
23832     ;;
23833esac
23834# We did not find ourselves, most probably we were run as `sh COMMAND'
23835# in which case we are not to be found in the path.
23836if test "x$as_myself" = x; then
23837  as_myself=$0
23838fi
23839if test ! -f "$as_myself"; then
23840  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23841  exit 1
23842fi
23843
23844# Unset variables that we do not need and which cause bugs (e.g. in
23845# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
23846# suppresses any "Segmentation fault" message there.  '((' could
23847# trigger a bug in pdksh 5.2.14.
23848for as_var in BASH_ENV ENV MAIL MAILPATH
23849do eval test x\${$as_var+set} = xset \
23850  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23851done
23852PS1='$ '
23853PS2='> '
23854PS4='+ '
23855
23856# NLS nuisances.
23857LC_ALL=C
23858export LC_ALL
23859LANGUAGE=C
23860export LANGUAGE
23861
23862# CDPATH.
23863(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23864
23865
23866@%:@ as_fn_error ERROR [LINENO LOG_FD]
23867@%:@ ---------------------------------
23868@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23869@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23870@%:@ script with status @S|@?, using 1 if that was 0.
23871as_fn_error ()
23872{
23873  as_status=$?; test $as_status -eq 0 && as_status=1
23874  if test "$3"; then
23875    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23876    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
23877  fi
23878  $as_echo "$as_me: error: $1" >&2
23879  as_fn_exit $as_status
23880} @%:@ as_fn_error
23881
23882
23883@%:@ as_fn_set_status STATUS
23884@%:@ -----------------------
23885@%:@ Set @S|@? to STATUS, without forking.
23886as_fn_set_status ()
23887{
23888  return $1
23889} @%:@ as_fn_set_status
23890
23891@%:@ as_fn_exit STATUS
23892@%:@ -----------------
23893@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23894as_fn_exit ()
23895{
23896  set +e
23897  as_fn_set_status $1
23898  exit $1
23899} @%:@ as_fn_exit
23900
23901@%:@ as_fn_unset VAR
23902@%:@ ---------------
23903@%:@ Portably unset VAR.
23904as_fn_unset ()
23905{
23906  { eval $1=; unset $1;}
23907}
23908as_unset=as_fn_unset
23909@%:@ as_fn_append VAR VALUE
23910@%:@ ----------------------
23911@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
23912@%:@ advantage of any shell optimizations that allow amortized linear growth over
23913@%:@ repeated appends, instead of the typical quadratic growth present in naive
23914@%:@ implementations.
23915if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
23916  eval 'as_fn_append ()
23917  {
23918    eval $1+=\$2
23919  }'
23920else
23921  as_fn_append ()
23922  {
23923    eval $1=\$$1\$2
23924  }
23925fi # as_fn_append
23926
23927@%:@ as_fn_arith ARG...
23928@%:@ ------------------
23929@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
23930@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
23931@%:@ must be portable across @S|@(()) and expr.
23932if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
23933  eval 'as_fn_arith ()
23934  {
23935    as_val=$(( $* ))
23936  }'
23937else
23938  as_fn_arith ()
23939  {
23940    as_val=`expr "$@" || test $? -eq 1`
23941  }
23942fi # as_fn_arith
23943
23944
23945if expr a : '\(a\)' >/dev/null 2>&1 &&
23946   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23947  as_expr=expr
23948else
23949  as_expr=false
23950fi
23951
23952if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23953  as_basename=basename
23954else
23955  as_basename=false
23956fi
23957
23958if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23959  as_dirname=dirname
23960else
23961  as_dirname=false
23962fi
23963
23964as_me=`$as_basename -- "$0" ||
23965$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23966	 X"$0" : 'X\(//\)$' \| \
23967	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23968$as_echo X/"$0" |
23969    sed '/^.*\/\([^/][^/]*\)\/*$/{
23970	    s//\1/
23971	    q
23972	  }
23973	  /^X\/\(\/\/\)$/{
23974	    s//\1/
23975	    q
23976	  }
23977	  /^X\/\(\/\).*/{
23978	    s//\1/
23979	    q
23980	  }
23981	  s/.*/./; q'`
23982
23983# Avoid depending upon Character Ranges.
23984as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23985as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23986as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23987as_cr_digits='0123456789'
23988as_cr_alnum=$as_cr_Letters$as_cr_digits
23989
23990ECHO_C= ECHO_N= ECHO_T=
23991case `echo -n x` in @%:@(((((
23992-n*)
23993  case `echo 'xy\c'` in
23994  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
23995  xy)  ECHO_C='\c';;
23996  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
23997       ECHO_T='	';;
23998  esac;;
23999*)
24000  ECHO_N='-n';;
24001esac
24002
24003rm -f conf$$ conf$$.exe conf$$.file
24004if test -d conf$$.dir; then
24005  rm -f conf$$.dir/conf$$.file
24006else
24007  rm -f conf$$.dir
24008  mkdir conf$$.dir 2>/dev/null
24009fi
24010if (echo >conf$$.file) 2>/dev/null; then
24011  if ln -s conf$$.file conf$$ 2>/dev/null; then
24012    as_ln_s='ln -s'
24013    # ... but there are two gotchas:
24014    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24015    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24016    # In both cases, we have to default to `cp -p'.
24017    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24018      as_ln_s='cp -p'
24019  elif ln conf$$.file conf$$ 2>/dev/null; then
24020    as_ln_s=ln
24021  else
24022    as_ln_s='cp -p'
24023  fi
24024else
24025  as_ln_s='cp -p'
24026fi
24027rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24028rmdir conf$$.dir 2>/dev/null
24029
24030
24031@%:@ as_fn_mkdir_p
24032@%:@ -------------
24033@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
24034as_fn_mkdir_p ()
24035{
24036
24037  case $as_dir in #(
24038  -*) as_dir=./$as_dir;;
24039  esac
24040  test -d "$as_dir" || eval $as_mkdir_p || {
24041    as_dirs=
24042    while :; do
24043      case $as_dir in #(
24044      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24045      *) as_qdir=$as_dir;;
24046      esac
24047      as_dirs="'$as_qdir' $as_dirs"
24048      as_dir=`$as_dirname -- "$as_dir" ||
24049$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24050	 X"$as_dir" : 'X\(//\)[^/]' \| \
24051	 X"$as_dir" : 'X\(//\)$' \| \
24052	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24053$as_echo X"$as_dir" |
24054    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24055	    s//\1/
24056	    q
24057	  }
24058	  /^X\(\/\/\)[^/].*/{
24059	    s//\1/
24060	    q
24061	  }
24062	  /^X\(\/\/\)$/{
24063	    s//\1/
24064	    q
24065	  }
24066	  /^X\(\/\).*/{
24067	    s//\1/
24068	    q
24069	  }
24070	  s/.*/./; q'`
24071      test -d "$as_dir" && break
24072    done
24073    test -z "$as_dirs" || eval "mkdir $as_dirs"
24074  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
24075
24076
24077} @%:@ as_fn_mkdir_p
24078if mkdir -p . 2>/dev/null; then
24079  as_mkdir_p='mkdir -p "$as_dir"'
24080else
24081  test -d ./-p && rmdir ./-p
24082  as_mkdir_p=false
24083fi
24084
24085if test -x / >/dev/null 2>&1; then
24086  as_test_x='test -x'
24087else
24088  if ls -dL / >/dev/null 2>&1; then
24089    as_ls_L_option=L
24090  else
24091    as_ls_L_option=
24092  fi
24093  as_test_x='
24094    eval sh -c '\''
24095      if test -d "$1"; then
24096	test -d "$1/.";
24097      else
24098	case $1 in @%:@(
24099	-*)set "./$1";;
24100	esac;
24101	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
24102	???[sx]*):;;*)false;;esac;fi
24103    '\'' sh
24104  '
24105fi
24106as_executable_p=$as_test_x
24107
24108# Sed expression to map a string onto a valid CPP name.
24109as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24110
24111# Sed expression to map a string onto a valid variable name.
24112as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24113
24114
24115exec 6>&1
24116## ----------------------------------- ##
24117## Main body of $CONFIG_STATUS script. ##
24118## ----------------------------------- ##
24119_ASEOF
24120test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
24121
24122cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24123# Save the log message, to keep $0 and so on meaningful, and to
24124# report actual input values of CONFIG_FILES etc. instead of their
24125# values after options handling.
24126ac_log="
24127This file was extended by avahi $as_me 0.6.25, which was
24128generated by GNU Autoconf 2.65.  Invocation command line was
24129
24130  CONFIG_FILES    = $CONFIG_FILES
24131  CONFIG_HEADERS  = $CONFIG_HEADERS
24132  CONFIG_LINKS    = $CONFIG_LINKS
24133  CONFIG_COMMANDS = $CONFIG_COMMANDS
24134  $ $0 $@
24135
24136on `(hostname || uname -n) 2>/dev/null | sed 1q`
24137"
24138
24139_ACEOF
24140
24141case $ac_config_files in *"
24142"*) set x $ac_config_files; shift; ac_config_files=$*;;
24143esac
24144
24145case $ac_config_headers in *"
24146"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
24147esac
24148
24149
24150cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24151# Files that config.status was made for.
24152config_files="$ac_config_files"
24153config_headers="$ac_config_headers"
24154config_commands="$ac_config_commands"
24155
24156_ACEOF
24157
24158cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24159ac_cs_usage="\
24160\`$as_me' instantiates files and other configuration actions
24161from templates according to the current configuration.  Unless the files
24162and actions are specified as TAGs, all are instantiated by default.
24163
24164Usage: $0 [OPTION]... [TAG]...
24165
24166  -h, --help       print this help, then exit
24167  -V, --version    print version number and configuration settings, then exit
24168      --config     print configuration, then exit
24169  -q, --quiet, --silent
24170                   do not print progress messages
24171  -d, --debug      don't remove temporary files
24172      --recheck    update $as_me by reconfiguring in the same conditions
24173      --file=FILE[:TEMPLATE] 
24174                   instantiate the configuration file FILE
24175      --header=FILE[:TEMPLATE] 
24176                   instantiate the configuration header FILE
24177
24178Configuration files:
24179$config_files
24180
24181Configuration headers:
24182$config_headers
24183
24184Configuration commands:
24185$config_commands
24186
24187Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>."
24188
24189_ACEOF
24190cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24191ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24192ac_cs_version="\\
24193avahi config.status 0.6.25
24194configured by $0, generated by GNU Autoconf 2.65,
24195  with options \\"\$ac_cs_config\\"
24196
24197Copyright (C) 2009 Free Software Foundation, Inc.
24198This config.status script is free software; the Free Software Foundation
24199gives unlimited permission to copy, distribute and modify it."
24200
24201ac_pwd='$ac_pwd'
24202srcdir='$srcdir'
24203INSTALL='$INSTALL'
24204MKDIR_P='$MKDIR_P'
24205AWK='$AWK'
24206test -n "\$AWK" || AWK=awk
24207_ACEOF
24208
24209cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24210# The default lists apply if the user does not specify any file.
24211ac_need_defaults=:
24212while test $# != 0
24213do
24214  case $1 in
24215  --*=*)
24216    ac_option=`expr "X$1" : 'X\([^=]*\)='`
24217    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24218    ac_shift=:
24219    ;;
24220  *)
24221    ac_option=$1
24222    ac_optarg=$2
24223    ac_shift=shift
24224    ;;
24225  esac
24226
24227  case $ac_option in
24228  # Handling of the options.
24229  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24230    ac_cs_recheck=: ;;
24231  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24232    $as_echo "$ac_cs_version"; exit ;;
24233  --config | --confi | --conf | --con | --co | --c )
24234    $as_echo "$ac_cs_config"; exit ;;
24235  --debug | --debu | --deb | --de | --d | -d )
24236    debug=: ;;
24237  --file | --fil | --fi | --f )
24238    $ac_shift
24239    case $ac_optarg in
24240    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24241    esac
24242    as_fn_append CONFIG_FILES " '$ac_optarg'"
24243    ac_need_defaults=false;;
24244  --header | --heade | --head | --hea )
24245    $ac_shift
24246    case $ac_optarg in
24247    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24248    esac
24249    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
24250    ac_need_defaults=false;;
24251  --he | --h)
24252    # Conflict between --help and --header
24253    as_fn_error "ambiguous option: \`$1'
24254Try \`$0 --help' for more information.";;
24255  --help | --hel | -h )
24256    $as_echo "$ac_cs_usage"; exit ;;
24257  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24258  | -silent | --silent | --silen | --sile | --sil | --si | --s)
24259    ac_cs_silent=: ;;
24260
24261  # This is an error.
24262  -*) as_fn_error "unrecognized option: \`$1'
24263Try \`$0 --help' for more information." ;;
24264
24265  *) as_fn_append ac_config_targets " $1"
24266     ac_need_defaults=false ;;
24267
24268  esac
24269  shift
24270done
24271
24272ac_configure_extra_args=
24273
24274if $ac_cs_silent; then
24275  exec 6>/dev/null
24276  ac_configure_extra_args="$ac_configure_extra_args --silent"
24277fi
24278
24279_ACEOF
24280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24281if \$ac_cs_recheck; then
24282  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24283  shift
24284  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24285  CONFIG_SHELL='$SHELL'
24286  export CONFIG_SHELL
24287  exec "\$@"
24288fi
24289
24290_ACEOF
24291cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24292exec 5>>config.log
24293{
24294  echo
24295  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
24296@%:@@%:@ Running $as_me. @%:@@%:@
24297_ASBOX
24298  $as_echo "$ac_log"
24299} >&5
24300
24301_ACEOF
24302cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24303#
24304# INIT-COMMANDS
24305#
24306AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24307
24308
24309# The HP-UX ksh and POSIX shell print the target directory to stdout
24310# if CDPATH is set.
24311(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24312
24313sed_quote_subst='$sed_quote_subst'
24314double_quote_subst='$double_quote_subst'
24315delay_variable_subst='$delay_variable_subst'
24316macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
24317macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
24318enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
24319enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
24320pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
24321enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
24322host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
24323host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
24324host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
24325build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
24326build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
24327build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
24328SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
24329Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
24330GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
24331EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
24332FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
24333LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
24334NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
24335LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
24336max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
24337ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
24338exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
24339lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
24340lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
24341lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
24342reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
24343reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24344OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
24345deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
24346file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
24347AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
24348AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
24349STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
24350RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
24351old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24352old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24353old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24354CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
24355CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
24356compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
24357GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
24358lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
24359lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
24360lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
24361lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
24362objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
24363SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
24364ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
24365MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
24366lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
24367lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
24368lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
24369lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
24370lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
24371need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
24372DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
24373NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
24374LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
24375OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
24376OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
24377libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
24378shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24379extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24380archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
24381enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
24382export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24383whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24384compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
24385old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24386old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24387archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24388archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24389module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24390module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24391with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
24392allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
24393no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
24394hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24395hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
24396hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
24397hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
24398hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
24399hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
24400hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
24401hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
24402inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
24403link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
24404fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
24405always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
24406export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24407exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
24408include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
24409prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24410file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
24411variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
24412need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
24413need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
24414version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
24415runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
24416shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
24417shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
24418libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
24419library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
24420soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
24421postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24422postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24423finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24424finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
24425hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
24426sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
24427sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
24428hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
24429enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
24430enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
24431enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
24432old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
24433striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
24434compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
24435predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
24436postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
24437predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
24438postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
24439compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
24440LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24441old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24442compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24443GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24444lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24445lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24446lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24447lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24448lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24449archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24450enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24451export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24452whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24453compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24454old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24455old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24456archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24457archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24458module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24459module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24460with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24461allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24462no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24463hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24464hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24465hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24466hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24467hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24468hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24469hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24470hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24471inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24472link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24473fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24474always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24475export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24476exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24477include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24478prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24479file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24480hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24481compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24482predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24483postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24484predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24485postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24486compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24487
24488LTCC='$LTCC'
24489LTCFLAGS='$LTCFLAGS'
24490compiler='$compiler_DEFAULT'
24491
24492# Quote evaled strings.
24493for var in SED \
24494GREP \
24495EGREP \
24496FGREP \
24497LD \
24498NM \
24499LN_S \
24500lt_SP2NL \
24501lt_NL2SP \
24502reload_flag \
24503OBJDUMP \
24504deplibs_check_method \
24505file_magic_cmd \
24506AR \
24507AR_FLAGS \
24508STRIP \
24509RANLIB \
24510CC \
24511CFLAGS \
24512compiler \
24513lt_cv_sys_global_symbol_pipe \
24514lt_cv_sys_global_symbol_to_cdecl \
24515lt_cv_sys_global_symbol_to_c_name_address \
24516lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24517SHELL \
24518ECHO \
24519lt_prog_compiler_no_builtin_flag \
24520lt_prog_compiler_wl \
24521lt_prog_compiler_pic \
24522lt_prog_compiler_static \
24523lt_cv_prog_compiler_c_o \
24524need_locks \
24525DSYMUTIL \
24526NMEDIT \
24527LIPO \
24528OTOOL \
24529OTOOL64 \
24530shrext_cmds \
24531export_dynamic_flag_spec \
24532whole_archive_flag_spec \
24533compiler_needs_object \
24534with_gnu_ld \
24535allow_undefined_flag \
24536no_undefined_flag \
24537hardcode_libdir_flag_spec \
24538hardcode_libdir_flag_spec_ld \
24539hardcode_libdir_separator \
24540fix_srcfile_path \
24541exclude_expsyms \
24542include_expsyms \
24543file_list_spec \
24544variables_saved_for_relink \
24545libname_spec \
24546library_names_spec \
24547soname_spec \
24548finish_eval \
24549old_striplib \
24550striplib \
24551compiler_lib_search_dirs \
24552predep_objects \
24553postdep_objects \
24554predeps \
24555postdeps \
24556compiler_lib_search_path \
24557LD_CXX \
24558compiler_CXX \
24559lt_prog_compiler_no_builtin_flag_CXX \
24560lt_prog_compiler_wl_CXX \
24561lt_prog_compiler_pic_CXX \
24562lt_prog_compiler_static_CXX \
24563lt_cv_prog_compiler_c_o_CXX \
24564export_dynamic_flag_spec_CXX \
24565whole_archive_flag_spec_CXX \
24566compiler_needs_object_CXX \
24567with_gnu_ld_CXX \
24568allow_undefined_flag_CXX \
24569no_undefined_flag_CXX \
24570hardcode_libdir_flag_spec_CXX \
24571hardcode_libdir_flag_spec_ld_CXX \
24572hardcode_libdir_separator_CXX \
24573fix_srcfile_path_CXX \
24574exclude_expsyms_CXX \
24575include_expsyms_CXX \
24576file_list_spec_CXX \
24577compiler_lib_search_dirs_CXX \
24578predep_objects_CXX \
24579postdep_objects_CXX \
24580predeps_CXX \
24581postdeps_CXX \
24582compiler_lib_search_path_CXX; do
24583    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
24584    *[\\\\\\\`\\"\\\$]*)
24585      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
24586      ;;
24587    *)
24588      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24589      ;;
24590    esac
24591done
24592
24593# Double-quote double-evaled strings.
24594for var in reload_cmds \
24595old_postinstall_cmds \
24596old_postuninstall_cmds \
24597old_archive_cmds \
24598extract_expsyms_cmds \
24599old_archive_from_new_cmds \
24600old_archive_from_expsyms_cmds \
24601archive_cmds \
24602archive_expsym_cmds \
24603module_cmds \
24604module_expsym_cmds \
24605export_symbols_cmds \
24606prelink_cmds \
24607postinstall_cmds \
24608postuninstall_cmds \
24609finish_cmds \
24610sys_lib_search_path_spec \
24611sys_lib_dlsearch_path_spec \
24612old_archive_cmds_CXX \
24613old_archive_from_new_cmds_CXX \
24614old_archive_from_expsyms_cmds_CXX \
24615archive_cmds_CXX \
24616archive_expsym_cmds_CXX \
24617module_cmds_CXX \
24618module_expsym_cmds_CXX \
24619export_symbols_cmds_CXX \
24620prelink_cmds_CXX; do
24621    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
24622    *[\\\\\\\`\\"\\\$]*)
24623      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24624      ;;
24625    *)
24626      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24627      ;;
24628    esac
24629done
24630
24631# Fix-up fallback echo if it was mangled by the above quoting rules.
24632case \$lt_ECHO in
24633*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
24634  ;;
24635esac
24636
24637ac_aux_dir='$ac_aux_dir'
24638xsi_shell='$xsi_shell'
24639lt_shell_append='$lt_shell_append'
24640
24641# See if we are running on zsh, and set the options which allow our
24642# commands through without removal of \ escapes INIT.
24643if test -n "\${ZSH_VERSION+set}" ; then
24644   setopt NO_GLOB_SUBST
24645fi
24646
24647
24648    PACKAGE='$PACKAGE'
24649    VERSION='$VERSION'
24650    TIMESTAMP='$TIMESTAMP'
24651    RM='$RM'
24652    ofile='$ofile'
24653
24654
24655
24656
24657
24658
24659
24660_ACEOF
24661
24662cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24663
24664# Handling of arguments.
24665for ac_config_target in $ac_config_targets
24666do
24667  case $ac_config_target in
24668    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24669    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24670    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24671    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24672    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24673    "avahi-common/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-common/Makefile" ;;
24674    "avahi-core/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-core/Makefile" ;;
24675    "avahi-glib/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-glib/Makefile" ;;
24676    "avahi-gobject/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-gobject/Makefile" ;;
24677    "avahi-qt/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-qt/Makefile" ;;
24678    "avahi-daemon/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-daemon/Makefile" ;;
24679    "avahi-daemon/avahi-dbus.conf") CONFIG_FILES="$CONFIG_FILES avahi-daemon/avahi-dbus.conf" ;;
24680    "avahi-discover-standalone/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-discover-standalone/Makefile" ;;
24681    "avahi-client/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-client/Makefile" ;;
24682    "initscript/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/Makefile" ;;
24683    "initscript/debian/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/debian/Makefile" ;;
24684    "initscript/gentoo/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/gentoo/Makefile" ;;
24685    "initscript/archlinux/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/archlinux/Makefile" ;;
24686    "initscript/suse/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/suse/Makefile" ;;
24687    "initscript/fedora/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/fedora/Makefile" ;;
24688    "initscript/lfs/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/lfs/Makefile" ;;
24689    "initscript/mandriva/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/mandriva/Makefile" ;;
24690    "initscript/darwin/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/darwin/Makefile" ;;
24691    "initscript/freebsd/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/freebsd/Makefile" ;;
24692    "initscript/slackware/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/slackware/Makefile" ;;
24693    "avahi-dnsconfd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-dnsconfd/Makefile" ;;
24694    "avahi-utils/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-utils/Makefile" ;;
24695    "avahi-python/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/Makefile" ;;
24696    "avahi-python/avahi/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/avahi/Makefile" ;;
24697    "avahi-python/avahi-discover/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/avahi-discover/Makefile" ;;
24698    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
24699    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
24700    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
24701    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
24702    "service-type-database/Makefile") CONFIG_FILES="$CONFIG_FILES service-type-database/Makefile" ;;
24703    "avahi-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-sharp/Makefile" ;;
24704    "avahi-ui-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-ui-sharp/Makefile" ;;
24705    "avahi-compat-libdns_sd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-libdns_sd/Makefile" ;;
24706    "avahi-compat-howl/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-howl/Makefile" ;;
24707    "avahi-compat-howl/samples/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-howl/samples/Makefile" ;;
24708    "avahi-autoipd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-autoipd/Makefile" ;;
24709    "avahi-ui/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-ui/Makefile" ;;
24710    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24711    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
24712
24713  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24714  esac
24715done
24716
24717
24718# If the user did not use the arguments to specify the items to instantiate,
24719# then the envvar interface is used.  Set only those that are not.
24720# We use the long form for the default assignment because of an extremely
24721# bizarre bug on SunOS 4.1.3.
24722if $ac_need_defaults; then
24723  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24724  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24725  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24726fi
24727
24728# Have a temporary directory for convenience.  Make it in the build tree
24729# simply because there is no reason against having it here, and in addition,
24730# creating and moving files from /tmp can sometimes cause problems.
24731# Hook for its removal unless debugging.
24732# Note that there is a small window in which the directory will not be cleaned:
24733# after its creation but before its name has been assigned to `$tmp'.
24734$debug ||
24735{
24736  tmp=
24737  trap 'exit_status=$?
24738  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24739' 0
24740  trap 'as_fn_exit 1' 1 2 13 15
24741}
24742# Create a (secure) tmp directory for tmp files.
24743
24744{
24745  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24746  test -n "$tmp" && test -d "$tmp"
24747}  ||
24748{
24749  tmp=./conf$$-$RANDOM
24750  (umask 077 && mkdir "$tmp")
24751} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
24752
24753# Set up the scripts for CONFIG_FILES section.
24754# No need to generate them if there are no CONFIG_FILES.
24755# This happens for instance with `./config.status config.h'.
24756if test -n "$CONFIG_FILES"; then
24757
24758
24759ac_cr=`echo X | tr X '\015'`
24760# On cygwin, bash can eat \r inside `` if the user requested igncr.
24761# But we know of no other shell where ac_cr would be empty at this
24762# point, so we can use a bashism as a fallback.
24763if test "x$ac_cr" = x; then
24764  eval ac_cr=\$\'\\r\'
24765fi
24766ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24767if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24768  ac_cs_awk_cr='\r'
24769else
24770  ac_cs_awk_cr=$ac_cr
24771fi
24772
24773echo 'BEGIN {' >"$tmp/subs1.awk" &&
24774_ACEOF
24775
24776
24777{
24778  echo "cat >conf$$subs.awk <<_ACEOF" &&
24779  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24780  echo "_ACEOF"
24781} >conf$$subs.sh ||
24782  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
24783ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
24784ac_delim='%!_!# '
24785for ac_last_try in false false false false false :; do
24786  . ./conf$$subs.sh ||
24787    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
24788
24789  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24790  if test $ac_delim_n = $ac_delim_num; then
24791    break
24792  elif $ac_last_try; then
24793    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
24794  else
24795    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24796  fi
24797done
24798rm -f conf$$subs.sh
24799
24800cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24801cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
24802_ACEOF
24803sed -n '
24804h
24805s/^/S["/; s/!.*/"]=/
24806p
24807g
24808s/^[^!]*!//
24809:repl
24810t repl
24811s/'"$ac_delim"'$//
24812t delim
24813:nl
24814h
24815s/\(.\{148\}\)..*/\1/
24816t more1
24817s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24818p
24819n
24820b repl
24821:more1
24822s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24823p
24824g
24825s/.\{148\}//
24826t nl
24827:delim
24828h
24829s/\(.\{148\}\)..*/\1/
24830t more2
24831s/["\\]/\\&/g; s/^/"/; s/$/"/
24832p
24833b
24834:more2
24835s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24836p
24837g
24838s/.\{148\}//
24839t delim
24840' <conf$$subs.awk | sed '
24841/^[^""]/{
24842  N
24843  s/\n//
24844}
24845' >>$CONFIG_STATUS || ac_write_fail=1
24846rm -f conf$$subs.awk
24847cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24848_ACAWK
24849cat >>"\$tmp/subs1.awk" <<_ACAWK &&
24850  for (key in S) S_is_set[key] = 1
24851  FS = ""
24852
24853}
24854{
24855  line = $ 0
24856  nfields = split(line, field, "@")
24857  substed = 0
24858  len = length(field[1])
24859  for (i = 2; i < nfields; i++) {
24860    key = field[i]
24861    keylen = length(key)
24862    if (S_is_set[key]) {
24863      value = S[key]
24864      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24865      len += length(value) + length(field[++i])
24866      substed = 1
24867    } else
24868      len += 1 + keylen
24869  }
24870
24871  print line
24872}
24873
24874_ACAWK
24875_ACEOF
24876cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24877if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24878  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24879else
24880  cat
24881fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
24882  || as_fn_error "could not setup config files machinery" "$LINENO" 5
24883_ACEOF
24884
24885# VPATH may cause trouble with some makes, so we remove $(srcdir),
24886# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24887# trailing colons and then remove the whole line if VPATH becomes empty
24888# (actually we leave an empty line to preserve line numbers).
24889if test "x$srcdir" = x.; then
24890  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
24891s/:*\$(srcdir):*/:/
24892s/:*\${srcdir}:*/:/
24893s/:*@srcdir@:*/:/
24894s/^\([^=]*=[	 ]*\):*/\1/
24895s/:*$//
24896s/^[^=]*=[	 ]*$//
24897}'
24898fi
24899
24900cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24901fi # test -n "$CONFIG_FILES"
24902
24903# Set up the scripts for CONFIG_HEADERS section.
24904# No need to generate them if there are no CONFIG_HEADERS.
24905# This happens for instance with `./config.status Makefile'.
24906if test -n "$CONFIG_HEADERS"; then
24907cat >"$tmp/defines.awk" <<\_ACAWK ||
24908BEGIN {
24909_ACEOF
24910
24911# Transform confdefs.h into an awk script `defines.awk', embedded as
24912# here-document in config.status, that substitutes the proper values into
24913# config.h.in to produce config.h.
24914
24915# Create a delimiter string that does not exist in confdefs.h, to ease
24916# handling of long lines.
24917ac_delim='%!_!# '
24918for ac_last_try in false false :; do
24919  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
24920  if test -z "$ac_t"; then
24921    break
24922  elif $ac_last_try; then
24923    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
24924  else
24925    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24926  fi
24927done
24928
24929# For the awk script, D is an array of macro values keyed by name,
24930# likewise P contains macro parameters if any.  Preserve backslash
24931# newline sequences.
24932
24933ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24934sed -n '
24935s/.\{148\}/&'"$ac_delim"'/g
24936t rset
24937:rset
24938s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
24939t def
24940d
24941:def
24942s/\\$//
24943t bsnl
24944s/["\\]/\\&/g
24945s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
24946D["\1"]=" \3"/p
24947s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
24948d
24949:bsnl
24950s/["\\]/\\&/g
24951s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
24952D["\1"]=" \3\\\\\\n"\\/p
24953t cont
24954s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24955t cont
24956d
24957:cont
24958n
24959s/.\{148\}/&'"$ac_delim"'/g
24960t clear
24961:clear
24962s/\\$//
24963t bsnlc
24964s/["\\]/\\&/g; s/^/"/; s/$/"/p
24965d
24966:bsnlc
24967s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24968b cont
24969' <confdefs.h | sed '
24970s/'"$ac_delim"'/"\\\
24971"/g' >>$CONFIG_STATUS || ac_write_fail=1
24972
24973cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24974  for (key in D) D_is_set[key] = 1
24975  FS = ""
24976}
24977/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24978  line = \$ 0
24979  split(line, arg, " ")
24980  if (arg[1] == "#") {
24981    defundef = arg[2]
24982    mac1 = arg[3]
24983  } else {
24984    defundef = substr(arg[1], 2)
24985    mac1 = arg[2]
24986  }
24987  split(mac1, mac2, "(") #)
24988  macro = mac2[1]
24989  prefix = substr(line, 1, index(line, defundef) - 1)
24990  if (D_is_set[macro]) {
24991    # Preserve the white space surrounding the "#".
24992    print prefix "define", macro P[macro] D[macro]
24993    next
24994  } else {
24995    # Replace #undef with comments.  This is necessary, for example,
24996    # in the case of _POSIX_SOURCE, which is predefined and required
24997    # on some systems where configure will not decide to define it.
24998    if (defundef == "undef") {
24999      print "/*", prefix defundef, macro, "*/"
25000      next
25001    }
25002  }
25003}
25004{ print }
25005_ACAWK
25006_ACEOF
25007cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25008  as_fn_error "could not setup config headers machinery" "$LINENO" 5
25009fi # test -n "$CONFIG_HEADERS"
25010
25011
25012eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
25013shift
25014for ac_tag
25015do
25016  case $ac_tag in
25017  :[FHLC]) ac_mode=$ac_tag; continue;;
25018  esac
25019  case $ac_mode$ac_tag in
25020  :[FHL]*:*);;
25021  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
25022  :[FH]-) ac_tag=-:-;;
25023  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25024  esac
25025  ac_save_IFS=$IFS
25026  IFS=:
25027  set x $ac_tag
25028  IFS=$ac_save_IFS
25029  shift
25030  ac_file=$1
25031  shift
25032
25033  case $ac_mode in
25034  :L) ac_source=$1;;
25035  :[FH])
25036    ac_file_inputs=
25037    for ac_f
25038    do
25039      case $ac_f in
25040      -) ac_f="$tmp/stdin";;
25041      *) # Look for the file first in the build tree, then in the source tree
25042	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
25043	 # because $ac_f cannot contain `:'.
25044	 test -f "$ac_f" ||
25045	   case $ac_f in
25046	   [\\/$]*) false;;
25047	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25048	   esac ||
25049	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25050      esac
25051      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25052      as_fn_append ac_file_inputs " '$ac_f'"
25053    done
25054
25055    # Let's still pretend it is `configure' which instantiates (i.e., don't
25056    # use $as_me), people would be surprised to read:
25057    #    /* config.h.  Generated by config.status.  */
25058    configure_input='Generated from '`
25059	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25060	`' by configure.'
25061    if test x"$ac_file" != x-; then
25062      configure_input="$ac_file.  $configure_input"
25063      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25064$as_echo "$as_me: creating $ac_file" >&6;}
25065    fi
25066    # Neutralize special characters interpreted by sed in replacement strings.
25067    case $configure_input in #(
25068    *\&* | *\|* | *\\* )
25069       ac_sed_conf_input=`$as_echo "$configure_input" |
25070       sed 's/[\\\\&|]/\\\\&/g'`;; #(
25071    *) ac_sed_conf_input=$configure_input;;
25072    esac
25073
25074    case $ac_tag in
25075    *:-:* | *:-) cat >"$tmp/stdin" \
25076      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
25077    esac
25078    ;;
25079  esac
25080
25081  ac_dir=`$as_dirname -- "$ac_file" ||
25082$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25083	 X"$ac_file" : 'X\(//\)[^/]' \| \
25084	 X"$ac_file" : 'X\(//\)$' \| \
25085	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25086$as_echo X"$ac_file" |
25087    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25088	    s//\1/
25089	    q
25090	  }
25091	  /^X\(\/\/\)[^/].*/{
25092	    s//\1/
25093	    q
25094	  }
25095	  /^X\(\/\/\)$/{
25096	    s//\1/
25097	    q
25098	  }
25099	  /^X\(\/\).*/{
25100	    s//\1/
25101	    q
25102	  }
25103	  s/.*/./; q'`
25104  as_dir="$ac_dir"; as_fn_mkdir_p
25105  ac_builddir=.
25106
25107case "$ac_dir" in
25108.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25109*)
25110  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25111  # A ".." for each directory in $ac_dir_suffix.
25112  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25113  case $ac_top_builddir_sub in
25114  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25115  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25116  esac ;;
25117esac
25118ac_abs_top_builddir=$ac_pwd
25119ac_abs_builddir=$ac_pwd$ac_dir_suffix
25120# for backward compatibility:
25121ac_top_builddir=$ac_top_build_prefix
25122
25123case $srcdir in
25124  .)  # We are building in place.
25125    ac_srcdir=.
25126    ac_top_srcdir=$ac_top_builddir_sub
25127    ac_abs_top_srcdir=$ac_pwd ;;
25128  [\\/]* | ?:[\\/]* )  # Absolute name.
25129    ac_srcdir=$srcdir$ac_dir_suffix;
25130    ac_top_srcdir=$srcdir
25131    ac_abs_top_srcdir=$srcdir ;;
25132  *) # Relative name.
25133    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25134    ac_top_srcdir=$ac_top_build_prefix$srcdir
25135    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25136esac
25137ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25138
25139
25140  case $ac_mode in
25141  :F)
25142  #
25143  # CONFIG_FILE
25144  #
25145
25146  case $INSTALL in
25147  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25148  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25149  esac
25150  ac_MKDIR_P=$MKDIR_P
25151  case $MKDIR_P in
25152  [\\/$]* | ?:[\\/]* ) ;;
25153  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
25154  esac
25155_ACEOF
25156
25157cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25158# If the template does not know about datarootdir, expand it.
25159# FIXME: This hack should be removed a few years after 2.60.
25160ac_datarootdir_hack=; ac_datarootdir_seen=
25161ac_sed_dataroot='
25162/datarootdir/ {
25163  p
25164  q
25165}
25166/@datadir@/p
25167/@docdir@/p
25168/@infodir@/p
25169/@localedir@/p
25170/@mandir@/p'
25171case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25172*datarootdir*) ac_datarootdir_seen=yes;;
25173*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25174  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25175$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25176_ACEOF
25177cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25178  ac_datarootdir_hack='
25179  s&@datadir@&$datadir&g
25180  s&@docdir@&$docdir&g
25181  s&@infodir@&$infodir&g
25182  s&@localedir@&$localedir&g
25183  s&@mandir@&$mandir&g
25184  s&\\\${datarootdir}&$datarootdir&g' ;;
25185esac
25186_ACEOF
25187
25188# Neutralize VPATH when `$srcdir' = `.'.
25189# Shell code in configure.ac might set extrasub.
25190# FIXME: do we really want to maintain this feature?
25191cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25192ac_sed_extra="$ac_vpsub
25193$extrasub
25194_ACEOF
25195cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25196:t
25197/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25198s|@configure_input@|$ac_sed_conf_input|;t t
25199s&@top_builddir@&$ac_top_builddir_sub&;t t
25200s&@top_build_prefix@&$ac_top_build_prefix&;t t
25201s&@srcdir@&$ac_srcdir&;t t
25202s&@abs_srcdir@&$ac_abs_srcdir&;t t
25203s&@top_srcdir@&$ac_top_srcdir&;t t
25204s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25205s&@builddir@&$ac_builddir&;t t
25206s&@abs_builddir@&$ac_abs_builddir&;t t
25207s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25208s&@INSTALL@&$ac_INSTALL&;t t
25209s&@MKDIR_P@&$ac_MKDIR_P&;t t
25210$ac_datarootdir_hack
25211"
25212eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
25213  || as_fn_error "could not create $ac_file" "$LINENO" 5
25214
25215test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25216  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25217  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25218  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25219which seems to be undefined.  Please make sure it is defined." >&5
25220$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25221which seems to be undefined.  Please make sure it is defined." >&2;}
25222
25223  rm -f "$tmp/stdin"
25224  case $ac_file in
25225  -) cat "$tmp/out" && rm -f "$tmp/out";;
25226  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
25227  esac \
25228  || as_fn_error "could not create $ac_file" "$LINENO" 5
25229 ;;
25230  :H)
25231  #
25232  # CONFIG_HEADER
25233  #
25234  if test x"$ac_file" != x-; then
25235    {
25236      $as_echo "/* $configure_input  */" \
25237      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
25238    } >"$tmp/config.h" \
25239      || as_fn_error "could not create $ac_file" "$LINENO" 5
25240    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
25241      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25242$as_echo "$as_me: $ac_file is unchanged" >&6;}
25243    else
25244      rm -f "$ac_file"
25245      mv "$tmp/config.h" "$ac_file" \
25246	|| as_fn_error "could not create $ac_file" "$LINENO" 5
25247    fi
25248  else
25249    $as_echo "/* $configure_input  */" \
25250      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
25251      || as_fn_error "could not create -" "$LINENO" 5
25252  fi
25253# Compute "$ac_file"'s index in $config_headers.
25254_am_arg="$ac_file"
25255_am_stamp_count=1
25256for _am_header in $config_headers :; do
25257  case $_am_header in
25258    $_am_arg | $_am_arg:* )
25259      break ;;
25260    * )
25261      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25262  esac
25263done
25264echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25265$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25266	 X"$_am_arg" : 'X\(//\)[^/]' \| \
25267	 X"$_am_arg" : 'X\(//\)$' \| \
25268	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25269$as_echo X"$_am_arg" |
25270    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25271	    s//\1/
25272	    q
25273	  }
25274	  /^X\(\/\/\)[^/].*/{
25275	    s//\1/
25276	    q
25277	  }
25278	  /^X\(\/\/\)$/{
25279	    s//\1/
25280	    q
25281	  }
25282	  /^X\(\/\).*/{
25283	    s//\1/
25284	    q
25285	  }
25286	  s/.*/./; q'`/stamp-h$_am_stamp_count
25287 ;;
25288  
25289  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25290$as_echo "$as_me: executing $ac_file commands" >&6;}
25291 ;;
25292  esac
25293
25294
25295  case $ac_file$ac_mode in
25296    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25297  # Strip MF so we end up with the name of the file.
25298  mf=`echo "$mf" | sed -e 's/:.*$//'`
25299  # Check whether this is an Automake generated Makefile or not.
25300  # We used to match only the files named `Makefile.in', but
25301  # some people rename them; so instead we look at the file content.
25302  # Grep'ing the first line is not enough: some people post-process
25303  # each Makefile.in and add a new line on top of each file to say so.
25304  # Grep'ing the whole file is not good either: AIX grep has a line
25305  # limit of 2048, but all sed's we know have understand at least 4000.
25306  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
25307    dirpart=`$as_dirname -- "$mf" ||
25308$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25309	 X"$mf" : 'X\(//\)[^/]' \| \
25310	 X"$mf" : 'X\(//\)$' \| \
25311	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25312$as_echo X"$mf" |
25313    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25314	    s//\1/
25315	    q
25316	  }
25317	  /^X\(\/\/\)[^/].*/{
25318	    s//\1/
25319	    q
25320	  }
25321	  /^X\(\/\/\)$/{
25322	    s//\1/
25323	    q
25324	  }
25325	  /^X\(\/\).*/{
25326	    s//\1/
25327	    q
25328	  }
25329	  s/.*/./; q'`
25330  else
25331    continue
25332  fi
25333  # Extract the definition of DEPDIR, am__include, and am__quote
25334  # from the Makefile without running `make'.
25335  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25336  test -z "$DEPDIR" && continue
25337  am__include=`sed -n 's/^am__include = //p' < "$mf"`
25338  test -z "am__include" && continue
25339  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25340  # When using ansi2knr, U may be empty or an underscore; expand it
25341  U=`sed -n 's/^U = //p' < "$mf"`
25342  # Find all dependency output files, they are included files with
25343  # $(DEPDIR) in their names.  We invoke sed twice because it is the
25344  # simplest approach to changing $(DEPDIR) to its actual value in the
25345  # expansion.
25346  for file in `sed -n "
25347    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25348       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25349    # Make sure the directory exists.
25350    test -f "$dirpart/$file" && continue
25351    fdir=`$as_dirname -- "$file" ||
25352$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25353	 X"$file" : 'X\(//\)[^/]' \| \
25354	 X"$file" : 'X\(//\)$' \| \
25355	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25356$as_echo X"$file" |
25357    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25358	    s//\1/
25359	    q
25360	  }
25361	  /^X\(\/\/\)[^/].*/{
25362	    s//\1/
25363	    q
25364	  }
25365	  /^X\(\/\/\)$/{
25366	    s//\1/
25367	    q
25368	  }
25369	  /^X\(\/\).*/{
25370	    s//\1/
25371	    q
25372	  }
25373	  s/.*/./; q'`
25374    as_dir=$dirpart/$fdir; as_fn_mkdir_p
25375    # echo "creating $dirpart/$file"
25376    echo '# dummy' > "$dirpart/$file"
25377  done
25378done
25379 ;;
25380    "libtool":C) 
25381    
25382    # See if we are running on zsh, and set the options which allow our
25383    # commands through without removal of \ escapes.
25384    if test -n "${ZSH_VERSION+set}" ; then
25385      setopt NO_GLOB_SUBST
25386    fi
25387
25388    cfgfile="${ofile}T"
25389    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25390    $RM "$cfgfile"
25391
25392    cat <<_LT_EOF >> "$cfgfile"
25393#! $SHELL
25394
25395# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25396# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25397# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25398# NOTE: Changes made to this file will be lost: look at ltmain.sh.
25399#
25400#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25401#                 2006, 2007, 2008 Free Software Foundation, Inc.
25402#   Written by Gordon Matzigkeit, 1996
25403#
25404#   This file is part of GNU Libtool.
25405#
25406# GNU Libtool is free software; you can redistribute it and/or
25407# modify it under the terms of the GNU General Public License as
25408# published by the Free Software Foundation; either version 2 of
25409# the License, or (at your option) any later version.
25410#
25411# As a special exception to the GNU General Public License,
25412# if you distribute this file as part of a program or library that
25413# is built using GNU Libtool, you may include this file under the
25414# same distribution terms that you use for the rest of that program.
25415#
25416# GNU Libtool is distributed in the hope that it will be useful,
25417# but WITHOUT ANY WARRANTY; without even the implied warranty of
25418# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25419# GNU General Public License for more details.
25420#
25421# You should have received a copy of the GNU General Public License
25422# along with GNU Libtool; see the file COPYING.  If not, a copy
25423# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
25424# obtained by writing to the Free Software Foundation, Inc.,
25425# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25426
25427
25428# The names of the tagged configurations supported by this script.
25429available_tags="CXX "
25430
25431# ### BEGIN LIBTOOL CONFIG
25432
25433# Which release of libtool.m4 was used?
25434macro_version=$macro_version
25435macro_revision=$macro_revision
25436
25437# Whether or not to build shared libraries.
25438build_libtool_libs=$enable_shared
25439
25440# Whether or not to build static libraries.
25441build_old_libs=$enable_static
25442
25443# What type of objects to build.
25444pic_mode=$pic_mode
25445
25446# Whether or not to optimize for fast installation.
25447fast_install=$enable_fast_install
25448
25449# The host system.
25450host_alias=$host_alias
25451host=$host
25452host_os=$host_os
25453
25454# The build system.
25455build_alias=$build_alias
25456build=$build
25457build_os=$build_os
25458
25459# A sed program that does not truncate output.
25460SED=$lt_SED
25461
25462# Sed that helps us avoid accidentally triggering echo(1) options like -n.
25463Xsed="\$SED -e 1s/^X//"
25464
25465# A grep program that handles long lines.
25466GREP=$lt_GREP
25467
25468# An ERE matcher.
25469EGREP=$lt_EGREP
25470
25471# A literal string matcher.
25472FGREP=$lt_FGREP
25473
25474# A BSD- or MS-compatible name lister.
25475NM=$lt_NM
25476
25477# Whether we need soft or hard links.
25478LN_S=$lt_LN_S
25479
25480# What is the maximum length of a command?
25481max_cmd_len=$max_cmd_len
25482
25483# Object file suffix (normally "o").
25484objext=$ac_objext
25485
25486# Executable file suffix (normally "").
25487exeext=$exeext
25488
25489# whether the shell understands "unset".
25490lt_unset=$lt_unset
25491
25492# turn spaces into newlines.
25493SP2NL=$lt_lt_SP2NL
25494
25495# turn newlines into spaces.
25496NL2SP=$lt_lt_NL2SP
25497
25498# How to create reloadable object files.
25499reload_flag=$lt_reload_flag
25500reload_cmds=$lt_reload_cmds
25501
25502# An object symbol dumper.
25503OBJDUMP=$lt_OBJDUMP
25504
25505# Method to check whether dependent libraries are shared objects.
25506deplibs_check_method=$lt_deplibs_check_method
25507
25508# Command to use when deplibs_check_method == "file_magic".
25509file_magic_cmd=$lt_file_magic_cmd
25510
25511# The archiver.
25512AR=$lt_AR
25513AR_FLAGS=$lt_AR_FLAGS
25514
25515# A symbol stripping program.
25516STRIP=$lt_STRIP
25517
25518# Commands used to install an old-style archive.
25519RANLIB=$lt_RANLIB
25520old_postinstall_cmds=$lt_old_postinstall_cmds
25521old_postuninstall_cmds=$lt_old_postuninstall_cmds
25522
25523# A C compiler.
25524LTCC=$lt_CC
25525
25526# LTCC compiler flags.
25527LTCFLAGS=$lt_CFLAGS
25528
25529# Take the output of nm and produce a listing of raw symbols and C names.
25530global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25531
25532# Transform the output of nm in a proper C declaration.
25533global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25534
25535# Transform the output of nm in a C name address pair.
25536global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25537
25538# Transform the output of nm in a C name address pair when lib prefix is needed.
25539global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25540
25541# The name of the directory that contains temporary libtool files.
25542objdir=$objdir
25543
25544# Shell to use when invoking shell scripts.
25545SHELL=$lt_SHELL
25546
25547# An echo program that does not interpret backslashes.
25548ECHO=$lt_ECHO
25549
25550# Used to examine libraries when file_magic_cmd begins with "file".
25551MAGIC_CMD=$MAGIC_CMD
25552
25553# Must we lock files when doing compilation?
25554need_locks=$lt_need_locks
25555
25556# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25557DSYMUTIL=$lt_DSYMUTIL
25558
25559# Tool to change global to local symbols on Mac OS X.
25560NMEDIT=$lt_NMEDIT
25561
25562# Tool to manipulate fat objects and archives on Mac OS X.
25563LIPO=$lt_LIPO
25564
25565# ldd/readelf like tool for Mach-O binaries on Mac OS X.
25566OTOOL=$lt_OTOOL
25567
25568# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25569OTOOL64=$lt_OTOOL64
25570
25571# Old archive suffix (normally "a").
25572libext=$libext
25573
25574# Shared library suffix (normally ".so").
25575shrext_cmds=$lt_shrext_cmds
25576
25577# The commands to extract the exported symbol list from a shared archive.
25578extract_expsyms_cmds=$lt_extract_expsyms_cmds
25579
25580# Variables whose values should be saved in libtool wrapper scripts and
25581# restored at link time.
25582variables_saved_for_relink=$lt_variables_saved_for_relink
25583
25584# Do we need the "lib" prefix for modules?
25585need_lib_prefix=$need_lib_prefix
25586
25587# Do we need a version for libraries?
25588need_version=$need_version
25589
25590# Library versioning type.
25591version_type=$version_type
25592
25593# Shared library runtime path variable.
25594runpath_var=$runpath_var
25595
25596# Shared library path variable.
25597shlibpath_var=$shlibpath_var
25598
25599# Is shlibpath searched before the hard-coded library search path?
25600shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25601
25602# Format of library name prefix.
25603libname_spec=$lt_libname_spec
25604
25605# List of archive names.  First name is the real one, the rest are links.
25606# The last name is the one that the linker finds with -lNAME
25607library_names_spec=$lt_library_names_spec
25608
25609# The coded name of the library, if different from the real name.
25610soname_spec=$lt_soname_spec
25611
25612# Command to use after installation of a shared archive.
25613postinstall_cmds=$lt_postinstall_cmds
25614
25615# Command to use after uninstallation of a shared archive.
25616postuninstall_cmds=$lt_postuninstall_cmds
25617
25618# Commands used to finish a libtool library installation in a directory.
25619finish_cmds=$lt_finish_cmds
25620
25621# As "finish_cmds", except a single script fragment to be evaled but
25622# not shown.
25623finish_eval=$lt_finish_eval
25624
25625# Whether we should hardcode library paths into libraries.
25626hardcode_into_libs=$hardcode_into_libs
25627
25628# Compile-time system search path for libraries.
25629sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25630
25631# Run-time system search path for libraries.
25632sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25633
25634# Whether dlopen is supported.
25635dlopen_support=$enable_dlopen
25636
25637# Whether dlopen of programs is supported.
25638dlopen_self=$enable_dlopen_self
25639
25640# Whether dlopen of statically linked programs is supported.
25641dlopen_self_static=$enable_dlopen_self_static
25642
25643# Commands to strip libraries.
25644old_striplib=$lt_old_striplib
25645striplib=$lt_striplib
25646
25647
25648# The linker used to build libraries.
25649LD=$lt_LD
25650
25651# Commands used to build an old-style archive.
25652old_archive_cmds=$lt_old_archive_cmds
25653
25654# A language specific compiler.
25655CC=$lt_compiler
25656
25657# Is the compiler the GNU compiler?
25658with_gcc=$GCC
25659
25660# Compiler flag to turn off builtin functions.
25661no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25662
25663# How to pass a linker flag through the compiler.
25664wl=$lt_lt_prog_compiler_wl
25665
25666# Additional compiler flags for building library objects.
25667pic_flag=$lt_lt_prog_compiler_pic
25668
25669# Compiler flag to prevent dynamic linking.
25670link_static_flag=$lt_lt_prog_compiler_static
25671
25672# Does compiler simultaneously support -c and -o options?
25673compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25674
25675# Whether or not to add -lc for building shared libraries.
25676build_libtool_need_lc=$archive_cmds_need_lc
25677
25678# Whether or not to disallow shared libs when runtime libs are static.
25679allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25680
25681# Compiler flag to allow reflexive dlopens.
25682export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25683
25684# Compiler flag to generate shared objects directly from archives.
25685whole_archive_flag_spec=$lt_whole_archive_flag_spec
25686
25687# Whether the compiler copes with passing no objects directly.
25688compiler_needs_object=$lt_compiler_needs_object
25689
25690# Create an old-style archive from a shared archive.
25691old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25692
25693# Create a temporary old-style archive to link instead of a shared archive.
25694old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25695
25696# Commands used to build a shared archive.
25697archive_cmds=$lt_archive_cmds
25698archive_expsym_cmds=$lt_archive_expsym_cmds
25699
25700# Commands used to build a loadable module if different from building
25701# a shared archive.
25702module_cmds=$lt_module_cmds
25703module_expsym_cmds=$lt_module_expsym_cmds
25704
25705# Whether we are building with GNU ld or not.
25706with_gnu_ld=$lt_with_gnu_ld
25707
25708# Flag that allows shared libraries with undefined symbols to be built.
25709allow_undefined_flag=$lt_allow_undefined_flag
25710
25711# Flag that enforces no undefined symbols.
25712no_undefined_flag=$lt_no_undefined_flag
25713
25714# Flag to hardcode \$libdir into a binary during linking.
25715# This must work even if \$libdir does not exist
25716hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25717
25718# If ld is used when linking, flag to hardcode \$libdir into a binary
25719# during linking.  This must work even if \$libdir does not exist.
25720hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
25721
25722# Whether we need a single "-rpath" flag with a separated argument.
25723hardcode_libdir_separator=$lt_hardcode_libdir_separator
25724
25725# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25726# DIR into the resulting binary.
25727hardcode_direct=$hardcode_direct
25728
25729# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25730# DIR into the resulting binary and the resulting library dependency is
25731# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25732# library is relocated.
25733hardcode_direct_absolute=$hardcode_direct_absolute
25734
25735# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25736# into the resulting binary.
25737hardcode_minus_L=$hardcode_minus_L
25738
25739# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25740# into the resulting binary.
25741hardcode_shlibpath_var=$hardcode_shlibpath_var
25742
25743# Set to "yes" if building a shared library automatically hardcodes DIR
25744# into the library and all subsequent libraries and executables linked
25745# against it.
25746hardcode_automatic=$hardcode_automatic
25747
25748# Set to yes if linker adds runtime paths of dependent libraries
25749# to runtime path list.
25750inherit_rpath=$inherit_rpath
25751
25752# Whether libtool must link a program against all its dependency libraries.
25753link_all_deplibs=$link_all_deplibs
25754
25755# Fix the shell variable \$srcfile for the compiler.
25756fix_srcfile_path=$lt_fix_srcfile_path
25757
25758# Set to "yes" if exported symbols are required.
25759always_export_symbols=$always_export_symbols
25760
25761# The commands to list exported symbols.
25762export_symbols_cmds=$lt_export_symbols_cmds
25763
25764# Symbols that should not be listed in the preloaded symbols.
25765exclude_expsyms=$lt_exclude_expsyms
25766
25767# Symbols that must always be exported.
25768include_expsyms=$lt_include_expsyms
25769
25770# Commands necessary for linking programs (against libraries) with templates.
25771prelink_cmds=$lt_prelink_cmds
25772
25773# Specify filename containing input files.
25774file_list_spec=$lt_file_list_spec
25775
25776# How to hardcode a shared library path into an executable.
25777hardcode_action=$hardcode_action
25778
25779# The directories searched by this compiler when creating a shared library.
25780compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25781
25782# Dependencies to place before and after the objects being linked to
25783# create a shared library.
25784predep_objects=$lt_predep_objects
25785postdep_objects=$lt_postdep_objects
25786predeps=$lt_predeps
25787postdeps=$lt_postdeps
25788
25789# The library search path used internally by the compiler when linking
25790# a shared library.
25791compiler_lib_search_path=$lt_compiler_lib_search_path
25792
25793# ### END LIBTOOL CONFIG
25794
25795_LT_EOF
25796
25797  case $host_os in
25798  aix3*)
25799    cat <<\_LT_EOF >> "$cfgfile"
25800# AIX sometimes has problems with the GCC collect2 program.  For some
25801# reason, if we set the COLLECT_NAMES environment variable, the problems
25802# vanish in a puff of smoke.
25803if test "X${COLLECT_NAMES+set}" != Xset; then
25804  COLLECT_NAMES=
25805  export COLLECT_NAMES
25806fi
25807_LT_EOF
25808    ;;
25809  esac
25810
25811  
25812ltmain="$ac_aux_dir/ltmain.sh"
25813
25814
25815  # We use sed instead of cat because bash on DJGPP gets confused if
25816  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
25817  # text mode, it properly converts lines to CR/LF.  This bash problem
25818  # is reportedly fixed, but why not run on old versions too?
25819  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
25820    || (rm -f "$cfgfile"; exit 1)
25821
25822  case $xsi_shell in
25823  yes)
25824    cat << \_LT_EOF >> "$cfgfile"
25825
25826# func_dirname file append nondir_replacement
25827# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
25828# otherwise set result to NONDIR_REPLACEMENT.
25829func_dirname ()
25830{
25831  case ${1} in
25832    */*) func_dirname_result="${1%/*}${2}" ;;
25833    *  ) func_dirname_result="${3}" ;;
25834  esac
25835}
25836
25837# func_basename file
25838func_basename ()
25839{
25840  func_basename_result="${1##*/}"
25841}
25842
25843# func_dirname_and_basename file append nondir_replacement
25844# perform func_basename and func_dirname in a single function
25845# call:
25846#   dirname:  Compute the dirname of FILE.  If nonempty,
25847#             add APPEND to the result, otherwise set result
25848#             to NONDIR_REPLACEMENT.
25849#             value returned in "$func_dirname_result"
25850#   basename: Compute filename of FILE.
25851#             value retuned in "$func_basename_result"
25852# Implementation must be kept synchronized with func_dirname
25853# and func_basename. For efficiency, we do not delegate to
25854# those functions but instead duplicate the functionality here.
25855func_dirname_and_basename ()
25856{
25857  case ${1} in
25858    */*) func_dirname_result="${1%/*}${2}" ;;
25859    *  ) func_dirname_result="${3}" ;;
25860  esac
25861  func_basename_result="${1##*/}"
25862}
25863
25864# func_stripname prefix suffix name
25865# strip PREFIX and SUFFIX off of NAME.
25866# PREFIX and SUFFIX must not contain globbing or regex special
25867# characters, hashes, percent signs, but SUFFIX may contain a leading
25868# dot (in which case that matches only a dot).
25869func_stripname ()
25870{
25871  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
25872  # positional parameters, so assign one to ordinary parameter first.
25873  func_stripname_result=${3}
25874  func_stripname_result=${func_stripname_result#"${1}"}
25875  func_stripname_result=${func_stripname_result%"${2}"}
25876}
25877
25878# func_opt_split
25879func_opt_split ()
25880{
25881  func_opt_split_opt=${1%%=*}
25882  func_opt_split_arg=${1#*=}
25883}
25884
25885# func_lo2o object
25886func_lo2o ()
25887{
25888  case ${1} in
25889    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
25890    *)    func_lo2o_result=${1} ;;
25891  esac
25892}
25893
25894# func_xform libobj-or-source
25895func_xform ()
25896{
25897  func_xform_result=${1%.*}.lo
25898}
25899
25900# func_arith arithmetic-term...
25901func_arith ()
25902{
25903  func_arith_result=$(( $* ))
25904}
25905
25906# func_len string
25907# STRING may not start with a hyphen.
25908func_len ()
25909{
25910  func_len_result=${#1}
25911}
25912
25913_LT_EOF
25914    ;;
25915  *) # Bourne compatible functions.
25916    cat << \_LT_EOF >> "$cfgfile"
25917
25918# func_dirname file append nondir_replacement
25919# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
25920# otherwise set result to NONDIR_REPLACEMENT.
25921func_dirname ()
25922{
25923  # Extract subdirectory from the argument.
25924  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
25925  if test "X$func_dirname_result" = "X${1}"; then
25926    func_dirname_result="${3}"
25927  else
25928    func_dirname_result="$func_dirname_result${2}"
25929  fi
25930}
25931
25932# func_basename file
25933func_basename ()
25934{
25935  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
25936}
25937
25938
25939# func_stripname prefix suffix name
25940# strip PREFIX and SUFFIX off of NAME.
25941# PREFIX and SUFFIX must not contain globbing or regex special
25942# characters, hashes, percent signs, but SUFFIX may contain a leading
25943# dot (in which case that matches only a dot).
25944# func_strip_suffix prefix name
25945func_stripname ()
25946{
25947  case ${2} in
25948    .*) func_stripname_result=`$ECHO "X${3}" \
25949           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
25950    *)  func_stripname_result=`$ECHO "X${3}" \
25951           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
25952  esac
25953}
25954
25955# sed scripts:
25956my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
25957my_sed_long_arg='1s/^-[^=]*=//'
25958
25959# func_opt_split
25960func_opt_split ()
25961{
25962  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
25963  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
25964}
25965
25966# func_lo2o object
25967func_lo2o ()
25968{
25969  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
25970}
25971
25972# func_xform libobj-or-source
25973func_xform ()
25974{
25975  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
25976}
25977
25978# func_arith arithmetic-term...
25979func_arith ()
25980{
25981  func_arith_result=`expr "$@"`
25982}
25983
25984# func_len string
25985# STRING may not start with a hyphen.
25986func_len ()
25987{
25988  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
25989}
25990
25991_LT_EOF
25992esac
25993
25994case $lt_shell_append in
25995  yes)
25996    cat << \_LT_EOF >> "$cfgfile"
25997
25998# func_append var value
25999# Append VALUE to the end of shell variable VAR.
26000func_append ()
26001{
26002  eval "$1+=\$2"
26003}
26004_LT_EOF
26005    ;;
26006  *)
26007    cat << \_LT_EOF >> "$cfgfile"
26008
26009# func_append var value
26010# Append VALUE to the end of shell variable VAR.
26011func_append ()
26012{
26013  eval "$1=\$$1\$2"
26014}
26015
26016_LT_EOF
26017    ;;
26018  esac
26019
26020
26021  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
26022    || (rm -f "$cfgfile"; exit 1)
26023
26024  mv -f "$cfgfile" "$ofile" ||
26025    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26026  chmod +x "$ofile"
26027
26028
26029    cat <<_LT_EOF >> "$ofile"
26030
26031# ### BEGIN LIBTOOL TAG CONFIG: CXX
26032
26033# The linker used to build libraries.
26034LD=$lt_LD_CXX
26035
26036# Commands used to build an old-style archive.
26037old_archive_cmds=$lt_old_archive_cmds_CXX
26038
26039# A language specific compiler.
26040CC=$lt_compiler_CXX
26041
26042# Is the compiler the GNU compiler?
26043with_gcc=$GCC_CXX
26044
26045# Compiler flag to turn off builtin functions.
26046no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26047
26048# How to pass a linker flag through the compiler.
26049wl=$lt_lt_prog_compiler_wl_CXX
26050
26051# Additional compiler flags for building library objects.
26052pic_flag=$lt_lt_prog_compiler_pic_CXX
26053
26054# Compiler flag to prevent dynamic linking.
26055link_static_flag=$lt_lt_prog_compiler_static_CXX
26056
26057# Does compiler simultaneously support -c and -o options?
26058compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26059
26060# Whether or not to add -lc for building shared libraries.
26061build_libtool_need_lc=$archive_cmds_need_lc_CXX
26062
26063# Whether or not to disallow shared libs when runtime libs are static.
26064allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
26065
26066# Compiler flag to allow reflexive dlopens.
26067export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26068
26069# Compiler flag to generate shared objects directly from archives.
26070whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26071
26072# Whether the compiler copes with passing no objects directly.
26073compiler_needs_object=$lt_compiler_needs_object_CXX
26074
26075# Create an old-style archive from a shared archive.
26076old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
26077
26078# Create a temporary old-style archive to link instead of a shared archive.
26079old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
26080
26081# Commands used to build a shared archive.
26082archive_cmds=$lt_archive_cmds_CXX
26083archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
26084
26085# Commands used to build a loadable module if different from building
26086# a shared archive.
26087module_cmds=$lt_module_cmds_CXX
26088module_expsym_cmds=$lt_module_expsym_cmds_CXX
26089
26090# Whether we are building with GNU ld or not.
26091with_gnu_ld=$lt_with_gnu_ld_CXX
26092
26093# Flag that allows shared libraries with undefined symbols to be built.
26094allow_undefined_flag=$lt_allow_undefined_flag_CXX
26095
26096# Flag that enforces no undefined symbols.
26097no_undefined_flag=$lt_no_undefined_flag_CXX
26098
26099# Flag to hardcode \$libdir into a binary during linking.
26100# This must work even if \$libdir does not exist
26101hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26102
26103# If ld is used when linking, flag to hardcode \$libdir into a binary
26104# during linking.  This must work even if \$libdir does not exist.
26105hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
26106
26107# Whether we need a single "-rpath" flag with a separated argument.
26108hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26109
26110# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26111# DIR into the resulting binary.
26112hardcode_direct=$hardcode_direct_CXX
26113
26114# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26115# DIR into the resulting binary and the resulting library dependency is
26116# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26117# library is relocated.
26118hardcode_direct_absolute=$hardcode_direct_absolute_CXX
26119
26120# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26121# into the resulting binary.
26122hardcode_minus_L=$hardcode_minus_L_CXX
26123
26124# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26125# into the resulting binary.
26126hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
26127
26128# Set to "yes" if building a shared library automatically hardcodes DIR
26129# into the library and all subsequent libraries and executables linked
26130# against it.
26131hardcode_automatic=$hardcode_automatic_CXX
26132
26133# Set to yes if linker adds runtime paths of dependent libraries
26134# to runtime path list.
26135inherit_rpath=$inherit_rpath_CXX
26136
26137# Whether libtool must link a program against all its dependency libraries.
26138link_all_deplibs=$link_all_deplibs_CXX
26139
26140# Fix the shell variable \$srcfile for the compiler.
26141fix_srcfile_path=$lt_fix_srcfile_path_CXX
26142
26143# Set to "yes" if exported symbols are required.
26144always_export_symbols=$always_export_symbols_CXX
26145
26146# The commands to list exported symbols.
26147export_symbols_cmds=$lt_export_symbols_cmds_CXX
26148
26149# Symbols that should not be listed in the preloaded symbols.
26150exclude_expsyms=$lt_exclude_expsyms_CXX
26151
26152# Symbols that must always be exported.
26153include_expsyms=$lt_include_expsyms_CXX
26154
26155# Commands necessary for linking programs (against libraries) with templates.
26156prelink_cmds=$lt_prelink_cmds_CXX
26157
26158# Specify filename containing input files.
26159file_list_spec=$lt_file_list_spec_CXX
26160
26161# How to hardcode a shared library path into an executable.
26162hardcode_action=$hardcode_action_CXX
26163
26164# The directories searched by this compiler when creating a shared library.
26165compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
26166
26167# Dependencies to place before and after the objects being linked to
26168# create a shared library.
26169predep_objects=$lt_predep_objects_CXX
26170postdep_objects=$lt_postdep_objects_CXX
26171predeps=$lt_predeps_CXX
26172postdeps=$lt_postdeps_CXX
26173
26174# The library search path used internally by the compiler when linking
26175# a shared library.
26176compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
26177
26178# ### END LIBTOOL TAG CONFIG: CXX
26179_LT_EOF
26180
26181 ;;
26182    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
26183        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
26184      esac ;;
26185    "po/stamp-it":C) 
26186    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
26187       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
26188    fi
26189    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
26190    >"po/stamp-it.tmp"
26191    sed '/^#/d
26192	 s/^[[].*] *//
26193	 /^[ 	]*$/d
26194	'"s|^|	$ac_top_srcdir/|" \
26195      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
26196    
26197    sed '/^POTFILES =/,/[^\\]$/ {
26198		/^POTFILES =/!d
26199		r po/POTFILES
26200	  }
26201	 ' "po/Makefile.in" >"po/Makefile"
26202    rm -f "po/Makefile.tmp"
26203    mv "po/stamp-it.tmp" "po/stamp-it"
26204   ;;
26205
26206  esac
26207done # for ac_tag
26208
26209
26210as_fn_exit 0
26211_ACEOF
26212ac_clean_files=$ac_clean_files_save
26213
26214test $ac_write_fail = 0 ||
26215  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
26216
26217
26218# configure is writing to config.log, and then calls config.status.
26219# config.status does its own redirection, appending to config.log.
26220# Unfortunately, on DOS this fails, as config.log is still kept open
26221# by configure, so config.status won't be able to write to it; its
26222# output is simply discarded.  So we exec the FD to /dev/null,
26223# effectively closing config.log, so it can be properly (re)opened and
26224# appended to by config.status.  When coming back to configure, we
26225# need to make the FD available again.
26226if test "$no_create" != yes; then
26227  ac_cs_success=:
26228  ac_config_status_args=
26229  test "$silent" = yes &&
26230    ac_config_status_args="$ac_config_status_args --quiet"
26231  exec 5>/dev/null
26232  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26233  exec 5>>config.log
26234  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26235  # would make configure fail if this is the last instruction.
26236  $ac_cs_success || as_fn_exit $?
26237fi
26238if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
26239  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26240$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
26241fi
26242
26243
26244# ==========================================================================
26245echo "
26246 ---{ $PACKAGE_NAME $VERSION }---
26247
26248    prefix:                                    ${prefix}
26249    sysconfdir:                                ${sysconfdir}
26250    localstatedir:                             ${localstatedir}
26251    avahi socket:                              ${avahi_socket}
26252    dbus-1 system.d dir:                       ${DBUS_SYS_DIR}
26253    dbus-1 version:                            ${DBUS_VERSION}
26254    dbus-1 system socket:                      ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS}
26255    C Compiler:                                ${CC}
26256    CFLAGS:                                    ${CFLAGS}
26257    Enable GLIB:                               ${HAVE_GLIB}
26258    Enable GLIB GObject:                       ${HAVE_GOBJECT}
26259    Enable GTK:                                ${HAVE_GTK}
26260    Enable D-Bus:                              ${HAVE_DBUS}
26261    With XML:                                  ${with_xml}
26262    Enable GDBM:                               ${HAVE_GDBM}
26263    Enable DBM:                                ${HAVE_DBM}
26264    Enable libdaemon:                          ${HAVE_LIBDAEMON}
26265    Enable Python:                             ${HAVE_PYTHON}
26266    Enable pygtk:                              ${HAVE_PYGTK}
26267    Enable python-dbus:                        ${HAVE_PYTHON_DBUS}
26268    Enable QT3:                                ${HAVE_QT3}
26269    Enable QT4:                                ${HAVE_QT4}
26270    Enable Mono:                               ${HAVE_MONO}
26271    Enable Monodoc:                            ${HAVE_MONODOC}
26272    Distribution/OS:                           ${with_distro}
26273    User for avahi-daemon:                     ${AVAHI_USER}
26274    Group for avahi-daemon:                    ${AVAHI_GROUP}
26275    Priviliged access group for Avahi clients: ${AVAHI_PRIV_ACCESS_GROUP}
26276    User for avahi-autoipd:                    ${AVAHI_AUTOIPD_USER}
26277    Group for avahi-autoipd:                   ${AVAHI_AUTOIPD_GROUP}
26278    Enable chroot():                           ${enable_chroot}
26279    Enable Linux inotify:                      ${have_inotify}
26280    Enable stack-smashing protection:          ${enable_ssp}
26281"
26282
26283BUILD_DAEMON="no   (You need libdaemon and expat/bsdxml!)"
26284
26285if test "x$HAVE_XML" = "xyes" -a "x$HAVE_LIBDAEMON" = "xyes" ; then
26286    BUILD_DAEMON=yes
26287fi
26288
26289BUILD_PYTHON="no   (You need python, pygtk and python-dbus!)"
26290
26291if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" -a "x$HAVE_PYTHON" = "xyes" -a "x$HAVE_PYTHON_DBUS" = "xyes" -a "x$HAVE_PYGTK" = "xyes" ; then
26292    BUILD_PYTHON=yes
26293fi
26294
26295BUILD_CLIENT="no   (You need avahi-daemon and D-Bus!)"
26296
26297if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" ; then
26298    BUILD_CLIENT=yes
26299fi
26300
26301if test "x$ENABLE_COMPAT_LIBDNS_SD" = "xyes" -a "x$BUILD_CLIENT" != "xyes" ; then
26302   ENABLE_COMPAT_LIBDNS_SD="no   (You need libavahi-client!)"
26303fi
26304if test "x$ENABLE_COMPAT_HOWL" = "xyes" -a "x$BUILD_CLIENT" != "xyes" ; then
26305   ENABLE_COMPAT_HOWL="no   (You need libavahi-client!)"
26306fi
26307if test "x$ENABLE_AUTOIPD" = "xyes" -a "x$HAVE_LIBDAEMON" != "xyes" ; then
26308   ENABLE_AUTOIPD="no   (You need libdaemon!)"
26309fi
26310
26311BUILD_UI="no"
26312if test "x$HAVE_GTK" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then
26313   BUILD_UI="yes"
26314fi
26315
26316BUILD_GOBJECT="no"
26317if test "x$BUILD_CLIENT" = "xyes" -a "x$HAVE_GOBJECT" = "xyes" ; then
26318   BUILD_GOBJECT="yes"
26319fi
26320
26321echo "\
26322    Building libavahi-core              yes
26323    Building avahi-daemon:              ${BUILD_DAEMON}
26324    Building avahi-dnsconfd:            ${BUILD_DAEMON}
26325    Building libavahi-client:           ${BUILD_CLIENT}
26326    Building avahi-utils:               ${BUILD_CLIENT}
26327    Building avahi-python:              ${BUILD_PYTHON}
26328    Building libavahi-glib:             ${HAVE_GLIB}
26329    Building libavahi-gobject:          ${BUILD_GOBJECT}
26330    Building avahi-discover-standalone: ${HAVE_GTK}
26331    Building libavahi-qt3:              ${HAVE_QT3}
26332    Building libavahi-qt4:              ${HAVE_QT4}
26333    Building avahi-sharp:               ${HAVE_MONO}
26334    Building avahi-compat-libdns_sd:    ${ENABLE_COMPAT_LIBDNS_SD}
26335    Building avahi-compat-howl:         ${ENABLE_COMPAT_HOWL}
26336    Building tests:                     ${ENABLE_TESTS}
26337    Building avahi-core documentation:  ${ENABLE_CORE_DOCS}
26338    Building avahi-autoipd:             ${ENABLE_AUTOIPD}
26339    Building libavahi-ui:               ${BUILD_UI}
26340"
26341