1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for geany-plugins 1.38.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566as_awk_strverscmp='
567  # Use only awk features that work with 7th edition Unix awk (1978).
568  # My, what an old awk you have, Mr. Solaris!
569  END {
570    while (length(v1) && length(v2)) {
571      # Set d1 to be the next thing to compare from v1, and likewise for d2.
572      # Normally this is a single character, but if v1 and v2 contain digits,
573      # compare them as integers and fractions as strverscmp does.
574      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
575	# Split v1 and v2 into their leading digit string components d1 and d2,
576	# and advance v1 and v2 past the leading digit strings.
577	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
578	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
579	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
580	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
581	if (d1 ~ /^0/) {
582	  if (d2 ~ /^0/) {
583	    # Compare two fractions.
584	    while (d1 ~ /^0/ && d2 ~ /^0/) {
585	      d1 = substr(d1, 2); len1--
586	      d2 = substr(d2, 2); len2--
587	    }
588	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
589	      # The two components differ in length, and the common prefix
590	      # contains only leading zeros.  Consider the longer to be less.
591	      d1 = -len1
592	      d2 = -len2
593	    } else {
594	      # Otherwise, compare as strings.
595	      d1 = "x" d1
596	      d2 = "x" d2
597	    }
598	  } else {
599	    # A fraction is less than an integer.
600	    exit 1
601	  }
602	} else {
603	  if (d2 ~ /^0/) {
604	    # An integer is greater than a fraction.
605	    exit 2
606	  } else {
607	    # Compare two integers.
608	    d1 += 0
609	    d2 += 0
610	  }
611	}
612      } else {
613	# The normal case, without worrying about digits.
614	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
615	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
616      }
617      if (d1 < d2) exit 1
618      if (d1 > d2) exit 2
619    }
620    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
621    # which mishandles some comparisons of empty strings to integers.
622    if (length(v2)) exit 1
623    if (length(v1)) exit 2
624  }
625'
626
627test -n "$DJDIR" || exec 7<&0 </dev/null
628exec 6>&1
629
630# Name of the host.
631# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
632# so uname gets run too.
633ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
634
635#
636# Initializations.
637#
638ac_default_prefix=/usr/local
639ac_clean_files=
640ac_config_libobj_dir=.
641LIBOBJS=
642cross_compiling=no
643subdirs=
644MFLAGS=
645MAKEFLAGS=
646
647# Identity of this package.
648PACKAGE_NAME='geany-plugins'
649PACKAGE_TARNAME='geany-plugins'
650PACKAGE_VERSION='1.38'
651PACKAGE_STRING='geany-plugins 1.38'
652PACKAGE_BUGREPORT=''
653PACKAGE_URL=''
654
655ac_unique_file="po/POTFILES.in"
656# Factoring default headers for most tests.
657ac_includes_default="\
658#include <stdio.h>
659#ifdef HAVE_SYS_TYPES_H
660# include <sys/types.h>
661#endif
662#ifdef HAVE_SYS_STAT_H
663# include <sys/stat.h>
664#endif
665#ifdef STDC_HEADERS
666# include <stdlib.h>
667# include <stddef.h>
668#else
669# ifdef HAVE_STDLIB_H
670#  include <stdlib.h>
671# endif
672#endif
673#ifdef HAVE_STRING_H
674# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
675#  include <memory.h>
676# endif
677# include <string.h>
678#endif
679#ifdef HAVE_STRINGS_H
680# include <strings.h>
681#endif
682#ifdef HAVE_INTTYPES_H
683# include <inttypes.h>
684#endif
685#ifdef HAVE_STDINT_H
686# include <stdint.h>
687#endif
688#ifdef HAVE_UNISTD_H
689# include <unistd.h>
690#endif"
691
692ac_subst_vars='am__EXEEXT_FALSE
693am__EXEEXT_TRUE
694LTLIBOBJS
695LIBOBJS
696ENABLE_UTILSLIB_VTECOMPAT_FALSE
697ENABLE_UTILSLIB_VTECOMPAT_TRUE
698ENABLE_UTILSLIB_FALSE
699ENABLE_UTILSLIB_TRUE
700ENABLE_XMLSNIPPETS_FALSE
701ENABLE_XMLSNIPPETS_TRUE
702ENABLE_WORKBENCH_FALSE
703ENABLE_WORKBENCH_TRUE
704WORKBENCH_LIBS
705WORKBENCH_CFLAGS
706ENABLE_WEBHELPER_FALSE
707ENABLE_WEBHELPER_TRUE
708WEBHELPER_LIBS
709WEBHELPER_CFLAGS
710ENABLE_VIMODE_FALSE
711ENABLE_VIMODE_TRUE
712ENABLE_UPDATECHECKER_FALSE
713ENABLE_UPDATECHECKER_TRUE
714UPDATECHECKER_LIBS
715UPDATECHECKER_CFLAGS
716ENABLE_TABLECONVERT_FALSE
717ENABLE_TABLECONVERT_TRUE
718ENABLE_TREEBROWSER_FALSE
719ENABLE_TREEBROWSER_TRUE
720ENABLE_SPELLCHECK_FALSE
721ENABLE_SPELLCHECK_TRUE
722HAVE_ENCHANT_2_0_FALSE
723HAVE_ENCHANT_2_0_TRUE
724HAVE_ENCHANT_1_5_FALSE
725HAVE_ENCHANT_1_5_TRUE
726ENCHANT_LIBS
727ENCHANT_CFLAGS
728ENCHANT_2_0_LIBS
729ENCHANT_2_0_CFLAGS
730ENCHANT_1_5_LIBS
731ENCHANT_1_5_CFLAGS
732ENCHANT_2_2_LIBS
733ENCHANT_2_2_CFLAGS
734ENABLE_SHIFTCOLUMN_FALSE
735ENABLE_SHIFTCOLUMN_TRUE
736ENABLE_SENDMAIL_FALSE
737ENABLE_SENDMAIL_TRUE
738ENABLE_SCOPE_FALSE
739ENABLE_SCOPE_TRUE
740PTY_LIBS
741ENABLE_PROJECTORGANIZER_FALSE
742ENABLE_PROJECTORGANIZER_TRUE
743ENABLE_PRETTY_PRINTER_FALSE
744ENABLE_PRETTY_PRINTER_TRUE
745LIBXML_LIBS
746LIBXML_CFLAGS
747ENABLE_POHELPER_FALSE
748ENABLE_POHELPER_TRUE
749GLIB_LIBS
750GLIB_CFLAGS
751ENABLE_PAIRTAGHIGHLIGHTER_FALSE
752ENABLE_PAIRTAGHIGHLIGHTER_TRUE
753ENABLE_OVERVIEW_FALSE
754ENABLE_OVERVIEW_TRUE
755ENABLE_MULTITERM_FALSE
756ENABLE_MULTITERM_TRUE
757MULTITERM_LIBS
758MULTITERM_CFLAGS
759VALAC
760ENABLE_MARKDOWN_FALSE
761ENABLE_MARKDOWN_TRUE
762MARKDOWN_WEBKIT2_FALSE
763MARKDOWN_WEBKIT2_TRUE
764MARKDOWN_LIBS
765MARKDOWN_CFLAGS
766MARKDOWN_PEG_MARKDOWN_FALSE
767MARKDOWN_PEG_MARKDOWN_TRUE
768LIBMARKDOWN_LIBS
769LIBMARKDOWN_CFLAGS
770ENABLE_LIPSUM_FALSE
771ENABLE_LIPSUM_TRUE
772ENABLE_LINEOPERATIONS_FALSE
773ENABLE_LINEOPERATIONS_TRUE
774ENABLE_KEYRECORD_FALSE
775ENABLE_KEYRECORD_TRUE
776ENABLE_GITCHANGEBAR_FALSE
777ENABLE_GITCHANGEBAR_TRUE
778GITCHANGEBAR_LIBS
779GITCHANGEBAR_CFLAGS
780ENABLE_GENIUSPASTE_FALSE
781ENABLE_GENIUSPASTE_TRUE
782GENIUSPASTE_LIBS
783GENIUSPASTE_CFLAGS
784ENABLE_GEANYPG_FALSE
785ENABLE_GEANYPG_TRUE
786GPGME_LIBS
787GPGME_CFLAGS
788GPGME_CONFIG
789GTKSPELL_LIBS
790GTKSPELL_CFLAGS
791ENABLE_GEANYVC_FALSE
792ENABLE_GEANYVC_TRUE
793ENABLE_GEANYPY_FALSE
794ENABLE_GEANYPY_TRUE
795GEANYPY_CFLAGS
796PYTHON_LIBRARY
797PYTHON_EXTRA_LIBS
798PYTHON_EXTRA_LDFLAGS
799PYTHON_SITE_PKG
800PYTHON_LIBS
801PYTHON_CPPFLAGS
802PYTHON
803PYTHON_VERSION
804PYGTK_LIBS
805PYGTK_CFLAGS
806ENABLE_GEANYPRJ_FALSE
807ENABLE_GEANYPRJ_TRUE
808ENABLE_GEANYNUMBEREDBOOKMARKS_FALSE
809ENABLE_GEANYNUMBEREDBOOKMARKS_TRUE
810ENABLE_GEANYMINISCRIPT_FALSE
811ENABLE_GEANYMINISCRIPT_TRUE
812ENABLE_GEANYMACRO_FALSE
813ENABLE_GEANYMACRO_TRUE
814ENABLE_GEANYLUA_FALSE
815ENABLE_GEANYLUA_TRUE
816GMODULE_LIBS
817GMODULE_CFLAGS
818LUA_LIBS
819LUA_CFLAGS
820ENABLE_LATEX_FALSE
821ENABLE_LATEX_TRUE
822ENABLE_GEANYINSERTNUM_FALSE
823ENABLE_GEANYINSERTNUM_TRUE
824ENABLE_GEANYGENDOC_FALSE
825ENABLE_GEANYGENDOC_TRUE
826BUILD_RST_FALSE
827BUILD_RST_TRUE
828RST2HTML
829GEANYGENDOC_LIBS
830GEANYGENDOC_CFLAGS
831ENABLE_GEANYEXTRASEL_FALSE
832ENABLE_GEANYEXTRASEL_TRUE
833ENABLE_GEANYDOC_FALSE
834ENABLE_GEANYDOC_TRUE
835ENABLE_GEANYCTAGS_FALSE
836ENABLE_GEANYCTAGS_TRUE
837ENABLE_DEVHELP_FALSE
838ENABLE_DEVHELP_TRUE
839DEVHELP_LIBS
840DEVHELP_CFLAGS
841GLIB_MKENUMS
842GLIB_GENMARSHAL
843ENABLE_DEFINEFORMAT_FALSE
844ENABLE_DEFINEFORMAT_TRUE
845DEFINEFORMAT_LIBS
846DEFINEFORMAT_CFLAGS
847ENABLE_DEBUGGER_FALSE
848ENABLE_DEBUGGER_TRUE
849VTE_LIBS
850VTE_CFLAGS
851UTILSLIB_LIBS
852UTILSLIB_CFLAGS
853ENABLE_COMMANDER_FALSE
854ENABLE_COMMANDER_TRUE
855COMMANDER_LIBS
856COMMANDER_CFLAGS
857ENABLE_CODENAV_FALSE
858ENABLE_CODENAV_TRUE
859ENABLE_AUTOMARK_FALSE
860ENABLE_AUTOMARK_TRUE
861AUTOMARK_LIBS
862AUTOMARK_CFLAGS
863ENABLE_AUTOCLOSE_FALSE
864ENABLE_AUTOCLOSE_TRUE
865AUTOCLOSE_LIBS
866AUTOCLOSE_CFLAGS
867ENABLE_ADDONS_FALSE
868ENABLE_ADDONS_TRUE
869MINGW_FALSE
870MINGW_TRUE
871GP_LDFLAGS
872GP_CFLAGS
873GEANY_INCLUDEDIR
874HAVE_CPPCHECK_FALSE
875HAVE_CPPCHECK_TRUE
876CPPCHECK
877GP_GTK3_FALSE
878GP_GTK3_TRUE
879GP_GTK_VERSION_MAJOR
880GP_GTK_VERSION
881GP_GTK_PACKAGE
882UNITTESTS_FALSE
883UNITTESTS_TRUE
884CHECK_LIBS
885CHECK_CFLAGS
886GEANY_VERSION
887geanypluginsdir
888GEANY_LIBS
889GEANY_CFLAGS
890PKG_CONFIG_LIBDIR
891PKG_CONFIG_PATH
892PKG_CONFIG
893MKINSTALLDIRS
894POSUB
895POFILES
896PO_IN_DATADIR_FALSE
897PO_IN_DATADIR_TRUE
898INTLLIBS
899INSTOBJEXT
900GMOFILES
901DATADIRNAME
902CATOBJEXT
903CATALOGS
904MSGFMT_OPTS
905INTL_MACOSX_LIBS
906LOCALEDIR
907GETTEXT_PACKAGE
908ALL_LINGUAS
909INTLTOOL_PERL
910GMSGFMT
911MSGFMT
912MSGMERGE
913XGETTEXT
914INTLTOOL_POLICY_RULE
915INTLTOOL_SERVICE_RULE
916INTLTOOL_THEME_RULE
917INTLTOOL_SCHEMAS_RULE
918INTLTOOL_CAVES_RULE
919INTLTOOL_XML_NOMERGE_RULE
920INTLTOOL_XML_RULE
921INTLTOOL_KBD_RULE
922INTLTOOL_XAM_RULE
923INTLTOOL_UI_RULE
924INTLTOOL_SOUNDLIST_RULE
925INTLTOOL_SHEET_RULE
926INTLTOOL_SERVER_RULE
927INTLTOOL_PONG_RULE
928INTLTOOL_OAF_RULE
929INTLTOOL_PROP_RULE
930INTLTOOL_KEYS_RULE
931INTLTOOL_DIRECTORY_RULE
932INTLTOOL_DESKTOP_RULE
933intltool__v_merge_options_0
934intltool__v_merge_options_
935INTLTOOL_V_MERGE_OPTIONS
936INTLTOOL__v_MERGE_0
937INTLTOOL__v_MERGE_
938INTLTOOL_V_MERGE
939INTLTOOL_EXTRACT
940INTLTOOL_MERGE
941INTLTOOL_UPDATE
942USE_NLS
943LT_SYS_LIBRARY_PATH
944OTOOL64
945OTOOL
946LIPO
947NMEDIT
948DSYMUTIL
949MANIFEST_TOOL
950RANLIB
951ac_ct_AR
952AR
953DLLTOOL
954OBJDUMP
955LN_S
956NM
957ac_ct_DUMPBIN
958DUMPBIN
959LD
960FGREP
961SED
962host_os
963host_vendor
964host_cpu
965host
966build_os
967build_vendor
968build_cpu
969build
970LIBTOOL
971EGREP
972GREP
973CPP
974am__fastdepCC_FALSE
975am__fastdepCC_TRUE
976CCDEPMODE
977am__nodep
978AMDEPBACKSLASH
979AMDEP_FALSE
980AMDEP_TRUE
981am__include
982DEPDIR
983OBJEXT
984EXEEXT
985ac_ct_CC
986CPPFLAGS
987LDFLAGS
988CFLAGS
989CC
990AM_BACKSLASH
991AM_DEFAULT_VERBOSITY
992AM_DEFAULT_V
993AM_V
994am__untar
995am__tar
996AMTAR
997am__leading_dot
998SET_MAKE
999AWK
1000mkdir_p
1001MKDIR_P
1002INSTALL_STRIP_PROGRAM
1003STRIP
1004install_sh
1005MAKEINFO
1006AUTOHEADER
1007AUTOMAKE
1008AUTOCONF
1009ACLOCAL
1010VERSION
1011PACKAGE
1012CYGPATH_W
1013am__isrc
1014INSTALL_DATA
1015INSTALL_SCRIPT
1016INSTALL_PROGRAM
1017target_alias
1018host_alias
1019build_alias
1020LIBS
1021ECHO_T
1022ECHO_N
1023ECHO_C
1024DEFS
1025mandir
1026localedir
1027libdir
1028psdir
1029pdfdir
1030dvidir
1031htmldir
1032infodir
1033docdir
1034oldincludedir
1035includedir
1036runstatedir
1037localstatedir
1038sharedstatedir
1039sysconfdir
1040datadir
1041datarootdir
1042libexecdir
1043sbindir
1044bindir
1045program_transform_name
1046prefix
1047exec_prefix
1048PACKAGE_URL
1049PACKAGE_BUGREPORT
1050PACKAGE_STRING
1051PACKAGE_VERSION
1052PACKAGE_TARNAME
1053PACKAGE_NAME
1054PATH_SEPARATOR
1055SHELL
1056am__quote'
1057ac_subst_files=''
1058ac_user_opts='
1059enable_option_checking
1060enable_silent_rules
1061enable_dependency_tracking
1062enable_static
1063enable_shared
1064with_pic
1065enable_fast_install
1066with_aix_soname
1067with_gnu_ld
1068with_sysroot
1069enable_libtool_lock
1070enable_nls
1071with_geany_libdir
1072enable_cppcheck
1073enable_extra_c_warnings
1074enable_extra_ld_flags
1075enable_all_plugins
1076enable_addons
1077enable_autoclose
1078enable_automark
1079enable_codenav
1080enable_commander
1081enable_debugger
1082enable_utilslib
1083enable_defineformat
1084enable_devhelp
1085enable_geanyctags
1086enable_geanydoc
1087enable_geanyextrasel
1088enable_geanygendoc
1089enable_geanyinsertnum
1090enable_latex
1091enable_geanylua
1092with_lua_pkg
1093enable_geanymacro
1094enable_geanyminiscript
1095enable_geanynumberedbookmarks
1096enable_geanyprj
1097enable_geanypy
1098enable_geanyvc
1099enable_gtkspell
1100enable_geanypg
1101with_gpgme_prefix
1102enable_largefile
1103enable_geniuspaste
1104enable_gitchangebar
1105enable_keyrecord
1106enable_lineoperations
1107enable_lipsum
1108enable_markdown
1109enable_peg_markdown
1110enable_multiterm
1111enable_overview
1112enable_pairtaghighlighter
1113enable_pohelper
1114enable_pretty_printer
1115enable_projectorganizer
1116enable_scope
1117enable_sendmail
1118enable_shiftcolumn
1119enable_spellcheck
1120enable_treebrowser
1121enable_tableconvert
1122enable_updatechecker
1123enable_vimode
1124enable_webhelper
1125enable_workbench
1126enable_xmlsnippets
1127'
1128      ac_precious_vars='build_alias
1129host_alias
1130target_alias
1131CC
1132CFLAGS
1133LDFLAGS
1134LIBS
1135CPPFLAGS
1136CPP
1137LT_SYS_LIBRARY_PATH
1138PKG_CONFIG
1139PKG_CONFIG_PATH
1140PKG_CONFIG_LIBDIR
1141GEANY_CFLAGS
1142GEANY_LIBS
1143CHECK_CFLAGS
1144CHECK_LIBS
1145GEANY_INCLUDEDIR
1146AUTOCLOSE_CFLAGS
1147AUTOCLOSE_LIBS
1148AUTOMARK_CFLAGS
1149AUTOMARK_LIBS
1150COMMANDER_CFLAGS
1151COMMANDER_LIBS
1152UTILSLIB_CFLAGS
1153UTILSLIB_LIBS
1154VTE_CFLAGS
1155VTE_LIBS
1156DEFINEFORMAT_CFLAGS
1157DEFINEFORMAT_LIBS
1158DEVHELP_CFLAGS
1159DEVHELP_LIBS
1160GEANYGENDOC_CFLAGS
1161GEANYGENDOC_LIBS
1162LUA_CFLAGS
1163LUA_LIBS
1164GMODULE_CFLAGS
1165GMODULE_LIBS
1166PYGTK_CFLAGS
1167PYGTK_LIBS
1168PYTHON_VERSION
1169GTKSPELL_CFLAGS
1170GTKSPELL_LIBS
1171GENIUSPASTE_CFLAGS
1172GENIUSPASTE_LIBS
1173GITCHANGEBAR_CFLAGS
1174GITCHANGEBAR_LIBS
1175MARKDOWN_CFLAGS
1176MARKDOWN_LIBS
1177MULTITERM_CFLAGS
1178MULTITERM_LIBS
1179GLIB_CFLAGS
1180GLIB_LIBS
1181LIBXML_CFLAGS
1182LIBXML_LIBS
1183ENCHANT_2_2_CFLAGS
1184ENCHANT_2_2_LIBS
1185ENCHANT_1_5_CFLAGS
1186ENCHANT_1_5_LIBS
1187ENCHANT_2_0_CFLAGS
1188ENCHANT_2_0_LIBS
1189ENCHANT_CFLAGS
1190ENCHANT_LIBS
1191UPDATECHECKER_CFLAGS
1192UPDATECHECKER_LIBS
1193WEBHELPER_CFLAGS
1194WEBHELPER_LIBS
1195WORKBENCH_CFLAGS
1196WORKBENCH_LIBS'
1197
1198
1199# Initialize some variables set by options.
1200ac_init_help=
1201ac_init_version=false
1202ac_unrecognized_opts=
1203ac_unrecognized_sep=
1204# The variables have the same names as the options, with
1205# dashes changed to underlines.
1206cache_file=/dev/null
1207exec_prefix=NONE
1208no_create=
1209no_recursion=
1210prefix=NONE
1211program_prefix=NONE
1212program_suffix=NONE
1213program_transform_name=s,x,x,
1214silent=
1215site=
1216srcdir=
1217verbose=
1218x_includes=NONE
1219x_libraries=NONE
1220
1221# Installation directory options.
1222# These are left unexpanded so users can "make install exec_prefix=/foo"
1223# and all the variables that are supposed to be based on exec_prefix
1224# by default will actually change.
1225# Use braces instead of parens because sh, perl, etc. also accept them.
1226# (The list follows the same order as the GNU Coding Standards.)
1227bindir='${exec_prefix}/bin'
1228sbindir='${exec_prefix}/sbin'
1229libexecdir='${exec_prefix}/libexec'
1230datarootdir='${prefix}/share'
1231datadir='${datarootdir}'
1232sysconfdir='${prefix}/etc'
1233sharedstatedir='${prefix}/com'
1234localstatedir='${prefix}/var'
1235runstatedir='${localstatedir}/run'
1236includedir='${prefix}/include'
1237oldincludedir='/usr/include'
1238docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1239infodir='${datarootdir}/info'
1240htmldir='${docdir}'
1241dvidir='${docdir}'
1242pdfdir='${docdir}'
1243psdir='${docdir}'
1244libdir='${exec_prefix}/lib'
1245localedir='${datarootdir}/locale'
1246mandir='${datarootdir}/man'
1247
1248ac_prev=
1249ac_dashdash=
1250for ac_option
1251do
1252  # If the previous option needs an argument, assign it.
1253  if test -n "$ac_prev"; then
1254    eval $ac_prev=\$ac_option
1255    ac_prev=
1256    continue
1257  fi
1258
1259  case $ac_option in
1260  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1261  *=)   ac_optarg= ;;
1262  *)    ac_optarg=yes ;;
1263  esac
1264
1265  # Accept the important Cygnus configure options, so we can diagnose typos.
1266
1267  case $ac_dashdash$ac_option in
1268  --)
1269    ac_dashdash=yes ;;
1270
1271  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1272    ac_prev=bindir ;;
1273  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1274    bindir=$ac_optarg ;;
1275
1276  -build | --build | --buil | --bui | --bu)
1277    ac_prev=build_alias ;;
1278  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1279    build_alias=$ac_optarg ;;
1280
1281  -cache-file | --cache-file | --cache-fil | --cache-fi \
1282  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1283    ac_prev=cache_file ;;
1284  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1285  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1286    cache_file=$ac_optarg ;;
1287
1288  --config-cache | -C)
1289    cache_file=config.cache ;;
1290
1291  -datadir | --datadir | --datadi | --datad)
1292    ac_prev=datadir ;;
1293  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1294    datadir=$ac_optarg ;;
1295
1296  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1297  | --dataroo | --dataro | --datar)
1298    ac_prev=datarootdir ;;
1299  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1300  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1301    datarootdir=$ac_optarg ;;
1302
1303  -disable-* | --disable-*)
1304    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1305    # Reject names that are not valid shell variable names.
1306    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1307      as_fn_error $? "invalid feature name: $ac_useropt"
1308    ac_useropt_orig=$ac_useropt
1309    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1310    case $ac_user_opts in
1311      *"
1312"enable_$ac_useropt"
1313"*) ;;
1314      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1315	 ac_unrecognized_sep=', ';;
1316    esac
1317    eval enable_$ac_useropt=no ;;
1318
1319  -docdir | --docdir | --docdi | --doc | --do)
1320    ac_prev=docdir ;;
1321  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1322    docdir=$ac_optarg ;;
1323
1324  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1325    ac_prev=dvidir ;;
1326  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1327    dvidir=$ac_optarg ;;
1328
1329  -enable-* | --enable-*)
1330    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1331    # Reject names that are not valid shell variable names.
1332    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1333      as_fn_error $? "invalid feature name: $ac_useropt"
1334    ac_useropt_orig=$ac_useropt
1335    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1336    case $ac_user_opts in
1337      *"
1338"enable_$ac_useropt"
1339"*) ;;
1340      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1341	 ac_unrecognized_sep=', ';;
1342    esac
1343    eval enable_$ac_useropt=\$ac_optarg ;;
1344
1345  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1346  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1347  | --exec | --exe | --ex)
1348    ac_prev=exec_prefix ;;
1349  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1350  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1351  | --exec=* | --exe=* | --ex=*)
1352    exec_prefix=$ac_optarg ;;
1353
1354  -gas | --gas | --ga | --g)
1355    # Obsolete; use --with-gas.
1356    with_gas=yes ;;
1357
1358  -help | --help | --hel | --he | -h)
1359    ac_init_help=long ;;
1360  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1361    ac_init_help=recursive ;;
1362  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1363    ac_init_help=short ;;
1364
1365  -host | --host | --hos | --ho)
1366    ac_prev=host_alias ;;
1367  -host=* | --host=* | --hos=* | --ho=*)
1368    host_alias=$ac_optarg ;;
1369
1370  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1371    ac_prev=htmldir ;;
1372  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1373  | --ht=*)
1374    htmldir=$ac_optarg ;;
1375
1376  -includedir | --includedir | --includedi | --included | --include \
1377  | --includ | --inclu | --incl | --inc)
1378    ac_prev=includedir ;;
1379  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1380  | --includ=* | --inclu=* | --incl=* | --inc=*)
1381    includedir=$ac_optarg ;;
1382
1383  -infodir | --infodir | --infodi | --infod | --info | --inf)
1384    ac_prev=infodir ;;
1385  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1386    infodir=$ac_optarg ;;
1387
1388  -libdir | --libdir | --libdi | --libd)
1389    ac_prev=libdir ;;
1390  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1391    libdir=$ac_optarg ;;
1392
1393  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1394  | --libexe | --libex | --libe)
1395    ac_prev=libexecdir ;;
1396  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1397  | --libexe=* | --libex=* | --libe=*)
1398    libexecdir=$ac_optarg ;;
1399
1400  -localedir | --localedir | --localedi | --localed | --locale)
1401    ac_prev=localedir ;;
1402  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1403    localedir=$ac_optarg ;;
1404
1405  -localstatedir | --localstatedir | --localstatedi | --localstated \
1406  | --localstate | --localstat | --localsta | --localst | --locals)
1407    ac_prev=localstatedir ;;
1408  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1409  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1410    localstatedir=$ac_optarg ;;
1411
1412  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1413    ac_prev=mandir ;;
1414  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1415    mandir=$ac_optarg ;;
1416
1417  -nfp | --nfp | --nf)
1418    # Obsolete; use --without-fp.
1419    with_fp=no ;;
1420
1421  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1422  | --no-cr | --no-c | -n)
1423    no_create=yes ;;
1424
1425  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1426  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1427    no_recursion=yes ;;
1428
1429  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1430  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1431  | --oldin | --oldi | --old | --ol | --o)
1432    ac_prev=oldincludedir ;;
1433  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1434  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1435  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1436    oldincludedir=$ac_optarg ;;
1437
1438  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1439    ac_prev=prefix ;;
1440  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1441    prefix=$ac_optarg ;;
1442
1443  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1444  | --program-pre | --program-pr | --program-p)
1445    ac_prev=program_prefix ;;
1446  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1447  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1448    program_prefix=$ac_optarg ;;
1449
1450  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1451  | --program-suf | --program-su | --program-s)
1452    ac_prev=program_suffix ;;
1453  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1454  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1455    program_suffix=$ac_optarg ;;
1456
1457  -program-transform-name | --program-transform-name \
1458  | --program-transform-nam | --program-transform-na \
1459  | --program-transform-n | --program-transform- \
1460  | --program-transform | --program-transfor \
1461  | --program-transfo | --program-transf \
1462  | --program-trans | --program-tran \
1463  | --progr-tra | --program-tr | --program-t)
1464    ac_prev=program_transform_name ;;
1465  -program-transform-name=* | --program-transform-name=* \
1466  | --program-transform-nam=* | --program-transform-na=* \
1467  | --program-transform-n=* | --program-transform-=* \
1468  | --program-transform=* | --program-transfor=* \
1469  | --program-transfo=* | --program-transf=* \
1470  | --program-trans=* | --program-tran=* \
1471  | --progr-tra=* | --program-tr=* | --program-t=*)
1472    program_transform_name=$ac_optarg ;;
1473
1474  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1475    ac_prev=pdfdir ;;
1476  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1477    pdfdir=$ac_optarg ;;
1478
1479  -psdir | --psdir | --psdi | --psd | --ps)
1480    ac_prev=psdir ;;
1481  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1482    psdir=$ac_optarg ;;
1483
1484  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1485  | -silent | --silent | --silen | --sile | --sil)
1486    silent=yes ;;
1487
1488  -runstatedir | --runstatedir | --runstatedi | --runstated \
1489  | --runstate | --runstat | --runsta | --runst | --runs \
1490  | --run | --ru | --r)
1491    ac_prev=runstatedir ;;
1492  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1493  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1494  | --run=* | --ru=* | --r=*)
1495    runstatedir=$ac_optarg ;;
1496
1497  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1498    ac_prev=sbindir ;;
1499  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1500  | --sbi=* | --sb=*)
1501    sbindir=$ac_optarg ;;
1502
1503  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1504  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1505  | --sharedst | --shareds | --shared | --share | --shar \
1506  | --sha | --sh)
1507    ac_prev=sharedstatedir ;;
1508  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1509  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1510  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1511  | --sha=* | --sh=*)
1512    sharedstatedir=$ac_optarg ;;
1513
1514  -site | --site | --sit)
1515    ac_prev=site ;;
1516  -site=* | --site=* | --sit=*)
1517    site=$ac_optarg ;;
1518
1519  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1520    ac_prev=srcdir ;;
1521  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1522    srcdir=$ac_optarg ;;
1523
1524  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1525  | --syscon | --sysco | --sysc | --sys | --sy)
1526    ac_prev=sysconfdir ;;
1527  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1528  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1529    sysconfdir=$ac_optarg ;;
1530
1531  -target | --target | --targe | --targ | --tar | --ta | --t)
1532    ac_prev=target_alias ;;
1533  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1534    target_alias=$ac_optarg ;;
1535
1536  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1537    verbose=yes ;;
1538
1539  -version | --version | --versio | --versi | --vers | -V)
1540    ac_init_version=: ;;
1541
1542  -with-* | --with-*)
1543    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1544    # Reject names that are not valid shell variable names.
1545    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1546      as_fn_error $? "invalid package name: $ac_useropt"
1547    ac_useropt_orig=$ac_useropt
1548    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1549    case $ac_user_opts in
1550      *"
1551"with_$ac_useropt"
1552"*) ;;
1553      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1554	 ac_unrecognized_sep=', ';;
1555    esac
1556    eval with_$ac_useropt=\$ac_optarg ;;
1557
1558  -without-* | --without-*)
1559    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1560    # Reject names that are not valid shell variable names.
1561    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1562      as_fn_error $? "invalid package name: $ac_useropt"
1563    ac_useropt_orig=$ac_useropt
1564    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1565    case $ac_user_opts in
1566      *"
1567"with_$ac_useropt"
1568"*) ;;
1569      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1570	 ac_unrecognized_sep=', ';;
1571    esac
1572    eval with_$ac_useropt=no ;;
1573
1574  --x)
1575    # Obsolete; use --with-x.
1576    with_x=yes ;;
1577
1578  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1579  | --x-incl | --x-inc | --x-in | --x-i)
1580    ac_prev=x_includes ;;
1581  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1582  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1583    x_includes=$ac_optarg ;;
1584
1585  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1586  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1587    ac_prev=x_libraries ;;
1588  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1589  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1590    x_libraries=$ac_optarg ;;
1591
1592  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1593Try \`$0 --help' for more information"
1594    ;;
1595
1596  *=*)
1597    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1598    # Reject names that are not valid shell variable names.
1599    case $ac_envvar in #(
1600      '' | [0-9]* | *[!_$as_cr_alnum]* )
1601      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1602    esac
1603    eval $ac_envvar=\$ac_optarg
1604    export $ac_envvar ;;
1605
1606  *)
1607    # FIXME: should be removed in autoconf 3.0.
1608    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1609    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1610      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1611    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1612    ;;
1613
1614  esac
1615done
1616
1617if test -n "$ac_prev"; then
1618  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1619  as_fn_error $? "missing argument to $ac_option"
1620fi
1621
1622if test -n "$ac_unrecognized_opts"; then
1623  case $enable_option_checking in
1624    no) ;;
1625    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1626    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1627  esac
1628fi
1629
1630# Check all directory arguments for consistency.
1631for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1632		datadir sysconfdir sharedstatedir localstatedir includedir \
1633		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1634		libdir localedir mandir runstatedir
1635do
1636  eval ac_val=\$$ac_var
1637  # Remove trailing slashes.
1638  case $ac_val in
1639    */ )
1640      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1641      eval $ac_var=\$ac_val;;
1642  esac
1643  # Be sure to have absolute directory names.
1644  case $ac_val in
1645    [\\/$]* | ?:[\\/]* )  continue;;
1646    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1647  esac
1648  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1649done
1650
1651# There might be people who depend on the old broken behavior: `$host'
1652# used to hold the argument of --host etc.
1653# FIXME: To remove some day.
1654build=$build_alias
1655host=$host_alias
1656target=$target_alias
1657
1658# FIXME: To remove some day.
1659if test "x$host_alias" != x; then
1660  if test "x$build_alias" = x; then
1661    cross_compiling=maybe
1662  elif test "x$build_alias" != "x$host_alias"; then
1663    cross_compiling=yes
1664  fi
1665fi
1666
1667ac_tool_prefix=
1668test -n "$host_alias" && ac_tool_prefix=$host_alias-
1669
1670test "$silent" = yes && exec 6>/dev/null
1671
1672
1673ac_pwd=`pwd` && test -n "$ac_pwd" &&
1674ac_ls_di=`ls -di .` &&
1675ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1676  as_fn_error $? "working directory cannot be determined"
1677test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1678  as_fn_error $? "pwd does not report name of working directory"
1679
1680
1681# Find the source files, if location was not specified.
1682if test -z "$srcdir"; then
1683  ac_srcdir_defaulted=yes
1684  # Try the directory containing this script, then the parent directory.
1685  ac_confdir=`$as_dirname -- "$as_myself" ||
1686$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1687	 X"$as_myself" : 'X\(//\)[^/]' \| \
1688	 X"$as_myself" : 'X\(//\)$' \| \
1689	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1690$as_echo X"$as_myself" |
1691    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1692	    s//\1/
1693	    q
1694	  }
1695	  /^X\(\/\/\)[^/].*/{
1696	    s//\1/
1697	    q
1698	  }
1699	  /^X\(\/\/\)$/{
1700	    s//\1/
1701	    q
1702	  }
1703	  /^X\(\/\).*/{
1704	    s//\1/
1705	    q
1706	  }
1707	  s/.*/./; q'`
1708  srcdir=$ac_confdir
1709  if test ! -r "$srcdir/$ac_unique_file"; then
1710    srcdir=..
1711  fi
1712else
1713  ac_srcdir_defaulted=no
1714fi
1715if test ! -r "$srcdir/$ac_unique_file"; then
1716  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1717  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1718fi
1719ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1720ac_abs_confdir=`(
1721	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1722	pwd)`
1723# When building in place, set srcdir=.
1724if test "$ac_abs_confdir" = "$ac_pwd"; then
1725  srcdir=.
1726fi
1727# Remove unnecessary trailing slashes from srcdir.
1728# Double slashes in file names in object file debugging info
1729# mess up M-x gdb in Emacs.
1730case $srcdir in
1731*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1732esac
1733for ac_var in $ac_precious_vars; do
1734  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1735  eval ac_env_${ac_var}_value=\$${ac_var}
1736  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1737  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1738done
1739
1740#
1741# Report the --help message.
1742#
1743if test "$ac_init_help" = "long"; then
1744  # Omit some internal or obsolete options to make the list less imposing.
1745  # This message is too long to be a string in the A/UX 3.1 sh.
1746  cat <<_ACEOF
1747\`configure' configures geany-plugins 1.38 to adapt to many kinds of systems.
1748
1749Usage: $0 [OPTION]... [VAR=VALUE]...
1750
1751To assign environment variables (e.g., CC, CFLAGS...), specify them as
1752VAR=VALUE.  See below for descriptions of some of the useful variables.
1753
1754Defaults for the options are specified in brackets.
1755
1756Configuration:
1757  -h, --help              display this help and exit
1758      --help=short        display options specific to this package
1759      --help=recursive    display the short help of all the included packages
1760  -V, --version           display version information and exit
1761  -q, --quiet, --silent   do not print \`checking ...' messages
1762      --cache-file=FILE   cache test results in FILE [disabled]
1763  -C, --config-cache      alias for \`--cache-file=config.cache'
1764  -n, --no-create         do not create output files
1765      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1766
1767Installation directories:
1768  --prefix=PREFIX         install architecture-independent files in PREFIX
1769                          [$ac_default_prefix]
1770  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1771                          [PREFIX]
1772
1773By default, \`make install' will install all the files in
1774\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1775an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1776for instance \`--prefix=\$HOME'.
1777
1778For better control, use the options below.
1779
1780Fine tuning of the installation directories:
1781  --bindir=DIR            user executables [EPREFIX/bin]
1782  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1783  --libexecdir=DIR        program executables [EPREFIX/libexec]
1784  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1785  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1786  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1787  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1788  --libdir=DIR            object code libraries [EPREFIX/lib]
1789  --includedir=DIR        C header files [PREFIX/include]
1790  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1791  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1792  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1793  --infodir=DIR           info documentation [DATAROOTDIR/info]
1794  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1795  --mandir=DIR            man documentation [DATAROOTDIR/man]
1796  --docdir=DIR            documentation root [DATAROOTDIR/doc/geany-plugins]
1797  --htmldir=DIR           html documentation [DOCDIR]
1798  --dvidir=DIR            dvi documentation [DOCDIR]
1799  --pdfdir=DIR            pdf documentation [DOCDIR]
1800  --psdir=DIR             ps documentation [DOCDIR]
1801_ACEOF
1802
1803  cat <<\_ACEOF
1804
1805Program names:
1806  --program-prefix=PREFIX            prepend PREFIX to installed program names
1807  --program-suffix=SUFFIX            append SUFFIX to installed program names
1808  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1809
1810System types:
1811  --build=BUILD     configure for building on BUILD [guessed]
1812  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1813_ACEOF
1814fi
1815
1816if test -n "$ac_init_help"; then
1817  case $ac_init_help in
1818     short | recursive ) echo "Configuration of geany-plugins 1.38:";;
1819   esac
1820  cat <<\_ACEOF
1821
1822Optional Features:
1823  --disable-option-checking  ignore unrecognized --enable/--with options
1824  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1825  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1826  --enable-silent-rules   less verbose build output (undo: "make V=1")
1827  --disable-silent-rules  verbose build output (undo: "make V=0")
1828  --enable-dependency-tracking
1829                          do not reject slow dependency extractors
1830  --disable-dependency-tracking
1831                          speeds up one-time build
1832  --enable-static[=PKGS]  build static libraries [default=no]
1833  --enable-shared[=PKGS]  build shared libraries [default=yes]
1834  --enable-fast-install[=PKGS]
1835                          optimize for fast installation [default=yes]
1836  --disable-libtool-lock  avoid locking (might break parallel builds)
1837  --disable-nls           do not use Native Language Support
1838  --enable-cppcheck       use cppcheck to check the source code [default=auto]
1839  --disable-extra-c-warnings
1840                          Disable extra C Compiler warnings
1841  --disable-extra-ld-flags
1842                          Disable extra linker flags
1843  --disable-all-plugins   Disable all plugins
1844  --disable-addons        Do not build the Addons plugin
1845  --disable-autoclose     Do not build the Autoclose plugin
1846  --disable-automark      Do not build the Automark plugin
1847  --disable-codenav       Do not build the CodeNav plugin
1848  --disable-commander     Do not build the Commander plugin
1849  --disable-debugger      Do not build the Debugger plugin
1850  --enable-utilslib       Whether to use the utilities library
1851                          [[default=auto]]
1852  --disable-defineformat  Do not build the Defineformat plugin
1853  --disable-devhelp       Do not build the devhelp plugin
1854  --disable-geanyctags    Do not build the GeanyCtags plugin
1855  --disable-geanydoc      Do not build the GeanyDoc plugin
1856  --disable-geanyextrasel Do not build the GeanyExtraSel plugin
1857  --disable-geanygendoc   Do not build the GeanyGenDoc plugin
1858  --disable-geanyinsertnum
1859                          Do not build the GeanyInsertNum plugin
1860  --disable-latex         Do not build the LaTeX plugin
1861  --disable-geanylua      Do not build the GeanyLua plugin
1862  --disable-geanymacro    Do not build the GeanyMacro plugin
1863  --disable-geanyminiscript
1864                          Do not build the GeanyMiniScript plugin
1865  --disable-geanynumberedbookmarks
1866                          Do not build the GeanyNumberedBookmarks plugin
1867  --disable-geanyprj      Do not build the GeanyPrj plugin
1868  --disable-geanypy       Do not build the Geanypy plugin
1869  --disable-geanyvc       Do not build the GeanyVC plugin
1870  --enable-gtkspell=ARG   Enable GtkSpell support in GeanyVC. [[default=auto]]
1871  --disable-geanypg       Do not build the geanypg plugin
1872  --disable-largefile     omit support for large files
1873  --disable-geniuspaste   Do not build the GeniusPaste plugin
1874  --disable-gitchangebar  Do not build the GitChangeBar plugin
1875  --disable-keyrecord     Do not build the Keyrecord plugin
1876  --disable-lineoperations
1877                          Do not build the LineOperations plugin
1878  --disable-lipsum        Do not build the Lipsum plugin
1879  --disable-markdown      Do not build the markdown plugin
1880  --enable-peg-markdown   Whether to use Peg-Markdown library [[default=auto]]
1881  --disable-multiterm     Do not build the multiterm plugin
1882  --disable-overview      Do not build the overview plugin
1883  --disable-pairtaghighlighter
1884                          Do not build the PairTagHighlighter plugin
1885  --disable-pohelper      Do not build the PoHelper plugin
1886  --disable-pretty_printer
1887                          Do not build the pretty-printer plugin
1888  --disable-projectorganizer
1889                          Do not build the ProjectOrganizer plugin
1890  --disable-scope         Do not build the Scope plugin
1891  --disable-sendmail      Do not build the Sendmail plugin
1892  --disable-shiftcolumn   Do not build the ShiftColumn plugin
1893  --disable-spellcheck    Do not build the spellcheck plugin
1894  --disable-treebrowser   Do not build the Treebrowser plugin
1895  --disable-tableconvert  Do not build the Tableconvert plugin
1896  --disable-updatechecker Do not build the Updatechecker plugin
1897  --disable-vimode        Do not build the Vimode plugin
1898  --disable-webhelper     Do not build the WebHelper plugin
1899  --disable-workbench     Do not build the Workbench plugin
1900  --disable-xmlsnippets   Do not build the XMLSnippets plugin
1901
1902Optional Packages:
1903  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1904  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1905  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1906                          both]
1907  --with-aix-soname=aix|svr4|both
1908                          shared library versioning (aka "SONAME") variant to
1909                          provide on AIX, [default=aix].
1910  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1911  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1912                          compiler's sysroot if not specified).
1913  --with-geany-libdir=PATH
1914                          Set Geany's installation libdir [[default=auto]]
1915  --with-lua-pkg=ARG      name of Lua pkg-config script [[default=lua5.1]]
1916  --with-gpgme-prefix=PFX prefix where GPGME is installed (optional)
1917
1918Some influential environment variables:
1919  CC          C compiler command
1920  CFLAGS      C compiler flags
1921  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1922              nonstandard directory <lib dir>
1923  LIBS        libraries to pass to the linker, e.g. -l<library>
1924  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1925              you have headers in a nonstandard directory <include dir>
1926  CPP         C preprocessor
1927  LT_SYS_LIBRARY_PATH
1928              User-defined run-time library search path.
1929  PKG_CONFIG  path to pkg-config utility
1930  PKG_CONFIG_PATH
1931              directories to add to pkg-config's search path
1932  PKG_CONFIG_LIBDIR
1933              path overriding pkg-config's built-in search path
1934  GEANY_CFLAGS
1935              C compiler flags for GEANY, overriding pkg-config
1936  GEANY_LIBS  linker flags for GEANY, overriding pkg-config
1937  CHECK_CFLAGS
1938              C compiler flags for CHECK, overriding pkg-config
1939  CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1940  GEANY_INCLUDEDIR
1941              value of includedir for geany, overriding pkg-config
1942  AUTOCLOSE_CFLAGS
1943              C compiler flags for AUTOCLOSE, overriding pkg-config
1944  AUTOCLOSE_LIBS
1945              linker flags for AUTOCLOSE, overriding pkg-config
1946  AUTOMARK_CFLAGS
1947              C compiler flags for AUTOMARK, overriding pkg-config
1948  AUTOMARK_LIBS
1949              linker flags for AUTOMARK, overriding pkg-config
1950  COMMANDER_CFLAGS
1951              C compiler flags for COMMANDER, overriding pkg-config
1952  COMMANDER_LIBS
1953              linker flags for COMMANDER, overriding pkg-config
1954  UTILSLIB_CFLAGS
1955              C compiler flags for UTILSLIB, overriding pkg-config
1956  UTILSLIB_LIBS
1957              linker flags for UTILSLIB, overriding pkg-config
1958  VTE_CFLAGS  C compiler flags for VTE, overriding pkg-config
1959  VTE_LIBS    linker flags for VTE, overriding pkg-config
1960  DEFINEFORMAT_CFLAGS
1961              C compiler flags for DEFINEFORMAT, overriding pkg-config
1962  DEFINEFORMAT_LIBS
1963              linker flags for DEFINEFORMAT, overriding pkg-config
1964  DEVHELP_CFLAGS
1965              C compiler flags for DEVHELP, overriding pkg-config
1966  DEVHELP_LIBS
1967              linker flags for DEVHELP, overriding pkg-config
1968  GEANYGENDOC_CFLAGS
1969              C compiler flags for GEANYGENDOC, overriding pkg-config
1970  GEANYGENDOC_LIBS
1971              linker flags for GEANYGENDOC, overriding pkg-config
1972  LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
1973  LUA_LIBS    linker flags for LUA, overriding pkg-config
1974  GMODULE_CFLAGS
1975              C compiler flags for GMODULE, overriding pkg-config
1976  GMODULE_LIBS
1977              linker flags for GMODULE, overriding pkg-config
1978  PYGTK_CFLAGS
1979              C compiler flags for PYGTK, overriding pkg-config
1980  PYGTK_LIBS  linker flags for PYGTK, overriding pkg-config
1981  PYTHON_VERSION
1982              The installed Python version to use, for example '2.3'. This
1983              string will be appended to the Python interpreter canonical
1984              name.
1985  GTKSPELL_CFLAGS
1986              C compiler flags for GTKSPELL, overriding pkg-config
1987  GTKSPELL_LIBS
1988              linker flags for GTKSPELL, overriding pkg-config
1989  GENIUSPASTE_CFLAGS
1990              C compiler flags for GENIUSPASTE, overriding pkg-config
1991  GENIUSPASTE_LIBS
1992              linker flags for GENIUSPASTE, overriding pkg-config
1993  GITCHANGEBAR_CFLAGS
1994              C compiler flags for GITCHANGEBAR, overriding pkg-config
1995  GITCHANGEBAR_LIBS
1996              linker flags for GITCHANGEBAR, overriding pkg-config
1997  MARKDOWN_CFLAGS
1998              C compiler flags for MARKDOWN, overriding pkg-config
1999  MARKDOWN_LIBS
2000              linker flags for MARKDOWN, overriding pkg-config
2001  MULTITERM_CFLAGS
2002              C compiler flags for MULTITERM, overriding pkg-config
2003  MULTITERM_LIBS
2004              linker flags for MULTITERM, overriding pkg-config
2005  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2006  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
2007  LIBXML_CFLAGS
2008              C compiler flags for LIBXML, overriding pkg-config
2009  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
2010  ENCHANT_2_2_CFLAGS
2011              C compiler flags for ENCHANT_2_2, overriding pkg-config
2012  ENCHANT_2_2_LIBS
2013              linker flags for ENCHANT_2_2, overriding pkg-config
2014  ENCHANT_1_5_CFLAGS
2015              C compiler flags for ENCHANT_1_5, overriding pkg-config
2016  ENCHANT_1_5_LIBS
2017              linker flags for ENCHANT_1_5, overriding pkg-config
2018  ENCHANT_2_0_CFLAGS
2019              C compiler flags for ENCHANT_2_0, overriding pkg-config
2020  ENCHANT_2_0_LIBS
2021              linker flags for ENCHANT_2_0, overriding pkg-config
2022  ENCHANT_CFLAGS
2023              C compiler flags for ENCHANT, overriding pkg-config
2024  ENCHANT_LIBS
2025              linker flags for ENCHANT, overriding pkg-config
2026  UPDATECHECKER_CFLAGS
2027              C compiler flags for UPDATECHECKER, overriding pkg-config
2028  UPDATECHECKER_LIBS
2029              linker flags for UPDATECHECKER, overriding pkg-config
2030  WEBHELPER_CFLAGS
2031              C compiler flags for WEBHELPER, overriding pkg-config
2032  WEBHELPER_LIBS
2033              linker flags for WEBHELPER, overriding pkg-config
2034  WORKBENCH_CFLAGS
2035              C compiler flags for WORKBENCH, overriding pkg-config
2036  WORKBENCH_LIBS
2037              linker flags for WORKBENCH, overriding pkg-config
2038
2039Use these variables to override the choices made by `configure' or to help
2040it to find libraries and programs with nonstandard names/locations.
2041
2042Report bugs to the package provider.
2043_ACEOF
2044ac_status=$?
2045fi
2046
2047if test "$ac_init_help" = "recursive"; then
2048  # If there are subdirs, report their specific --help.
2049  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2050    test -d "$ac_dir" ||
2051      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2052      continue
2053    ac_builddir=.
2054
2055case "$ac_dir" in
2056.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2057*)
2058  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2059  # A ".." for each directory in $ac_dir_suffix.
2060  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2061  case $ac_top_builddir_sub in
2062  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2063  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2064  esac ;;
2065esac
2066ac_abs_top_builddir=$ac_pwd
2067ac_abs_builddir=$ac_pwd$ac_dir_suffix
2068# for backward compatibility:
2069ac_top_builddir=$ac_top_build_prefix
2070
2071case $srcdir in
2072  .)  # We are building in place.
2073    ac_srcdir=.
2074    ac_top_srcdir=$ac_top_builddir_sub
2075    ac_abs_top_srcdir=$ac_pwd ;;
2076  [\\/]* | ?:[\\/]* )  # Absolute name.
2077    ac_srcdir=$srcdir$ac_dir_suffix;
2078    ac_top_srcdir=$srcdir
2079    ac_abs_top_srcdir=$srcdir ;;
2080  *) # Relative name.
2081    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2082    ac_top_srcdir=$ac_top_build_prefix$srcdir
2083    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2084esac
2085ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2086
2087    cd "$ac_dir" || { ac_status=$?; continue; }
2088    # Check for guested configure.
2089    if test -f "$ac_srcdir/configure.gnu"; then
2090      echo &&
2091      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2092    elif test -f "$ac_srcdir/configure"; then
2093      echo &&
2094      $SHELL "$ac_srcdir/configure" --help=recursive
2095    else
2096      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2097    fi || ac_status=$?
2098    cd "$ac_pwd" || { ac_status=$?; break; }
2099  done
2100fi
2101
2102test -n "$ac_init_help" && exit $ac_status
2103if $ac_init_version; then
2104  cat <<\_ACEOF
2105geany-plugins configure 1.38
2106generated by GNU Autoconf 2.69
2107
2108Copyright (C) 2012 Free Software Foundation, Inc.
2109This configure script is free software; the Free Software Foundation
2110gives unlimited permission to copy, distribute and modify it.
2111_ACEOF
2112  exit
2113fi
2114
2115## ------------------------ ##
2116## Autoconf initialization. ##
2117## ------------------------ ##
2118
2119# ac_fn_c_try_compile LINENO
2120# --------------------------
2121# Try to compile conftest.$ac_ext, and return whether this succeeded.
2122ac_fn_c_try_compile ()
2123{
2124  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125  rm -f conftest.$ac_objext
2126  if { { ac_try="$ac_compile"
2127case "(($ac_try" in
2128  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2129  *) ac_try_echo=$ac_try;;
2130esac
2131eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2132$as_echo "$ac_try_echo"; } >&5
2133  (eval "$ac_compile") 2>conftest.err
2134  ac_status=$?
2135  if test -s conftest.err; then
2136    grep -v '^ *+' conftest.err >conftest.er1
2137    cat conftest.er1 >&5
2138    mv -f conftest.er1 conftest.err
2139  fi
2140  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2141  test $ac_status = 0; } && {
2142	 test -z "$ac_c_werror_flag" ||
2143	 test ! -s conftest.err
2144       } && test -s conftest.$ac_objext; then :
2145  ac_retval=0
2146else
2147  $as_echo "$as_me: failed program was:" >&5
2148sed 's/^/| /' conftest.$ac_ext >&5
2149
2150	ac_retval=1
2151fi
2152  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2153  as_fn_set_status $ac_retval
2154
2155} # ac_fn_c_try_compile
2156
2157# ac_fn_c_try_cpp LINENO
2158# ----------------------
2159# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2160ac_fn_c_try_cpp ()
2161{
2162  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163  if { { ac_try="$ac_cpp conftest.$ac_ext"
2164case "(($ac_try" in
2165  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2166  *) ac_try_echo=$ac_try;;
2167esac
2168eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2169$as_echo "$ac_try_echo"; } >&5
2170  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2171  ac_status=$?
2172  if test -s conftest.err; then
2173    grep -v '^ *+' conftest.err >conftest.er1
2174    cat conftest.er1 >&5
2175    mv -f conftest.er1 conftest.err
2176  fi
2177  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2178  test $ac_status = 0; } > conftest.i && {
2179	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2180	 test ! -s conftest.err
2181       }; then :
2182  ac_retval=0
2183else
2184  $as_echo "$as_me: failed program was:" >&5
2185sed 's/^/| /' conftest.$ac_ext >&5
2186
2187    ac_retval=1
2188fi
2189  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2190  as_fn_set_status $ac_retval
2191
2192} # ac_fn_c_try_cpp
2193
2194# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2195# -------------------------------------------------------
2196# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2197# the include files in INCLUDES and setting the cache variable VAR
2198# accordingly.
2199ac_fn_c_check_header_mongrel ()
2200{
2201  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2202  if eval \${$3+:} false; then :
2203  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204$as_echo_n "checking for $2... " >&6; }
2205if eval \${$3+:} false; then :
2206  $as_echo_n "(cached) " >&6
2207fi
2208eval ac_res=\$$3
2209	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210$as_echo "$ac_res" >&6; }
2211else
2212  # Is the header compilable?
2213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2214$as_echo_n "checking $2 usability... " >&6; }
2215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216/* end confdefs.h.  */
2217$4
2218#include <$2>
2219_ACEOF
2220if ac_fn_c_try_compile "$LINENO"; then :
2221  ac_header_compiler=yes
2222else
2223  ac_header_compiler=no
2224fi
2225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2227$as_echo "$ac_header_compiler" >&6; }
2228
2229# Is the header present?
2230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2231$as_echo_n "checking $2 presence... " >&6; }
2232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233/* end confdefs.h.  */
2234#include <$2>
2235_ACEOF
2236if ac_fn_c_try_cpp "$LINENO"; then :
2237  ac_header_preproc=yes
2238else
2239  ac_header_preproc=no
2240fi
2241rm -f conftest.err conftest.i conftest.$ac_ext
2242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2243$as_echo "$ac_header_preproc" >&6; }
2244
2245# So?  What about this header?
2246case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2247  yes:no: )
2248    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2249$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2250    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2251$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2252    ;;
2253  no:yes:* )
2254    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2255$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2256    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2257$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2258    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2259$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2260    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2261$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2262    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2263$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2264    ;;
2265esac
2266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267$as_echo_n "checking for $2... " >&6; }
2268if eval \${$3+:} false; then :
2269  $as_echo_n "(cached) " >&6
2270else
2271  eval "$3=\$ac_header_compiler"
2272fi
2273eval ac_res=\$$3
2274	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2275$as_echo "$ac_res" >&6; }
2276fi
2277  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2278
2279} # ac_fn_c_check_header_mongrel
2280
2281# ac_fn_c_try_run LINENO
2282# ----------------------
2283# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2284# that executables *can* be run.
2285ac_fn_c_try_run ()
2286{
2287  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2288  if { { ac_try="$ac_link"
2289case "(($ac_try" in
2290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291  *) ac_try_echo=$ac_try;;
2292esac
2293eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294$as_echo "$ac_try_echo"; } >&5
2295  (eval "$ac_link") 2>&5
2296  ac_status=$?
2297  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2298  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2299  { { case "(($ac_try" in
2300  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2301  *) ac_try_echo=$ac_try;;
2302esac
2303eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2304$as_echo "$ac_try_echo"; } >&5
2305  (eval "$ac_try") 2>&5
2306  ac_status=$?
2307  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2308  test $ac_status = 0; }; }; then :
2309  ac_retval=0
2310else
2311  $as_echo "$as_me: program exited with status $ac_status" >&5
2312       $as_echo "$as_me: failed program was:" >&5
2313sed 's/^/| /' conftest.$ac_ext >&5
2314
2315       ac_retval=$ac_status
2316fi
2317  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2318  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319  as_fn_set_status $ac_retval
2320
2321} # ac_fn_c_try_run
2322
2323# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2324# -------------------------------------------------------
2325# Tests whether HEADER exists and can be compiled using the include files in
2326# INCLUDES, setting the cache variable VAR accordingly.
2327ac_fn_c_check_header_compile ()
2328{
2329  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2331$as_echo_n "checking for $2... " >&6; }
2332if eval \${$3+:} false; then :
2333  $as_echo_n "(cached) " >&6
2334else
2335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336/* end confdefs.h.  */
2337$4
2338#include <$2>
2339_ACEOF
2340if ac_fn_c_try_compile "$LINENO"; then :
2341  eval "$3=yes"
2342else
2343  eval "$3=no"
2344fi
2345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2346fi
2347eval ac_res=\$$3
2348	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2349$as_echo "$ac_res" >&6; }
2350  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2351
2352} # ac_fn_c_check_header_compile
2353
2354# ac_fn_c_try_link LINENO
2355# -----------------------
2356# Try to link conftest.$ac_ext, and return whether this succeeded.
2357ac_fn_c_try_link ()
2358{
2359  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2360  rm -f conftest.$ac_objext conftest$ac_exeext
2361  if { { ac_try="$ac_link"
2362case "(($ac_try" in
2363  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364  *) ac_try_echo=$ac_try;;
2365esac
2366eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2367$as_echo "$ac_try_echo"; } >&5
2368  (eval "$ac_link") 2>conftest.err
2369  ac_status=$?
2370  if test -s conftest.err; then
2371    grep -v '^ *+' conftest.err >conftest.er1
2372    cat conftest.er1 >&5
2373    mv -f conftest.er1 conftest.err
2374  fi
2375  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2376  test $ac_status = 0; } && {
2377	 test -z "$ac_c_werror_flag" ||
2378	 test ! -s conftest.err
2379       } && test -s conftest$ac_exeext && {
2380	 test "$cross_compiling" = yes ||
2381	 test -x conftest$ac_exeext
2382       }; then :
2383  ac_retval=0
2384else
2385  $as_echo "$as_me: failed program was:" >&5
2386sed 's/^/| /' conftest.$ac_ext >&5
2387
2388	ac_retval=1
2389fi
2390  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2391  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2392  # interfere with the next link command; also delete a directory that is
2393  # left behind by Apple's compiler.  We do this before executing the actions.
2394  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2395  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2396  as_fn_set_status $ac_retval
2397
2398} # ac_fn_c_try_link
2399
2400# ac_fn_c_check_func LINENO FUNC VAR
2401# ----------------------------------
2402# Tests whether FUNC exists, setting the cache variable VAR accordingly
2403ac_fn_c_check_func ()
2404{
2405  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2406  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2407$as_echo_n "checking for $2... " >&6; }
2408if eval \${$3+:} false; then :
2409  $as_echo_n "(cached) " >&6
2410else
2411  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412/* end confdefs.h.  */
2413/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2414   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2415#define $2 innocuous_$2
2416
2417/* System header to define __stub macros and hopefully few prototypes,
2418    which can conflict with char $2 (); below.
2419    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2420    <limits.h> exists even on freestanding compilers.  */
2421
2422#ifdef __STDC__
2423# include <limits.h>
2424#else
2425# include <assert.h>
2426#endif
2427
2428#undef $2
2429
2430/* Override any GCC internal prototype to avoid an error.
2431   Use char because int might match the return type of a GCC
2432   builtin and then its argument prototype would still apply.  */
2433#ifdef __cplusplus
2434extern "C"
2435#endif
2436char $2 ();
2437/* The GNU C library defines this for functions which it implements
2438    to always fail with ENOSYS.  Some functions are actually named
2439    something starting with __ and the normal name is an alias.  */
2440#if defined __stub_$2 || defined __stub___$2
2441choke me
2442#endif
2443
2444int
2445main ()
2446{
2447return $2 ();
2448  ;
2449  return 0;
2450}
2451_ACEOF
2452if ac_fn_c_try_link "$LINENO"; then :
2453  eval "$3=yes"
2454else
2455  eval "$3=no"
2456fi
2457rm -f core conftest.err conftest.$ac_objext \
2458    conftest$ac_exeext conftest.$ac_ext
2459fi
2460eval ac_res=\$$3
2461	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2462$as_echo "$ac_res" >&6; }
2463  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2464
2465} # ac_fn_c_check_func
2466cat >config.log <<_ACEOF
2467This file contains any messages produced by compilers while
2468running configure, to aid debugging if configure makes a mistake.
2469
2470It was created by geany-plugins $as_me 1.38, which was
2471generated by GNU Autoconf 2.69.  Invocation command line was
2472
2473  $ $0 $@
2474
2475_ACEOF
2476exec 5>>config.log
2477{
2478cat <<_ASUNAME
2479## --------- ##
2480## Platform. ##
2481## --------- ##
2482
2483hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2484uname -m = `(uname -m) 2>/dev/null || echo unknown`
2485uname -r = `(uname -r) 2>/dev/null || echo unknown`
2486uname -s = `(uname -s) 2>/dev/null || echo unknown`
2487uname -v = `(uname -v) 2>/dev/null || echo unknown`
2488
2489/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2490/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2491
2492/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2493/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2494/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2495/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2496/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2497/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2498/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2499
2500_ASUNAME
2501
2502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503for as_dir in $PATH
2504do
2505  IFS=$as_save_IFS
2506  test -z "$as_dir" && as_dir=.
2507    $as_echo "PATH: $as_dir"
2508  done
2509IFS=$as_save_IFS
2510
2511} >&5
2512
2513cat >&5 <<_ACEOF
2514
2515
2516## ----------- ##
2517## Core tests. ##
2518## ----------- ##
2519
2520_ACEOF
2521
2522
2523# Keep a trace of the command line.
2524# Strip out --no-create and --no-recursion so they do not pile up.
2525# Strip out --silent because we don't want to record it for future runs.
2526# Also quote any args containing shell meta-characters.
2527# Make two passes to allow for proper duplicate-argument suppression.
2528ac_configure_args=
2529ac_configure_args0=
2530ac_configure_args1=
2531ac_must_keep_next=false
2532for ac_pass in 1 2
2533do
2534  for ac_arg
2535  do
2536    case $ac_arg in
2537    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2538    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2539    | -silent | --silent | --silen | --sile | --sil)
2540      continue ;;
2541    *\'*)
2542      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2543    esac
2544    case $ac_pass in
2545    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2546    2)
2547      as_fn_append ac_configure_args1 " '$ac_arg'"
2548      if test $ac_must_keep_next = true; then
2549	ac_must_keep_next=false # Got value, back to normal.
2550      else
2551	case $ac_arg in
2552	  *=* | --config-cache | -C | -disable-* | --disable-* \
2553	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2554	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2555	  | -with-* | --with-* | -without-* | --without-* | --x)
2556	    case "$ac_configure_args0 " in
2557	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2558	    esac
2559	    ;;
2560	  -* ) ac_must_keep_next=true ;;
2561	esac
2562      fi
2563      as_fn_append ac_configure_args " '$ac_arg'"
2564      ;;
2565    esac
2566  done
2567done
2568{ ac_configure_args0=; unset ac_configure_args0;}
2569{ ac_configure_args1=; unset ac_configure_args1;}
2570
2571# When interrupted or exit'd, cleanup temporary files, and complete
2572# config.log.  We remove comments because anyway the quotes in there
2573# would cause problems or look ugly.
2574# WARNING: Use '\'' to represent an apostrophe within the trap.
2575# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2576trap 'exit_status=$?
2577  # Save into config.log some information that might help in debugging.
2578  {
2579    echo
2580
2581    $as_echo "## ---------------- ##
2582## Cache variables. ##
2583## ---------------- ##"
2584    echo
2585    # The following way of writing the cache mishandles newlines in values,
2586(
2587  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2588    eval ac_val=\$$ac_var
2589    case $ac_val in #(
2590    *${as_nl}*)
2591      case $ac_var in #(
2592      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2593$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594      esac
2595      case $ac_var in #(
2596      _ | IFS | as_nl) ;; #(
2597      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2598      *) { eval $ac_var=; unset $ac_var;} ;;
2599      esac ;;
2600    esac
2601  done
2602  (set) 2>&1 |
2603    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2604    *${as_nl}ac_space=\ *)
2605      sed -n \
2606	"s/'\''/'\''\\\\'\'''\''/g;
2607	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608      ;; #(
2609    *)
2610      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611      ;;
2612    esac |
2613    sort
2614)
2615    echo
2616
2617    $as_echo "## ----------------- ##
2618## Output variables. ##
2619## ----------------- ##"
2620    echo
2621    for ac_var in $ac_subst_vars
2622    do
2623      eval ac_val=\$$ac_var
2624      case $ac_val in
2625      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2626      esac
2627      $as_echo "$ac_var='\''$ac_val'\''"
2628    done | sort
2629    echo
2630
2631    if test -n "$ac_subst_files"; then
2632      $as_echo "## ------------------- ##
2633## File substitutions. ##
2634## ------------------- ##"
2635      echo
2636      for ac_var in $ac_subst_files
2637      do
2638	eval ac_val=\$$ac_var
2639	case $ac_val in
2640	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2641	esac
2642	$as_echo "$ac_var='\''$ac_val'\''"
2643      done | sort
2644      echo
2645    fi
2646
2647    if test -s confdefs.h; then
2648      $as_echo "## ----------- ##
2649## confdefs.h. ##
2650## ----------- ##"
2651      echo
2652      cat confdefs.h
2653      echo
2654    fi
2655    test "$ac_signal" != 0 &&
2656      $as_echo "$as_me: caught signal $ac_signal"
2657    $as_echo "$as_me: exit $exit_status"
2658  } >&5
2659  rm -f core *.core core.conftest.* &&
2660    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2661    exit $exit_status
2662' 0
2663for ac_signal in 1 2 13 15; do
2664  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2665done
2666ac_signal=0
2667
2668# confdefs.h avoids OS command line length limits that DEFS can exceed.
2669rm -f -r conftest* confdefs.h
2670
2671$as_echo "/* confdefs.h */" > confdefs.h
2672
2673# Predefined preprocessor variables.
2674
2675cat >>confdefs.h <<_ACEOF
2676#define PACKAGE_NAME "$PACKAGE_NAME"
2677_ACEOF
2678
2679cat >>confdefs.h <<_ACEOF
2680#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2681_ACEOF
2682
2683cat >>confdefs.h <<_ACEOF
2684#define PACKAGE_VERSION "$PACKAGE_VERSION"
2685_ACEOF
2686
2687cat >>confdefs.h <<_ACEOF
2688#define PACKAGE_STRING "$PACKAGE_STRING"
2689_ACEOF
2690
2691cat >>confdefs.h <<_ACEOF
2692#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2693_ACEOF
2694
2695cat >>confdefs.h <<_ACEOF
2696#define PACKAGE_URL "$PACKAGE_URL"
2697_ACEOF
2698
2699
2700# Let the site file select an alternate cache file if it wants to.
2701# Prefer an explicitly selected file to automatically selected ones.
2702ac_site_file1=NONE
2703ac_site_file2=NONE
2704if test -n "$CONFIG_SITE"; then
2705  # We do not want a PATH search for config.site.
2706  case $CONFIG_SITE in #((
2707    -*)  ac_site_file1=./$CONFIG_SITE;;
2708    */*) ac_site_file1=$CONFIG_SITE;;
2709    *)   ac_site_file1=./$CONFIG_SITE;;
2710  esac
2711elif test "x$prefix" != xNONE; then
2712  ac_site_file1=$prefix/share/config.site
2713  ac_site_file2=$prefix/etc/config.site
2714else
2715  ac_site_file1=$ac_default_prefix/share/config.site
2716  ac_site_file2=$ac_default_prefix/etc/config.site
2717fi
2718for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2719do
2720  test "x$ac_site_file" = xNONE && continue
2721  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2722    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2723$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2724    sed 's/^/| /' "$ac_site_file" >&5
2725    . "$ac_site_file" \
2726      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2727$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2728as_fn_error $? "failed to load site script $ac_site_file
2729See \`config.log' for more details" "$LINENO" 5; }
2730  fi
2731done
2732
2733if test -r "$cache_file"; then
2734  # Some versions of bash will fail to source /dev/null (special files
2735  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2736  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2737    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2738$as_echo "$as_me: loading cache $cache_file" >&6;}
2739    case $cache_file in
2740      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2741      *)                      . "./$cache_file";;
2742    esac
2743  fi
2744else
2745  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2746$as_echo "$as_me: creating cache $cache_file" >&6;}
2747  >$cache_file
2748fi
2749
2750# Check that the precious variables saved in the cache have kept the same
2751# value.
2752ac_cache_corrupted=false
2753for ac_var in $ac_precious_vars; do
2754  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2755  eval ac_new_set=\$ac_env_${ac_var}_set
2756  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2757  eval ac_new_val=\$ac_env_${ac_var}_value
2758  case $ac_old_set,$ac_new_set in
2759    set,)
2760      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2761$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2762      ac_cache_corrupted=: ;;
2763    ,set)
2764      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2765$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2766      ac_cache_corrupted=: ;;
2767    ,);;
2768    *)
2769      if test "x$ac_old_val" != "x$ac_new_val"; then
2770	# differences in whitespace do not lead to failure.
2771	ac_old_val_w=`echo x $ac_old_val`
2772	ac_new_val_w=`echo x $ac_new_val`
2773	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2774	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2775$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2776	  ac_cache_corrupted=:
2777	else
2778	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2779$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2780	  eval $ac_var=\$ac_old_val
2781	fi
2782	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2783$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2784	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2785$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2786      fi;;
2787  esac
2788  # Pass precious variables to config.status.
2789  if test "$ac_new_set" = set; then
2790    case $ac_new_val in
2791    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2792    *) ac_arg=$ac_var=$ac_new_val ;;
2793    esac
2794    case " $ac_configure_args " in
2795      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2796      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2797    esac
2798  fi
2799done
2800if $ac_cache_corrupted; then
2801  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2802$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2803  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2804$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2805  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2806fi
2807## -------------------- ##
2808## Main body of script. ##
2809## -------------------- ##
2810
2811ac_ext=c
2812ac_cpp='$CPP $CPPFLAGS'
2813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815ac_compiler_gnu=$ac_cv_c_compiler_gnu
2816
2817
2818am__api_version='1.16'
2819
2820ac_aux_dir=
2821for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2822  if test -f "$ac_dir/install-sh"; then
2823    ac_aux_dir=$ac_dir
2824    ac_install_sh="$ac_aux_dir/install-sh -c"
2825    break
2826  elif test -f "$ac_dir/install.sh"; then
2827    ac_aux_dir=$ac_dir
2828    ac_install_sh="$ac_aux_dir/install.sh -c"
2829    break
2830  elif test -f "$ac_dir/shtool"; then
2831    ac_aux_dir=$ac_dir
2832    ac_install_sh="$ac_aux_dir/shtool install -c"
2833    break
2834  fi
2835done
2836if test -z "$ac_aux_dir"; then
2837  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2838fi
2839
2840# These three variables are undocumented and unsupported,
2841# and are intended to be withdrawn in a future Autoconf release.
2842# They can cause serious problems if a builder's source tree is in a directory
2843# whose full name contains unusual characters.
2844ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2845ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2846ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2847
2848
2849# Find a good install program.  We prefer a C program (faster),
2850# so one script is as good as another.  But avoid the broken or
2851# incompatible versions:
2852# SysV /etc/install, /usr/sbin/install
2853# SunOS /usr/etc/install
2854# IRIX /sbin/install
2855# AIX /bin/install
2856# AmigaOS /C/install, which installs bootblocks on floppy discs
2857# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2858# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2859# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2860# OS/2's system install, which has a completely different semantic
2861# ./install, which can be erroneously created by make from ./install.sh.
2862# Reject install programs that cannot install multiple files.
2863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2864$as_echo_n "checking for a BSD-compatible install... " >&6; }
2865if test -z "$INSTALL"; then
2866if ${ac_cv_path_install+:} false; then :
2867  $as_echo_n "(cached) " >&6
2868else
2869  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870for as_dir in $PATH
2871do
2872  IFS=$as_save_IFS
2873  test -z "$as_dir" && as_dir=.
2874    # Account for people who put trailing slashes in PATH elements.
2875case $as_dir/ in #((
2876  ./ | .// | /[cC]/* | \
2877  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2878  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2879  /usr/ucb/* ) ;;
2880  *)
2881    # OSF1 and SCO ODT 3.0 have their own names for install.
2882    # Don't use installbsd from OSF since it installs stuff as root
2883    # by default.
2884    for ac_prog in ginstall scoinst install; do
2885      for ac_exec_ext in '' $ac_executable_extensions; do
2886	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2887	  if test $ac_prog = install &&
2888	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2889	    # AIX install.  It has an incompatible calling convention.
2890	    :
2891	  elif test $ac_prog = install &&
2892	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2893	    # program-specific install script used by HP pwplus--don't use.
2894	    :
2895	  else
2896	    rm -rf conftest.one conftest.two conftest.dir
2897	    echo one > conftest.one
2898	    echo two > conftest.two
2899	    mkdir conftest.dir
2900	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2901	      test -s conftest.one && test -s conftest.two &&
2902	      test -s conftest.dir/conftest.one &&
2903	      test -s conftest.dir/conftest.two
2904	    then
2905	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2906	      break 3
2907	    fi
2908	  fi
2909	fi
2910      done
2911    done
2912    ;;
2913esac
2914
2915  done
2916IFS=$as_save_IFS
2917
2918rm -rf conftest.one conftest.two conftest.dir
2919
2920fi
2921  if test "${ac_cv_path_install+set}" = set; then
2922    INSTALL=$ac_cv_path_install
2923  else
2924    # As a last resort, use the slow shell script.  Don't cache a
2925    # value for INSTALL within a source directory, because that will
2926    # break other packages using the cache if that directory is
2927    # removed, or if the value is a relative name.
2928    INSTALL=$ac_install_sh
2929  fi
2930fi
2931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2932$as_echo "$INSTALL" >&6; }
2933
2934# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2935# It thinks the first close brace ends the variable substitution.
2936test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2937
2938test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2939
2940test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2941
2942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2943$as_echo_n "checking whether build environment is sane... " >&6; }
2944# Reject unsafe characters in $srcdir or the absolute working directory
2945# name.  Accept space and tab only in the latter.
2946am_lf='
2947'
2948case `pwd` in
2949  *[\\\"\#\$\&\'\`$am_lf]*)
2950    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2951esac
2952case $srcdir in
2953  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2954    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2955esac
2956
2957# Do 'set' in a subshell so we don't clobber the current shell's
2958# arguments.  Must try -L first in case configure is actually a
2959# symlink; some systems play weird games with the mod time of symlinks
2960# (eg FreeBSD returns the mod time of the symlink's containing
2961# directory).
2962if (
2963   am_has_slept=no
2964   for am_try in 1 2; do
2965     echo "timestamp, slept: $am_has_slept" > conftest.file
2966     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2967     if test "$*" = "X"; then
2968	# -L didn't work.
2969	set X `ls -t "$srcdir/configure" conftest.file`
2970     fi
2971     if test "$*" != "X $srcdir/configure conftest.file" \
2972	&& test "$*" != "X conftest.file $srcdir/configure"; then
2973
2974	# If neither matched, then we have a broken ls.  This can happen
2975	# if, for instance, CONFIG_SHELL is bash and it inherits a
2976	# broken ls alias from the environment.  This has actually
2977	# happened.  Such a system could not be considered "sane".
2978	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2979  alias in your environment" "$LINENO" 5
2980     fi
2981     if test "$2" = conftest.file || test $am_try -eq 2; then
2982       break
2983     fi
2984     # Just in case.
2985     sleep 1
2986     am_has_slept=yes
2987   done
2988   test "$2" = conftest.file
2989   )
2990then
2991   # Ok.
2992   :
2993else
2994   as_fn_error $? "newly created file is older than distributed files!
2995Check your system clock" "$LINENO" 5
2996fi
2997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998$as_echo "yes" >&6; }
2999# If we didn't sleep, we still need to ensure time stamps of config.status and
3000# generated files are strictly newer.
3001am_sleep_pid=
3002if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3003  ( sleep 1 ) &
3004  am_sleep_pid=$!
3005fi
3006
3007rm -f conftest.file
3008
3009test "$program_prefix" != NONE &&
3010  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3011# Use a double $ so make ignores it.
3012test "$program_suffix" != NONE &&
3013  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3014# Double any \ or $.
3015# By default was `s,x,x', remove it if useless.
3016ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3017program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3018
3019# Expand $ac_aux_dir to an absolute path.
3020am_aux_dir=`cd "$ac_aux_dir" && pwd`
3021
3022if test x"${MISSING+set}" != xset; then
3023  MISSING="\${SHELL} '$am_aux_dir/missing'"
3024fi
3025# Use eval to expand $SHELL
3026if eval "$MISSING --is-lightweight"; then
3027  am_missing_run="$MISSING "
3028else
3029  am_missing_run=
3030  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3031$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3032fi
3033
3034if test x"${install_sh+set}" != xset; then
3035  case $am_aux_dir in
3036  *\ * | *\	*)
3037    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3038  *)
3039    install_sh="\${SHELL} $am_aux_dir/install-sh"
3040  esac
3041fi
3042
3043# Installed binaries are usually stripped using 'strip' when the user
3044# run "make install-strip".  However 'strip' might not be the right
3045# tool to use in cross-compilation environments, therefore Automake
3046# will honor the 'STRIP' environment variable to overrule this program.
3047if test "$cross_compiling" != no; then
3048  if test -n "$ac_tool_prefix"; then
3049  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3050set dummy ${ac_tool_prefix}strip; ac_word=$2
3051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052$as_echo_n "checking for $ac_word... " >&6; }
3053if ${ac_cv_prog_STRIP+:} false; then :
3054  $as_echo_n "(cached) " >&6
3055else
3056  if test -n "$STRIP"; then
3057  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3058else
3059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060for as_dir in $PATH
3061do
3062  IFS=$as_save_IFS
3063  test -z "$as_dir" && as_dir=.
3064    for ac_exec_ext in '' $ac_executable_extensions; do
3065  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3066    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3067    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068    break 2
3069  fi
3070done
3071  done
3072IFS=$as_save_IFS
3073
3074fi
3075fi
3076STRIP=$ac_cv_prog_STRIP
3077if test -n "$STRIP"; then
3078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3079$as_echo "$STRIP" >&6; }
3080else
3081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082$as_echo "no" >&6; }
3083fi
3084
3085
3086fi
3087if test -z "$ac_cv_prog_STRIP"; then
3088  ac_ct_STRIP=$STRIP
3089  # Extract the first word of "strip", so it can be a program name with args.
3090set dummy strip; ac_word=$2
3091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092$as_echo_n "checking for $ac_word... " >&6; }
3093if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3094  $as_echo_n "(cached) " >&6
3095else
3096  if test -n "$ac_ct_STRIP"; then
3097  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3098else
3099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100for as_dir in $PATH
3101do
3102  IFS=$as_save_IFS
3103  test -z "$as_dir" && as_dir=.
3104    for ac_exec_ext in '' $ac_executable_extensions; do
3105  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106    ac_cv_prog_ac_ct_STRIP="strip"
3107    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108    break 2
3109  fi
3110done
3111  done
3112IFS=$as_save_IFS
3113
3114fi
3115fi
3116ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3117if test -n "$ac_ct_STRIP"; then
3118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3119$as_echo "$ac_ct_STRIP" >&6; }
3120else
3121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122$as_echo "no" >&6; }
3123fi
3124
3125  if test "x$ac_ct_STRIP" = x; then
3126    STRIP=":"
3127  else
3128    case $cross_compiling:$ac_tool_warned in
3129yes:)
3130{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3131$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3132ac_tool_warned=yes ;;
3133esac
3134    STRIP=$ac_ct_STRIP
3135  fi
3136else
3137  STRIP="$ac_cv_prog_STRIP"
3138fi
3139
3140fi
3141INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3142
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3144$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3145if test -z "$MKDIR_P"; then
3146  if ${ac_cv_path_mkdir+:} false; then :
3147  $as_echo_n "(cached) " >&6
3148else
3149  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3151do
3152  IFS=$as_save_IFS
3153  test -z "$as_dir" && as_dir=.
3154    for ac_prog in mkdir gmkdir; do
3155	 for ac_exec_ext in '' $ac_executable_extensions; do
3156	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3157	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3158	     'mkdir (GNU coreutils) '* | \
3159	     'mkdir (coreutils) '* | \
3160	     'mkdir (fileutils) '4.1*)
3161	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3162	       break 3;;
3163	   esac
3164	 done
3165       done
3166  done
3167IFS=$as_save_IFS
3168
3169fi
3170
3171  test -d ./--version && rmdir ./--version
3172  if test "${ac_cv_path_mkdir+set}" = set; then
3173    MKDIR_P="$ac_cv_path_mkdir -p"
3174  else
3175    # As a last resort, use the slow shell script.  Don't cache a
3176    # value for MKDIR_P within a source directory, because that will
3177    # break other packages using the cache if that directory is
3178    # removed, or if the value is a relative name.
3179    MKDIR_P="$ac_install_sh -d"
3180  fi
3181fi
3182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3183$as_echo "$MKDIR_P" >&6; }
3184
3185for ac_prog in gawk mawk nawk awk
3186do
3187  # Extract the first word of "$ac_prog", so it can be a program name with args.
3188set dummy $ac_prog; ac_word=$2
3189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190$as_echo_n "checking for $ac_word... " >&6; }
3191if ${ac_cv_prog_AWK+:} false; then :
3192  $as_echo_n "(cached) " >&6
3193else
3194  if test -n "$AWK"; then
3195  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3196else
3197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198for as_dir in $PATH
3199do
3200  IFS=$as_save_IFS
3201  test -z "$as_dir" && as_dir=.
3202    for ac_exec_ext in '' $ac_executable_extensions; do
3203  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204    ac_cv_prog_AWK="$ac_prog"
3205    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206    break 2
3207  fi
3208done
3209  done
3210IFS=$as_save_IFS
3211
3212fi
3213fi
3214AWK=$ac_cv_prog_AWK
3215if test -n "$AWK"; then
3216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3217$as_echo "$AWK" >&6; }
3218else
3219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220$as_echo "no" >&6; }
3221fi
3222
3223
3224  test -n "$AWK" && break
3225done
3226
3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3228$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3229set x ${MAKE-make}
3230ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3231if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3232  $as_echo_n "(cached) " >&6
3233else
3234  cat >conftest.make <<\_ACEOF
3235SHELL = /bin/sh
3236all:
3237	@echo '@@@%%%=$(MAKE)=@@@%%%'
3238_ACEOF
3239# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3240case `${MAKE-make} -f conftest.make 2>/dev/null` in
3241  *@@@%%%=?*=@@@%%%*)
3242    eval ac_cv_prog_make_${ac_make}_set=yes;;
3243  *)
3244    eval ac_cv_prog_make_${ac_make}_set=no;;
3245esac
3246rm -f conftest.make
3247fi
3248if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3250$as_echo "yes" >&6; }
3251  SET_MAKE=
3252else
3253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254$as_echo "no" >&6; }
3255  SET_MAKE="MAKE=${MAKE-make}"
3256fi
3257
3258rm -rf .tst 2>/dev/null
3259mkdir .tst 2>/dev/null
3260if test -d .tst; then
3261  am__leading_dot=.
3262else
3263  am__leading_dot=_
3264fi
3265rmdir .tst 2>/dev/null
3266
3267# Check whether --enable-silent-rules was given.
3268if test "${enable_silent_rules+set}" = set; then :
3269  enableval=$enable_silent_rules;
3270fi
3271
3272case $enable_silent_rules in # (((
3273  yes) AM_DEFAULT_VERBOSITY=0;;
3274   no) AM_DEFAULT_VERBOSITY=1;;
3275    *) AM_DEFAULT_VERBOSITY=1;;
3276esac
3277am_make=${MAKE-make}
3278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3279$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3280if ${am_cv_make_support_nested_variables+:} false; then :
3281  $as_echo_n "(cached) " >&6
3282else
3283  if $as_echo 'TRUE=$(BAR$(V))
3284BAR0=false
3285BAR1=true
3286V=1
3287am__doit:
3288	@$(TRUE)
3289.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3290  am_cv_make_support_nested_variables=yes
3291else
3292  am_cv_make_support_nested_variables=no
3293fi
3294fi
3295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3296$as_echo "$am_cv_make_support_nested_variables" >&6; }
3297if test $am_cv_make_support_nested_variables = yes; then
3298    AM_V='$(V)'
3299  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3300else
3301  AM_V=$AM_DEFAULT_VERBOSITY
3302  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3303fi
3304AM_BACKSLASH='\'
3305
3306if test "`cd $srcdir && pwd`" != "`pwd`"; then
3307  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3308  # is not polluted with repeated "-I."
3309  am__isrc=' -I$(srcdir)'
3310  # test to see if srcdir already configured
3311  if test -f $srcdir/config.status; then
3312    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3313  fi
3314fi
3315
3316# test whether we have cygpath
3317if test -z "$CYGPATH_W"; then
3318  if (cygpath --version) >/dev/null 2>/dev/null; then
3319    CYGPATH_W='cygpath -w'
3320  else
3321    CYGPATH_W=echo
3322  fi
3323fi
3324
3325
3326# Define the identity of the package.
3327 PACKAGE='geany-plugins'
3328 VERSION='1.38'
3329
3330
3331cat >>confdefs.h <<_ACEOF
3332#define PACKAGE "$PACKAGE"
3333_ACEOF
3334
3335
3336cat >>confdefs.h <<_ACEOF
3337#define VERSION "$VERSION"
3338_ACEOF
3339
3340# Some tools Automake needs.
3341
3342ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3343
3344
3345AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3346
3347
3348AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3349
3350
3351AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3352
3353
3354MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3355
3356# For better backward compatibility.  To be removed once Automake 1.9.x
3357# dies out for good.  For more background, see:
3358# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3359# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3360mkdir_p='$(MKDIR_P)'
3361
3362# We need awk for the "check" target (and possibly the TAP driver).  The
3363# system "awk" is bad on some platforms.
3364# Always define AMTAR for backward compatibility.  Yes, it's still used
3365# in the wild :-(  We should find a proper way to deprecate it ...
3366AMTAR='$${TAR-tar}'
3367
3368
3369# We'll loop over all known methods to create a tar archive until one works.
3370_am_tools='gnutar plaintar pax cpio none'
3371
3372# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3373      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3374      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3375      # and bug#13588).
3376      am_max_uid=2097151 # 2^21 - 1
3377      am_max_gid=$am_max_uid
3378      # The $UID and $GID variables are not portable, so we need to resort
3379      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3380      # below are definitely unexpected, so allow the users to see them
3381      # (that is, avoid stderr redirection).
3382      am_uid=`id -u || echo unknown`
3383      am_gid=`id -g || echo unknown`
3384      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3385$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3386      if test $am_uid -le $am_max_uid; then
3387         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3388$as_echo "yes" >&6; }
3389      else
3390         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391$as_echo "no" >&6; }
3392         _am_tools=none
3393      fi
3394      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3395$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3396      if test $am_gid -le $am_max_gid; then
3397         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3398$as_echo "yes" >&6; }
3399      else
3400        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401$as_echo "no" >&6; }
3402        _am_tools=none
3403      fi
3404
3405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3406$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3407
3408  # Go ahead even if we have the value already cached.  We do so because we
3409  # need to set the values for the 'am__tar' and 'am__untar' variables.
3410  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3411
3412  for _am_tool in $_am_tools; do
3413    case $_am_tool in
3414    gnutar)
3415      for _am_tar in tar gnutar gtar; do
3416        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3417   ($_am_tar --version) >&5 2>&5
3418   ac_status=$?
3419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420   (exit $ac_status); } && break
3421      done
3422      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3423      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3424      am__untar="$_am_tar -xf -"
3425      ;;
3426    plaintar)
3427      # Must skip GNU tar: if it does not support --format= it doesn't create
3428      # ustar tarball either.
3429      (tar --version) >/dev/null 2>&1 && continue
3430      am__tar='tar chf - "$$tardir"'
3431      am__tar_='tar chf - "$tardir"'
3432      am__untar='tar xf -'
3433      ;;
3434    pax)
3435      am__tar='pax -L -x ustar -w "$$tardir"'
3436      am__tar_='pax -L -x ustar -w "$tardir"'
3437      am__untar='pax -r'
3438      ;;
3439    cpio)
3440      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3441      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3442      am__untar='cpio -i -H ustar -d'
3443      ;;
3444    none)
3445      am__tar=false
3446      am__tar_=false
3447      am__untar=false
3448      ;;
3449    esac
3450
3451    # If the value was cached, stop now.  We just wanted to have am__tar
3452    # and am__untar set.
3453    test -n "${am_cv_prog_tar_ustar}" && break
3454
3455    # tar/untar a dummy directory, and stop if the command works.
3456    rm -rf conftest.dir
3457    mkdir conftest.dir
3458    echo GrepMe > conftest.dir/file
3459    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3460   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3461   ac_status=$?
3462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463   (exit $ac_status); }
3464    rm -rf conftest.dir
3465    if test -s conftest.tar; then
3466      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3467   ($am__untar <conftest.tar) >&5 2>&5
3468   ac_status=$?
3469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470   (exit $ac_status); }
3471      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3472   (cat conftest.dir/file) >&5 2>&5
3473   ac_status=$?
3474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475   (exit $ac_status); }
3476      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3477    fi
3478  done
3479  rm -rf conftest.dir
3480
3481  if ${am_cv_prog_tar_ustar+:} false; then :
3482  $as_echo_n "(cached) " >&6
3483else
3484  am_cv_prog_tar_ustar=$_am_tool
3485fi
3486
3487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3488$as_echo "$am_cv_prog_tar_ustar" >&6; }
3489
3490
3491
3492
3493
3494
3495# POSIX will say in a future version that running "rm -f" with no argument
3496# is OK; and we want to be able to make that assumption in our Makefile
3497# recipes.  So use an aggressive probe to check that the usage we want is
3498# actually supported "in the wild" to an acceptable degree.
3499# See automake bug#10828.
3500# To make any issue more visible, cause the running configure to be aborted
3501# by default if the 'rm' program in use doesn't match our expectations; the
3502# user can still override this though.
3503if rm -f && rm -fr && rm -rf; then : OK; else
3504  cat >&2 <<'END'
3505Oops!
3506
3507Your 'rm' program seems unable to run without file operands specified
3508on the command line, even when the '-f' option is present.  This is contrary
3509to the behaviour of most rm programs out there, and not conforming with
3510the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3511
3512Please tell bug-automake@gnu.org about your system, including the value
3513of your $PATH and any error possibly output before this message.  This
3514can help us improve future automake versions.
3515
3516END
3517  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3518    echo 'Configuration will proceed anyway, since you have set the' >&2
3519    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3520    echo >&2
3521  else
3522    cat >&2 <<'END'
3523Aborting the configuration process, to ensure you take notice of the issue.
3524
3525You can download and install GNU coreutils to get an 'rm' implementation
3526that behaves properly: <https://www.gnu.org/software/coreutils/>.
3527
3528If you want to complete the configuration process using your problematic
3529'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3530to "yes", and re-run configure.
3531
3532END
3533    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3534  fi
3535fi
3536
3537
3538# Check whether --enable-silent-rules was given.
3539if test "${enable_silent_rules+set}" = set; then :
3540  enableval=$enable_silent_rules;
3541fi
3542
3543case $enable_silent_rules in # (((
3544  yes) AM_DEFAULT_VERBOSITY=0;;
3545   no) AM_DEFAULT_VERBOSITY=1;;
3546    *) AM_DEFAULT_VERBOSITY=0;;
3547esac
3548am_make=${MAKE-make}
3549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3550$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3551if ${am_cv_make_support_nested_variables+:} false; then :
3552  $as_echo_n "(cached) " >&6
3553else
3554  if $as_echo 'TRUE=$(BAR$(V))
3555BAR0=false
3556BAR1=true
3557V=1
3558am__doit:
3559	@$(TRUE)
3560.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3561  am_cv_make_support_nested_variables=yes
3562else
3563  am_cv_make_support_nested_variables=no
3564fi
3565fi
3566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3567$as_echo "$am_cv_make_support_nested_variables" >&6; }
3568if test $am_cv_make_support_nested_variables = yes; then
3569    AM_V='$(V)'
3570  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3571else
3572  AM_V=$AM_DEFAULT_VERBOSITY
3573  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3574fi
3575AM_BACKSLASH='\'
3576
3577
3578
3579ac_config_headers="$ac_config_headers config.h"
3580
3581
3582
3583DEPDIR="${am__leading_dot}deps"
3584
3585ac_config_commands="$ac_config_commands depfiles"
3586
3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3588$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3589cat > confinc.mk << 'END'
3590am__doit:
3591	@echo this is the am__doit target >confinc.out
3592.PHONY: am__doit
3593END
3594am__include="#"
3595am__quote=
3596# BSD make does it like this.
3597echo '.include "confinc.mk" # ignored' > confmf.BSD
3598# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3599echo 'include confinc.mk # ignored' > confmf.GNU
3600_am_result=no
3601for s in GNU BSD; do
3602  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3603   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3604   ac_status=$?
3605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606   (exit $ac_status); }
3607  case $?:`cat confinc.out 2>/dev/null` in #(
3608  '0:this is the am__doit target') :
3609    case $s in #(
3610  BSD) :
3611    am__include='.include' am__quote='"' ;; #(
3612  *) :
3613    am__include='include' am__quote='' ;;
3614esac ;; #(
3615  *) :
3616     ;;
3617esac
3618  if test "$am__include" != "#"; then
3619    _am_result="yes ($s style)"
3620    break
3621  fi
3622done
3623rm -f confinc.* confmf.*
3624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3625$as_echo "${_am_result}" >&6; }
3626
3627# Check whether --enable-dependency-tracking was given.
3628if test "${enable_dependency_tracking+set}" = set; then :
3629  enableval=$enable_dependency_tracking;
3630fi
3631
3632if test "x$enable_dependency_tracking" != xno; then
3633  am_depcomp="$ac_aux_dir/depcomp"
3634  AMDEPBACKSLASH='\'
3635  am__nodep='_no'
3636fi
3637 if test "x$enable_dependency_tracking" != xno; then
3638  AMDEP_TRUE=
3639  AMDEP_FALSE='#'
3640else
3641  AMDEP_TRUE='#'
3642  AMDEP_FALSE=
3643fi
3644
3645
3646ac_ext=c
3647ac_cpp='$CPP $CPPFLAGS'
3648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650ac_compiler_gnu=$ac_cv_c_compiler_gnu
3651if test -n "$ac_tool_prefix"; then
3652  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3653set dummy ${ac_tool_prefix}gcc; ac_word=$2
3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655$as_echo_n "checking for $ac_word... " >&6; }
3656if ${ac_cv_prog_CC+:} false; then :
3657  $as_echo_n "(cached) " >&6
3658else
3659  if test -n "$CC"; then
3660  ac_cv_prog_CC="$CC" # Let the user override the test.
3661else
3662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663for as_dir in $PATH
3664do
3665  IFS=$as_save_IFS
3666  test -z "$as_dir" && as_dir=.
3667    for ac_exec_ext in '' $ac_executable_extensions; do
3668  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3669    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3670    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671    break 2
3672  fi
3673done
3674  done
3675IFS=$as_save_IFS
3676
3677fi
3678fi
3679CC=$ac_cv_prog_CC
3680if test -n "$CC"; then
3681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682$as_echo "$CC" >&6; }
3683else
3684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685$as_echo "no" >&6; }
3686fi
3687
3688
3689fi
3690if test -z "$ac_cv_prog_CC"; then
3691  ac_ct_CC=$CC
3692  # Extract the first word of "gcc", so it can be a program name with args.
3693set dummy gcc; ac_word=$2
3694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695$as_echo_n "checking for $ac_word... " >&6; }
3696if ${ac_cv_prog_ac_ct_CC+:} false; then :
3697  $as_echo_n "(cached) " >&6
3698else
3699  if test -n "$ac_ct_CC"; then
3700  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3701else
3702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703for as_dir in $PATH
3704do
3705  IFS=$as_save_IFS
3706  test -z "$as_dir" && as_dir=.
3707    for ac_exec_ext in '' $ac_executable_extensions; do
3708  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3709    ac_cv_prog_ac_ct_CC="gcc"
3710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3711    break 2
3712  fi
3713done
3714  done
3715IFS=$as_save_IFS
3716
3717fi
3718fi
3719ac_ct_CC=$ac_cv_prog_ac_ct_CC
3720if test -n "$ac_ct_CC"; then
3721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3722$as_echo "$ac_ct_CC" >&6; }
3723else
3724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725$as_echo "no" >&6; }
3726fi
3727
3728  if test "x$ac_ct_CC" = x; then
3729    CC=""
3730  else
3731    case $cross_compiling:$ac_tool_warned in
3732yes:)
3733{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3734$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3735ac_tool_warned=yes ;;
3736esac
3737    CC=$ac_ct_CC
3738  fi
3739else
3740  CC="$ac_cv_prog_CC"
3741fi
3742
3743if test -z "$CC"; then
3744          if test -n "$ac_tool_prefix"; then
3745    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3746set dummy ${ac_tool_prefix}cc; ac_word=$2
3747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748$as_echo_n "checking for $ac_word... " >&6; }
3749if ${ac_cv_prog_CC+:} false; then :
3750  $as_echo_n "(cached) " >&6
3751else
3752  if test -n "$CC"; then
3753  ac_cv_prog_CC="$CC" # Let the user override the test.
3754else
3755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756for as_dir in $PATH
3757do
3758  IFS=$as_save_IFS
3759  test -z "$as_dir" && as_dir=.
3760    for ac_exec_ext in '' $ac_executable_extensions; do
3761  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3762    ac_cv_prog_CC="${ac_tool_prefix}cc"
3763    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764    break 2
3765  fi
3766done
3767  done
3768IFS=$as_save_IFS
3769
3770fi
3771fi
3772CC=$ac_cv_prog_CC
3773if test -n "$CC"; then
3774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775$as_echo "$CC" >&6; }
3776else
3777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778$as_echo "no" >&6; }
3779fi
3780
3781
3782  fi
3783fi
3784if test -z "$CC"; then
3785  # Extract the first word of "cc", so it can be a program name with args.
3786set dummy cc; ac_word=$2
3787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788$as_echo_n "checking for $ac_word... " >&6; }
3789if ${ac_cv_prog_CC+:} false; then :
3790  $as_echo_n "(cached) " >&6
3791else
3792  if test -n "$CC"; then
3793  ac_cv_prog_CC="$CC" # Let the user override the test.
3794else
3795  ac_prog_rejected=no
3796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797for as_dir in $PATH
3798do
3799  IFS=$as_save_IFS
3800  test -z "$as_dir" && as_dir=.
3801    for ac_exec_ext in '' $ac_executable_extensions; do
3802  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3803    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3804       ac_prog_rejected=yes
3805       continue
3806     fi
3807    ac_cv_prog_CC="cc"
3808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3809    break 2
3810  fi
3811done
3812  done
3813IFS=$as_save_IFS
3814
3815if test $ac_prog_rejected = yes; then
3816  # We found a bogon in the path, so make sure we never use it.
3817  set dummy $ac_cv_prog_CC
3818  shift
3819  if test $# != 0; then
3820    # We chose a different compiler from the bogus one.
3821    # However, it has the same basename, so the bogon will be chosen
3822    # first if we set CC to just the basename; use the full file name.
3823    shift
3824    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3825  fi
3826fi
3827fi
3828fi
3829CC=$ac_cv_prog_CC
3830if test -n "$CC"; then
3831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3832$as_echo "$CC" >&6; }
3833else
3834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835$as_echo "no" >&6; }
3836fi
3837
3838
3839fi
3840if test -z "$CC"; then
3841  if test -n "$ac_tool_prefix"; then
3842  for ac_prog in cl.exe
3843  do
3844    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3845set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847$as_echo_n "checking for $ac_word... " >&6; }
3848if ${ac_cv_prog_CC+:} false; then :
3849  $as_echo_n "(cached) " >&6
3850else
3851  if test -n "$CC"; then
3852  ac_cv_prog_CC="$CC" # Let the user override the test.
3853else
3854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855for as_dir in $PATH
3856do
3857  IFS=$as_save_IFS
3858  test -z "$as_dir" && as_dir=.
3859    for ac_exec_ext in '' $ac_executable_extensions; do
3860  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863    break 2
3864  fi
3865done
3866  done
3867IFS=$as_save_IFS
3868
3869fi
3870fi
3871CC=$ac_cv_prog_CC
3872if test -n "$CC"; then
3873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3874$as_echo "$CC" >&6; }
3875else
3876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877$as_echo "no" >&6; }
3878fi
3879
3880
3881    test -n "$CC" && break
3882  done
3883fi
3884if test -z "$CC"; then
3885  ac_ct_CC=$CC
3886  for ac_prog in cl.exe
3887do
3888  # Extract the first word of "$ac_prog", so it can be a program name with args.
3889set dummy $ac_prog; ac_word=$2
3890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891$as_echo_n "checking for $ac_word... " >&6; }
3892if ${ac_cv_prog_ac_ct_CC+:} false; then :
3893  $as_echo_n "(cached) " >&6
3894else
3895  if test -n "$ac_ct_CC"; then
3896  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3897else
3898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899for as_dir in $PATH
3900do
3901  IFS=$as_save_IFS
3902  test -z "$as_dir" && as_dir=.
3903    for ac_exec_ext in '' $ac_executable_extensions; do
3904  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905    ac_cv_prog_ac_ct_CC="$ac_prog"
3906    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907    break 2
3908  fi
3909done
3910  done
3911IFS=$as_save_IFS
3912
3913fi
3914fi
3915ac_ct_CC=$ac_cv_prog_ac_ct_CC
3916if test -n "$ac_ct_CC"; then
3917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3918$as_echo "$ac_ct_CC" >&6; }
3919else
3920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921$as_echo "no" >&6; }
3922fi
3923
3924
3925  test -n "$ac_ct_CC" && break
3926done
3927
3928  if test "x$ac_ct_CC" = x; then
3929    CC=""
3930  else
3931    case $cross_compiling:$ac_tool_warned in
3932yes:)
3933{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3934$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3935ac_tool_warned=yes ;;
3936esac
3937    CC=$ac_ct_CC
3938  fi
3939fi
3940
3941fi
3942
3943
3944test -z "$CC" && { { $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 $? "no acceptable C compiler found in \$PATH
3947See \`config.log' for more details" "$LINENO" 5; }
3948
3949# Provide some information about the compiler.
3950$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3951set X $ac_compile
3952ac_compiler=$2
3953for ac_option in --version -v -V -qversion; do
3954  { { ac_try="$ac_compiler $ac_option >&5"
3955case "(($ac_try" in
3956  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3957  *) ac_try_echo=$ac_try;;
3958esac
3959eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3960$as_echo "$ac_try_echo"; } >&5
3961  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3962  ac_status=$?
3963  if test -s conftest.err; then
3964    sed '10a\
3965... rest of stderr output deleted ...
3966         10q' conftest.err >conftest.er1
3967    cat conftest.er1 >&5
3968  fi
3969  rm -f conftest.er1 conftest.err
3970  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3971  test $ac_status = 0; }
3972done
3973
3974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975/* end confdefs.h.  */
3976
3977int
3978main ()
3979{
3980
3981  ;
3982  return 0;
3983}
3984_ACEOF
3985ac_clean_files_save=$ac_clean_files
3986ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3987# Try to create an executable without -o first, disregard a.out.
3988# It will help us diagnose broken compilers, and finding out an intuition
3989# of exeext.
3990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3991$as_echo_n "checking whether the C compiler works... " >&6; }
3992ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3993
3994# The possible output files:
3995ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3996
3997ac_rmfiles=
3998for ac_file in $ac_files
3999do
4000  case $ac_file in
4001    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4002    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4003  esac
4004done
4005rm -f $ac_rmfiles
4006
4007if { { ac_try="$ac_link_default"
4008case "(($ac_try" in
4009  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010  *) ac_try_echo=$ac_try;;
4011esac
4012eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013$as_echo "$ac_try_echo"; } >&5
4014  (eval "$ac_link_default") 2>&5
4015  ac_status=$?
4016  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017  test $ac_status = 0; }; then :
4018  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4019# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4020# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4021# so that the user can short-circuit this test for compilers unknown to
4022# Autoconf.
4023for ac_file in $ac_files ''
4024do
4025  test -f "$ac_file" || continue
4026  case $ac_file in
4027    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4028	;;
4029    [ab].out )
4030	# We found the default executable, but exeext='' is most
4031	# certainly right.
4032	break;;
4033    *.* )
4034	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4035	then :; else
4036	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4037	fi
4038	# We set ac_cv_exeext here because the later test for it is not
4039	# safe: cross compilers may not add the suffix if given an `-o'
4040	# argument, so we may need to know it at that point already.
4041	# Even if this section looks crufty: it has the advantage of
4042	# actually working.
4043	break;;
4044    * )
4045	break;;
4046  esac
4047done
4048test "$ac_cv_exeext" = no && ac_cv_exeext=
4049
4050else
4051  ac_file=''
4052fi
4053if test -z "$ac_file"; then :
4054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055$as_echo "no" >&6; }
4056$as_echo "$as_me: failed program was:" >&5
4057sed 's/^/| /' conftest.$ac_ext >&5
4058
4059{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4060$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4061as_fn_error 77 "C compiler cannot create executables
4062See \`config.log' for more details" "$LINENO" 5; }
4063else
4064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4065$as_echo "yes" >&6; }
4066fi
4067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4068$as_echo_n "checking for C compiler default output file name... " >&6; }
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4070$as_echo "$ac_file" >&6; }
4071ac_exeext=$ac_cv_exeext
4072
4073rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4074ac_clean_files=$ac_clean_files_save
4075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4076$as_echo_n "checking for suffix of executables... " >&6; }
4077if { { ac_try="$ac_link"
4078case "(($ac_try" in
4079  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080  *) ac_try_echo=$ac_try;;
4081esac
4082eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4083$as_echo "$ac_try_echo"; } >&5
4084  (eval "$ac_link") 2>&5
4085  ac_status=$?
4086  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4087  test $ac_status = 0; }; then :
4088  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4089# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4090# work properly (i.e., refer to `conftest.exe'), while it won't with
4091# `rm'.
4092for ac_file in conftest.exe conftest conftest.*; do
4093  test -f "$ac_file" || continue
4094  case $ac_file in
4095    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4096    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4097	  break;;
4098    * ) break;;
4099  esac
4100done
4101else
4102  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4105See \`config.log' for more details" "$LINENO" 5; }
4106fi
4107rm -f conftest conftest$ac_cv_exeext
4108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4109$as_echo "$ac_cv_exeext" >&6; }
4110
4111rm -f conftest.$ac_ext
4112EXEEXT=$ac_cv_exeext
4113ac_exeext=$EXEEXT
4114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115/* end confdefs.h.  */
4116#include <stdio.h>
4117int
4118main ()
4119{
4120FILE *f = fopen ("conftest.out", "w");
4121 return ferror (f) || fclose (f) != 0;
4122
4123  ;
4124  return 0;
4125}
4126_ACEOF
4127ac_clean_files="$ac_clean_files conftest.out"
4128# Check that the compiler produces executables we can run.  If not, either
4129# the compiler is broken, or we cross compile.
4130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4131$as_echo_n "checking whether we are cross compiling... " >&6; }
4132if test "$cross_compiling" != yes; then
4133  { { ac_try="$ac_link"
4134case "(($ac_try" in
4135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136  *) ac_try_echo=$ac_try;;
4137esac
4138eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139$as_echo "$ac_try_echo"; } >&5
4140  (eval "$ac_link") 2>&5
4141  ac_status=$?
4142  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143  test $ac_status = 0; }
4144  if { ac_try='./conftest$ac_cv_exeext'
4145  { { case "(($ac_try" in
4146  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147  *) ac_try_echo=$ac_try;;
4148esac
4149eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4150$as_echo "$ac_try_echo"; } >&5
4151  (eval "$ac_try") 2>&5
4152  ac_status=$?
4153  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4154  test $ac_status = 0; }; }; then
4155    cross_compiling=no
4156  else
4157    if test "$cross_compiling" = maybe; then
4158	cross_compiling=yes
4159    else
4160	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162as_fn_error $? "cannot run C compiled programs.
4163If you meant to cross compile, use \`--host'.
4164See \`config.log' for more details" "$LINENO" 5; }
4165    fi
4166  fi
4167fi
4168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4169$as_echo "$cross_compiling" >&6; }
4170
4171rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4172ac_clean_files=$ac_clean_files_save
4173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4174$as_echo_n "checking for suffix of object files... " >&6; }
4175if ${ac_cv_objext+:} false; then :
4176  $as_echo_n "(cached) " >&6
4177else
4178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179/* end confdefs.h.  */
4180
4181int
4182main ()
4183{
4184
4185  ;
4186  return 0;
4187}
4188_ACEOF
4189rm -f conftest.o conftest.obj
4190if { { ac_try="$ac_compile"
4191case "(($ac_try" in
4192  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193  *) ac_try_echo=$ac_try;;
4194esac
4195eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196$as_echo "$ac_try_echo"; } >&5
4197  (eval "$ac_compile") 2>&5
4198  ac_status=$?
4199  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200  test $ac_status = 0; }; then :
4201  for ac_file in conftest.o conftest.obj conftest.*; do
4202  test -f "$ac_file" || continue;
4203  case $ac_file in
4204    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4205    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4206       break;;
4207  esac
4208done
4209else
4210  $as_echo "$as_me: failed program was:" >&5
4211sed 's/^/| /' conftest.$ac_ext >&5
4212
4213{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4214$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4215as_fn_error $? "cannot compute suffix of object files: cannot compile
4216See \`config.log' for more details" "$LINENO" 5; }
4217fi
4218rm -f conftest.$ac_cv_objext conftest.$ac_ext
4219fi
4220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4221$as_echo "$ac_cv_objext" >&6; }
4222OBJEXT=$ac_cv_objext
4223ac_objext=$OBJEXT
4224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4225$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4226if ${ac_cv_c_compiler_gnu+:} false; then :
4227  $as_echo_n "(cached) " >&6
4228else
4229  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230/* end confdefs.h.  */
4231
4232int
4233main ()
4234{
4235#ifndef __GNUC__
4236       choke me
4237#endif
4238
4239  ;
4240  return 0;
4241}
4242_ACEOF
4243if ac_fn_c_try_compile "$LINENO"; then :
4244  ac_compiler_gnu=yes
4245else
4246  ac_compiler_gnu=no
4247fi
4248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249ac_cv_c_compiler_gnu=$ac_compiler_gnu
4250
4251fi
4252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4253$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4254if test $ac_compiler_gnu = yes; then
4255  GCC=yes
4256else
4257  GCC=
4258fi
4259ac_test_CFLAGS=${CFLAGS+set}
4260ac_save_CFLAGS=$CFLAGS
4261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4262$as_echo_n "checking whether $CC accepts -g... " >&6; }
4263if ${ac_cv_prog_cc_g+:} false; then :
4264  $as_echo_n "(cached) " >&6
4265else
4266  ac_save_c_werror_flag=$ac_c_werror_flag
4267   ac_c_werror_flag=yes
4268   ac_cv_prog_cc_g=no
4269   CFLAGS="-g"
4270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271/* end confdefs.h.  */
4272
4273int
4274main ()
4275{
4276
4277  ;
4278  return 0;
4279}
4280_ACEOF
4281if ac_fn_c_try_compile "$LINENO"; then :
4282  ac_cv_prog_cc_g=yes
4283else
4284  CFLAGS=""
4285      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286/* end confdefs.h.  */
4287
4288int
4289main ()
4290{
4291
4292  ;
4293  return 0;
4294}
4295_ACEOF
4296if ac_fn_c_try_compile "$LINENO"; then :
4297
4298else
4299  ac_c_werror_flag=$ac_save_c_werror_flag
4300	 CFLAGS="-g"
4301	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302/* end confdefs.h.  */
4303
4304int
4305main ()
4306{
4307
4308  ;
4309  return 0;
4310}
4311_ACEOF
4312if ac_fn_c_try_compile "$LINENO"; then :
4313  ac_cv_prog_cc_g=yes
4314fi
4315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316fi
4317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318fi
4319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320   ac_c_werror_flag=$ac_save_c_werror_flag
4321fi
4322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4323$as_echo "$ac_cv_prog_cc_g" >&6; }
4324if test "$ac_test_CFLAGS" = set; then
4325  CFLAGS=$ac_save_CFLAGS
4326elif test $ac_cv_prog_cc_g = yes; then
4327  if test "$GCC" = yes; then
4328    CFLAGS="-g -O2"
4329  else
4330    CFLAGS="-g"
4331  fi
4332else
4333  if test "$GCC" = yes; then
4334    CFLAGS="-O2"
4335  else
4336    CFLAGS=
4337  fi
4338fi
4339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4340$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4341if ${ac_cv_prog_cc_c89+:} false; then :
4342  $as_echo_n "(cached) " >&6
4343else
4344  ac_cv_prog_cc_c89=no
4345ac_save_CC=$CC
4346cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347/* end confdefs.h.  */
4348#include <stdarg.h>
4349#include <stdio.h>
4350struct stat;
4351/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4352struct buf { int x; };
4353FILE * (*rcsopen) (struct buf *, struct stat *, int);
4354static char *e (p, i)
4355     char **p;
4356     int i;
4357{
4358  return p[i];
4359}
4360static char *f (char * (*g) (char **, int), char **p, ...)
4361{
4362  char *s;
4363  va_list v;
4364  va_start (v,p);
4365  s = g (p, va_arg (v,int));
4366  va_end (v);
4367  return s;
4368}
4369
4370/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4371   function prototypes and stuff, but not '\xHH' hex character constants.
4372   These don't provoke an error unfortunately, instead are silently treated
4373   as 'x'.  The following induces an error, until -std is added to get
4374   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4375   array size at least.  It's necessary to write '\x00'==0 to get something
4376   that's true only with -std.  */
4377int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4378
4379/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4380   inside strings and character constants.  */
4381#define FOO(x) 'x'
4382int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4383
4384int test (int i, double x);
4385struct s1 {int (*f) (int a);};
4386struct s2 {int (*f) (double a);};
4387int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4388int argc;
4389char **argv;
4390int
4391main ()
4392{
4393return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4394  ;
4395  return 0;
4396}
4397_ACEOF
4398for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4399	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4400do
4401  CC="$ac_save_CC $ac_arg"
4402  if ac_fn_c_try_compile "$LINENO"; then :
4403  ac_cv_prog_cc_c89=$ac_arg
4404fi
4405rm -f core conftest.err conftest.$ac_objext
4406  test "x$ac_cv_prog_cc_c89" != "xno" && break
4407done
4408rm -f conftest.$ac_ext
4409CC=$ac_save_CC
4410
4411fi
4412# AC_CACHE_VAL
4413case "x$ac_cv_prog_cc_c89" in
4414  x)
4415    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4416$as_echo "none needed" >&6; } ;;
4417  xno)
4418    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4419$as_echo "unsupported" >&6; } ;;
4420  *)
4421    CC="$CC $ac_cv_prog_cc_c89"
4422    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4423$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4424esac
4425if test "x$ac_cv_prog_cc_c89" != xno; then :
4426
4427fi
4428
4429ac_ext=c
4430ac_cpp='$CPP $CPPFLAGS'
4431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433ac_compiler_gnu=$ac_cv_c_compiler_gnu
4434
4435ac_ext=c
4436ac_cpp='$CPP $CPPFLAGS'
4437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439ac_compiler_gnu=$ac_cv_c_compiler_gnu
4440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4441$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4442if ${am_cv_prog_cc_c_o+:} false; then :
4443  $as_echo_n "(cached) " >&6
4444else
4445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446/* end confdefs.h.  */
4447
4448int
4449main ()
4450{
4451
4452  ;
4453  return 0;
4454}
4455_ACEOF
4456  # Make sure it works both with $CC and with simple cc.
4457  # Following AC_PROG_CC_C_O, we do the test twice because some
4458  # compilers refuse to overwrite an existing .o file with -o,
4459  # though they will create one.
4460  am_cv_prog_cc_c_o=yes
4461  for am_i in 1 2; do
4462    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4463   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4464   ac_status=$?
4465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466   (exit $ac_status); } \
4467         && test -f conftest2.$ac_objext; then
4468      : OK
4469    else
4470      am_cv_prog_cc_c_o=no
4471      break
4472    fi
4473  done
4474  rm -f core conftest*
4475  unset am_i
4476fi
4477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4478$as_echo "$am_cv_prog_cc_c_o" >&6; }
4479if test "$am_cv_prog_cc_c_o" != yes; then
4480   # Losing compiler, so override with the script.
4481   # FIXME: It is wrong to rewrite CC.
4482   # But if we don't then we get into trouble of one sort or another.
4483   # A longer-term fix would be to have automake use am__CC in this case,
4484   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4485   CC="$am_aux_dir/compile $CC"
4486fi
4487ac_ext=c
4488ac_cpp='$CPP $CPPFLAGS'
4489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491ac_compiler_gnu=$ac_cv_c_compiler_gnu
4492
4493
4494depcc="$CC"   am_compiler_list=
4495
4496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4497$as_echo_n "checking dependency style of $depcc... " >&6; }
4498if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4499  $as_echo_n "(cached) " >&6
4500else
4501  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4502  # We make a subdir and do the tests there.  Otherwise we can end up
4503  # making bogus files that we don't know about and never remove.  For
4504  # instance it was reported that on HP-UX the gcc test will end up
4505  # making a dummy file named 'D' -- because '-MD' means "put the output
4506  # in D".
4507  rm -rf conftest.dir
4508  mkdir conftest.dir
4509  # Copy depcomp to subdir because otherwise we won't find it if we're
4510  # using a relative directory.
4511  cp "$am_depcomp" conftest.dir
4512  cd conftest.dir
4513  # We will build objects and dependencies in a subdirectory because
4514  # it helps to detect inapplicable dependency modes.  For instance
4515  # both Tru64's cc and ICC support -MD to output dependencies as a
4516  # side effect of compilation, but ICC will put the dependencies in
4517  # the current directory while Tru64 will put them in the object
4518  # directory.
4519  mkdir sub
4520
4521  am_cv_CC_dependencies_compiler_type=none
4522  if test "$am_compiler_list" = ""; then
4523     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4524  fi
4525  am__universal=false
4526  case " $depcc " in #(
4527     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4528     esac
4529
4530  for depmode in $am_compiler_list; do
4531    # Setup a source with many dependencies, because some compilers
4532    # like to wrap large dependency lists on column 80 (with \), and
4533    # we should not choose a depcomp mode which is confused by this.
4534    #
4535    # We need to recreate these files for each test, as the compiler may
4536    # overwrite some of them when testing with obscure command lines.
4537    # This happens at least with the AIX C compiler.
4538    : > sub/conftest.c
4539    for i in 1 2 3 4 5 6; do
4540      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4541      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4542      # Solaris 10 /bin/sh.
4543      echo '/* dummy */' > sub/conftst$i.h
4544    done
4545    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4546
4547    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4548    # mode.  It turns out that the SunPro C++ compiler does not properly
4549    # handle '-M -o', and we need to detect this.  Also, some Intel
4550    # versions had trouble with output in subdirs.
4551    am__obj=sub/conftest.${OBJEXT-o}
4552    am__minus_obj="-o $am__obj"
4553    case $depmode in
4554    gcc)
4555      # This depmode causes a compiler race in universal mode.
4556      test "$am__universal" = false || continue
4557      ;;
4558    nosideeffect)
4559      # After this tag, mechanisms are not by side-effect, so they'll
4560      # only be used when explicitly requested.
4561      if test "x$enable_dependency_tracking" = xyes; then
4562	continue
4563      else
4564	break
4565      fi
4566      ;;
4567    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4568      # This compiler won't grok '-c -o', but also, the minuso test has
4569      # not run yet.  These depmodes are late enough in the game, and
4570      # so weak that their functioning should not be impacted.
4571      am__obj=conftest.${OBJEXT-o}
4572      am__minus_obj=
4573      ;;
4574    none) break ;;
4575    esac
4576    if depmode=$depmode \
4577       source=sub/conftest.c object=$am__obj \
4578       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4579       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4580         >/dev/null 2>conftest.err &&
4581       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4582       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4583       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4584       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4585      # icc doesn't choke on unknown options, it will just issue warnings
4586      # or remarks (even with -Werror).  So we grep stderr for any message
4587      # that says an option was ignored or not supported.
4588      # When given -MP, icc 7.0 and 7.1 complain thusly:
4589      #   icc: Command line warning: ignoring option '-M'; no argument required
4590      # The diagnosis changed in icc 8.0:
4591      #   icc: Command line remark: option '-MP' not supported
4592      if (grep 'ignoring option' conftest.err ||
4593          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4594        am_cv_CC_dependencies_compiler_type=$depmode
4595        break
4596      fi
4597    fi
4598  done
4599
4600  cd ..
4601  rm -rf conftest.dir
4602else
4603  am_cv_CC_dependencies_compiler_type=none
4604fi
4605
4606fi
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4608$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4609CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4610
4611 if
4612  test "x$enable_dependency_tracking" != xno \
4613  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4614  am__fastdepCC_TRUE=
4615  am__fastdepCC_FALSE='#'
4616else
4617  am__fastdepCC_TRUE='#'
4618  am__fastdepCC_FALSE=
4619fi
4620
4621
4622
4623ac_ext=c
4624ac_cpp='$CPP $CPPFLAGS'
4625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4629$as_echo_n "checking how to run the C preprocessor... " >&6; }
4630# On Suns, sometimes $CPP names a directory.
4631if test -n "$CPP" && test -d "$CPP"; then
4632  CPP=
4633fi
4634if test -z "$CPP"; then
4635  if ${ac_cv_prog_CPP+:} false; then :
4636  $as_echo_n "(cached) " >&6
4637else
4638      # Double quotes because CPP needs to be expanded
4639    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4640    do
4641      ac_preproc_ok=false
4642for ac_c_preproc_warn_flag in '' yes
4643do
4644  # Use a header file that comes with gcc, so configuring glibc
4645  # with a fresh cross-compiler works.
4646  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4647  # <limits.h> exists even on freestanding compilers.
4648  # On the NeXT, cc -E runs the code through the compiler's parser,
4649  # not just through cpp. "Syntax error" is here to catch this case.
4650  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651/* end confdefs.h.  */
4652#ifdef __STDC__
4653# include <limits.h>
4654#else
4655# include <assert.h>
4656#endif
4657		     Syntax error
4658_ACEOF
4659if ac_fn_c_try_cpp "$LINENO"; then :
4660
4661else
4662  # Broken: fails on valid input.
4663continue
4664fi
4665rm -f conftest.err conftest.i conftest.$ac_ext
4666
4667  # OK, works on sane cases.  Now check whether nonexistent headers
4668  # can be detected and how.
4669  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670/* end confdefs.h.  */
4671#include <ac_nonexistent.h>
4672_ACEOF
4673if ac_fn_c_try_cpp "$LINENO"; then :
4674  # Broken: success on invalid input.
4675continue
4676else
4677  # Passes both tests.
4678ac_preproc_ok=:
4679break
4680fi
4681rm -f conftest.err conftest.i conftest.$ac_ext
4682
4683done
4684# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4685rm -f conftest.i conftest.err conftest.$ac_ext
4686if $ac_preproc_ok; then :
4687  break
4688fi
4689
4690    done
4691    ac_cv_prog_CPP=$CPP
4692
4693fi
4694  CPP=$ac_cv_prog_CPP
4695else
4696  ac_cv_prog_CPP=$CPP
4697fi
4698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4699$as_echo "$CPP" >&6; }
4700ac_preproc_ok=false
4701for ac_c_preproc_warn_flag in '' yes
4702do
4703  # Use a header file that comes with gcc, so configuring glibc
4704  # with a fresh cross-compiler works.
4705  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706  # <limits.h> exists even on freestanding compilers.
4707  # On the NeXT, cc -E runs the code through the compiler's parser,
4708  # not just through cpp. "Syntax error" is here to catch this case.
4709  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710/* end confdefs.h.  */
4711#ifdef __STDC__
4712# include <limits.h>
4713#else
4714# include <assert.h>
4715#endif
4716		     Syntax error
4717_ACEOF
4718if ac_fn_c_try_cpp "$LINENO"; then :
4719
4720else
4721  # Broken: fails on valid input.
4722continue
4723fi
4724rm -f conftest.err conftest.i conftest.$ac_ext
4725
4726  # OK, works on sane cases.  Now check whether nonexistent headers
4727  # can be detected and how.
4728  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729/* end confdefs.h.  */
4730#include <ac_nonexistent.h>
4731_ACEOF
4732if ac_fn_c_try_cpp "$LINENO"; then :
4733  # Broken: success on invalid input.
4734continue
4735else
4736  # Passes both tests.
4737ac_preproc_ok=:
4738break
4739fi
4740rm -f conftest.err conftest.i conftest.$ac_ext
4741
4742done
4743# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4744rm -f conftest.i conftest.err conftest.$ac_ext
4745if $ac_preproc_ok; then :
4746
4747else
4748  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4749$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4750as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4751See \`config.log' for more details" "$LINENO" 5; }
4752fi
4753
4754ac_ext=c
4755ac_cpp='$CPP $CPPFLAGS'
4756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4758ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759
4760
4761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4762$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4763if ${ac_cv_path_GREP+:} false; then :
4764  $as_echo_n "(cached) " >&6
4765else
4766  if test -z "$GREP"; then
4767  ac_path_GREP_found=false
4768  # Loop through the user's path and test for each of PROGNAME-LIST
4769  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4771do
4772  IFS=$as_save_IFS
4773  test -z "$as_dir" && as_dir=.
4774    for ac_prog in grep ggrep; do
4775    for ac_exec_ext in '' $ac_executable_extensions; do
4776      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4777      as_fn_executable_p "$ac_path_GREP" || continue
4778# Check for GNU ac_path_GREP and select it if it is found.
4779  # Check for GNU $ac_path_GREP
4780case `"$ac_path_GREP" --version 2>&1` in
4781*GNU*)
4782  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4783*)
4784  ac_count=0
4785  $as_echo_n 0123456789 >"conftest.in"
4786  while :
4787  do
4788    cat "conftest.in" "conftest.in" >"conftest.tmp"
4789    mv "conftest.tmp" "conftest.in"
4790    cp "conftest.in" "conftest.nl"
4791    $as_echo 'GREP' >> "conftest.nl"
4792    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4793    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4794    as_fn_arith $ac_count + 1 && ac_count=$as_val
4795    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4796      # Best one so far, save it but keep looking for a better one
4797      ac_cv_path_GREP="$ac_path_GREP"
4798      ac_path_GREP_max=$ac_count
4799    fi
4800    # 10*(2^10) chars as input seems more than enough
4801    test $ac_count -gt 10 && break
4802  done
4803  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4804esac
4805
4806      $ac_path_GREP_found && break 3
4807    done
4808  done
4809  done
4810IFS=$as_save_IFS
4811  if test -z "$ac_cv_path_GREP"; then
4812    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4813  fi
4814else
4815  ac_cv_path_GREP=$GREP
4816fi
4817
4818fi
4819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4820$as_echo "$ac_cv_path_GREP" >&6; }
4821 GREP="$ac_cv_path_GREP"
4822
4823
4824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4825$as_echo_n "checking for egrep... " >&6; }
4826if ${ac_cv_path_EGREP+:} false; then :
4827  $as_echo_n "(cached) " >&6
4828else
4829  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4830   then ac_cv_path_EGREP="$GREP -E"
4831   else
4832     if test -z "$EGREP"; then
4833  ac_path_EGREP_found=false
4834  # Loop through the user's path and test for each of PROGNAME-LIST
4835  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4837do
4838  IFS=$as_save_IFS
4839  test -z "$as_dir" && as_dir=.
4840    for ac_prog in egrep; do
4841    for ac_exec_ext in '' $ac_executable_extensions; do
4842      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4843      as_fn_executable_p "$ac_path_EGREP" || continue
4844# Check for GNU ac_path_EGREP and select it if it is found.
4845  # Check for GNU $ac_path_EGREP
4846case `"$ac_path_EGREP" --version 2>&1` in
4847*GNU*)
4848  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4849*)
4850  ac_count=0
4851  $as_echo_n 0123456789 >"conftest.in"
4852  while :
4853  do
4854    cat "conftest.in" "conftest.in" >"conftest.tmp"
4855    mv "conftest.tmp" "conftest.in"
4856    cp "conftest.in" "conftest.nl"
4857    $as_echo 'EGREP' >> "conftest.nl"
4858    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4859    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4860    as_fn_arith $ac_count + 1 && ac_count=$as_val
4861    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4862      # Best one so far, save it but keep looking for a better one
4863      ac_cv_path_EGREP="$ac_path_EGREP"
4864      ac_path_EGREP_max=$ac_count
4865    fi
4866    # 10*(2^10) chars as input seems more than enough
4867    test $ac_count -gt 10 && break
4868  done
4869  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4870esac
4871
4872      $ac_path_EGREP_found && break 3
4873    done
4874  done
4875  done
4876IFS=$as_save_IFS
4877  if test -z "$ac_cv_path_EGREP"; then
4878    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4879  fi
4880else
4881  ac_cv_path_EGREP=$EGREP
4882fi
4883
4884   fi
4885fi
4886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4887$as_echo "$ac_cv_path_EGREP" >&6; }
4888 EGREP="$ac_cv_path_EGREP"
4889
4890
4891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4892$as_echo_n "checking for ANSI C header files... " >&6; }
4893if ${ac_cv_header_stdc+:} false; then :
4894  $as_echo_n "(cached) " >&6
4895else
4896  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897/* end confdefs.h.  */
4898#include <stdlib.h>
4899#include <stdarg.h>
4900#include <string.h>
4901#include <float.h>
4902
4903int
4904main ()
4905{
4906
4907  ;
4908  return 0;
4909}
4910_ACEOF
4911if ac_fn_c_try_compile "$LINENO"; then :
4912  ac_cv_header_stdc=yes
4913else
4914  ac_cv_header_stdc=no
4915fi
4916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4917
4918if test $ac_cv_header_stdc = yes; then
4919  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4920  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921/* end confdefs.h.  */
4922#include <string.h>
4923
4924_ACEOF
4925if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4926  $EGREP "memchr" >/dev/null 2>&1; then :
4927
4928else
4929  ac_cv_header_stdc=no
4930fi
4931rm -f conftest*
4932
4933fi
4934
4935if test $ac_cv_header_stdc = yes; then
4936  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4937  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938/* end confdefs.h.  */
4939#include <stdlib.h>
4940
4941_ACEOF
4942if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4943  $EGREP "free" >/dev/null 2>&1; then :
4944
4945else
4946  ac_cv_header_stdc=no
4947fi
4948rm -f conftest*
4949
4950fi
4951
4952if test $ac_cv_header_stdc = yes; then
4953  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4954  if test "$cross_compiling" = yes; then :
4955  :
4956else
4957  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958/* end confdefs.h.  */
4959#include <ctype.h>
4960#include <stdlib.h>
4961#if ((' ' & 0x0FF) == 0x020)
4962# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4963# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4964#else
4965# define ISLOWER(c) \
4966		   (('a' <= (c) && (c) <= 'i') \
4967		     || ('j' <= (c) && (c) <= 'r') \
4968		     || ('s' <= (c) && (c) <= 'z'))
4969# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4970#endif
4971
4972#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4973int
4974main ()
4975{
4976  int i;
4977  for (i = 0; i < 256; i++)
4978    if (XOR (islower (i), ISLOWER (i))
4979	|| toupper (i) != TOUPPER (i))
4980      return 2;
4981  return 0;
4982}
4983_ACEOF
4984if ac_fn_c_try_run "$LINENO"; then :
4985
4986else
4987  ac_cv_header_stdc=no
4988fi
4989rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4990  conftest.$ac_objext conftest.beam conftest.$ac_ext
4991fi
4992
4993fi
4994fi
4995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4996$as_echo "$ac_cv_header_stdc" >&6; }
4997if test $ac_cv_header_stdc = yes; then
4998
4999$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5000
5001fi
5002
5003# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5004for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5005		  inttypes.h stdint.h unistd.h
5006do :
5007  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5008ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5009"
5010if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5011  cat >>confdefs.h <<_ACEOF
5012#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5013_ACEOF
5014
5015fi
5016
5017done
5018
5019
5020
5021  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5022if test "x$ac_cv_header_minix_config_h" = xyes; then :
5023  MINIX=yes
5024else
5025  MINIX=
5026fi
5027
5028
5029  if test "$MINIX" = yes; then
5030
5031$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5032
5033
5034$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5035
5036
5037$as_echo "#define _MINIX 1" >>confdefs.h
5038
5039  fi
5040
5041
5042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5043$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5044if ${ac_cv_safe_to_define___extensions__+:} false; then :
5045  $as_echo_n "(cached) " >&6
5046else
5047  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048/* end confdefs.h.  */
5049
5050#         define __EXTENSIONS__ 1
5051          $ac_includes_default
5052int
5053main ()
5054{
5055
5056  ;
5057  return 0;
5058}
5059_ACEOF
5060if ac_fn_c_try_compile "$LINENO"; then :
5061  ac_cv_safe_to_define___extensions__=yes
5062else
5063  ac_cv_safe_to_define___extensions__=no
5064fi
5065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5066fi
5067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5068$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5069  test $ac_cv_safe_to_define___extensions__ = yes &&
5070    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5071
5072  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5073
5074  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5075
5076  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5077
5078  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5079
5080
5081ac_ext=c
5082ac_cpp='$CPP $CPPFLAGS'
5083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086if test -n "$ac_tool_prefix"; then
5087  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5088set dummy ${ac_tool_prefix}gcc; ac_word=$2
5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090$as_echo_n "checking for $ac_word... " >&6; }
5091if ${ac_cv_prog_CC+:} false; then :
5092  $as_echo_n "(cached) " >&6
5093else
5094  if test -n "$CC"; then
5095  ac_cv_prog_CC="$CC" # Let the user override the test.
5096else
5097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098for as_dir in $PATH
5099do
5100  IFS=$as_save_IFS
5101  test -z "$as_dir" && as_dir=.
5102    for ac_exec_ext in '' $ac_executable_extensions; do
5103  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5104    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5105    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106    break 2
5107  fi
5108done
5109  done
5110IFS=$as_save_IFS
5111
5112fi
5113fi
5114CC=$ac_cv_prog_CC
5115if test -n "$CC"; then
5116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5117$as_echo "$CC" >&6; }
5118else
5119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120$as_echo "no" >&6; }
5121fi
5122
5123
5124fi
5125if test -z "$ac_cv_prog_CC"; then
5126  ac_ct_CC=$CC
5127  # Extract the first word of "gcc", so it can be a program name with args.
5128set dummy gcc; ac_word=$2
5129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130$as_echo_n "checking for $ac_word... " >&6; }
5131if ${ac_cv_prog_ac_ct_CC+:} false; then :
5132  $as_echo_n "(cached) " >&6
5133else
5134  if test -n "$ac_ct_CC"; then
5135  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5136else
5137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138for as_dir in $PATH
5139do
5140  IFS=$as_save_IFS
5141  test -z "$as_dir" && as_dir=.
5142    for ac_exec_ext in '' $ac_executable_extensions; do
5143  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144    ac_cv_prog_ac_ct_CC="gcc"
5145    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146    break 2
5147  fi
5148done
5149  done
5150IFS=$as_save_IFS
5151
5152fi
5153fi
5154ac_ct_CC=$ac_cv_prog_ac_ct_CC
5155if test -n "$ac_ct_CC"; then
5156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5157$as_echo "$ac_ct_CC" >&6; }
5158else
5159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160$as_echo "no" >&6; }
5161fi
5162
5163  if test "x$ac_ct_CC" = x; then
5164    CC=""
5165  else
5166    case $cross_compiling:$ac_tool_warned in
5167yes:)
5168{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5169$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5170ac_tool_warned=yes ;;
5171esac
5172    CC=$ac_ct_CC
5173  fi
5174else
5175  CC="$ac_cv_prog_CC"
5176fi
5177
5178if test -z "$CC"; then
5179          if test -n "$ac_tool_prefix"; then
5180    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5181set dummy ${ac_tool_prefix}cc; ac_word=$2
5182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183$as_echo_n "checking for $ac_word... " >&6; }
5184if ${ac_cv_prog_CC+:} false; then :
5185  $as_echo_n "(cached) " >&6
5186else
5187  if test -n "$CC"; then
5188  ac_cv_prog_CC="$CC" # Let the user override the test.
5189else
5190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191for as_dir in $PATH
5192do
5193  IFS=$as_save_IFS
5194  test -z "$as_dir" && as_dir=.
5195    for ac_exec_ext in '' $ac_executable_extensions; do
5196  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197    ac_cv_prog_CC="${ac_tool_prefix}cc"
5198    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199    break 2
5200  fi
5201done
5202  done
5203IFS=$as_save_IFS
5204
5205fi
5206fi
5207CC=$ac_cv_prog_CC
5208if test -n "$CC"; then
5209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5210$as_echo "$CC" >&6; }
5211else
5212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213$as_echo "no" >&6; }
5214fi
5215
5216
5217  fi
5218fi
5219if test -z "$CC"; then
5220  # Extract the first word of "cc", so it can be a program name with args.
5221set dummy cc; ac_word=$2
5222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5223$as_echo_n "checking for $ac_word... " >&6; }
5224if ${ac_cv_prog_CC+:} false; then :
5225  $as_echo_n "(cached) " >&6
5226else
5227  if test -n "$CC"; then
5228  ac_cv_prog_CC="$CC" # Let the user override the test.
5229else
5230  ac_prog_rejected=no
5231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232for as_dir in $PATH
5233do
5234  IFS=$as_save_IFS
5235  test -z "$as_dir" && as_dir=.
5236    for ac_exec_ext in '' $ac_executable_extensions; do
5237  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5239       ac_prog_rejected=yes
5240       continue
5241     fi
5242    ac_cv_prog_CC="cc"
5243    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244    break 2
5245  fi
5246done
5247  done
5248IFS=$as_save_IFS
5249
5250if test $ac_prog_rejected = yes; then
5251  # We found a bogon in the path, so make sure we never use it.
5252  set dummy $ac_cv_prog_CC
5253  shift
5254  if test $# != 0; then
5255    # We chose a different compiler from the bogus one.
5256    # However, it has the same basename, so the bogon will be chosen
5257    # first if we set CC to just the basename; use the full file name.
5258    shift
5259    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5260  fi
5261fi
5262fi
5263fi
5264CC=$ac_cv_prog_CC
5265if test -n "$CC"; then
5266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5267$as_echo "$CC" >&6; }
5268else
5269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270$as_echo "no" >&6; }
5271fi
5272
5273
5274fi
5275if test -z "$CC"; then
5276  if test -n "$ac_tool_prefix"; then
5277  for ac_prog in cl.exe
5278  do
5279    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5280set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282$as_echo_n "checking for $ac_word... " >&6; }
5283if ${ac_cv_prog_CC+:} false; then :
5284  $as_echo_n "(cached) " >&6
5285else
5286  if test -n "$CC"; then
5287  ac_cv_prog_CC="$CC" # Let the user override the test.
5288else
5289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290for as_dir in $PATH
5291do
5292  IFS=$as_save_IFS
5293  test -z "$as_dir" && as_dir=.
5294    for ac_exec_ext in '' $ac_executable_extensions; do
5295  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298    break 2
5299  fi
5300done
5301  done
5302IFS=$as_save_IFS
5303
5304fi
5305fi
5306CC=$ac_cv_prog_CC
5307if test -n "$CC"; then
5308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5309$as_echo "$CC" >&6; }
5310else
5311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312$as_echo "no" >&6; }
5313fi
5314
5315
5316    test -n "$CC" && break
5317  done
5318fi
5319if test -z "$CC"; then
5320  ac_ct_CC=$CC
5321  for ac_prog in cl.exe
5322do
5323  # Extract the first word of "$ac_prog", so it can be a program name with args.
5324set dummy $ac_prog; ac_word=$2
5325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326$as_echo_n "checking for $ac_word... " >&6; }
5327if ${ac_cv_prog_ac_ct_CC+:} false; then :
5328  $as_echo_n "(cached) " >&6
5329else
5330  if test -n "$ac_ct_CC"; then
5331  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5332else
5333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334for as_dir in $PATH
5335do
5336  IFS=$as_save_IFS
5337  test -z "$as_dir" && as_dir=.
5338    for ac_exec_ext in '' $ac_executable_extensions; do
5339  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340    ac_cv_prog_ac_ct_CC="$ac_prog"
5341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342    break 2
5343  fi
5344done
5345  done
5346IFS=$as_save_IFS
5347
5348fi
5349fi
5350ac_ct_CC=$ac_cv_prog_ac_ct_CC
5351if test -n "$ac_ct_CC"; then
5352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5353$as_echo "$ac_ct_CC" >&6; }
5354else
5355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356$as_echo "no" >&6; }
5357fi
5358
5359
5360  test -n "$ac_ct_CC" && break
5361done
5362
5363  if test "x$ac_ct_CC" = x; then
5364    CC=""
5365  else
5366    case $cross_compiling:$ac_tool_warned in
5367yes:)
5368{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5369$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5370ac_tool_warned=yes ;;
5371esac
5372    CC=$ac_ct_CC
5373  fi
5374fi
5375
5376fi
5377
5378
5379test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5380$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5381as_fn_error $? "no acceptable C compiler found in \$PATH
5382See \`config.log' for more details" "$LINENO" 5; }
5383
5384# Provide some information about the compiler.
5385$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5386set X $ac_compile
5387ac_compiler=$2
5388for ac_option in --version -v -V -qversion; do
5389  { { ac_try="$ac_compiler $ac_option >&5"
5390case "(($ac_try" in
5391  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392  *) ac_try_echo=$ac_try;;
5393esac
5394eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5395$as_echo "$ac_try_echo"; } >&5
5396  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5397  ac_status=$?
5398  if test -s conftest.err; then
5399    sed '10a\
5400... rest of stderr output deleted ...
5401         10q' conftest.err >conftest.er1
5402    cat conftest.er1 >&5
5403  fi
5404  rm -f conftest.er1 conftest.err
5405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5406  test $ac_status = 0; }
5407done
5408
5409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5410$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5411if ${ac_cv_c_compiler_gnu+:} false; then :
5412  $as_echo_n "(cached) " >&6
5413else
5414  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5415/* end confdefs.h.  */
5416
5417int
5418main ()
5419{
5420#ifndef __GNUC__
5421       choke me
5422#endif
5423
5424  ;
5425  return 0;
5426}
5427_ACEOF
5428if ac_fn_c_try_compile "$LINENO"; then :
5429  ac_compiler_gnu=yes
5430else
5431  ac_compiler_gnu=no
5432fi
5433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5434ac_cv_c_compiler_gnu=$ac_compiler_gnu
5435
5436fi
5437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5438$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5439if test $ac_compiler_gnu = yes; then
5440  GCC=yes
5441else
5442  GCC=
5443fi
5444ac_test_CFLAGS=${CFLAGS+set}
5445ac_save_CFLAGS=$CFLAGS
5446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5447$as_echo_n "checking whether $CC accepts -g... " >&6; }
5448if ${ac_cv_prog_cc_g+:} false; then :
5449  $as_echo_n "(cached) " >&6
5450else
5451  ac_save_c_werror_flag=$ac_c_werror_flag
5452   ac_c_werror_flag=yes
5453   ac_cv_prog_cc_g=no
5454   CFLAGS="-g"
5455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5456/* end confdefs.h.  */
5457
5458int
5459main ()
5460{
5461
5462  ;
5463  return 0;
5464}
5465_ACEOF
5466if ac_fn_c_try_compile "$LINENO"; then :
5467  ac_cv_prog_cc_g=yes
5468else
5469  CFLAGS=""
5470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5471/* end confdefs.h.  */
5472
5473int
5474main ()
5475{
5476
5477  ;
5478  return 0;
5479}
5480_ACEOF
5481if ac_fn_c_try_compile "$LINENO"; then :
5482
5483else
5484  ac_c_werror_flag=$ac_save_c_werror_flag
5485	 CFLAGS="-g"
5486	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5487/* end confdefs.h.  */
5488
5489int
5490main ()
5491{
5492
5493  ;
5494  return 0;
5495}
5496_ACEOF
5497if ac_fn_c_try_compile "$LINENO"; then :
5498  ac_cv_prog_cc_g=yes
5499fi
5500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501fi
5502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503fi
5504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505   ac_c_werror_flag=$ac_save_c_werror_flag
5506fi
5507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5508$as_echo "$ac_cv_prog_cc_g" >&6; }
5509if test "$ac_test_CFLAGS" = set; then
5510  CFLAGS=$ac_save_CFLAGS
5511elif test $ac_cv_prog_cc_g = yes; then
5512  if test "$GCC" = yes; then
5513    CFLAGS="-g -O2"
5514  else
5515    CFLAGS="-g"
5516  fi
5517else
5518  if test "$GCC" = yes; then
5519    CFLAGS="-O2"
5520  else
5521    CFLAGS=
5522  fi
5523fi
5524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5525$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5526if ${ac_cv_prog_cc_c89+:} false; then :
5527  $as_echo_n "(cached) " >&6
5528else
5529  ac_cv_prog_cc_c89=no
5530ac_save_CC=$CC
5531cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5532/* end confdefs.h.  */
5533#include <stdarg.h>
5534#include <stdio.h>
5535struct stat;
5536/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5537struct buf { int x; };
5538FILE * (*rcsopen) (struct buf *, struct stat *, int);
5539static char *e (p, i)
5540     char **p;
5541     int i;
5542{
5543  return p[i];
5544}
5545static char *f (char * (*g) (char **, int), char **p, ...)
5546{
5547  char *s;
5548  va_list v;
5549  va_start (v,p);
5550  s = g (p, va_arg (v,int));
5551  va_end (v);
5552  return s;
5553}
5554
5555/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5556   function prototypes and stuff, but not '\xHH' hex character constants.
5557   These don't provoke an error unfortunately, instead are silently treated
5558   as 'x'.  The following induces an error, until -std is added to get
5559   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5560   array size at least.  It's necessary to write '\x00'==0 to get something
5561   that's true only with -std.  */
5562int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5563
5564/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5565   inside strings and character constants.  */
5566#define FOO(x) 'x'
5567int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5568
5569int test (int i, double x);
5570struct s1 {int (*f) (int a);};
5571struct s2 {int (*f) (double a);};
5572int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5573int argc;
5574char **argv;
5575int
5576main ()
5577{
5578return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5579  ;
5580  return 0;
5581}
5582_ACEOF
5583for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5584	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5585do
5586  CC="$ac_save_CC $ac_arg"
5587  if ac_fn_c_try_compile "$LINENO"; then :
5588  ac_cv_prog_cc_c89=$ac_arg
5589fi
5590rm -f core conftest.err conftest.$ac_objext
5591  test "x$ac_cv_prog_cc_c89" != "xno" && break
5592done
5593rm -f conftest.$ac_ext
5594CC=$ac_save_CC
5595
5596fi
5597# AC_CACHE_VAL
5598case "x$ac_cv_prog_cc_c89" in
5599  x)
5600    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5601$as_echo "none needed" >&6; } ;;
5602  xno)
5603    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5604$as_echo "unsupported" >&6; } ;;
5605  *)
5606    CC="$CC $ac_cv_prog_cc_c89"
5607    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5608$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5609esac
5610if test "x$ac_cv_prog_cc_c89" != xno; then :
5611
5612fi
5613
5614ac_ext=c
5615ac_cpp='$CPP $CPPFLAGS'
5616ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5617ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5618ac_compiler_gnu=$ac_cv_c_compiler_gnu
5619
5620ac_ext=c
5621ac_cpp='$CPP $CPPFLAGS'
5622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5624ac_compiler_gnu=$ac_cv_c_compiler_gnu
5625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5626$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5627if ${am_cv_prog_cc_c_o+:} false; then :
5628  $as_echo_n "(cached) " >&6
5629else
5630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631/* end confdefs.h.  */
5632
5633int
5634main ()
5635{
5636
5637  ;
5638  return 0;
5639}
5640_ACEOF
5641  # Make sure it works both with $CC and with simple cc.
5642  # Following AC_PROG_CC_C_O, we do the test twice because some
5643  # compilers refuse to overwrite an existing .o file with -o,
5644  # though they will create one.
5645  am_cv_prog_cc_c_o=yes
5646  for am_i in 1 2; do
5647    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5648   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5649   ac_status=$?
5650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651   (exit $ac_status); } \
5652         && test -f conftest2.$ac_objext; then
5653      : OK
5654    else
5655      am_cv_prog_cc_c_o=no
5656      break
5657    fi
5658  done
5659  rm -f core conftest*
5660  unset am_i
5661fi
5662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5663$as_echo "$am_cv_prog_cc_c_o" >&6; }
5664if test "$am_cv_prog_cc_c_o" != yes; then
5665   # Losing compiler, so override with the script.
5666   # FIXME: It is wrong to rewrite CC.
5667   # But if we don't then we get into trouble of one sort or another.
5668   # A longer-term fix would be to have automake use am__CC in this case,
5669   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5670   CC="$am_aux_dir/compile $CC"
5671fi
5672ac_ext=c
5673ac_cpp='$CPP $CPPFLAGS'
5674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5676ac_compiler_gnu=$ac_cv_c_compiler_gnu
5677
5678
5679depcc="$CC"   am_compiler_list=
5680
5681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5682$as_echo_n "checking dependency style of $depcc... " >&6; }
5683if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5684  $as_echo_n "(cached) " >&6
5685else
5686  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5687  # We make a subdir and do the tests there.  Otherwise we can end up
5688  # making bogus files that we don't know about and never remove.  For
5689  # instance it was reported that on HP-UX the gcc test will end up
5690  # making a dummy file named 'D' -- because '-MD' means "put the output
5691  # in D".
5692  rm -rf conftest.dir
5693  mkdir conftest.dir
5694  # Copy depcomp to subdir because otherwise we won't find it if we're
5695  # using a relative directory.
5696  cp "$am_depcomp" conftest.dir
5697  cd conftest.dir
5698  # We will build objects and dependencies in a subdirectory because
5699  # it helps to detect inapplicable dependency modes.  For instance
5700  # both Tru64's cc and ICC support -MD to output dependencies as a
5701  # side effect of compilation, but ICC will put the dependencies in
5702  # the current directory while Tru64 will put them in the object
5703  # directory.
5704  mkdir sub
5705
5706  am_cv_CC_dependencies_compiler_type=none
5707  if test "$am_compiler_list" = ""; then
5708     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5709  fi
5710  am__universal=false
5711  case " $depcc " in #(
5712     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5713     esac
5714
5715  for depmode in $am_compiler_list; do
5716    # Setup a source with many dependencies, because some compilers
5717    # like to wrap large dependency lists on column 80 (with \), and
5718    # we should not choose a depcomp mode which is confused by this.
5719    #
5720    # We need to recreate these files for each test, as the compiler may
5721    # overwrite some of them when testing with obscure command lines.
5722    # This happens at least with the AIX C compiler.
5723    : > sub/conftest.c
5724    for i in 1 2 3 4 5 6; do
5725      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5726      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5727      # Solaris 10 /bin/sh.
5728      echo '/* dummy */' > sub/conftst$i.h
5729    done
5730    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5731
5732    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5733    # mode.  It turns out that the SunPro C++ compiler does not properly
5734    # handle '-M -o', and we need to detect this.  Also, some Intel
5735    # versions had trouble with output in subdirs.
5736    am__obj=sub/conftest.${OBJEXT-o}
5737    am__minus_obj="-o $am__obj"
5738    case $depmode in
5739    gcc)
5740      # This depmode causes a compiler race in universal mode.
5741      test "$am__universal" = false || continue
5742      ;;
5743    nosideeffect)
5744      # After this tag, mechanisms are not by side-effect, so they'll
5745      # only be used when explicitly requested.
5746      if test "x$enable_dependency_tracking" = xyes; then
5747	continue
5748      else
5749	break
5750      fi
5751      ;;
5752    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5753      # This compiler won't grok '-c -o', but also, the minuso test has
5754      # not run yet.  These depmodes are late enough in the game, and
5755      # so weak that their functioning should not be impacted.
5756      am__obj=conftest.${OBJEXT-o}
5757      am__minus_obj=
5758      ;;
5759    none) break ;;
5760    esac
5761    if depmode=$depmode \
5762       source=sub/conftest.c object=$am__obj \
5763       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5764       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5765         >/dev/null 2>conftest.err &&
5766       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5767       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5768       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5769       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5770      # icc doesn't choke on unknown options, it will just issue warnings
5771      # or remarks (even with -Werror).  So we grep stderr for any message
5772      # that says an option was ignored or not supported.
5773      # When given -MP, icc 7.0 and 7.1 complain thusly:
5774      #   icc: Command line warning: ignoring option '-M'; no argument required
5775      # The diagnosis changed in icc 8.0:
5776      #   icc: Command line remark: option '-MP' not supported
5777      if (grep 'ignoring option' conftest.err ||
5778          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5779        am_cv_CC_dependencies_compiler_type=$depmode
5780        break
5781      fi
5782    fi
5783  done
5784
5785  cd ..
5786  rm -rf conftest.dir
5787else
5788  am_cv_CC_dependencies_compiler_type=none
5789fi
5790
5791fi
5792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5793$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5794CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5795
5796 if
5797  test "x$enable_dependency_tracking" != xno \
5798  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5799  am__fastdepCC_TRUE=
5800  am__fastdepCC_FALSE='#'
5801else
5802  am__fastdepCC_TRUE='#'
5803  am__fastdepCC_FALSE=
5804fi
5805
5806
5807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5808$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5809if ${ac_cv_prog_cc_c99+:} false; then :
5810  $as_echo_n "(cached) " >&6
5811else
5812  ac_cv_prog_cc_c99=no
5813ac_save_CC=$CC
5814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5815/* end confdefs.h.  */
5816#include <stdarg.h>
5817#include <stdbool.h>
5818#include <stdlib.h>
5819#include <wchar.h>
5820#include <stdio.h>
5821
5822// Check varargs macros.  These examples are taken from C99 6.10.3.5.
5823#define debug(...) fprintf (stderr, __VA_ARGS__)
5824#define showlist(...) puts (#__VA_ARGS__)
5825#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5826static void
5827test_varargs_macros (void)
5828{
5829  int x = 1234;
5830  int y = 5678;
5831  debug ("Flag");
5832  debug ("X = %d\n", x);
5833  showlist (The first, second, and third items.);
5834  report (x>y, "x is %d but y is %d", x, y);
5835}
5836
5837// Check long long types.
5838#define BIG64 18446744073709551615ull
5839#define BIG32 4294967295ul
5840#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5841#if !BIG_OK
5842  your preprocessor is broken;
5843#endif
5844#if BIG_OK
5845#else
5846  your preprocessor is broken;
5847#endif
5848static long long int bignum = -9223372036854775807LL;
5849static unsigned long long int ubignum = BIG64;
5850
5851struct incomplete_array
5852{
5853  int datasize;
5854  double data[];
5855};
5856
5857struct named_init {
5858  int number;
5859  const wchar_t *name;
5860  double average;
5861};
5862
5863typedef const char *ccp;
5864
5865static inline int
5866test_restrict (ccp restrict text)
5867{
5868  // See if C++-style comments work.
5869  // Iterate through items via the restricted pointer.
5870  // Also check for declarations in for loops.
5871  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5872    continue;
5873  return 0;
5874}
5875
5876// Check varargs and va_copy.
5877static void
5878test_varargs (const char *format, ...)
5879{
5880  va_list args;
5881  va_start (args, format);
5882  va_list args_copy;
5883  va_copy (args_copy, args);
5884
5885  const char *str;
5886  int number;
5887  float fnumber;
5888
5889  while (*format)
5890    {
5891      switch (*format++)
5892	{
5893	case 's': // string
5894	  str = va_arg (args_copy, const char *);
5895	  break;
5896	case 'd': // int
5897	  number = va_arg (args_copy, int);
5898	  break;
5899	case 'f': // float
5900	  fnumber = va_arg (args_copy, double);
5901	  break;
5902	default:
5903	  break;
5904	}
5905    }
5906  va_end (args_copy);
5907  va_end (args);
5908}
5909
5910int
5911main ()
5912{
5913
5914  // Check bool.
5915  _Bool success = false;
5916
5917  // Check restrict.
5918  if (test_restrict ("String literal") == 0)
5919    success = true;
5920  char *restrict newvar = "Another string";
5921
5922  // Check varargs.
5923  test_varargs ("s, d' f .", "string", 65, 34.234);
5924  test_varargs_macros ();
5925
5926  // Check flexible array members.
5927  struct incomplete_array *ia =
5928    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5929  ia->datasize = 10;
5930  for (int i = 0; i < ia->datasize; ++i)
5931    ia->data[i] = i * 1.234;
5932
5933  // Check named initializers.
5934  struct named_init ni = {
5935    .number = 34,
5936    .name = L"Test wide string",
5937    .average = 543.34343,
5938  };
5939
5940  ni.number = 58;
5941
5942  int dynamic_array[ni.number];
5943  dynamic_array[ni.number - 1] = 543;
5944
5945  // work around unused variable warnings
5946  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5947	  || dynamic_array[ni.number - 1] != 543);
5948
5949  ;
5950  return 0;
5951}
5952_ACEOF
5953for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5954do
5955  CC="$ac_save_CC $ac_arg"
5956  if ac_fn_c_try_compile "$LINENO"; then :
5957  ac_cv_prog_cc_c99=$ac_arg
5958fi
5959rm -f core conftest.err conftest.$ac_objext
5960  test "x$ac_cv_prog_cc_c99" != "xno" && break
5961done
5962rm -f conftest.$ac_ext
5963CC=$ac_save_CC
5964
5965fi
5966# AC_CACHE_VAL
5967case "x$ac_cv_prog_cc_c99" in
5968  x)
5969    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5970$as_echo "none needed" >&6; } ;;
5971  xno)
5972    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5973$as_echo "unsupported" >&6; } ;;
5974  *)
5975    CC="$CC $ac_cv_prog_cc_c99"
5976    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5977$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5978esac
5979if test "x$ac_cv_prog_cc_c99" != xno; then :
5980
5981fi
5982
5983
5984
5985# Check whether --enable-static was given.
5986if test "${enable_static+set}" = set; then :
5987  enableval=$enable_static; p=${PACKAGE-default}
5988    case $enableval in
5989    yes) enable_static=yes ;;
5990    no) enable_static=no ;;
5991    *)
5992     enable_static=no
5993      # Look at the argument we got.  We use all the common list separators.
5994      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5995      for pkg in $enableval; do
5996	IFS=$lt_save_ifs
5997	if test "X$pkg" = "X$p"; then
5998	  enable_static=yes
5999	fi
6000      done
6001      IFS=$lt_save_ifs
6002      ;;
6003    esac
6004else
6005  enable_static=no
6006fi
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016case `pwd` in
6017  *\ * | *\	*)
6018    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6019$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6020esac
6021
6022
6023
6024macro_version='2.4.6'
6025macro_revision='2.4.6'
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039ltmain=$ac_aux_dir/ltmain.sh
6040
6041# Make sure we can run config.sub.
6042$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6043  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6044
6045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6046$as_echo_n "checking build system type... " >&6; }
6047if ${ac_cv_build+:} false; then :
6048  $as_echo_n "(cached) " >&6
6049else
6050  ac_build_alias=$build_alias
6051test "x$ac_build_alias" = x &&
6052  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6053test "x$ac_build_alias" = x &&
6054  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6055ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6056  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6057
6058fi
6059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6060$as_echo "$ac_cv_build" >&6; }
6061case $ac_cv_build in
6062*-*-*) ;;
6063*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6064esac
6065build=$ac_cv_build
6066ac_save_IFS=$IFS; IFS='-'
6067set x $ac_cv_build
6068shift
6069build_cpu=$1
6070build_vendor=$2
6071shift; shift
6072# Remember, the first character of IFS is used to create $*,
6073# except with old shells:
6074build_os=$*
6075IFS=$ac_save_IFS
6076case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6077
6078
6079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6080$as_echo_n "checking host system type... " >&6; }
6081if ${ac_cv_host+:} false; then :
6082  $as_echo_n "(cached) " >&6
6083else
6084  if test "x$host_alias" = x; then
6085  ac_cv_host=$ac_cv_build
6086else
6087  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6088    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6089fi
6090
6091fi
6092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6093$as_echo "$ac_cv_host" >&6; }
6094case $ac_cv_host in
6095*-*-*) ;;
6096*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6097esac
6098host=$ac_cv_host
6099ac_save_IFS=$IFS; IFS='-'
6100set x $ac_cv_host
6101shift
6102host_cpu=$1
6103host_vendor=$2
6104shift; shift
6105# Remember, the first character of IFS is used to create $*,
6106# except with old shells:
6107host_os=$*
6108IFS=$ac_save_IFS
6109case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6110
6111
6112# Backslashify metacharacters that are still active within
6113# double-quoted strings.
6114sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6115
6116# Same as above, but do not quote variable references.
6117double_quote_subst='s/\(["`\\]\)/\\\1/g'
6118
6119# Sed substitution to delay expansion of an escaped shell variable in a
6120# double_quote_subst'ed string.
6121delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6122
6123# Sed substitution to delay expansion of an escaped single quote.
6124delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6125
6126# Sed substitution to avoid accidental globbing in evaled expressions
6127no_glob_subst='s/\*/\\\*/g'
6128
6129ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6130ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6131ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6132
6133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6134$as_echo_n "checking how to print strings... " >&6; }
6135# Test print first, because it will be a builtin if present.
6136if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6137   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6138  ECHO='print -r --'
6139elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6140  ECHO='printf %s\n'
6141else
6142  # Use this function as a fallback that always works.
6143  func_fallback_echo ()
6144  {
6145    eval 'cat <<_LTECHO_EOF
6146$1
6147_LTECHO_EOF'
6148  }
6149  ECHO='func_fallback_echo'
6150fi
6151
6152# func_echo_all arg...
6153# Invoke $ECHO with all args, space-separated.
6154func_echo_all ()
6155{
6156    $ECHO ""
6157}
6158
6159case $ECHO in
6160  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6161$as_echo "printf" >&6; } ;;
6162  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6163$as_echo "print -r" >&6; } ;;
6164  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6165$as_echo "cat" >&6; } ;;
6166esac
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6182$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6183if ${ac_cv_path_SED+:} false; then :
6184  $as_echo_n "(cached) " >&6
6185else
6186            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6187     for ac_i in 1 2 3 4 5 6 7; do
6188       ac_script="$ac_script$as_nl$ac_script"
6189     done
6190     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6191     { ac_script=; unset ac_script;}
6192     if test -z "$SED"; then
6193  ac_path_SED_found=false
6194  # Loop through the user's path and test for each of PROGNAME-LIST
6195  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196for as_dir in $PATH
6197do
6198  IFS=$as_save_IFS
6199  test -z "$as_dir" && as_dir=.
6200    for ac_prog in sed gsed; do
6201    for ac_exec_ext in '' $ac_executable_extensions; do
6202      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6203      as_fn_executable_p "$ac_path_SED" || continue
6204# Check for GNU ac_path_SED and select it if it is found.
6205  # Check for GNU $ac_path_SED
6206case `"$ac_path_SED" --version 2>&1` in
6207*GNU*)
6208  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6209*)
6210  ac_count=0
6211  $as_echo_n 0123456789 >"conftest.in"
6212  while :
6213  do
6214    cat "conftest.in" "conftest.in" >"conftest.tmp"
6215    mv "conftest.tmp" "conftest.in"
6216    cp "conftest.in" "conftest.nl"
6217    $as_echo '' >> "conftest.nl"
6218    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6219    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6220    as_fn_arith $ac_count + 1 && ac_count=$as_val
6221    if test $ac_count -gt ${ac_path_SED_max-0}; then
6222      # Best one so far, save it but keep looking for a better one
6223      ac_cv_path_SED="$ac_path_SED"
6224      ac_path_SED_max=$ac_count
6225    fi
6226    # 10*(2^10) chars as input seems more than enough
6227    test $ac_count -gt 10 && break
6228  done
6229  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6230esac
6231
6232      $ac_path_SED_found && break 3
6233    done
6234  done
6235  done
6236IFS=$as_save_IFS
6237  if test -z "$ac_cv_path_SED"; then
6238    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6239  fi
6240else
6241  ac_cv_path_SED=$SED
6242fi
6243
6244fi
6245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6246$as_echo "$ac_cv_path_SED" >&6; }
6247 SED="$ac_cv_path_SED"
6248  rm -f conftest.sed
6249
6250test -z "$SED" && SED=sed
6251Xsed="$SED -e 1s/^X//"
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6264$as_echo_n "checking for fgrep... " >&6; }
6265if ${ac_cv_path_FGREP+:} false; then :
6266  $as_echo_n "(cached) " >&6
6267else
6268  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6269   then ac_cv_path_FGREP="$GREP -F"
6270   else
6271     if test -z "$FGREP"; then
6272  ac_path_FGREP_found=false
6273  # Loop through the user's path and test for each of PROGNAME-LIST
6274  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6276do
6277  IFS=$as_save_IFS
6278  test -z "$as_dir" && as_dir=.
6279    for ac_prog in fgrep; do
6280    for ac_exec_ext in '' $ac_executable_extensions; do
6281      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6282      as_fn_executable_p "$ac_path_FGREP" || continue
6283# Check for GNU ac_path_FGREP and select it if it is found.
6284  # Check for GNU $ac_path_FGREP
6285case `"$ac_path_FGREP" --version 2>&1` in
6286*GNU*)
6287  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6288*)
6289  ac_count=0
6290  $as_echo_n 0123456789 >"conftest.in"
6291  while :
6292  do
6293    cat "conftest.in" "conftest.in" >"conftest.tmp"
6294    mv "conftest.tmp" "conftest.in"
6295    cp "conftest.in" "conftest.nl"
6296    $as_echo 'FGREP' >> "conftest.nl"
6297    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6298    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6299    as_fn_arith $ac_count + 1 && ac_count=$as_val
6300    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6301      # Best one so far, save it but keep looking for a better one
6302      ac_cv_path_FGREP="$ac_path_FGREP"
6303      ac_path_FGREP_max=$ac_count
6304    fi
6305    # 10*(2^10) chars as input seems more than enough
6306    test $ac_count -gt 10 && break
6307  done
6308  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6309esac
6310
6311      $ac_path_FGREP_found && break 3
6312    done
6313  done
6314  done
6315IFS=$as_save_IFS
6316  if test -z "$ac_cv_path_FGREP"; then
6317    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6318  fi
6319else
6320  ac_cv_path_FGREP=$FGREP
6321fi
6322
6323   fi
6324fi
6325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6326$as_echo "$ac_cv_path_FGREP" >&6; }
6327 FGREP="$ac_cv_path_FGREP"
6328
6329
6330test -z "$GREP" && GREP=grep
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350# Check whether --with-gnu-ld was given.
6351if test "${with_gnu_ld+set}" = set; then :
6352  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6353else
6354  with_gnu_ld=no
6355fi
6356
6357ac_prog=ld
6358if test yes = "$GCC"; then
6359  # Check if gcc -print-prog-name=ld gives a path.
6360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6361$as_echo_n "checking for ld used by $CC... " >&6; }
6362  case $host in
6363  *-*-mingw*)
6364    # gcc leaves a trailing carriage return, which upsets mingw
6365    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6366  *)
6367    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6368  esac
6369  case $ac_prog in
6370    # Accept absolute paths.
6371    [\\/]* | ?:[\\/]*)
6372      re_direlt='/[^/][^/]*/\.\./'
6373      # Canonicalize the pathname of ld
6374      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6375      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6376	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6377      done
6378      test -z "$LD" && LD=$ac_prog
6379      ;;
6380  "")
6381    # If it fails, then pretend we aren't using GCC.
6382    ac_prog=ld
6383    ;;
6384  *)
6385    # If it is relative, then search for the first ld in PATH.
6386    with_gnu_ld=unknown
6387    ;;
6388  esac
6389elif test yes = "$with_gnu_ld"; then
6390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6391$as_echo_n "checking for GNU ld... " >&6; }
6392else
6393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6394$as_echo_n "checking for non-GNU ld... " >&6; }
6395fi
6396if ${lt_cv_path_LD+:} false; then :
6397  $as_echo_n "(cached) " >&6
6398else
6399  if test -z "$LD"; then
6400  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6401  for ac_dir in $PATH; do
6402    IFS=$lt_save_ifs
6403    test -z "$ac_dir" && ac_dir=.
6404    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6405      lt_cv_path_LD=$ac_dir/$ac_prog
6406      # Check to see if the program is GNU ld.  I'd rather use --version,
6407      # but apparently some variants of GNU ld only accept -v.
6408      # Break only if it was the GNU/non-GNU ld that we prefer.
6409      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6410      *GNU* | *'with BFD'*)
6411	test no != "$with_gnu_ld" && break
6412	;;
6413      *)
6414	test yes != "$with_gnu_ld" && break
6415	;;
6416      esac
6417    fi
6418  done
6419  IFS=$lt_save_ifs
6420else
6421  lt_cv_path_LD=$LD # Let the user override the test with a path.
6422fi
6423fi
6424
6425LD=$lt_cv_path_LD
6426if test -n "$LD"; then
6427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6428$as_echo "$LD" >&6; }
6429else
6430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6431$as_echo "no" >&6; }
6432fi
6433test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6435$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6436if ${lt_cv_prog_gnu_ld+:} false; then :
6437  $as_echo_n "(cached) " >&6
6438else
6439  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6440case `$LD -v 2>&1 </dev/null` in
6441*GNU* | *'with BFD'*)
6442  lt_cv_prog_gnu_ld=yes
6443  ;;
6444*)
6445  lt_cv_prog_gnu_ld=no
6446  ;;
6447esac
6448fi
6449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6450$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6451with_gnu_ld=$lt_cv_prog_gnu_ld
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6462$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6463if ${lt_cv_path_NM+:} false; then :
6464  $as_echo_n "(cached) " >&6
6465else
6466  if test -n "$NM"; then
6467  # Let the user override the test.
6468  lt_cv_path_NM=$NM
6469else
6470  lt_nm_to_check=${ac_tool_prefix}nm
6471  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6472    lt_nm_to_check="$lt_nm_to_check nm"
6473  fi
6474  for lt_tmp_nm in $lt_nm_to_check; do
6475    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6476    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6477      IFS=$lt_save_ifs
6478      test -z "$ac_dir" && ac_dir=.
6479      tmp_nm=$ac_dir/$lt_tmp_nm
6480      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6481	# Check to see if the nm accepts a BSD-compat flag.
6482	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6483	#   nm: unknown option "B" ignored
6484	# Tru64's nm complains that /dev/null is an invalid object file
6485	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6486	case $build_os in
6487	mingw*) lt_bad_file=conftest.nm/nofile ;;
6488	*) lt_bad_file=/dev/null ;;
6489	esac
6490	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6491	*$lt_bad_file* | *'Invalid file or object type'*)
6492	  lt_cv_path_NM="$tmp_nm -B"
6493	  break 2
6494	  ;;
6495	*)
6496	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6497	  */dev/null*)
6498	    lt_cv_path_NM="$tmp_nm -p"
6499	    break 2
6500	    ;;
6501	  *)
6502	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6503	    continue # so that we can try to find one that supports BSD flags
6504	    ;;
6505	  esac
6506	  ;;
6507	esac
6508      fi
6509    done
6510    IFS=$lt_save_ifs
6511  done
6512  : ${lt_cv_path_NM=no}
6513fi
6514fi
6515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6516$as_echo "$lt_cv_path_NM" >&6; }
6517if test no != "$lt_cv_path_NM"; then
6518  NM=$lt_cv_path_NM
6519else
6520  # Didn't find any BSD compatible name lister, look for dumpbin.
6521  if test -n "$DUMPBIN"; then :
6522    # Let the user override the test.
6523  else
6524    if test -n "$ac_tool_prefix"; then
6525  for ac_prog in dumpbin "link -dump"
6526  do
6527    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6528set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530$as_echo_n "checking for $ac_word... " >&6; }
6531if ${ac_cv_prog_DUMPBIN+:} false; then :
6532  $as_echo_n "(cached) " >&6
6533else
6534  if test -n "$DUMPBIN"; then
6535  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6536else
6537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538for as_dir in $PATH
6539do
6540  IFS=$as_save_IFS
6541  test -z "$as_dir" && as_dir=.
6542    for ac_exec_ext in '' $ac_executable_extensions; do
6543  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6544    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6545    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546    break 2
6547  fi
6548done
6549  done
6550IFS=$as_save_IFS
6551
6552fi
6553fi
6554DUMPBIN=$ac_cv_prog_DUMPBIN
6555if test -n "$DUMPBIN"; then
6556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6557$as_echo "$DUMPBIN" >&6; }
6558else
6559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6560$as_echo "no" >&6; }
6561fi
6562
6563
6564    test -n "$DUMPBIN" && break
6565  done
6566fi
6567if test -z "$DUMPBIN"; then
6568  ac_ct_DUMPBIN=$DUMPBIN
6569  for ac_prog in dumpbin "link -dump"
6570do
6571  # Extract the first word of "$ac_prog", so it can be a program name with args.
6572set dummy $ac_prog; ac_word=$2
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574$as_echo_n "checking for $ac_word... " >&6; }
6575if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6576  $as_echo_n "(cached) " >&6
6577else
6578  if test -n "$ac_ct_DUMPBIN"; then
6579  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6580else
6581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582for as_dir in $PATH
6583do
6584  IFS=$as_save_IFS
6585  test -z "$as_dir" && as_dir=.
6586    for ac_exec_ext in '' $ac_executable_extensions; do
6587  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6589    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590    break 2
6591  fi
6592done
6593  done
6594IFS=$as_save_IFS
6595
6596fi
6597fi
6598ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6599if test -n "$ac_ct_DUMPBIN"; then
6600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6601$as_echo "$ac_ct_DUMPBIN" >&6; }
6602else
6603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604$as_echo "no" >&6; }
6605fi
6606
6607
6608  test -n "$ac_ct_DUMPBIN" && break
6609done
6610
6611  if test "x$ac_ct_DUMPBIN" = x; then
6612    DUMPBIN=":"
6613  else
6614    case $cross_compiling:$ac_tool_warned in
6615yes:)
6616{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618ac_tool_warned=yes ;;
6619esac
6620    DUMPBIN=$ac_ct_DUMPBIN
6621  fi
6622fi
6623
6624    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6625    *COFF*)
6626      DUMPBIN="$DUMPBIN -symbols -headers"
6627      ;;
6628    *)
6629      DUMPBIN=:
6630      ;;
6631    esac
6632  fi
6633
6634  if test : != "$DUMPBIN"; then
6635    NM=$DUMPBIN
6636  fi
6637fi
6638test -z "$NM" && NM=nm
6639
6640
6641
6642
6643
6644
6645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6646$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6647if ${lt_cv_nm_interface+:} false; then :
6648  $as_echo_n "(cached) " >&6
6649else
6650  lt_cv_nm_interface="BSD nm"
6651  echo "int some_variable = 0;" > conftest.$ac_ext
6652  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6653  (eval "$ac_compile" 2>conftest.err)
6654  cat conftest.err >&5
6655  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6656  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6657  cat conftest.err >&5
6658  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6659  cat conftest.out >&5
6660  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6661    lt_cv_nm_interface="MS dumpbin"
6662  fi
6663  rm -f conftest*
6664fi
6665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6666$as_echo "$lt_cv_nm_interface" >&6; }
6667
6668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6669$as_echo_n "checking whether ln -s works... " >&6; }
6670LN_S=$as_ln_s
6671if test "$LN_S" = "ln -s"; then
6672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6673$as_echo "yes" >&6; }
6674else
6675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6676$as_echo "no, using $LN_S" >&6; }
6677fi
6678
6679# find the maximum length of command line arguments
6680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6681$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6682if ${lt_cv_sys_max_cmd_len+:} false; then :
6683  $as_echo_n "(cached) " >&6
6684else
6685    i=0
6686  teststring=ABCD
6687
6688  case $build_os in
6689  msdosdjgpp*)
6690    # On DJGPP, this test can blow up pretty badly due to problems in libc
6691    # (any single argument exceeding 2000 bytes causes a buffer overrun
6692    # during glob expansion).  Even if it were fixed, the result of this
6693    # check would be larger than it should be.
6694    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6695    ;;
6696
6697  gnu*)
6698    # Under GNU Hurd, this test is not required because there is
6699    # no limit to the length of command line arguments.
6700    # Libtool will interpret -1 as no limit whatsoever
6701    lt_cv_sys_max_cmd_len=-1;
6702    ;;
6703
6704  cygwin* | mingw* | cegcc*)
6705    # On Win9x/ME, this test blows up -- it succeeds, but takes
6706    # about 5 minutes as the teststring grows exponentially.
6707    # Worse, since 9x/ME are not pre-emptively multitasking,
6708    # you end up with a "frozen" computer, even though with patience
6709    # the test eventually succeeds (with a max line length of 256k).
6710    # Instead, let's just punt: use the minimum linelength reported by
6711    # all of the supported platforms: 8192 (on NT/2K/XP).
6712    lt_cv_sys_max_cmd_len=8192;
6713    ;;
6714
6715  mint*)
6716    # On MiNT this can take a long time and run out of memory.
6717    lt_cv_sys_max_cmd_len=8192;
6718    ;;
6719
6720  amigaos*)
6721    # On AmigaOS with pdksh, this test takes hours, literally.
6722    # So we just punt and use a minimum line length of 8192.
6723    lt_cv_sys_max_cmd_len=8192;
6724    ;;
6725
6726  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6727    # This has been around since 386BSD, at least.  Likely further.
6728    if test -x /sbin/sysctl; then
6729      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6730    elif test -x /usr/sbin/sysctl; then
6731      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6732    else
6733      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6734    fi
6735    # And add a safety zone
6736    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6737    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6738    ;;
6739
6740  interix*)
6741    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6742    lt_cv_sys_max_cmd_len=196608
6743    ;;
6744
6745  os2*)
6746    # The test takes a long time on OS/2.
6747    lt_cv_sys_max_cmd_len=8192
6748    ;;
6749
6750  osf*)
6751    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6752    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6753    # nice to cause kernel panics so lets avoid the loop below.
6754    # First set a reasonable default.
6755    lt_cv_sys_max_cmd_len=16384
6756    #
6757    if test -x /sbin/sysconfig; then
6758      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6759        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6760      esac
6761    fi
6762    ;;
6763  sco3.2v5*)
6764    lt_cv_sys_max_cmd_len=102400
6765    ;;
6766  sysv5* | sco5v6* | sysv4.2uw2*)
6767    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6768    if test -n "$kargmax"; then
6769      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6770    else
6771      lt_cv_sys_max_cmd_len=32768
6772    fi
6773    ;;
6774  *)
6775    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6776    if test -n "$lt_cv_sys_max_cmd_len" && \
6777       test undefined != "$lt_cv_sys_max_cmd_len"; then
6778      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6779      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6780    else
6781      # Make teststring a little bigger before we do anything with it.
6782      # a 1K string should be a reasonable start.
6783      for i in 1 2 3 4 5 6 7 8; do
6784        teststring=$teststring$teststring
6785      done
6786      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6787      # If test is not a shell built-in, we'll probably end up computing a
6788      # maximum length that is only half of the actual maximum length, but
6789      # we can't tell.
6790      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6791	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6792	      test 17 != "$i" # 1/2 MB should be enough
6793      do
6794        i=`expr $i + 1`
6795        teststring=$teststring$teststring
6796      done
6797      # Only check the string length outside the loop.
6798      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6799      teststring=
6800      # Add a significant safety factor because C++ compilers can tack on
6801      # massive amounts of additional arguments before passing them to the
6802      # linker.  It appears as though 1/2 is a usable value.
6803      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6804    fi
6805    ;;
6806  esac
6807
6808fi
6809
6810if test -n "$lt_cv_sys_max_cmd_len"; then
6811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6812$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6813else
6814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6815$as_echo "none" >&6; }
6816fi
6817max_cmd_len=$lt_cv_sys_max_cmd_len
6818
6819
6820
6821
6822
6823
6824: ${CP="cp -f"}
6825: ${MV="mv -f"}
6826: ${RM="rm -f"}
6827
6828if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6829  lt_unset=unset
6830else
6831  lt_unset=false
6832fi
6833
6834
6835
6836
6837
6838# test EBCDIC or ASCII
6839case `echo X|tr X '\101'` in
6840 A) # ASCII based system
6841    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6842  lt_SP2NL='tr \040 \012'
6843  lt_NL2SP='tr \015\012 \040\040'
6844  ;;
6845 *) # EBCDIC based system
6846  lt_SP2NL='tr \100 \n'
6847  lt_NL2SP='tr \r\n \100\100'
6848  ;;
6849esac
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6860$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6861if ${lt_cv_to_host_file_cmd+:} false; then :
6862  $as_echo_n "(cached) " >&6
6863else
6864  case $host in
6865  *-*-mingw* )
6866    case $build in
6867      *-*-mingw* ) # actually msys
6868        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6869        ;;
6870      *-*-cygwin* )
6871        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6872        ;;
6873      * ) # otherwise, assume *nix
6874        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6875        ;;
6876    esac
6877    ;;
6878  *-*-cygwin* )
6879    case $build in
6880      *-*-mingw* ) # actually msys
6881        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6882        ;;
6883      *-*-cygwin* )
6884        lt_cv_to_host_file_cmd=func_convert_file_noop
6885        ;;
6886      * ) # otherwise, assume *nix
6887        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6888        ;;
6889    esac
6890    ;;
6891  * ) # unhandled hosts (and "normal" native builds)
6892    lt_cv_to_host_file_cmd=func_convert_file_noop
6893    ;;
6894esac
6895
6896fi
6897
6898to_host_file_cmd=$lt_cv_to_host_file_cmd
6899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6900$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6901
6902
6903
6904
6905
6906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6907$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6908if ${lt_cv_to_tool_file_cmd+:} false; then :
6909  $as_echo_n "(cached) " >&6
6910else
6911  #assume ordinary cross tools, or native build.
6912lt_cv_to_tool_file_cmd=func_convert_file_noop
6913case $host in
6914  *-*-mingw* )
6915    case $build in
6916      *-*-mingw* ) # actually msys
6917        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6918        ;;
6919    esac
6920    ;;
6921esac
6922
6923fi
6924
6925to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6927$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6928
6929
6930
6931
6932
6933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6934$as_echo_n "checking for $LD option to reload object files... " >&6; }
6935if ${lt_cv_ld_reload_flag+:} false; then :
6936  $as_echo_n "(cached) " >&6
6937else
6938  lt_cv_ld_reload_flag='-r'
6939fi
6940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6941$as_echo "$lt_cv_ld_reload_flag" >&6; }
6942reload_flag=$lt_cv_ld_reload_flag
6943case $reload_flag in
6944"" | " "*) ;;
6945*) reload_flag=" $reload_flag" ;;
6946esac
6947reload_cmds='$LD$reload_flag -o $output$reload_objs'
6948case $host_os in
6949  cygwin* | mingw* | pw32* | cegcc*)
6950    if test yes != "$GCC"; then
6951      reload_cmds=false
6952    fi
6953    ;;
6954  darwin*)
6955    if test yes = "$GCC"; then
6956      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6957    else
6958      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6959    fi
6960    ;;
6961esac
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971if test -n "$ac_tool_prefix"; then
6972  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6973set dummy ${ac_tool_prefix}objdump; ac_word=$2
6974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975$as_echo_n "checking for $ac_word... " >&6; }
6976if ${ac_cv_prog_OBJDUMP+:} false; then :
6977  $as_echo_n "(cached) " >&6
6978else
6979  if test -n "$OBJDUMP"; then
6980  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6981else
6982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983for as_dir in $PATH
6984do
6985  IFS=$as_save_IFS
6986  test -z "$as_dir" && as_dir=.
6987    for ac_exec_ext in '' $ac_executable_extensions; do
6988  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6990    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6991    break 2
6992  fi
6993done
6994  done
6995IFS=$as_save_IFS
6996
6997fi
6998fi
6999OBJDUMP=$ac_cv_prog_OBJDUMP
7000if test -n "$OBJDUMP"; then
7001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7002$as_echo "$OBJDUMP" >&6; }
7003else
7004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005$as_echo "no" >&6; }
7006fi
7007
7008
7009fi
7010if test -z "$ac_cv_prog_OBJDUMP"; then
7011  ac_ct_OBJDUMP=$OBJDUMP
7012  # Extract the first word of "objdump", so it can be a program name with args.
7013set dummy objdump; ac_word=$2
7014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015$as_echo_n "checking for $ac_word... " >&6; }
7016if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7017  $as_echo_n "(cached) " >&6
7018else
7019  if test -n "$ac_ct_OBJDUMP"; then
7020  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7021else
7022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023for as_dir in $PATH
7024do
7025  IFS=$as_save_IFS
7026  test -z "$as_dir" && as_dir=.
7027    for ac_exec_ext in '' $ac_executable_extensions; do
7028  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031    break 2
7032  fi
7033done
7034  done
7035IFS=$as_save_IFS
7036
7037fi
7038fi
7039ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7040if test -n "$ac_ct_OBJDUMP"; then
7041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7042$as_echo "$ac_ct_OBJDUMP" >&6; }
7043else
7044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045$as_echo "no" >&6; }
7046fi
7047
7048  if test "x$ac_ct_OBJDUMP" = x; then
7049    OBJDUMP="false"
7050  else
7051    case $cross_compiling:$ac_tool_warned in
7052yes:)
7053{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7054$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7055ac_tool_warned=yes ;;
7056esac
7057    OBJDUMP=$ac_ct_OBJDUMP
7058  fi
7059else
7060  OBJDUMP="$ac_cv_prog_OBJDUMP"
7061fi
7062
7063test -z "$OBJDUMP" && OBJDUMP=objdump
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7074$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7075if ${lt_cv_deplibs_check_method+:} false; then :
7076  $as_echo_n "(cached) " >&6
7077else
7078  lt_cv_file_magic_cmd='$MAGIC_CMD'
7079lt_cv_file_magic_test_file=
7080lt_cv_deplibs_check_method='unknown'
7081# Need to set the preceding variable on all platforms that support
7082# interlibrary dependencies.
7083# 'none' -- dependencies not supported.
7084# 'unknown' -- same as none, but documents that we really don't know.
7085# 'pass_all' -- all dependencies passed with no checks.
7086# 'test_compile' -- check by making test program.
7087# 'file_magic [[regex]]' -- check by looking for files in library path
7088# that responds to the $file_magic_cmd with a given extended regex.
7089# If you have 'file' or equivalent on your system and you're not sure
7090# whether 'pass_all' will *always* work, you probably want this one.
7091
7092case $host_os in
7093aix[4-9]*)
7094  lt_cv_deplibs_check_method=pass_all
7095  ;;
7096
7097beos*)
7098  lt_cv_deplibs_check_method=pass_all
7099  ;;
7100
7101bsdi[45]*)
7102  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7103  lt_cv_file_magic_cmd='/usr/bin/file -L'
7104  lt_cv_file_magic_test_file=/shlib/libc.so
7105  ;;
7106
7107cygwin*)
7108  # func_win32_libid is a shell function defined in ltmain.sh
7109  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7110  lt_cv_file_magic_cmd='func_win32_libid'
7111  ;;
7112
7113mingw* | pw32*)
7114  # Base MSYS/MinGW do not provide the 'file' command needed by
7115  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7116  # unless we find 'file', for example because we are cross-compiling.
7117  if ( file / ) >/dev/null 2>&1; then
7118    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7119    lt_cv_file_magic_cmd='func_win32_libid'
7120  else
7121    # Keep this pattern in sync with the one in func_win32_libid.
7122    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7123    lt_cv_file_magic_cmd='$OBJDUMP -f'
7124  fi
7125  ;;
7126
7127cegcc*)
7128  # use the weaker test based on 'objdump'. See mingw*.
7129  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7130  lt_cv_file_magic_cmd='$OBJDUMP -f'
7131  ;;
7132
7133darwin* | rhapsody*)
7134  lt_cv_deplibs_check_method=pass_all
7135  ;;
7136
7137freebsd* | dragonfly*)
7138  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7139    case $host_cpu in
7140    i*86 )
7141      # Not sure whether the presence of OpenBSD here was a mistake.
7142      # Let's accept both of them until this is cleared up.
7143      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7144      lt_cv_file_magic_cmd=/usr/bin/file
7145      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7146      ;;
7147    esac
7148  else
7149    lt_cv_deplibs_check_method=pass_all
7150  fi
7151  ;;
7152
7153haiku*)
7154  lt_cv_deplibs_check_method=pass_all
7155  ;;
7156
7157hpux10.20* | hpux11*)
7158  lt_cv_file_magic_cmd=/usr/bin/file
7159  case $host_cpu in
7160  ia64*)
7161    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7162    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7163    ;;
7164  hppa*64*)
7165    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7166    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7167    ;;
7168  *)
7169    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7170    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7171    ;;
7172  esac
7173  ;;
7174
7175interix[3-9]*)
7176  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7177  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7178  ;;
7179
7180irix5* | irix6* | nonstopux*)
7181  case $LD in
7182  *-32|*"-32 ") libmagic=32-bit;;
7183  *-n32|*"-n32 ") libmagic=N32;;
7184  *-64|*"-64 ") libmagic=64-bit;;
7185  *) libmagic=never-match;;
7186  esac
7187  lt_cv_deplibs_check_method=pass_all
7188  ;;
7189
7190# This must be glibc/ELF.
7191linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7192  lt_cv_deplibs_check_method=pass_all
7193  ;;
7194
7195netbsd* | netbsdelf*-gnu)
7196  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7197    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7198  else
7199    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7200  fi
7201  ;;
7202
7203newos6*)
7204  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7205  lt_cv_file_magic_cmd=/usr/bin/file
7206  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7207  ;;
7208
7209*nto* | *qnx*)
7210  lt_cv_deplibs_check_method=pass_all
7211  ;;
7212
7213openbsd* | bitrig*)
7214  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7215    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7216  else
7217    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7218  fi
7219  ;;
7220
7221osf3* | osf4* | osf5*)
7222  lt_cv_deplibs_check_method=pass_all
7223  ;;
7224
7225rdos*)
7226  lt_cv_deplibs_check_method=pass_all
7227  ;;
7228
7229solaris*)
7230  lt_cv_deplibs_check_method=pass_all
7231  ;;
7232
7233sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7234  lt_cv_deplibs_check_method=pass_all
7235  ;;
7236
7237sysv4 | sysv4.3*)
7238  case $host_vendor in
7239  motorola)
7240    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]'
7241    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7242    ;;
7243  ncr)
7244    lt_cv_deplibs_check_method=pass_all
7245    ;;
7246  sequent)
7247    lt_cv_file_magic_cmd='/bin/file'
7248    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7249    ;;
7250  sni)
7251    lt_cv_file_magic_cmd='/bin/file'
7252    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7253    lt_cv_file_magic_test_file=/lib/libc.so
7254    ;;
7255  siemens)
7256    lt_cv_deplibs_check_method=pass_all
7257    ;;
7258  pc)
7259    lt_cv_deplibs_check_method=pass_all
7260    ;;
7261  esac
7262  ;;
7263
7264tpf*)
7265  lt_cv_deplibs_check_method=pass_all
7266  ;;
7267os2*)
7268  lt_cv_deplibs_check_method=pass_all
7269  ;;
7270esac
7271
7272fi
7273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7274$as_echo "$lt_cv_deplibs_check_method" >&6; }
7275
7276file_magic_glob=
7277want_nocaseglob=no
7278if test "$build" = "$host"; then
7279  case $host_os in
7280  mingw* | pw32*)
7281    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7282      want_nocaseglob=yes
7283    else
7284      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7285    fi
7286    ;;
7287  esac
7288fi
7289
7290file_magic_cmd=$lt_cv_file_magic_cmd
7291deplibs_check_method=$lt_cv_deplibs_check_method
7292test -z "$deplibs_check_method" && deplibs_check_method=unknown
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315if test -n "$ac_tool_prefix"; then
7316  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7317set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319$as_echo_n "checking for $ac_word... " >&6; }
7320if ${ac_cv_prog_DLLTOOL+:} false; then :
7321  $as_echo_n "(cached) " >&6
7322else
7323  if test -n "$DLLTOOL"; then
7324  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7325else
7326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7327for as_dir in $PATH
7328do
7329  IFS=$as_save_IFS
7330  test -z "$as_dir" && as_dir=.
7331    for ac_exec_ext in '' $ac_executable_extensions; do
7332  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7334    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7335    break 2
7336  fi
7337done
7338  done
7339IFS=$as_save_IFS
7340
7341fi
7342fi
7343DLLTOOL=$ac_cv_prog_DLLTOOL
7344if test -n "$DLLTOOL"; then
7345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7346$as_echo "$DLLTOOL" >&6; }
7347else
7348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7349$as_echo "no" >&6; }
7350fi
7351
7352
7353fi
7354if test -z "$ac_cv_prog_DLLTOOL"; then
7355  ac_ct_DLLTOOL=$DLLTOOL
7356  # Extract the first word of "dlltool", so it can be a program name with args.
7357set dummy dlltool; ac_word=$2
7358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359$as_echo_n "checking for $ac_word... " >&6; }
7360if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7361  $as_echo_n "(cached) " >&6
7362else
7363  if test -n "$ac_ct_DLLTOOL"; then
7364  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7365else
7366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367for as_dir in $PATH
7368do
7369  IFS=$as_save_IFS
7370  test -z "$as_dir" && as_dir=.
7371    for ac_exec_ext in '' $ac_executable_extensions; do
7372  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7374    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375    break 2
7376  fi
7377done
7378  done
7379IFS=$as_save_IFS
7380
7381fi
7382fi
7383ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7384if test -n "$ac_ct_DLLTOOL"; then
7385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7386$as_echo "$ac_ct_DLLTOOL" >&6; }
7387else
7388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389$as_echo "no" >&6; }
7390fi
7391
7392  if test "x$ac_ct_DLLTOOL" = x; then
7393    DLLTOOL="false"
7394  else
7395    case $cross_compiling:$ac_tool_warned in
7396yes:)
7397{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7398$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7399ac_tool_warned=yes ;;
7400esac
7401    DLLTOOL=$ac_ct_DLLTOOL
7402  fi
7403else
7404  DLLTOOL="$ac_cv_prog_DLLTOOL"
7405fi
7406
7407test -z "$DLLTOOL" && DLLTOOL=dlltool
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7419$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7420if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7421  $as_echo_n "(cached) " >&6
7422else
7423  lt_cv_sharedlib_from_linklib_cmd='unknown'
7424
7425case $host_os in
7426cygwin* | mingw* | pw32* | cegcc*)
7427  # two different shell functions defined in ltmain.sh;
7428  # decide which one to use based on capabilities of $DLLTOOL
7429  case `$DLLTOOL --help 2>&1` in
7430  *--identify-strict*)
7431    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7432    ;;
7433  *)
7434    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7435    ;;
7436  esac
7437  ;;
7438*)
7439  # fallback: assume linklib IS sharedlib
7440  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7441  ;;
7442esac
7443
7444fi
7445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7446$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7447sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7448test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7449
7450
7451
7452
7453
7454
7455
7456if test -n "$ac_tool_prefix"; then
7457  for ac_prog in ar
7458  do
7459    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7460set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462$as_echo_n "checking for $ac_word... " >&6; }
7463if ${ac_cv_prog_AR+:} false; then :
7464  $as_echo_n "(cached) " >&6
7465else
7466  if test -n "$AR"; then
7467  ac_cv_prog_AR="$AR" # Let the user override the test.
7468else
7469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7470for as_dir in $PATH
7471do
7472  IFS=$as_save_IFS
7473  test -z "$as_dir" && as_dir=.
7474    for ac_exec_ext in '' $ac_executable_extensions; do
7475  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7476    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7477    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478    break 2
7479  fi
7480done
7481  done
7482IFS=$as_save_IFS
7483
7484fi
7485fi
7486AR=$ac_cv_prog_AR
7487if test -n "$AR"; then
7488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7489$as_echo "$AR" >&6; }
7490else
7491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492$as_echo "no" >&6; }
7493fi
7494
7495
7496    test -n "$AR" && break
7497  done
7498fi
7499if test -z "$AR"; then
7500  ac_ct_AR=$AR
7501  for ac_prog in ar
7502do
7503  # Extract the first word of "$ac_prog", so it can be a program name with args.
7504set dummy $ac_prog; ac_word=$2
7505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506$as_echo_n "checking for $ac_word... " >&6; }
7507if ${ac_cv_prog_ac_ct_AR+:} false; then :
7508  $as_echo_n "(cached) " >&6
7509else
7510  if test -n "$ac_ct_AR"; then
7511  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7512else
7513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514for as_dir in $PATH
7515do
7516  IFS=$as_save_IFS
7517  test -z "$as_dir" && as_dir=.
7518    for ac_exec_ext in '' $ac_executable_extensions; do
7519  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7520    ac_cv_prog_ac_ct_AR="$ac_prog"
7521    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522    break 2
7523  fi
7524done
7525  done
7526IFS=$as_save_IFS
7527
7528fi
7529fi
7530ac_ct_AR=$ac_cv_prog_ac_ct_AR
7531if test -n "$ac_ct_AR"; then
7532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7533$as_echo "$ac_ct_AR" >&6; }
7534else
7535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536$as_echo "no" >&6; }
7537fi
7538
7539
7540  test -n "$ac_ct_AR" && break
7541done
7542
7543  if test "x$ac_ct_AR" = x; then
7544    AR="false"
7545  else
7546    case $cross_compiling:$ac_tool_warned in
7547yes:)
7548{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7549$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7550ac_tool_warned=yes ;;
7551esac
7552    AR=$ac_ct_AR
7553  fi
7554fi
7555
7556: ${AR=ar}
7557: ${AR_FLAGS=cr}
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7570$as_echo_n "checking for archiver @FILE support... " >&6; }
7571if ${lt_cv_ar_at_file+:} false; then :
7572  $as_echo_n "(cached) " >&6
7573else
7574  lt_cv_ar_at_file=no
7575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7576/* end confdefs.h.  */
7577
7578int
7579main ()
7580{
7581
7582  ;
7583  return 0;
7584}
7585_ACEOF
7586if ac_fn_c_try_compile "$LINENO"; then :
7587  echo conftest.$ac_objext > conftest.lst
7588      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7589      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7590  (eval $lt_ar_try) 2>&5
7591  ac_status=$?
7592  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7593  test $ac_status = 0; }
7594      if test 0 -eq "$ac_status"; then
7595	# Ensure the archiver fails upon bogus file names.
7596	rm -f conftest.$ac_objext libconftest.a
7597	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7598  (eval $lt_ar_try) 2>&5
7599  ac_status=$?
7600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7601  test $ac_status = 0; }
7602	if test 0 -ne "$ac_status"; then
7603          lt_cv_ar_at_file=@
7604        fi
7605      fi
7606      rm -f conftest.* libconftest.a
7607
7608fi
7609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7610
7611fi
7612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7613$as_echo "$lt_cv_ar_at_file" >&6; }
7614
7615if test no = "$lt_cv_ar_at_file"; then
7616  archiver_list_spec=
7617else
7618  archiver_list_spec=$lt_cv_ar_at_file
7619fi
7620
7621
7622
7623
7624
7625
7626
7627if test -n "$ac_tool_prefix"; then
7628  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7629set dummy ${ac_tool_prefix}strip; ac_word=$2
7630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631$as_echo_n "checking for $ac_word... " >&6; }
7632if ${ac_cv_prog_STRIP+:} false; then :
7633  $as_echo_n "(cached) " >&6
7634else
7635  if test -n "$STRIP"; then
7636  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7637else
7638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639for as_dir in $PATH
7640do
7641  IFS=$as_save_IFS
7642  test -z "$as_dir" && as_dir=.
7643    for ac_exec_ext in '' $ac_executable_extensions; do
7644  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7646    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647    break 2
7648  fi
7649done
7650  done
7651IFS=$as_save_IFS
7652
7653fi
7654fi
7655STRIP=$ac_cv_prog_STRIP
7656if test -n "$STRIP"; then
7657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7658$as_echo "$STRIP" >&6; }
7659else
7660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661$as_echo "no" >&6; }
7662fi
7663
7664
7665fi
7666if test -z "$ac_cv_prog_STRIP"; then
7667  ac_ct_STRIP=$STRIP
7668  # Extract the first word of "strip", so it can be a program name with args.
7669set dummy strip; ac_word=$2
7670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7671$as_echo_n "checking for $ac_word... " >&6; }
7672if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7673  $as_echo_n "(cached) " >&6
7674else
7675  if test -n "$ac_ct_STRIP"; then
7676  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7677else
7678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679for as_dir in $PATH
7680do
7681  IFS=$as_save_IFS
7682  test -z "$as_dir" && as_dir=.
7683    for ac_exec_ext in '' $ac_executable_extensions; do
7684  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7685    ac_cv_prog_ac_ct_STRIP="strip"
7686    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7687    break 2
7688  fi
7689done
7690  done
7691IFS=$as_save_IFS
7692
7693fi
7694fi
7695ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7696if test -n "$ac_ct_STRIP"; then
7697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7698$as_echo "$ac_ct_STRIP" >&6; }
7699else
7700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7701$as_echo "no" >&6; }
7702fi
7703
7704  if test "x$ac_ct_STRIP" = x; then
7705    STRIP=":"
7706  else
7707    case $cross_compiling:$ac_tool_warned in
7708yes:)
7709{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7710$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7711ac_tool_warned=yes ;;
7712esac
7713    STRIP=$ac_ct_STRIP
7714  fi
7715else
7716  STRIP="$ac_cv_prog_STRIP"
7717fi
7718
7719test -z "$STRIP" && STRIP=:
7720
7721
7722
7723
7724
7725
7726if test -n "$ac_tool_prefix"; then
7727  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7728set dummy ${ac_tool_prefix}ranlib; 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 ${ac_cv_prog_RANLIB+:} false; then :
7732  $as_echo_n "(cached) " >&6
7733else
7734  if test -n "$RANLIB"; then
7735  ac_cv_prog_RANLIB="$RANLIB" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7744    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
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
7754RANLIB=$ac_cv_prog_RANLIB
7755if test -n "$RANLIB"; then
7756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7757$as_echo "$RANLIB" >&6; }
7758else
7759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7760$as_echo "no" >&6; }
7761fi
7762
7763
7764fi
7765if test -z "$ac_cv_prog_RANLIB"; then
7766  ac_ct_RANLIB=$RANLIB
7767  # Extract the first word of "ranlib", so it can be a program name with args.
7768set dummy ranlib; ac_word=$2
7769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7770$as_echo_n "checking for $ac_word... " >&6; }
7771if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7772  $as_echo_n "(cached) " >&6
7773else
7774  if test -n "$ac_ct_RANLIB"; then
7775  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7776else
7777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778for as_dir in $PATH
7779do
7780  IFS=$as_save_IFS
7781  test -z "$as_dir" && as_dir=.
7782    for ac_exec_ext in '' $ac_executable_extensions; do
7783  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7784    ac_cv_prog_ac_ct_RANLIB="ranlib"
7785    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7786    break 2
7787  fi
7788done
7789  done
7790IFS=$as_save_IFS
7791
7792fi
7793fi
7794ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7795if test -n "$ac_ct_RANLIB"; then
7796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7797$as_echo "$ac_ct_RANLIB" >&6; }
7798else
7799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800$as_echo "no" >&6; }
7801fi
7802
7803  if test "x$ac_ct_RANLIB" = x; then
7804    RANLIB=":"
7805  else
7806    case $cross_compiling:$ac_tool_warned in
7807yes:)
7808{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7809$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7810ac_tool_warned=yes ;;
7811esac
7812    RANLIB=$ac_ct_RANLIB
7813  fi
7814else
7815  RANLIB="$ac_cv_prog_RANLIB"
7816fi
7817
7818test -z "$RANLIB" && RANLIB=:
7819
7820
7821
7822
7823
7824
7825# Determine commands to create old-style static archives.
7826old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7827old_postinstall_cmds='chmod 644 $oldlib'
7828old_postuninstall_cmds=
7829
7830if test -n "$RANLIB"; then
7831  case $host_os in
7832  bitrig* | openbsd*)
7833    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7834    ;;
7835  *)
7836    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7837    ;;
7838  esac
7839  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7840fi
7841
7842case $host_os in
7843  darwin*)
7844    lock_old_archive_extraction=yes ;;
7845  *)
7846    lock_old_archive_extraction=no ;;
7847esac
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887# If no C compiler was specified, use CC.
7888LTCC=${LTCC-"$CC"}
7889
7890# If no C compiler flags were specified, use CFLAGS.
7891LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7892
7893# Allow CC to be a program name with arguments.
7894compiler=$CC
7895
7896
7897# Check for command to grab the raw symbol name followed by C symbol from nm.
7898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7899$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7900if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7901  $as_echo_n "(cached) " >&6
7902else
7903
7904# These are sane defaults that work on at least a few old systems.
7905# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7906
7907# Character class describing NM global symbol codes.
7908symcode='[BCDEGRST]'
7909
7910# Regexp to match symbols that can be accessed directly from C.
7911sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7912
7913# Define system-specific variables.
7914case $host_os in
7915aix*)
7916  symcode='[BCDT]'
7917  ;;
7918cygwin* | mingw* | pw32* | cegcc*)
7919  symcode='[ABCDGISTW]'
7920  ;;
7921hpux*)
7922  if test ia64 = "$host_cpu"; then
7923    symcode='[ABCDEGRST]'
7924  fi
7925  ;;
7926irix* | nonstopux*)
7927  symcode='[BCDEGRST]'
7928  ;;
7929osf*)
7930  symcode='[BCDEGQRST]'
7931  ;;
7932solaris*)
7933  symcode='[BDRT]'
7934  ;;
7935sco3.2v5*)
7936  symcode='[DT]'
7937  ;;
7938sysv4.2uw2*)
7939  symcode='[DT]'
7940  ;;
7941sysv5* | sco5v6* | unixware* | OpenUNIX*)
7942  symcode='[ABDT]'
7943  ;;
7944sysv4)
7945  symcode='[DFNSTU]'
7946  ;;
7947esac
7948
7949# If we're using GNU nm, then use its standard symbol codes.
7950case `$NM -V 2>&1` in
7951*GNU* | *'with BFD'*)
7952  symcode='[ABCDGIRSTW]' ;;
7953esac
7954
7955if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7956  # Gets list of data symbols to import.
7957  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7958  # Adjust the below global symbol transforms to fixup imported variables.
7959  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7960  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7961  lt_c_name_lib_hook="\
7962  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7963  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7964else
7965  # Disable hooks by default.
7966  lt_cv_sys_global_symbol_to_import=
7967  lt_cdecl_hook=
7968  lt_c_name_hook=
7969  lt_c_name_lib_hook=
7970fi
7971
7972# Transform an extracted symbol line into a proper C declaration.
7973# Some systems (esp. on ia64) link data and code symbols differently,
7974# so use this general approach.
7975lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7976$lt_cdecl_hook\
7977" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7978" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7979
7980# Transform an extracted symbol line into symbol name and symbol address
7981lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7982$lt_c_name_hook\
7983" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7984" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7985
7986# Transform an extracted symbol line into symbol name with lib prefix and
7987# symbol address.
7988lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7989$lt_c_name_lib_hook\
7990" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7991" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7992" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7993
7994# Handle CRLF in mingw tool chain
7995opt_cr=
7996case $build_os in
7997mingw*)
7998  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7999  ;;
8000esac
8001
8002# Try without a prefix underscore, then with it.
8003for ac_symprfx in "" "_"; do
8004
8005  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8006  symxfrm="\\1 $ac_symprfx\\2 \\2"
8007
8008  # Write the raw and C identifiers.
8009  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8010    # Fake it for dumpbin and say T for any non-static function,
8011    # D for any global variable and I for any imported variable.
8012    # Also find C++ and __fastcall symbols from MSVC++,
8013    # which start with @ or ?.
8014    lt_cv_sys_global_symbol_pipe="$AWK '"\
8015"     {last_section=section; section=\$ 3};"\
8016"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8017"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8018"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8019"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8020"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8021"     \$ 0!~/External *\|/{next};"\
8022"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8023"     {if(hide[section]) next};"\
8024"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8025"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8026"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8027"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8028"     ' prfx=^$ac_symprfx"
8029  else
8030    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8031  fi
8032  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8033
8034  # Check to see that the pipe works correctly.
8035  pipe_works=no
8036
8037  rm -f conftest*
8038  cat > conftest.$ac_ext <<_LT_EOF
8039#ifdef __cplusplus
8040extern "C" {
8041#endif
8042char nm_test_var;
8043void nm_test_func(void);
8044void nm_test_func(void){}
8045#ifdef __cplusplus
8046}
8047#endif
8048int main(){nm_test_var='a';nm_test_func();return(0);}
8049_LT_EOF
8050
8051  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8052  (eval $ac_compile) 2>&5
8053  ac_status=$?
8054  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8055  test $ac_status = 0; }; then
8056    # Now try to grab the symbols.
8057    nlist=conftest.nm
8058    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
8059    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
8060      # Try sorting and uniquifying the output.
8061      if sort "$nlist" | uniq > "$nlist"T; then
8062	mv -f "$nlist"T "$nlist"
8063      else
8064	rm -f "$nlist"T
8065      fi
8066
8067      # Make sure that we snagged all the symbols we need.
8068      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8069	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8070	  cat <<_LT_EOF > conftest.$ac_ext
8071/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8072#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8073/* DATA imports from DLLs on WIN32 can't be const, because runtime
8074   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8075# define LT_DLSYM_CONST
8076#elif defined __osf__
8077/* This system does not cope well with relocations in const data.  */
8078# define LT_DLSYM_CONST
8079#else
8080# define LT_DLSYM_CONST const
8081#endif
8082
8083#ifdef __cplusplus
8084extern "C" {
8085#endif
8086
8087_LT_EOF
8088	  # Now generate the symbol file.
8089	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8090
8091	  cat <<_LT_EOF >> conftest.$ac_ext
8092
8093/* The mapping between symbol names and symbols.  */
8094LT_DLSYM_CONST struct {
8095  const char *name;
8096  void       *address;
8097}
8098lt__PROGRAM__LTX_preloaded_symbols[] =
8099{
8100  { "@PROGRAM@", (void *) 0 },
8101_LT_EOF
8102	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8103	  cat <<\_LT_EOF >> conftest.$ac_ext
8104  {0, (void *) 0}
8105};
8106
8107/* This works around a problem in FreeBSD linker */
8108#ifdef FREEBSD_WORKAROUND
8109static const void *lt_preloaded_setup() {
8110  return lt__PROGRAM__LTX_preloaded_symbols;
8111}
8112#endif
8113
8114#ifdef __cplusplus
8115}
8116#endif
8117_LT_EOF
8118	  # Now try linking the two files.
8119	  mv conftest.$ac_objext conftstm.$ac_objext
8120	  lt_globsym_save_LIBS=$LIBS
8121	  lt_globsym_save_CFLAGS=$CFLAGS
8122	  LIBS=conftstm.$ac_objext
8123	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8124	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8125  (eval $ac_link) 2>&5
8126  ac_status=$?
8127  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8128  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8129	    pipe_works=yes
8130	  fi
8131	  LIBS=$lt_globsym_save_LIBS
8132	  CFLAGS=$lt_globsym_save_CFLAGS
8133	else
8134	  echo "cannot find nm_test_func in $nlist" >&5
8135	fi
8136      else
8137	echo "cannot find nm_test_var in $nlist" >&5
8138      fi
8139    else
8140      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8141    fi
8142  else
8143    echo "$progname: failed program was:" >&5
8144    cat conftest.$ac_ext >&5
8145  fi
8146  rm -rf conftest* conftst*
8147
8148  # Do not use the global_symbol_pipe unless it works.
8149  if test yes = "$pipe_works"; then
8150    break
8151  else
8152    lt_cv_sys_global_symbol_pipe=
8153  fi
8154done
8155
8156fi
8157
8158if test -z "$lt_cv_sys_global_symbol_pipe"; then
8159  lt_cv_sys_global_symbol_to_cdecl=
8160fi
8161if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8163$as_echo "failed" >&6; }
8164else
8165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8166$as_echo "ok" >&6; }
8167fi
8168
8169# Response file support.
8170if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8171  nm_file_list_spec='@'
8172elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8173  nm_file_list_spec='@'
8174fi
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8213$as_echo_n "checking for sysroot... " >&6; }
8214
8215# Check whether --with-sysroot was given.
8216if test "${with_sysroot+set}" = set; then :
8217  withval=$with_sysroot;
8218else
8219  with_sysroot=no
8220fi
8221
8222
8223lt_sysroot=
8224case $with_sysroot in #(
8225 yes)
8226   if test yes = "$GCC"; then
8227     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8228   fi
8229   ;; #(
8230 /*)
8231   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8232   ;; #(
8233 no|'')
8234   ;; #(
8235 *)
8236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8237$as_echo "$with_sysroot" >&6; }
8238   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8239   ;;
8240esac
8241
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8243$as_echo "${lt_sysroot:-no}" >&6; }
8244
8245
8246
8247
8248
8249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8250$as_echo_n "checking for a working dd... " >&6; }
8251if ${ac_cv_path_lt_DD+:} false; then :
8252  $as_echo_n "(cached) " >&6
8253else
8254  printf 0123456789abcdef0123456789abcdef >conftest.i
8255cat conftest.i conftest.i >conftest2.i
8256: ${lt_DD:=$DD}
8257if test -z "$lt_DD"; then
8258  ac_path_lt_DD_found=false
8259  # Loop through the user's path and test for each of PROGNAME-LIST
8260  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261for as_dir in $PATH
8262do
8263  IFS=$as_save_IFS
8264  test -z "$as_dir" && as_dir=.
8265    for ac_prog in dd; do
8266    for ac_exec_ext in '' $ac_executable_extensions; do
8267      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8268      as_fn_executable_p "$ac_path_lt_DD" || continue
8269if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8270  cmp -s conftest.i conftest.out \
8271  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8272fi
8273      $ac_path_lt_DD_found && break 3
8274    done
8275  done
8276  done
8277IFS=$as_save_IFS
8278  if test -z "$ac_cv_path_lt_DD"; then
8279    :
8280  fi
8281else
8282  ac_cv_path_lt_DD=$lt_DD
8283fi
8284
8285rm -f conftest.i conftest2.i conftest.out
8286fi
8287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8288$as_echo "$ac_cv_path_lt_DD" >&6; }
8289
8290
8291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8292$as_echo_n "checking how to truncate binary pipes... " >&6; }
8293if ${lt_cv_truncate_bin+:} false; then :
8294  $as_echo_n "(cached) " >&6
8295else
8296  printf 0123456789abcdef0123456789abcdef >conftest.i
8297cat conftest.i conftest.i >conftest2.i
8298lt_cv_truncate_bin=
8299if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8300  cmp -s conftest.i conftest.out \
8301  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8302fi
8303rm -f conftest.i conftest2.i conftest.out
8304test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8305fi
8306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8307$as_echo "$lt_cv_truncate_bin" >&6; }
8308
8309
8310
8311
8312
8313
8314
8315# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8316func_cc_basename ()
8317{
8318    for cc_temp in $*""; do
8319      case $cc_temp in
8320        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8321        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8322        \-*) ;;
8323        *) break;;
8324      esac
8325    done
8326    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8327}
8328
8329# Check whether --enable-libtool-lock was given.
8330if test "${enable_libtool_lock+set}" = set; then :
8331  enableval=$enable_libtool_lock;
8332fi
8333
8334test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8335
8336# Some flags need to be propagated to the compiler or linker for good
8337# libtool support.
8338case $host in
8339ia64-*-hpux*)
8340  # Find out what ABI is being produced by ac_compile, and set mode
8341  # options accordingly.
8342  echo 'int i;' > conftest.$ac_ext
8343  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8344  (eval $ac_compile) 2>&5
8345  ac_status=$?
8346  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8347  test $ac_status = 0; }; then
8348    case `/usr/bin/file conftest.$ac_objext` in
8349      *ELF-32*)
8350	HPUX_IA64_MODE=32
8351	;;
8352      *ELF-64*)
8353	HPUX_IA64_MODE=64
8354	;;
8355    esac
8356  fi
8357  rm -rf conftest*
8358  ;;
8359*-*-irix6*)
8360  # Find out what ABI is being produced by ac_compile, and set linker
8361  # options accordingly.
8362  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8363  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8364  (eval $ac_compile) 2>&5
8365  ac_status=$?
8366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8367  test $ac_status = 0; }; then
8368    if test yes = "$lt_cv_prog_gnu_ld"; then
8369      case `/usr/bin/file conftest.$ac_objext` in
8370	*32-bit*)
8371	  LD="${LD-ld} -melf32bsmip"
8372	  ;;
8373	*N32*)
8374	  LD="${LD-ld} -melf32bmipn32"
8375	  ;;
8376	*64-bit*)
8377	  LD="${LD-ld} -melf64bmip"
8378	;;
8379      esac
8380    else
8381      case `/usr/bin/file conftest.$ac_objext` in
8382	*32-bit*)
8383	  LD="${LD-ld} -32"
8384	  ;;
8385	*N32*)
8386	  LD="${LD-ld} -n32"
8387	  ;;
8388	*64-bit*)
8389	  LD="${LD-ld} -64"
8390	  ;;
8391      esac
8392    fi
8393  fi
8394  rm -rf conftest*
8395  ;;
8396
8397mips64*-*linux*)
8398  # Find out what ABI is being produced by ac_compile, and set linker
8399  # options accordingly.
8400  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8401  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8402  (eval $ac_compile) 2>&5
8403  ac_status=$?
8404  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8405  test $ac_status = 0; }; then
8406    emul=elf
8407    case `/usr/bin/file conftest.$ac_objext` in
8408      *32-bit*)
8409	emul="${emul}32"
8410	;;
8411      *64-bit*)
8412	emul="${emul}64"
8413	;;
8414    esac
8415    case `/usr/bin/file conftest.$ac_objext` in
8416      *MSB*)
8417	emul="${emul}btsmip"
8418	;;
8419      *LSB*)
8420	emul="${emul}ltsmip"
8421	;;
8422    esac
8423    case `/usr/bin/file conftest.$ac_objext` in
8424      *N32*)
8425	emul="${emul}n32"
8426	;;
8427    esac
8428    LD="${LD-ld} -m $emul"
8429  fi
8430  rm -rf conftest*
8431  ;;
8432
8433x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8434s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8435  # Find out what ABI is being produced by ac_compile, and set linker
8436  # options accordingly.  Note that the listed cases only cover the
8437  # situations where additional linker options are needed (such as when
8438  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8439  # vice versa); the common cases where no linker options are needed do
8440  # not appear in the list.
8441  echo 'int i;' > conftest.$ac_ext
8442  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8443  (eval $ac_compile) 2>&5
8444  ac_status=$?
8445  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8446  test $ac_status = 0; }; then
8447    case `/usr/bin/file conftest.o` in
8448      *32-bit*)
8449	case $host in
8450	  x86_64-*kfreebsd*-gnu)
8451	    LD="${LD-ld} -m elf_i386_fbsd"
8452	    ;;
8453	  x86_64-*linux*)
8454	    case `/usr/bin/file conftest.o` in
8455	      *x86-64*)
8456		LD="${LD-ld} -m elf32_x86_64"
8457		;;
8458	      *)
8459		LD="${LD-ld} -m elf_i386"
8460		;;
8461	    esac
8462	    ;;
8463	  powerpc64le-*linux*)
8464	    LD="${LD-ld} -m elf32lppclinux"
8465	    ;;
8466	  powerpc64-*linux*)
8467	    LD="${LD-ld} -m elf32ppclinux"
8468	    ;;
8469	  s390x-*linux*)
8470	    LD="${LD-ld} -m elf_s390"
8471	    ;;
8472	  sparc64-*linux*)
8473	    LD="${LD-ld} -m elf32_sparc"
8474	    ;;
8475	esac
8476	;;
8477      *64-bit*)
8478	case $host in
8479	  x86_64-*kfreebsd*-gnu)
8480	    LD="${LD-ld} -m elf_x86_64_fbsd"
8481	    ;;
8482	  x86_64-*linux*)
8483	    LD="${LD-ld} -m elf_x86_64"
8484	    ;;
8485	  powerpcle-*linux*)
8486	    LD="${LD-ld} -m elf64lppc"
8487	    ;;
8488	  powerpc-*linux*)
8489	    LD="${LD-ld} -m elf64ppc"
8490	    ;;
8491	  s390*-*linux*|s390*-*tpf*)
8492	    LD="${LD-ld} -m elf64_s390"
8493	    ;;
8494	  sparc*-*linux*)
8495	    LD="${LD-ld} -m elf64_sparc"
8496	    ;;
8497	esac
8498	;;
8499    esac
8500  fi
8501  rm -rf conftest*
8502  ;;
8503
8504*-*-sco3.2v5*)
8505  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8506  SAVE_CFLAGS=$CFLAGS
8507  CFLAGS="$CFLAGS -belf"
8508  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8509$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8510if ${lt_cv_cc_needs_belf+:} false; then :
8511  $as_echo_n "(cached) " >&6
8512else
8513  ac_ext=c
8514ac_cpp='$CPP $CPPFLAGS'
8515ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8516ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8517ac_compiler_gnu=$ac_cv_c_compiler_gnu
8518
8519     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520/* end confdefs.h.  */
8521
8522int
8523main ()
8524{
8525
8526  ;
8527  return 0;
8528}
8529_ACEOF
8530if ac_fn_c_try_link "$LINENO"; then :
8531  lt_cv_cc_needs_belf=yes
8532else
8533  lt_cv_cc_needs_belf=no
8534fi
8535rm -f core conftest.err conftest.$ac_objext \
8536    conftest$ac_exeext conftest.$ac_ext
8537     ac_ext=c
8538ac_cpp='$CPP $CPPFLAGS'
8539ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8540ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8541ac_compiler_gnu=$ac_cv_c_compiler_gnu
8542
8543fi
8544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8545$as_echo "$lt_cv_cc_needs_belf" >&6; }
8546  if test yes != "$lt_cv_cc_needs_belf"; then
8547    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8548    CFLAGS=$SAVE_CFLAGS
8549  fi
8550  ;;
8551*-*solaris*)
8552  # Find out what ABI is being produced by ac_compile, and set linker
8553  # options accordingly.
8554  echo 'int i;' > conftest.$ac_ext
8555  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8556  (eval $ac_compile) 2>&5
8557  ac_status=$?
8558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8559  test $ac_status = 0; }; then
8560    case `/usr/bin/file conftest.o` in
8561    *64-bit*)
8562      case $lt_cv_prog_gnu_ld in
8563      yes*)
8564        case $host in
8565        i?86-*-solaris*|x86_64-*-solaris*)
8566          LD="${LD-ld} -m elf_x86_64"
8567          ;;
8568        sparc*-*-solaris*)
8569          LD="${LD-ld} -m elf64_sparc"
8570          ;;
8571        esac
8572        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8573        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8574          LD=${LD-ld}_sol2
8575        fi
8576        ;;
8577      *)
8578	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8579	  LD="${LD-ld} -64"
8580	fi
8581	;;
8582      esac
8583      ;;
8584    esac
8585  fi
8586  rm -rf conftest*
8587  ;;
8588esac
8589
8590need_locks=$enable_libtool_lock
8591
8592if test -n "$ac_tool_prefix"; then
8593  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8594set dummy ${ac_tool_prefix}mt; ac_word=$2
8595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8596$as_echo_n "checking for $ac_word... " >&6; }
8597if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8598  $as_echo_n "(cached) " >&6
8599else
8600  if test -n "$MANIFEST_TOOL"; then
8601  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8602else
8603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8604for as_dir in $PATH
8605do
8606  IFS=$as_save_IFS
8607  test -z "$as_dir" && as_dir=.
8608    for ac_exec_ext in '' $ac_executable_extensions; do
8609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8610    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8612    break 2
8613  fi
8614done
8615  done
8616IFS=$as_save_IFS
8617
8618fi
8619fi
8620MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8621if test -n "$MANIFEST_TOOL"; then
8622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8623$as_echo "$MANIFEST_TOOL" >&6; }
8624else
8625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8626$as_echo "no" >&6; }
8627fi
8628
8629
8630fi
8631if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8632  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8633  # Extract the first word of "mt", so it can be a program name with args.
8634set dummy mt; ac_word=$2
8635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8636$as_echo_n "checking for $ac_word... " >&6; }
8637if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8638  $as_echo_n "(cached) " >&6
8639else
8640  if test -n "$ac_ct_MANIFEST_TOOL"; then
8641  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8642else
8643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644for as_dir in $PATH
8645do
8646  IFS=$as_save_IFS
8647  test -z "$as_dir" && as_dir=.
8648    for ac_exec_ext in '' $ac_executable_extensions; do
8649  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8650    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8652    break 2
8653  fi
8654done
8655  done
8656IFS=$as_save_IFS
8657
8658fi
8659fi
8660ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8661if test -n "$ac_ct_MANIFEST_TOOL"; then
8662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8663$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8664else
8665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666$as_echo "no" >&6; }
8667fi
8668
8669  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8670    MANIFEST_TOOL=":"
8671  else
8672    case $cross_compiling:$ac_tool_warned in
8673yes:)
8674{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8675$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8676ac_tool_warned=yes ;;
8677esac
8678    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8679  fi
8680else
8681  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8682fi
8683
8684test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8686$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8687if ${lt_cv_path_mainfest_tool+:} false; then :
8688  $as_echo_n "(cached) " >&6
8689else
8690  lt_cv_path_mainfest_tool=no
8691  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8692  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8693  cat conftest.err >&5
8694  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8695    lt_cv_path_mainfest_tool=yes
8696  fi
8697  rm -f conftest*
8698fi
8699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8700$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8701if test yes != "$lt_cv_path_mainfest_tool"; then
8702  MANIFEST_TOOL=:
8703fi
8704
8705
8706
8707
8708
8709
8710  case $host_os in
8711    rhapsody* | darwin*)
8712    if test -n "$ac_tool_prefix"; then
8713  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8714set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716$as_echo_n "checking for $ac_word... " >&6; }
8717if ${ac_cv_prog_DSYMUTIL+:} false; then :
8718  $as_echo_n "(cached) " >&6
8719else
8720  if test -n "$DSYMUTIL"; then
8721  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8722else
8723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8724for as_dir in $PATH
8725do
8726  IFS=$as_save_IFS
8727  test -z "$as_dir" && as_dir=.
8728    for ac_exec_ext in '' $ac_executable_extensions; do
8729  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8730    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8731    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732    break 2
8733  fi
8734done
8735  done
8736IFS=$as_save_IFS
8737
8738fi
8739fi
8740DSYMUTIL=$ac_cv_prog_DSYMUTIL
8741if test -n "$DSYMUTIL"; then
8742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8743$as_echo "$DSYMUTIL" >&6; }
8744else
8745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746$as_echo "no" >&6; }
8747fi
8748
8749
8750fi
8751if test -z "$ac_cv_prog_DSYMUTIL"; then
8752  ac_ct_DSYMUTIL=$DSYMUTIL
8753  # Extract the first word of "dsymutil", so it can be a program name with args.
8754set dummy dsymutil; ac_word=$2
8755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8756$as_echo_n "checking for $ac_word... " >&6; }
8757if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8758  $as_echo_n "(cached) " >&6
8759else
8760  if test -n "$ac_ct_DSYMUTIL"; then
8761  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8762else
8763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8764for as_dir in $PATH
8765do
8766  IFS=$as_save_IFS
8767  test -z "$as_dir" && as_dir=.
8768    for ac_exec_ext in '' $ac_executable_extensions; do
8769  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8770    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8771    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8772    break 2
8773  fi
8774done
8775  done
8776IFS=$as_save_IFS
8777
8778fi
8779fi
8780ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8781if test -n "$ac_ct_DSYMUTIL"; then
8782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8783$as_echo "$ac_ct_DSYMUTIL" >&6; }
8784else
8785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8786$as_echo "no" >&6; }
8787fi
8788
8789  if test "x$ac_ct_DSYMUTIL" = x; then
8790    DSYMUTIL=":"
8791  else
8792    case $cross_compiling:$ac_tool_warned in
8793yes:)
8794{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8795$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8796ac_tool_warned=yes ;;
8797esac
8798    DSYMUTIL=$ac_ct_DSYMUTIL
8799  fi
8800else
8801  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8802fi
8803
8804    if test -n "$ac_tool_prefix"; then
8805  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8806set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808$as_echo_n "checking for $ac_word... " >&6; }
8809if ${ac_cv_prog_NMEDIT+:} false; then :
8810  $as_echo_n "(cached) " >&6
8811else
8812  if test -n "$NMEDIT"; then
8813  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8814else
8815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816for as_dir in $PATH
8817do
8818  IFS=$as_save_IFS
8819  test -z "$as_dir" && as_dir=.
8820    for ac_exec_ext in '' $ac_executable_extensions; do
8821  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8822    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8823    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824    break 2
8825  fi
8826done
8827  done
8828IFS=$as_save_IFS
8829
8830fi
8831fi
8832NMEDIT=$ac_cv_prog_NMEDIT
8833if test -n "$NMEDIT"; then
8834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8835$as_echo "$NMEDIT" >&6; }
8836else
8837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838$as_echo "no" >&6; }
8839fi
8840
8841
8842fi
8843if test -z "$ac_cv_prog_NMEDIT"; then
8844  ac_ct_NMEDIT=$NMEDIT
8845  # Extract the first word of "nmedit", so it can be a program name with args.
8846set dummy nmedit; ac_word=$2
8847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8848$as_echo_n "checking for $ac_word... " >&6; }
8849if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8850  $as_echo_n "(cached) " >&6
8851else
8852  if test -n "$ac_ct_NMEDIT"; then
8853  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8854else
8855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8856for as_dir in $PATH
8857do
8858  IFS=$as_save_IFS
8859  test -z "$as_dir" && as_dir=.
8860    for ac_exec_ext in '' $ac_executable_extensions; do
8861  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8862    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8863    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8864    break 2
8865  fi
8866done
8867  done
8868IFS=$as_save_IFS
8869
8870fi
8871fi
8872ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8873if test -n "$ac_ct_NMEDIT"; then
8874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8875$as_echo "$ac_ct_NMEDIT" >&6; }
8876else
8877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878$as_echo "no" >&6; }
8879fi
8880
8881  if test "x$ac_ct_NMEDIT" = x; then
8882    NMEDIT=":"
8883  else
8884    case $cross_compiling:$ac_tool_warned in
8885yes:)
8886{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8887$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8888ac_tool_warned=yes ;;
8889esac
8890    NMEDIT=$ac_ct_NMEDIT
8891  fi
8892else
8893  NMEDIT="$ac_cv_prog_NMEDIT"
8894fi
8895
8896    if test -n "$ac_tool_prefix"; then
8897  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8898set dummy ${ac_tool_prefix}lipo; ac_word=$2
8899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8900$as_echo_n "checking for $ac_word... " >&6; }
8901if ${ac_cv_prog_LIPO+:} false; then :
8902  $as_echo_n "(cached) " >&6
8903else
8904  if test -n "$LIPO"; then
8905  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8906else
8907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8908for as_dir in $PATH
8909do
8910  IFS=$as_save_IFS
8911  test -z "$as_dir" && as_dir=.
8912    for ac_exec_ext in '' $ac_executable_extensions; do
8913  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8914    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8915    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916    break 2
8917  fi
8918done
8919  done
8920IFS=$as_save_IFS
8921
8922fi
8923fi
8924LIPO=$ac_cv_prog_LIPO
8925if test -n "$LIPO"; then
8926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8927$as_echo "$LIPO" >&6; }
8928else
8929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930$as_echo "no" >&6; }
8931fi
8932
8933
8934fi
8935if test -z "$ac_cv_prog_LIPO"; then
8936  ac_ct_LIPO=$LIPO
8937  # Extract the first word of "lipo", so it can be a program name with args.
8938set dummy lipo; ac_word=$2
8939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8940$as_echo_n "checking for $ac_word... " >&6; }
8941if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8942  $as_echo_n "(cached) " >&6
8943else
8944  if test -n "$ac_ct_LIPO"; then
8945  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8946else
8947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948for as_dir in $PATH
8949do
8950  IFS=$as_save_IFS
8951  test -z "$as_dir" && as_dir=.
8952    for ac_exec_ext in '' $ac_executable_extensions; do
8953  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8954    ac_cv_prog_ac_ct_LIPO="lipo"
8955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8956    break 2
8957  fi
8958done
8959  done
8960IFS=$as_save_IFS
8961
8962fi
8963fi
8964ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8965if test -n "$ac_ct_LIPO"; then
8966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8967$as_echo "$ac_ct_LIPO" >&6; }
8968else
8969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8970$as_echo "no" >&6; }
8971fi
8972
8973  if test "x$ac_ct_LIPO" = x; then
8974    LIPO=":"
8975  else
8976    case $cross_compiling:$ac_tool_warned in
8977yes:)
8978{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8979$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8980ac_tool_warned=yes ;;
8981esac
8982    LIPO=$ac_ct_LIPO
8983  fi
8984else
8985  LIPO="$ac_cv_prog_LIPO"
8986fi
8987
8988    if test -n "$ac_tool_prefix"; then
8989  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8990set dummy ${ac_tool_prefix}otool; ac_word=$2
8991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8992$as_echo_n "checking for $ac_word... " >&6; }
8993if ${ac_cv_prog_OTOOL+:} false; then :
8994  $as_echo_n "(cached) " >&6
8995else
8996  if test -n "$OTOOL"; then
8997  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8998else
8999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9000for as_dir in $PATH
9001do
9002  IFS=$as_save_IFS
9003  test -z "$as_dir" && as_dir=.
9004    for ac_exec_ext in '' $ac_executable_extensions; do
9005  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9006    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9008    break 2
9009  fi
9010done
9011  done
9012IFS=$as_save_IFS
9013
9014fi
9015fi
9016OTOOL=$ac_cv_prog_OTOOL
9017if test -n "$OTOOL"; then
9018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9019$as_echo "$OTOOL" >&6; }
9020else
9021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9022$as_echo "no" >&6; }
9023fi
9024
9025
9026fi
9027if test -z "$ac_cv_prog_OTOOL"; then
9028  ac_ct_OTOOL=$OTOOL
9029  # Extract the first word of "otool", so it can be a program name with args.
9030set dummy otool; ac_word=$2
9031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9032$as_echo_n "checking for $ac_word... " >&6; }
9033if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9034  $as_echo_n "(cached) " >&6
9035else
9036  if test -n "$ac_ct_OTOOL"; then
9037  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9038else
9039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9040for as_dir in $PATH
9041do
9042  IFS=$as_save_IFS
9043  test -z "$as_dir" && as_dir=.
9044    for ac_exec_ext in '' $ac_executable_extensions; do
9045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9046    ac_cv_prog_ac_ct_OTOOL="otool"
9047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9048    break 2
9049  fi
9050done
9051  done
9052IFS=$as_save_IFS
9053
9054fi
9055fi
9056ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9057if test -n "$ac_ct_OTOOL"; then
9058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9059$as_echo "$ac_ct_OTOOL" >&6; }
9060else
9061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9062$as_echo "no" >&6; }
9063fi
9064
9065  if test "x$ac_ct_OTOOL" = x; then
9066    OTOOL=":"
9067  else
9068    case $cross_compiling:$ac_tool_warned in
9069yes:)
9070{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9071$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9072ac_tool_warned=yes ;;
9073esac
9074    OTOOL=$ac_ct_OTOOL
9075  fi
9076else
9077  OTOOL="$ac_cv_prog_OTOOL"
9078fi
9079
9080    if test -n "$ac_tool_prefix"; then
9081  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9082set dummy ${ac_tool_prefix}otool64; ac_word=$2
9083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9084$as_echo_n "checking for $ac_word... " >&6; }
9085if ${ac_cv_prog_OTOOL64+:} false; then :
9086  $as_echo_n "(cached) " >&6
9087else
9088  if test -n "$OTOOL64"; then
9089  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9090else
9091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9092for as_dir in $PATH
9093do
9094  IFS=$as_save_IFS
9095  test -z "$as_dir" && as_dir=.
9096    for ac_exec_ext in '' $ac_executable_extensions; do
9097  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9098    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9100    break 2
9101  fi
9102done
9103  done
9104IFS=$as_save_IFS
9105
9106fi
9107fi
9108OTOOL64=$ac_cv_prog_OTOOL64
9109if test -n "$OTOOL64"; then
9110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9111$as_echo "$OTOOL64" >&6; }
9112else
9113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114$as_echo "no" >&6; }
9115fi
9116
9117
9118fi
9119if test -z "$ac_cv_prog_OTOOL64"; then
9120  ac_ct_OTOOL64=$OTOOL64
9121  # Extract the first word of "otool64", so it can be a program name with args.
9122set dummy otool64; ac_word=$2
9123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9124$as_echo_n "checking for $ac_word... " >&6; }
9125if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9126  $as_echo_n "(cached) " >&6
9127else
9128  if test -n "$ac_ct_OTOOL64"; then
9129  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9130else
9131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9132for as_dir in $PATH
9133do
9134  IFS=$as_save_IFS
9135  test -z "$as_dir" && as_dir=.
9136    for ac_exec_ext in '' $ac_executable_extensions; do
9137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9138    ac_cv_prog_ac_ct_OTOOL64="otool64"
9139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9140    break 2
9141  fi
9142done
9143  done
9144IFS=$as_save_IFS
9145
9146fi
9147fi
9148ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9149if test -n "$ac_ct_OTOOL64"; then
9150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9151$as_echo "$ac_ct_OTOOL64" >&6; }
9152else
9153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9154$as_echo "no" >&6; }
9155fi
9156
9157  if test "x$ac_ct_OTOOL64" = x; then
9158    OTOOL64=":"
9159  else
9160    case $cross_compiling:$ac_tool_warned in
9161yes:)
9162{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9163$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9164ac_tool_warned=yes ;;
9165esac
9166    OTOOL64=$ac_ct_OTOOL64
9167  fi
9168else
9169  OTOOL64="$ac_cv_prog_OTOOL64"
9170fi
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9199$as_echo_n "checking for -single_module linker flag... " >&6; }
9200if ${lt_cv_apple_cc_single_mod+:} false; then :
9201  $as_echo_n "(cached) " >&6
9202else
9203  lt_cv_apple_cc_single_mod=no
9204      if test -z "$LT_MULTI_MODULE"; then
9205	# By default we will add the -single_module flag. You can override
9206	# by either setting the environment variable LT_MULTI_MODULE
9207	# non-empty at configure time, or by adding -multi_module to the
9208	# link flags.
9209	rm -rf libconftest.dylib*
9210	echo "int foo(void){return 1;}" > conftest.c
9211	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9212-dynamiclib -Wl,-single_module conftest.c" >&5
9213	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9214	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9215        _lt_result=$?
9216	# If there is a non-empty error log, and "single_module"
9217	# appears in it, assume the flag caused a linker warning
9218        if test -s conftest.err && $GREP single_module conftest.err; then
9219	  cat conftest.err >&5
9220	# Otherwise, if the output was created with a 0 exit code from
9221	# the compiler, it worked.
9222	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9223	  lt_cv_apple_cc_single_mod=yes
9224	else
9225	  cat conftest.err >&5
9226	fi
9227	rm -rf libconftest.dylib*
9228	rm -f conftest.*
9229      fi
9230fi
9231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9232$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9233
9234    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9235$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9236if ${lt_cv_ld_exported_symbols_list+:} false; then :
9237  $as_echo_n "(cached) " >&6
9238else
9239  lt_cv_ld_exported_symbols_list=no
9240      save_LDFLAGS=$LDFLAGS
9241      echo "_main" > conftest.sym
9242      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9243      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244/* end confdefs.h.  */
9245
9246int
9247main ()
9248{
9249
9250  ;
9251  return 0;
9252}
9253_ACEOF
9254if ac_fn_c_try_link "$LINENO"; then :
9255  lt_cv_ld_exported_symbols_list=yes
9256else
9257  lt_cv_ld_exported_symbols_list=no
9258fi
9259rm -f core conftest.err conftest.$ac_objext \
9260    conftest$ac_exeext conftest.$ac_ext
9261	LDFLAGS=$save_LDFLAGS
9262
9263fi
9264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9265$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9266
9267    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9268$as_echo_n "checking for -force_load linker flag... " >&6; }
9269if ${lt_cv_ld_force_load+:} false; then :
9270  $as_echo_n "(cached) " >&6
9271else
9272  lt_cv_ld_force_load=no
9273      cat > conftest.c << _LT_EOF
9274int forced_loaded() { return 2;}
9275_LT_EOF
9276      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9277      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9278      echo "$AR cr libconftest.a conftest.o" >&5
9279      $AR cr libconftest.a conftest.o 2>&5
9280      echo "$RANLIB libconftest.a" >&5
9281      $RANLIB libconftest.a 2>&5
9282      cat > conftest.c << _LT_EOF
9283int main() { return 0;}
9284_LT_EOF
9285      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9286      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9287      _lt_result=$?
9288      if test -s conftest.err && $GREP force_load conftest.err; then
9289	cat conftest.err >&5
9290      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9291	lt_cv_ld_force_load=yes
9292      else
9293	cat conftest.err >&5
9294      fi
9295        rm -f conftest.err libconftest.a conftest conftest.c
9296        rm -rf conftest.dSYM
9297
9298fi
9299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9300$as_echo "$lt_cv_ld_force_load" >&6; }
9301    case $host_os in
9302    rhapsody* | darwin1.[012])
9303      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9304    darwin1.*)
9305      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9306    darwin*) # darwin 5.x on
9307      # if running on 10.5 or later, the deployment target defaults
9308      # to the OS version, if on x86, and 10.4, the deployment
9309      # target defaults to 10.4. Don't you love it?
9310      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9311	10.0,*86*-darwin8*|10.0,*-darwin[912]*)
9312	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9313	10.[012][,.]*)
9314	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9315	10.*|11.*)
9316	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9317      esac
9318    ;;
9319  esac
9320    if test yes = "$lt_cv_apple_cc_single_mod"; then
9321      _lt_dar_single_mod='$single_module'
9322    fi
9323    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9324      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9325    else
9326      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9327    fi
9328    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9329      _lt_dsymutil='~$DSYMUTIL $lib || :'
9330    else
9331      _lt_dsymutil=
9332    fi
9333    ;;
9334  esac
9335
9336# func_munge_path_list VARIABLE PATH
9337# -----------------------------------
9338# VARIABLE is name of variable containing _space_ separated list of
9339# directories to be munged by the contents of PATH, which is string
9340# having a format:
9341# "DIR[:DIR]:"
9342#       string "DIR[ DIR]" will be prepended to VARIABLE
9343# ":DIR[:DIR]"
9344#       string "DIR[ DIR]" will be appended to VARIABLE
9345# "DIRP[:DIRP]::[DIRA:]DIRA"
9346#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9347#       "DIRA[ DIRA]" will be appended to VARIABLE
9348# "DIR[:DIR]"
9349#       VARIABLE will be replaced by "DIR[ DIR]"
9350func_munge_path_list ()
9351{
9352    case x$2 in
9353    x)
9354        ;;
9355    *:)
9356        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9357        ;;
9358    x:*)
9359        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9360        ;;
9361    *::*)
9362        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9363        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9364        ;;
9365    *)
9366        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9367        ;;
9368    esac
9369}
9370
9371for ac_header in dlfcn.h
9372do :
9373  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9374"
9375if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9376  cat >>confdefs.h <<_ACEOF
9377#define HAVE_DLFCN_H 1
9378_ACEOF
9379
9380fi
9381
9382done
9383
9384
9385
9386
9387
9388# Set options
9389
9390
9391
9392        enable_dlopen=no
9393
9394
9395  enable_win32_dll=no
9396
9397
9398            # Check whether --enable-shared was given.
9399if test "${enable_shared+set}" = set; then :
9400  enableval=$enable_shared; p=${PACKAGE-default}
9401    case $enableval in
9402    yes) enable_shared=yes ;;
9403    no) enable_shared=no ;;
9404    *)
9405      enable_shared=no
9406      # Look at the argument we got.  We use all the common list separators.
9407      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9408      for pkg in $enableval; do
9409	IFS=$lt_save_ifs
9410	if test "X$pkg" = "X$p"; then
9411	  enable_shared=yes
9412	fi
9413      done
9414      IFS=$lt_save_ifs
9415      ;;
9416    esac
9417else
9418  enable_shared=yes
9419fi
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431# Check whether --with-pic was given.
9432if test "${with_pic+set}" = set; then :
9433  withval=$with_pic; lt_p=${PACKAGE-default}
9434    case $withval in
9435    yes|no) pic_mode=$withval ;;
9436    *)
9437      pic_mode=default
9438      # Look at the argument we got.  We use all the common list separators.
9439      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9440      for lt_pkg in $withval; do
9441	IFS=$lt_save_ifs
9442	if test "X$lt_pkg" = "X$lt_p"; then
9443	  pic_mode=yes
9444	fi
9445      done
9446      IFS=$lt_save_ifs
9447      ;;
9448    esac
9449else
9450  pic_mode=default
9451fi
9452
9453
9454
9455
9456
9457
9458
9459
9460  # Check whether --enable-fast-install was given.
9461if test "${enable_fast_install+set}" = set; then :
9462  enableval=$enable_fast_install; p=${PACKAGE-default}
9463    case $enableval in
9464    yes) enable_fast_install=yes ;;
9465    no) enable_fast_install=no ;;
9466    *)
9467      enable_fast_install=no
9468      # Look at the argument we got.  We use all the common list separators.
9469      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9470      for pkg in $enableval; do
9471	IFS=$lt_save_ifs
9472	if test "X$pkg" = "X$p"; then
9473	  enable_fast_install=yes
9474	fi
9475      done
9476      IFS=$lt_save_ifs
9477      ;;
9478    esac
9479else
9480  enable_fast_install=yes
9481fi
9482
9483
9484
9485
9486
9487
9488
9489
9490  shared_archive_member_spec=
9491case $host,$enable_shared in
9492power*-*-aix[5-9]*,yes)
9493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9494$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9495
9496# Check whether --with-aix-soname was given.
9497if test "${with_aix_soname+set}" = set; then :
9498  withval=$with_aix_soname; case $withval in
9499    aix|svr4|both)
9500      ;;
9501    *)
9502      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9503      ;;
9504    esac
9505    lt_cv_with_aix_soname=$with_aix_soname
9506else
9507  if ${lt_cv_with_aix_soname+:} false; then :
9508  $as_echo_n "(cached) " >&6
9509else
9510  lt_cv_with_aix_soname=aix
9511fi
9512
9513    with_aix_soname=$lt_cv_with_aix_soname
9514fi
9515
9516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9517$as_echo "$with_aix_soname" >&6; }
9518  if test aix != "$with_aix_soname"; then
9519    # For the AIX way of multilib, we name the shared archive member
9520    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9521    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9522    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9523    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9524    if test 64 = "${OBJECT_MODE-32}"; then
9525      shared_archive_member_spec=shr_64
9526    else
9527      shared_archive_member_spec=shr
9528    fi
9529  fi
9530  ;;
9531*)
9532  with_aix_soname=aix
9533  ;;
9534esac
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545# This can be used to rebuild libtool when needed
9546LIBTOOL_DEPS=$ltmain
9547
9548# Always use our own libtool.
9549LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580test -z "$LN_S" && LN_S="ln -s"
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595if test -n "${ZSH_VERSION+set}"; then
9596   setopt NO_GLOB_SUBST
9597fi
9598
9599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9600$as_echo_n "checking for objdir... " >&6; }
9601if ${lt_cv_objdir+:} false; then :
9602  $as_echo_n "(cached) " >&6
9603else
9604  rm -f .libs 2>/dev/null
9605mkdir .libs 2>/dev/null
9606if test -d .libs; then
9607  lt_cv_objdir=.libs
9608else
9609  # MS-DOS does not allow filenames that begin with a dot.
9610  lt_cv_objdir=_libs
9611fi
9612rmdir .libs 2>/dev/null
9613fi
9614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9615$as_echo "$lt_cv_objdir" >&6; }
9616objdir=$lt_cv_objdir
9617
9618
9619
9620
9621
9622cat >>confdefs.h <<_ACEOF
9623#define LT_OBJDIR "$lt_cv_objdir/"
9624_ACEOF
9625
9626
9627
9628
9629case $host_os in
9630aix3*)
9631  # AIX sometimes has problems with the GCC collect2 program.  For some
9632  # reason, if we set the COLLECT_NAMES environment variable, the problems
9633  # vanish in a puff of smoke.
9634  if test set != "${COLLECT_NAMES+set}"; then
9635    COLLECT_NAMES=
9636    export COLLECT_NAMES
9637  fi
9638  ;;
9639esac
9640
9641# Global variables:
9642ofile=libtool
9643can_build_shared=yes
9644
9645# All known linkers require a '.a' archive for static linking (except MSVC,
9646# which needs '.lib').
9647libext=a
9648
9649with_gnu_ld=$lt_cv_prog_gnu_ld
9650
9651old_CC=$CC
9652old_CFLAGS=$CFLAGS
9653
9654# Set sane defaults for various variables
9655test -z "$CC" && CC=cc
9656test -z "$LTCC" && LTCC=$CC
9657test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9658test -z "$LD" && LD=ld
9659test -z "$ac_objext" && ac_objext=o
9660
9661func_cc_basename $compiler
9662cc_basename=$func_cc_basename_result
9663
9664
9665# Only perform the check for file, if the check method requires it
9666test -z "$MAGIC_CMD" && MAGIC_CMD=file
9667case $deplibs_check_method in
9668file_magic*)
9669  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9670    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9671$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9672if ${lt_cv_path_MAGIC_CMD+:} false; then :
9673  $as_echo_n "(cached) " >&6
9674else
9675  case $MAGIC_CMD in
9676[\\/*] |  ?:[\\/]*)
9677  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9678  ;;
9679*)
9680  lt_save_MAGIC_CMD=$MAGIC_CMD
9681  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9682  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9683  for ac_dir in $ac_dummy; do
9684    IFS=$lt_save_ifs
9685    test -z "$ac_dir" && ac_dir=.
9686    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9687      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9688      if test -n "$file_magic_test_file"; then
9689	case $deplibs_check_method in
9690	"file_magic "*)
9691	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9692	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9693	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9694	    $EGREP "$file_magic_regex" > /dev/null; then
9695	    :
9696	  else
9697	    cat <<_LT_EOF 1>&2
9698
9699*** Warning: the command libtool uses to detect shared libraries,
9700*** $file_magic_cmd, produces output that libtool cannot recognize.
9701*** The result is that libtool may fail to recognize shared libraries
9702*** as such.  This will affect the creation of libtool libraries that
9703*** depend on shared libraries, but programs linked with such libtool
9704*** libraries will work regardless of this problem.  Nevertheless, you
9705*** may want to report the problem to your system manager and/or to
9706*** bug-libtool@gnu.org
9707
9708_LT_EOF
9709	  fi ;;
9710	esac
9711      fi
9712      break
9713    fi
9714  done
9715  IFS=$lt_save_ifs
9716  MAGIC_CMD=$lt_save_MAGIC_CMD
9717  ;;
9718esac
9719fi
9720
9721MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9722if test -n "$MAGIC_CMD"; then
9723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9724$as_echo "$MAGIC_CMD" >&6; }
9725else
9726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9727$as_echo "no" >&6; }
9728fi
9729
9730
9731
9732
9733
9734if test -z "$lt_cv_path_MAGIC_CMD"; then
9735  if test -n "$ac_tool_prefix"; then
9736    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9737$as_echo_n "checking for file... " >&6; }
9738if ${lt_cv_path_MAGIC_CMD+:} false; then :
9739  $as_echo_n "(cached) " >&6
9740else
9741  case $MAGIC_CMD in
9742[\\/*] |  ?:[\\/]*)
9743  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9744  ;;
9745*)
9746  lt_save_MAGIC_CMD=$MAGIC_CMD
9747  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9748  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9749  for ac_dir in $ac_dummy; do
9750    IFS=$lt_save_ifs
9751    test -z "$ac_dir" && ac_dir=.
9752    if test -f "$ac_dir/file"; then
9753      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9754      if test -n "$file_magic_test_file"; then
9755	case $deplibs_check_method in
9756	"file_magic "*)
9757	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9758	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9759	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9760	    $EGREP "$file_magic_regex" > /dev/null; then
9761	    :
9762	  else
9763	    cat <<_LT_EOF 1>&2
9764
9765*** Warning: the command libtool uses to detect shared libraries,
9766*** $file_magic_cmd, produces output that libtool cannot recognize.
9767*** The result is that libtool may fail to recognize shared libraries
9768*** as such.  This will affect the creation of libtool libraries that
9769*** depend on shared libraries, but programs linked with such libtool
9770*** libraries will work regardless of this problem.  Nevertheless, you
9771*** may want to report the problem to your system manager and/or to
9772*** bug-libtool@gnu.org
9773
9774_LT_EOF
9775	  fi ;;
9776	esac
9777      fi
9778      break
9779    fi
9780  done
9781  IFS=$lt_save_ifs
9782  MAGIC_CMD=$lt_save_MAGIC_CMD
9783  ;;
9784esac
9785fi
9786
9787MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9788if test -n "$MAGIC_CMD"; then
9789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9790$as_echo "$MAGIC_CMD" >&6; }
9791else
9792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9793$as_echo "no" >&6; }
9794fi
9795
9796
9797  else
9798    MAGIC_CMD=:
9799  fi
9800fi
9801
9802  fi
9803  ;;
9804esac
9805
9806# Use C for the default configuration in the libtool script
9807
9808lt_save_CC=$CC
9809ac_ext=c
9810ac_cpp='$CPP $CPPFLAGS'
9811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9813ac_compiler_gnu=$ac_cv_c_compiler_gnu
9814
9815
9816# Source file extension for C test sources.
9817ac_ext=c
9818
9819# Object file extension for compiled C test sources.
9820objext=o
9821objext=$objext
9822
9823# Code to be used in simple compile tests
9824lt_simple_compile_test_code="int some_variable = 0;"
9825
9826# Code to be used in simple link tests
9827lt_simple_link_test_code='int main(){return(0);}'
9828
9829
9830
9831
9832
9833
9834
9835# If no C compiler was specified, use CC.
9836LTCC=${LTCC-"$CC"}
9837
9838# If no C compiler flags were specified, use CFLAGS.
9839LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9840
9841# Allow CC to be a program name with arguments.
9842compiler=$CC
9843
9844# Save the default compiler, since it gets overwritten when the other
9845# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9846compiler_DEFAULT=$CC
9847
9848# save warnings/boilerplate of simple test code
9849ac_outfile=conftest.$ac_objext
9850echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9851eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9852_lt_compiler_boilerplate=`cat conftest.err`
9853$RM conftest*
9854
9855ac_outfile=conftest.$ac_objext
9856echo "$lt_simple_link_test_code" >conftest.$ac_ext
9857eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9858_lt_linker_boilerplate=`cat conftest.err`
9859$RM -r conftest*
9860
9861
9862## CAVEAT EMPTOR:
9863## There is no encapsulation within the following macros, do not change
9864## the running order or otherwise move them around unless you know exactly
9865## what you are doing...
9866if test -n "$compiler"; then
9867
9868lt_prog_compiler_no_builtin_flag=
9869
9870if test yes = "$GCC"; then
9871  case $cc_basename in
9872  nvcc*)
9873    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9874  *)
9875    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9876  esac
9877
9878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9879$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9880if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9881  $as_echo_n "(cached) " >&6
9882else
9883  lt_cv_prog_compiler_rtti_exceptions=no
9884   ac_outfile=conftest.$ac_objext
9885   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9886   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9887   # Insert the option either (1) after the last *FLAGS variable, or
9888   # (2) before a word containing "conftest.", or (3) at the end.
9889   # Note that $ac_compile itself does not contain backslashes and begins
9890   # with a dollar sign (not a hyphen), so the echo should work correctly.
9891   # The option is referenced via a variable to avoid confusing sed.
9892   lt_compile=`echo "$ac_compile" | $SED \
9893   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9894   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9895   -e 's:$: $lt_compiler_flag:'`
9896   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9897   (eval "$lt_compile" 2>conftest.err)
9898   ac_status=$?
9899   cat conftest.err >&5
9900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901   if (exit $ac_status) && test -s "$ac_outfile"; then
9902     # The compiler can only warn and ignore the option if not recognized
9903     # So say no if there are warnings other than the usual output.
9904     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9905     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9906     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9907       lt_cv_prog_compiler_rtti_exceptions=yes
9908     fi
9909   fi
9910   $RM conftest*
9911
9912fi
9913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9914$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9915
9916if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9917    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9918else
9919    :
9920fi
9921
9922fi
9923
9924
9925
9926
9927
9928
9929  lt_prog_compiler_wl=
9930lt_prog_compiler_pic=
9931lt_prog_compiler_static=
9932
9933
9934  if test yes = "$GCC"; then
9935    lt_prog_compiler_wl='-Wl,'
9936    lt_prog_compiler_static='-static'
9937
9938    case $host_os in
9939      aix*)
9940      # All AIX code is PIC.
9941      if test ia64 = "$host_cpu"; then
9942	# AIX 5 now supports IA64 processor
9943	lt_prog_compiler_static='-Bstatic'
9944      fi
9945      lt_prog_compiler_pic='-fPIC'
9946      ;;
9947
9948    amigaos*)
9949      case $host_cpu in
9950      powerpc)
9951            # see comment about AmigaOS4 .so support
9952            lt_prog_compiler_pic='-fPIC'
9953        ;;
9954      m68k)
9955            # FIXME: we need at least 68020 code to build shared libraries, but
9956            # adding the '-m68020' flag to GCC prevents building anything better,
9957            # like '-m68040'.
9958            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9959        ;;
9960      esac
9961      ;;
9962
9963    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9964      # PIC is the default for these OSes.
9965      ;;
9966
9967    mingw* | cygwin* | pw32* | os2* | cegcc*)
9968      # This hack is so that the source file can tell whether it is being
9969      # built for inclusion in a dll (and should export symbols for example).
9970      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9971      # (--disable-auto-import) libraries
9972      lt_prog_compiler_pic='-DDLL_EXPORT'
9973      case $host_os in
9974      os2*)
9975	lt_prog_compiler_static='$wl-static'
9976	;;
9977      esac
9978      ;;
9979
9980    darwin* | rhapsody*)
9981      # PIC is the default on this platform
9982      # Common symbols not allowed in MH_DYLIB files
9983      lt_prog_compiler_pic='-fno-common'
9984      ;;
9985
9986    haiku*)
9987      # PIC is the default for Haiku.
9988      # The "-static" flag exists, but is broken.
9989      lt_prog_compiler_static=
9990      ;;
9991
9992    hpux*)
9993      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9994      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9995      # sets the default TLS model and affects inlining.
9996      case $host_cpu in
9997      hppa*64*)
9998	# +Z the default
9999	;;
10000      *)
10001	lt_prog_compiler_pic='-fPIC'
10002	;;
10003      esac
10004      ;;
10005
10006    interix[3-9]*)
10007      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10008      # Instead, we relocate shared libraries at runtime.
10009      ;;
10010
10011    msdosdjgpp*)
10012      # Just because we use GCC doesn't mean we suddenly get shared libraries
10013      # on systems that don't support them.
10014      lt_prog_compiler_can_build_shared=no
10015      enable_shared=no
10016      ;;
10017
10018    *nto* | *qnx*)
10019      # QNX uses GNU C++, but need to define -shared option too, otherwise
10020      # it will coredump.
10021      lt_prog_compiler_pic='-fPIC -shared'
10022      ;;
10023
10024    sysv4*MP*)
10025      if test -d /usr/nec; then
10026	lt_prog_compiler_pic=-Kconform_pic
10027      fi
10028      ;;
10029
10030    *)
10031      lt_prog_compiler_pic='-fPIC'
10032      ;;
10033    esac
10034
10035    case $cc_basename in
10036    nvcc*) # Cuda Compiler Driver 2.2
10037      lt_prog_compiler_wl='-Xlinker '
10038      if test -n "$lt_prog_compiler_pic"; then
10039        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10040      fi
10041      ;;
10042    esac
10043  else
10044    # PORTME Check for flag to pass linker flags through the system compiler.
10045    case $host_os in
10046    aix*)
10047      lt_prog_compiler_wl='-Wl,'
10048      if test ia64 = "$host_cpu"; then
10049	# AIX 5 now supports IA64 processor
10050	lt_prog_compiler_static='-Bstatic'
10051      else
10052	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10053      fi
10054      ;;
10055
10056    darwin* | rhapsody*)
10057      # PIC is the default on this platform
10058      # Common symbols not allowed in MH_DYLIB files
10059      lt_prog_compiler_pic='-fno-common'
10060      case $cc_basename in
10061      nagfor*)
10062        # NAG Fortran compiler
10063        lt_prog_compiler_wl='-Wl,-Wl,,'
10064        lt_prog_compiler_pic='-PIC'
10065        lt_prog_compiler_static='-Bstatic'
10066        ;;
10067      esac
10068      ;;
10069
10070    mingw* | cygwin* | pw32* | os2* | cegcc*)
10071      # This hack is so that the source file can tell whether it is being
10072      # built for inclusion in a dll (and should export symbols for example).
10073      lt_prog_compiler_pic='-DDLL_EXPORT'
10074      case $host_os in
10075      os2*)
10076	lt_prog_compiler_static='$wl-static'
10077	;;
10078      esac
10079      ;;
10080
10081    hpux9* | hpux10* | hpux11*)
10082      lt_prog_compiler_wl='-Wl,'
10083      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10084      # not for PA HP-UX.
10085      case $host_cpu in
10086      hppa*64*|ia64*)
10087	# +Z the default
10088	;;
10089      *)
10090	lt_prog_compiler_pic='+Z'
10091	;;
10092      esac
10093      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10094      lt_prog_compiler_static='$wl-a ${wl}archive'
10095      ;;
10096
10097    irix5* | irix6* | nonstopux*)
10098      lt_prog_compiler_wl='-Wl,'
10099      # PIC (with -KPIC) is the default.
10100      lt_prog_compiler_static='-non_shared'
10101      ;;
10102
10103    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10104      case $cc_basename in
10105      # old Intel for x86_64, which still supported -KPIC.
10106      ecc*)
10107	lt_prog_compiler_wl='-Wl,'
10108	lt_prog_compiler_pic='-KPIC'
10109	lt_prog_compiler_static='-static'
10110        ;;
10111      # flang / f18. f95 an alias for gfortran or flang on Debian
10112      flang* | f18* | f95*)
10113	lt_prog_compiler_wl='-Wl,'
10114	lt_prog_compiler_pic='-fPIC'
10115	lt_prog_compiler_static='-static'
10116        ;;
10117      # icc used to be incompatible with GCC.
10118      # ICC 10 doesn't accept -KPIC any more.
10119      icc* | ifort*)
10120	lt_prog_compiler_wl='-Wl,'
10121	lt_prog_compiler_pic='-fPIC'
10122	lt_prog_compiler_static='-static'
10123        ;;
10124      # Lahey Fortran 8.1.
10125      lf95*)
10126	lt_prog_compiler_wl='-Wl,'
10127	lt_prog_compiler_pic='--shared'
10128	lt_prog_compiler_static='--static'
10129	;;
10130      nagfor*)
10131	# NAG Fortran compiler
10132	lt_prog_compiler_wl='-Wl,-Wl,,'
10133	lt_prog_compiler_pic='-PIC'
10134	lt_prog_compiler_static='-Bstatic'
10135	;;
10136      tcc*)
10137	# Fabrice Bellard et al's Tiny C Compiler
10138	lt_prog_compiler_wl='-Wl,'
10139	lt_prog_compiler_pic='-fPIC'
10140	lt_prog_compiler_static='-static'
10141	;;
10142      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10143        # Portland Group compilers (*not* the Pentium gcc compiler,
10144	# which looks to be a dead project)
10145	lt_prog_compiler_wl='-Wl,'
10146	lt_prog_compiler_pic='-fpic'
10147	lt_prog_compiler_static='-Bstatic'
10148        ;;
10149      ccc*)
10150        lt_prog_compiler_wl='-Wl,'
10151        # All Alpha code is PIC.
10152        lt_prog_compiler_static='-non_shared'
10153        ;;
10154      xl* | bgxl* | bgf* | mpixl*)
10155	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10156	lt_prog_compiler_wl='-Wl,'
10157	lt_prog_compiler_pic='-qpic'
10158	lt_prog_compiler_static='-qstaticlink'
10159	;;
10160      *)
10161	case `$CC -V 2>&1 | sed 5q` in
10162	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10163	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10164	  lt_prog_compiler_pic='-KPIC'
10165	  lt_prog_compiler_static='-Bstatic'
10166	  lt_prog_compiler_wl=''
10167	  ;;
10168	*Sun\ F* | *Sun*Fortran*)
10169	  lt_prog_compiler_pic='-KPIC'
10170	  lt_prog_compiler_static='-Bstatic'
10171	  lt_prog_compiler_wl='-Qoption ld '
10172	  ;;
10173	*Sun\ C*)
10174	  # Sun C 5.9
10175	  lt_prog_compiler_pic='-KPIC'
10176	  lt_prog_compiler_static='-Bstatic'
10177	  lt_prog_compiler_wl='-Wl,'
10178	  ;;
10179        *Intel*\ [CF]*Compiler*)
10180	  lt_prog_compiler_wl='-Wl,'
10181	  lt_prog_compiler_pic='-fPIC'
10182	  lt_prog_compiler_static='-static'
10183	  ;;
10184	*Portland\ Group*)
10185	  lt_prog_compiler_wl='-Wl,'
10186	  lt_prog_compiler_pic='-fpic'
10187	  lt_prog_compiler_static='-Bstatic'
10188	  ;;
10189	esac
10190	;;
10191      esac
10192      ;;
10193
10194    newsos6)
10195      lt_prog_compiler_pic='-KPIC'
10196      lt_prog_compiler_static='-Bstatic'
10197      ;;
10198
10199    *nto* | *qnx*)
10200      # QNX uses GNU C++, but need to define -shared option too, otherwise
10201      # it will coredump.
10202      lt_prog_compiler_pic='-fPIC -shared'
10203      ;;
10204
10205    osf3* | osf4* | osf5*)
10206      lt_prog_compiler_wl='-Wl,'
10207      # All OSF/1 code is PIC.
10208      lt_prog_compiler_static='-non_shared'
10209      ;;
10210
10211    rdos*)
10212      lt_prog_compiler_static='-non_shared'
10213      ;;
10214
10215    solaris*)
10216      lt_prog_compiler_pic='-KPIC'
10217      lt_prog_compiler_static='-Bstatic'
10218      case $cc_basename in
10219      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10220	lt_prog_compiler_wl='-Qoption ld ';;
10221      *)
10222	lt_prog_compiler_wl='-Wl,';;
10223      esac
10224      ;;
10225
10226    sunos4*)
10227      lt_prog_compiler_wl='-Qoption ld '
10228      lt_prog_compiler_pic='-PIC'
10229      lt_prog_compiler_static='-Bstatic'
10230      ;;
10231
10232    sysv4 | sysv4.2uw2* | sysv4.3*)
10233      lt_prog_compiler_wl='-Wl,'
10234      lt_prog_compiler_pic='-KPIC'
10235      lt_prog_compiler_static='-Bstatic'
10236      ;;
10237
10238    sysv4*MP*)
10239      if test -d /usr/nec; then
10240	lt_prog_compiler_pic='-Kconform_pic'
10241	lt_prog_compiler_static='-Bstatic'
10242      fi
10243      ;;
10244
10245    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10246      lt_prog_compiler_wl='-Wl,'
10247      lt_prog_compiler_pic='-KPIC'
10248      lt_prog_compiler_static='-Bstatic'
10249      ;;
10250
10251    unicos*)
10252      lt_prog_compiler_wl='-Wl,'
10253      lt_prog_compiler_can_build_shared=no
10254      ;;
10255
10256    uts4*)
10257      lt_prog_compiler_pic='-pic'
10258      lt_prog_compiler_static='-Bstatic'
10259      ;;
10260
10261    *)
10262      lt_prog_compiler_can_build_shared=no
10263      ;;
10264    esac
10265  fi
10266
10267case $host_os in
10268  # For platforms that do not support PIC, -DPIC is meaningless:
10269  *djgpp*)
10270    lt_prog_compiler_pic=
10271    ;;
10272  *)
10273    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10274    ;;
10275esac
10276
10277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10278$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10279if ${lt_cv_prog_compiler_pic+:} false; then :
10280  $as_echo_n "(cached) " >&6
10281else
10282  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10283fi
10284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10285$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10286lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10287
10288#
10289# Check to make sure the PIC flag actually works.
10290#
10291if test -n "$lt_prog_compiler_pic"; then
10292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10293$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10294if ${lt_cv_prog_compiler_pic_works+:} false; then :
10295  $as_echo_n "(cached) " >&6
10296else
10297  lt_cv_prog_compiler_pic_works=no
10298   ac_outfile=conftest.$ac_objext
10299   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10300   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10301   # Insert the option either (1) after the last *FLAGS variable, or
10302   # (2) before a word containing "conftest.", or (3) at the end.
10303   # Note that $ac_compile itself does not contain backslashes and begins
10304   # with a dollar sign (not a hyphen), so the echo should work correctly.
10305   # The option is referenced via a variable to avoid confusing sed.
10306   lt_compile=`echo "$ac_compile" | $SED \
10307   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10308   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10309   -e 's:$: $lt_compiler_flag:'`
10310   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10311   (eval "$lt_compile" 2>conftest.err)
10312   ac_status=$?
10313   cat conftest.err >&5
10314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315   if (exit $ac_status) && test -s "$ac_outfile"; then
10316     # The compiler can only warn and ignore the option if not recognized
10317     # So say no if there are warnings other than the usual output.
10318     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10319     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10320     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10321       lt_cv_prog_compiler_pic_works=yes
10322     fi
10323   fi
10324   $RM conftest*
10325
10326fi
10327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10328$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10329
10330if test yes = "$lt_cv_prog_compiler_pic_works"; then
10331    case $lt_prog_compiler_pic in
10332     "" | " "*) ;;
10333     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10334     esac
10335else
10336    lt_prog_compiler_pic=
10337     lt_prog_compiler_can_build_shared=no
10338fi
10339
10340fi
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352#
10353# Check to make sure the static flag actually works.
10354#
10355wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10357$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10358if ${lt_cv_prog_compiler_static_works+:} false; then :
10359  $as_echo_n "(cached) " >&6
10360else
10361  lt_cv_prog_compiler_static_works=no
10362   save_LDFLAGS=$LDFLAGS
10363   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10364   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10365   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10366     # The linker can only warn and ignore the option if not recognized
10367     # So say no if there are warnings
10368     if test -s conftest.err; then
10369       # Append any errors to the config.log.
10370       cat conftest.err 1>&5
10371       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10372       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10373       if diff conftest.exp conftest.er2 >/dev/null; then
10374         lt_cv_prog_compiler_static_works=yes
10375       fi
10376     else
10377       lt_cv_prog_compiler_static_works=yes
10378     fi
10379   fi
10380   $RM -r conftest*
10381   LDFLAGS=$save_LDFLAGS
10382
10383fi
10384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10385$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10386
10387if test yes = "$lt_cv_prog_compiler_static_works"; then
10388    :
10389else
10390    lt_prog_compiler_static=
10391fi
10392
10393
10394
10395
10396
10397
10398
10399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10400$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10401if ${lt_cv_prog_compiler_c_o+:} false; then :
10402  $as_echo_n "(cached) " >&6
10403else
10404  lt_cv_prog_compiler_c_o=no
10405   $RM -r conftest 2>/dev/null
10406   mkdir conftest
10407   cd conftest
10408   mkdir out
10409   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10410
10411   lt_compiler_flag="-o out/conftest2.$ac_objext"
10412   # Insert the option either (1) after the last *FLAGS variable, or
10413   # (2) before a word containing "conftest.", or (3) at the end.
10414   # Note that $ac_compile itself does not contain backslashes and begins
10415   # with a dollar sign (not a hyphen), so the echo should work correctly.
10416   lt_compile=`echo "$ac_compile" | $SED \
10417   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10418   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10419   -e 's:$: $lt_compiler_flag:'`
10420   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10421   (eval "$lt_compile" 2>out/conftest.err)
10422   ac_status=$?
10423   cat out/conftest.err >&5
10424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10426   then
10427     # The compiler can only warn and ignore the option if not recognized
10428     # So say no if there are warnings
10429     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10430     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10431     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10432       lt_cv_prog_compiler_c_o=yes
10433     fi
10434   fi
10435   chmod u+w . 2>&5
10436   $RM conftest*
10437   # SGI C++ compiler will create directory out/ii_files/ for
10438   # template instantiation
10439   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10440   $RM out/* && rmdir out
10441   cd ..
10442   $RM -r conftest
10443   $RM conftest*
10444
10445fi
10446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10447$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10448
10449
10450
10451
10452
10453
10454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10455$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10456if ${lt_cv_prog_compiler_c_o+:} false; then :
10457  $as_echo_n "(cached) " >&6
10458else
10459  lt_cv_prog_compiler_c_o=no
10460   $RM -r conftest 2>/dev/null
10461   mkdir conftest
10462   cd conftest
10463   mkdir out
10464   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10465
10466   lt_compiler_flag="-o out/conftest2.$ac_objext"
10467   # Insert the option either (1) after the last *FLAGS variable, or
10468   # (2) before a word containing "conftest.", or (3) at the end.
10469   # Note that $ac_compile itself does not contain backslashes and begins
10470   # with a dollar sign (not a hyphen), so the echo should work correctly.
10471   lt_compile=`echo "$ac_compile" | $SED \
10472   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10473   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10474   -e 's:$: $lt_compiler_flag:'`
10475   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10476   (eval "$lt_compile" 2>out/conftest.err)
10477   ac_status=$?
10478   cat out/conftest.err >&5
10479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10481   then
10482     # The compiler can only warn and ignore the option if not recognized
10483     # So say no if there are warnings
10484     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10485     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10486     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10487       lt_cv_prog_compiler_c_o=yes
10488     fi
10489   fi
10490   chmod u+w . 2>&5
10491   $RM conftest*
10492   # SGI C++ compiler will create directory out/ii_files/ for
10493   # template instantiation
10494   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10495   $RM out/* && rmdir out
10496   cd ..
10497   $RM -r conftest
10498   $RM conftest*
10499
10500fi
10501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10502$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10503
10504
10505
10506
10507hard_links=nottested
10508if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10509  # do not overwrite the value of need_locks provided by the user
10510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10511$as_echo_n "checking if we can lock with hard links... " >&6; }
10512  hard_links=yes
10513  $RM conftest*
10514  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10515  touch conftest.a
10516  ln conftest.a conftest.b 2>&5 || hard_links=no
10517  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10519$as_echo "$hard_links" >&6; }
10520  if test no = "$hard_links"; then
10521    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10522$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10523    need_locks=warn
10524  fi
10525else
10526  need_locks=no
10527fi
10528
10529
10530
10531
10532
10533
10534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10535$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10536
10537  runpath_var=
10538  allow_undefined_flag=
10539  always_export_symbols=no
10540  archive_cmds=
10541  archive_expsym_cmds=
10542  compiler_needs_object=no
10543  enable_shared_with_static_runtimes=no
10544  export_dynamic_flag_spec=
10545  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10546  hardcode_automatic=no
10547  hardcode_direct=no
10548  hardcode_direct_absolute=no
10549  hardcode_libdir_flag_spec=
10550  hardcode_libdir_separator=
10551  hardcode_minus_L=no
10552  hardcode_shlibpath_var=unsupported
10553  inherit_rpath=no
10554  link_all_deplibs=unknown
10555  module_cmds=
10556  module_expsym_cmds=
10557  old_archive_from_new_cmds=
10558  old_archive_from_expsyms_cmds=
10559  thread_safe_flag_spec=
10560  whole_archive_flag_spec=
10561  # include_expsyms should be a list of space-separated symbols to be *always*
10562  # included in the symbol list
10563  include_expsyms=
10564  # exclude_expsyms can be an extended regexp of symbols to exclude
10565  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10566  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10567  # as well as any symbol that contains 'd'.
10568  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10569  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10570  # platforms (ab)use it in PIC code, but their linkers get confused if
10571  # the symbol is explicitly referenced.  Since portable code cannot
10572  # rely on this symbol name, it's probably fine to never include it in
10573  # preloaded symbol tables.
10574  # Exclude shared library initialization/finalization symbols.
10575  extract_expsyms_cmds=
10576
10577  case $host_os in
10578  cygwin* | mingw* | pw32* | cegcc*)
10579    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10580    # When not using gcc, we currently assume that we are using
10581    # Microsoft Visual C++.
10582    if test yes != "$GCC"; then
10583      with_gnu_ld=no
10584    fi
10585    ;;
10586  interix*)
10587    # we just hope/assume this is gcc and not c89 (= MSVC++)
10588    with_gnu_ld=yes
10589    ;;
10590  openbsd* | bitrig*)
10591    with_gnu_ld=no
10592    ;;
10593  linux* | k*bsd*-gnu | gnu*)
10594    link_all_deplibs=no
10595    ;;
10596  esac
10597
10598  ld_shlibs=yes
10599
10600  # On some targets, GNU ld is compatible enough with the native linker
10601  # that we're better off using the native interface for both.
10602  lt_use_gnu_ld_interface=no
10603  if test yes = "$with_gnu_ld"; then
10604    case $host_os in
10605      aix*)
10606	# The AIX port of GNU ld has always aspired to compatibility
10607	# with the native linker.  However, as the warning in the GNU ld
10608	# block says, versions before 2.19.5* couldn't really create working
10609	# shared libraries, regardless of the interface used.
10610	case `$LD -v 2>&1` in
10611	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10612	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10613	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10614	  *)
10615	    lt_use_gnu_ld_interface=yes
10616	    ;;
10617	esac
10618	;;
10619      *)
10620	lt_use_gnu_ld_interface=yes
10621	;;
10622    esac
10623  fi
10624
10625  if test yes = "$lt_use_gnu_ld_interface"; then
10626    # If archive_cmds runs LD, not CC, wlarc should be empty
10627    wlarc='$wl'
10628
10629    # Set some defaults for GNU ld with shared library support. These
10630    # are reset later if shared libraries are not supported. Putting them
10631    # here allows them to be overridden if necessary.
10632    runpath_var=LD_RUN_PATH
10633    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10634    export_dynamic_flag_spec='$wl--export-dynamic'
10635    # ancient GNU ld didn't support --whole-archive et. al.
10636    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10637      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10638    else
10639      whole_archive_flag_spec=
10640    fi
10641    supports_anon_versioning=no
10642    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10643      *GNU\ gold*) supports_anon_versioning=yes ;;
10644      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10645      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10646      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10647      *\ 2.11.*) ;; # other 2.11 versions
10648      *) supports_anon_versioning=yes ;;
10649    esac
10650
10651    # See if GNU ld supports shared libraries.
10652    case $host_os in
10653    aix[3-9]*)
10654      # On AIX/PPC, the GNU linker is very broken
10655      if test ia64 != "$host_cpu"; then
10656	ld_shlibs=no
10657	cat <<_LT_EOF 1>&2
10658
10659*** Warning: the GNU linker, at least up to release 2.19, is reported
10660*** to be unable to reliably create shared libraries on AIX.
10661*** Therefore, libtool is disabling shared libraries support.  If you
10662*** really care for shared libraries, you may want to install binutils
10663*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10664*** You will then need to restart the configuration process.
10665
10666_LT_EOF
10667      fi
10668      ;;
10669
10670    amigaos*)
10671      case $host_cpu in
10672      powerpc)
10673            # see comment about AmigaOS4 .so support
10674            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10675            archive_expsym_cmds=''
10676        ;;
10677      m68k)
10678            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)'
10679            hardcode_libdir_flag_spec='-L$libdir'
10680            hardcode_minus_L=yes
10681        ;;
10682      esac
10683      ;;
10684
10685    beos*)
10686      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10687	allow_undefined_flag=unsupported
10688	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10689	# support --undefined.  This deserves some investigation.  FIXME
10690	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10691      else
10692	ld_shlibs=no
10693      fi
10694      ;;
10695
10696    cygwin* | mingw* | pw32* | cegcc*)
10697      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10698      # as there is no search path for DLLs.
10699      hardcode_libdir_flag_spec='-L$libdir'
10700      export_dynamic_flag_spec='$wl--export-all-symbols'
10701      allow_undefined_flag=unsupported
10702      always_export_symbols=no
10703      enable_shared_with_static_runtimes=yes
10704      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10705      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10706
10707      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10708        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10709	# If the export-symbols file already is a .def file, use it as
10710	# is; otherwise, prepend EXPORTS...
10711	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10712          cp $export_symbols $output_objdir/$soname.def;
10713        else
10714          echo EXPORTS > $output_objdir/$soname.def;
10715          cat $export_symbols >> $output_objdir/$soname.def;
10716        fi~
10717        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10718      else
10719	ld_shlibs=no
10720      fi
10721      ;;
10722
10723    haiku*)
10724      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10725      link_all_deplibs=yes
10726      ;;
10727
10728    os2*)
10729      hardcode_libdir_flag_spec='-L$libdir'
10730      hardcode_minus_L=yes
10731      allow_undefined_flag=unsupported
10732      shrext_cmds=.dll
10733      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10734	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10735	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10736	$ECHO EXPORTS >> $output_objdir/$libname.def~
10737	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10738	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10739	emximp -o $lib $output_objdir/$libname.def'
10740      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10741	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10742	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10743	$ECHO EXPORTS >> $output_objdir/$libname.def~
10744	prefix_cmds="$SED"~
10745	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10746	  prefix_cmds="$prefix_cmds -e 1d";
10747	fi~
10748	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10749	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10750	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10751	emximp -o $lib $output_objdir/$libname.def'
10752      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10753      enable_shared_with_static_runtimes=yes
10754      ;;
10755
10756    interix[3-9]*)
10757      hardcode_direct=no
10758      hardcode_shlibpath_var=no
10759      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10760      export_dynamic_flag_spec='$wl-E'
10761      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10762      # Instead, shared libraries are loaded at an image base (0x10000000 by
10763      # default) and relocated if they conflict, which is a slow very memory
10764      # consuming and fragmenting process.  To avoid this, we pick a random,
10765      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10766      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10767      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10768      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'
10769      ;;
10770
10771    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10772      tmp_diet=no
10773      if test linux-dietlibc = "$host_os"; then
10774	case $cc_basename in
10775	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10776	esac
10777      fi
10778      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10779	 && test no = "$tmp_diet"
10780      then
10781	tmp_addflag=' $pic_flag'
10782	tmp_sharedflag='-shared'
10783	case $cc_basename,$host_cpu in
10784        pgcc*)				# Portland Group C compiler
10785	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10786	  tmp_addflag=' $pic_flag'
10787	  ;;
10788	pgf77* | pgf90* | pgf95* | pgfortran*)
10789					# Portland Group f77 and f90 compilers
10790	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10791	  tmp_addflag=' $pic_flag -Mnomain' ;;
10792	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10793	  tmp_addflag=' -i_dynamic' ;;
10794	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10795	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10796	ifc* | ifort*)			# Intel Fortran compiler
10797	  tmp_addflag=' -nofor_main' ;;
10798	lf95*)				# Lahey Fortran 8.1
10799	  whole_archive_flag_spec=
10800	  tmp_sharedflag='--shared' ;;
10801        nagfor*)                        # NAGFOR 5.3
10802          tmp_sharedflag='-Wl,-shared' ;;
10803	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10804	  tmp_sharedflag='-qmkshrobj'
10805	  tmp_addflag= ;;
10806	nvcc*)	# Cuda Compiler Driver 2.2
10807	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10808	  compiler_needs_object=yes
10809	  ;;
10810	esac
10811	case `$CC -V 2>&1 | sed 5q` in
10812	*Sun\ C*)			# Sun C 5.9
10813	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10814	  compiler_needs_object=yes
10815	  tmp_sharedflag='-G' ;;
10816	*Sun\ F*)			# Sun Fortran 8.3
10817	  tmp_sharedflag='-G' ;;
10818	esac
10819	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10820
10821        if test yes = "$supports_anon_versioning"; then
10822          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10823            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10824            echo "local: *; };" >> $output_objdir/$libname.ver~
10825            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10826        fi
10827
10828	case $cc_basename in
10829	tcc*)
10830	  export_dynamic_flag_spec='-rdynamic'
10831	  ;;
10832	xlf* | bgf* | bgxlf* | mpixlf*)
10833	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10834	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10835	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10836	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10837	  if test yes = "$supports_anon_versioning"; then
10838	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10839              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10840              echo "local: *; };" >> $output_objdir/$libname.ver~
10841              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10842	  fi
10843	  ;;
10844	esac
10845      else
10846        ld_shlibs=no
10847      fi
10848      ;;
10849
10850    netbsd* | netbsdelf*-gnu)
10851      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10852	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10853	wlarc=
10854      else
10855	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10856	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10857      fi
10858      ;;
10859
10860    solaris*)
10861      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10862	ld_shlibs=no
10863	cat <<_LT_EOF 1>&2
10864
10865*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10866*** create shared libraries on Solaris systems.  Therefore, libtool
10867*** is disabling shared libraries support.  We urge you to upgrade GNU
10868*** binutils to release 2.9.1 or newer.  Another option is to modify
10869*** your PATH or compiler configuration so that the native linker is
10870*** used, and then restart.
10871
10872_LT_EOF
10873      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10874	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10875	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10876      else
10877	ld_shlibs=no
10878      fi
10879      ;;
10880
10881    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10882      case `$LD -v 2>&1` in
10883        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10884	ld_shlibs=no
10885	cat <<_LT_EOF 1>&2
10886
10887*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10888*** reliably create shared libraries on SCO systems.  Therefore, libtool
10889*** is disabling shared libraries support.  We urge you to upgrade GNU
10890*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10891*** your PATH or compiler configuration so that the native linker is
10892*** used, and then restart.
10893
10894_LT_EOF
10895	;;
10896	*)
10897	  # For security reasons, it is highly recommended that you always
10898	  # use absolute paths for naming shared libraries, and exclude the
10899	  # DT_RUNPATH tag from executables and libraries.  But doing so
10900	  # requires that you compile everything twice, which is a pain.
10901	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10902	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10903	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10904	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10905	  else
10906	    ld_shlibs=no
10907	  fi
10908	;;
10909      esac
10910      ;;
10911
10912    sunos4*)
10913      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10914      wlarc=
10915      hardcode_direct=yes
10916      hardcode_shlibpath_var=no
10917      ;;
10918
10919    *)
10920      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10921	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10922	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10923      else
10924	ld_shlibs=no
10925      fi
10926      ;;
10927    esac
10928
10929    if test no = "$ld_shlibs"; then
10930      runpath_var=
10931      hardcode_libdir_flag_spec=
10932      export_dynamic_flag_spec=
10933      whole_archive_flag_spec=
10934    fi
10935  else
10936    # PORTME fill in a description of your system's linker (not GNU ld)
10937    case $host_os in
10938    aix3*)
10939      allow_undefined_flag=unsupported
10940      always_export_symbols=yes
10941      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'
10942      # Note: this linker hardcodes the directories in LIBPATH if there
10943      # are no directories specified by -L.
10944      hardcode_minus_L=yes
10945      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10946	# Neither direct hardcoding nor static linking is supported with a
10947	# broken collect2.
10948	hardcode_direct=unsupported
10949      fi
10950      ;;
10951
10952    aix[4-9]*)
10953      if test ia64 = "$host_cpu"; then
10954	# On IA64, the linker does run time linking by default, so we don't
10955	# have to do anything special.
10956	aix_use_runtimelinking=no
10957	exp_sym_flag='-Bexport'
10958	no_entry_flag=
10959      else
10960	# If we're using GNU nm, then we don't want the "-C" option.
10961	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10962	# Without the "-l" option, or with the "-B" option, AIX nm treats
10963	# weak defined symbols like other global defined symbols, whereas
10964	# GNU nm marks them as "W".
10965	# While the 'weak' keyword is ignored in the Export File, we need
10966	# it in the Import File for the 'aix-soname' feature, so we have
10967	# to replace the "-B" option with "-P" for AIX nm.
10968	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10969	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10970	else
10971	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10972	fi
10973	aix_use_runtimelinking=no
10974
10975	# Test if we are trying to use run time linking or normal
10976	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10977	# have runtime linking enabled, and use it for executables.
10978	# For shared libraries, we enable/disable runtime linking
10979	# depending on the kind of the shared library created -
10980	# when "with_aix_soname,aix_use_runtimelinking" is:
10981	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10982	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10983	#            lib.a           static archive
10984	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10985	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10986	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10987	#            lib.a(lib.so.V) shared, rtl:no
10988	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10989	#            lib.a           static archive
10990	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10991	  for ld_flag in $LDFLAGS; do
10992	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10993	    aix_use_runtimelinking=yes
10994	    break
10995	  fi
10996	  done
10997	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10998	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10999	    # so we don't have lib.a shared libs to link our executables.
11000	    # We have to force runtime linking in this case.
11001	    aix_use_runtimelinking=yes
11002	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11003	  fi
11004	  ;;
11005	esac
11006
11007	exp_sym_flag='-bexport'
11008	no_entry_flag='-bnoentry'
11009      fi
11010
11011      # When large executables or shared objects are built, AIX ld can
11012      # have problems creating the table of contents.  If linking a library
11013      # or program results in "error TOC overflow" add -mminimal-toc to
11014      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11015      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11016
11017      archive_cmds=''
11018      hardcode_direct=yes
11019      hardcode_direct_absolute=yes
11020      hardcode_libdir_separator=':'
11021      link_all_deplibs=yes
11022      file_list_spec='$wl-f,'
11023      case $with_aix_soname,$aix_use_runtimelinking in
11024      aix,*) ;; # traditional, no import file
11025      svr4,* | *,yes) # use import file
11026	# The Import File defines what to hardcode.
11027	hardcode_direct=no
11028	hardcode_direct_absolute=no
11029	;;
11030      esac
11031
11032      if test yes = "$GCC"; then
11033	case $host_os in aix4.[012]|aix4.[012].*)
11034	# We only want to do this on AIX 4.2 and lower, the check
11035	# below for broken collect2 doesn't work under 4.3+
11036	  collect2name=`$CC -print-prog-name=collect2`
11037	  if test -f "$collect2name" &&
11038	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11039	  then
11040	  # We have reworked collect2
11041	  :
11042	  else
11043	  # We have old collect2
11044	  hardcode_direct=unsupported
11045	  # It fails to find uninstalled libraries when the uninstalled
11046	  # path is not listed in the libpath.  Setting hardcode_minus_L
11047	  # to unsupported forces relinking
11048	  hardcode_minus_L=yes
11049	  hardcode_libdir_flag_spec='-L$libdir'
11050	  hardcode_libdir_separator=
11051	  fi
11052	  ;;
11053	esac
11054	shared_flag='-shared'
11055	if test yes = "$aix_use_runtimelinking"; then
11056	  shared_flag="$shared_flag "'$wl-G'
11057	fi
11058	# Need to ensure runtime linking is disabled for the traditional
11059	# shared library, or the linker may eventually find shared libraries
11060	# /with/ Import File - we do not want to mix them.
11061	shared_flag_aix='-shared'
11062	shared_flag_svr4='-shared $wl-G'
11063      else
11064	# not using gcc
11065	if test ia64 = "$host_cpu"; then
11066	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11067	# chokes on -Wl,-G. The following line is correct:
11068	  shared_flag='-G'
11069	else
11070	  if test yes = "$aix_use_runtimelinking"; then
11071	    shared_flag='$wl-G'
11072	  else
11073	    shared_flag='$wl-bM:SRE'
11074	  fi
11075	  shared_flag_aix='$wl-bM:SRE'
11076	  shared_flag_svr4='$wl-G'
11077	fi
11078      fi
11079
11080      export_dynamic_flag_spec='$wl-bexpall'
11081      # It seems that -bexpall does not export symbols beginning with
11082      # underscore (_), so it is better to generate a list of symbols to export.
11083      always_export_symbols=yes
11084      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11085	# Warning - without using the other runtime loading flags (-brtl),
11086	# -berok will link without error, but may produce a broken library.
11087	allow_undefined_flag='-berok'
11088        # Determine the default libpath from the value encoded in an
11089        # empty executable.
11090        if test set = "${lt_cv_aix_libpath+set}"; then
11091  aix_libpath=$lt_cv_aix_libpath
11092else
11093  if ${lt_cv_aix_libpath_+:} false; then :
11094  $as_echo_n "(cached) " >&6
11095else
11096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097/* end confdefs.h.  */
11098
11099int
11100main ()
11101{
11102
11103  ;
11104  return 0;
11105}
11106_ACEOF
11107if ac_fn_c_try_link "$LINENO"; then :
11108
11109  lt_aix_libpath_sed='
11110      /Import File Strings/,/^$/ {
11111	  /^0/ {
11112	      s/^0  *\([^ ]*\) *$/\1/
11113	      p
11114	  }
11115      }'
11116  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11117  # Check for a 64-bit object if we didn't find anything.
11118  if test -z "$lt_cv_aix_libpath_"; then
11119    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11120  fi
11121fi
11122rm -f core conftest.err conftest.$ac_objext \
11123    conftest$ac_exeext conftest.$ac_ext
11124  if test -z "$lt_cv_aix_libpath_"; then
11125    lt_cv_aix_libpath_=/usr/lib:/lib
11126  fi
11127
11128fi
11129
11130  aix_libpath=$lt_cv_aix_libpath_
11131fi
11132
11133        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11134        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11135      else
11136	if test ia64 = "$host_cpu"; then
11137	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11138	  allow_undefined_flag="-z nodefs"
11139	  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"
11140	else
11141	 # Determine the default libpath from the value encoded in an
11142	 # empty executable.
11143	 if test set = "${lt_cv_aix_libpath+set}"; then
11144  aix_libpath=$lt_cv_aix_libpath
11145else
11146  if ${lt_cv_aix_libpath_+:} false; then :
11147  $as_echo_n "(cached) " >&6
11148else
11149  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150/* end confdefs.h.  */
11151
11152int
11153main ()
11154{
11155
11156  ;
11157  return 0;
11158}
11159_ACEOF
11160if ac_fn_c_try_link "$LINENO"; then :
11161
11162  lt_aix_libpath_sed='
11163      /Import File Strings/,/^$/ {
11164	  /^0/ {
11165	      s/^0  *\([^ ]*\) *$/\1/
11166	      p
11167	  }
11168      }'
11169  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11170  # Check for a 64-bit object if we didn't find anything.
11171  if test -z "$lt_cv_aix_libpath_"; then
11172    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11173  fi
11174fi
11175rm -f core conftest.err conftest.$ac_objext \
11176    conftest$ac_exeext conftest.$ac_ext
11177  if test -z "$lt_cv_aix_libpath_"; then
11178    lt_cv_aix_libpath_=/usr/lib:/lib
11179  fi
11180
11181fi
11182
11183  aix_libpath=$lt_cv_aix_libpath_
11184fi
11185
11186	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11187	  # Warning - without using the other run time loading flags,
11188	  # -berok will link without error, but may produce a broken library.
11189	  no_undefined_flag=' $wl-bernotok'
11190	  allow_undefined_flag=' $wl-berok'
11191	  if test yes = "$with_gnu_ld"; then
11192	    # We only use this code for GNU lds that support --whole-archive.
11193	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11194	  else
11195	    # Exported symbols can be pulled into shared objects from archives
11196	    whole_archive_flag_spec='$convenience'
11197	  fi
11198	  archive_cmds_need_lc=yes
11199	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11200	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11201	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11202	  if test svr4 != "$with_aix_soname"; then
11203	    # This is similar to how AIX traditionally builds its shared libraries.
11204	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11205	  fi
11206	  if test aix != "$with_aix_soname"; then
11207	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11208	  else
11209	    # used by -dlpreopen to get the symbols
11210	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11211	  fi
11212	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11213	fi
11214      fi
11215      ;;
11216
11217    amigaos*)
11218      case $host_cpu in
11219      powerpc)
11220            # see comment about AmigaOS4 .so support
11221            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11222            archive_expsym_cmds=''
11223        ;;
11224      m68k)
11225            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)'
11226            hardcode_libdir_flag_spec='-L$libdir'
11227            hardcode_minus_L=yes
11228        ;;
11229      esac
11230      ;;
11231
11232    bsdi[45]*)
11233      export_dynamic_flag_spec=-rdynamic
11234      ;;
11235
11236    cygwin* | mingw* | pw32* | cegcc*)
11237      # When not using gcc, we currently assume that we are using
11238      # Microsoft Visual C++.
11239      # hardcode_libdir_flag_spec is actually meaningless, as there is
11240      # no search path for DLLs.
11241      case $cc_basename in
11242      cl*)
11243	# Native MSVC
11244	hardcode_libdir_flag_spec=' '
11245	allow_undefined_flag=unsupported
11246	always_export_symbols=yes
11247	file_list_spec='@'
11248	# Tell ltmain to make .lib files, not .a files.
11249	libext=lib
11250	# Tell ltmain to make .dll files, not .so files.
11251	shrext_cmds=.dll
11252	# FIXME: Setting linknames here is a bad hack.
11253	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11254	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11255            cp "$export_symbols" "$output_objdir/$soname.def";
11256            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11257          else
11258            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11259          fi~
11260          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11261          linknames='
11262	# The linker will not automatically build a static lib if we build a DLL.
11263	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11264	enable_shared_with_static_runtimes=yes
11265	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11266	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11267	# Don't use ranlib
11268	old_postinstall_cmds='chmod 644 $oldlib'
11269	postlink_cmds='lt_outputfile="@OUTPUT@"~
11270          lt_tool_outputfile="@TOOL_OUTPUT@"~
11271          case $lt_outputfile in
11272            *.exe|*.EXE) ;;
11273            *)
11274              lt_outputfile=$lt_outputfile.exe
11275              lt_tool_outputfile=$lt_tool_outputfile.exe
11276              ;;
11277          esac~
11278          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11279            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11280            $RM "$lt_outputfile.manifest";
11281          fi'
11282	;;
11283      *)
11284	# Assume MSVC wrapper
11285	hardcode_libdir_flag_spec=' '
11286	allow_undefined_flag=unsupported
11287	# Tell ltmain to make .lib files, not .a files.
11288	libext=lib
11289	# Tell ltmain to make .dll files, not .so files.
11290	shrext_cmds=.dll
11291	# FIXME: Setting linknames here is a bad hack.
11292	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11293	# The linker will automatically build a .lib file if we build a DLL.
11294	old_archive_from_new_cmds='true'
11295	# FIXME: Should let the user specify the lib program.
11296	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11297	enable_shared_with_static_runtimes=yes
11298	;;
11299      esac
11300      ;;
11301
11302    darwin* | rhapsody*)
11303
11304
11305  archive_cmds_need_lc=no
11306  hardcode_direct=no
11307  hardcode_automatic=yes
11308  hardcode_shlibpath_var=unsupported
11309  if test yes = "$lt_cv_ld_force_load"; then
11310    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11311
11312  else
11313    whole_archive_flag_spec=''
11314  fi
11315  link_all_deplibs=yes
11316  allow_undefined_flag=$_lt_dar_allow_undefined
11317  case $cc_basename in
11318     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11319     *) _lt_dar_can_shared=$GCC ;;
11320  esac
11321  if test yes = "$_lt_dar_can_shared"; then
11322    output_verbose_link_cmd=func_echo_all
11323    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11324    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11325    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"
11326    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"
11327
11328  else
11329  ld_shlibs=no
11330  fi
11331
11332      ;;
11333
11334    dgux*)
11335      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11336      hardcode_libdir_flag_spec='-L$libdir'
11337      hardcode_shlibpath_var=no
11338      ;;
11339
11340    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11341    # support.  Future versions do this automatically, but an explicit c++rt0.o
11342    # does not break anything, and helps significantly (at the cost of a little
11343    # extra space).
11344    freebsd2.2*)
11345      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11346      hardcode_libdir_flag_spec='-R$libdir'
11347      hardcode_direct=yes
11348      hardcode_shlibpath_var=no
11349      ;;
11350
11351    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11352    freebsd2.*)
11353      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11354      hardcode_direct=yes
11355      hardcode_minus_L=yes
11356      hardcode_shlibpath_var=no
11357      ;;
11358
11359    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11360    freebsd* | dragonfly*)
11361      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11362      hardcode_libdir_flag_spec='-R$libdir'
11363      hardcode_direct=yes
11364      hardcode_shlibpath_var=no
11365      ;;
11366
11367    hpux9*)
11368      if test yes = "$GCC"; then
11369	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11370      else
11371	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11372      fi
11373      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11374      hardcode_libdir_separator=:
11375      hardcode_direct=yes
11376
11377      # hardcode_minus_L: Not really in the search PATH,
11378      # but as the default location of the library.
11379      hardcode_minus_L=yes
11380      export_dynamic_flag_spec='$wl-E'
11381      ;;
11382
11383    hpux10*)
11384      if test yes,no = "$GCC,$with_gnu_ld"; then
11385	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11386      else
11387	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11388      fi
11389      if test no = "$with_gnu_ld"; then
11390	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11391	hardcode_libdir_separator=:
11392	hardcode_direct=yes
11393	hardcode_direct_absolute=yes
11394	export_dynamic_flag_spec='$wl-E'
11395	# hardcode_minus_L: Not really in the search PATH,
11396	# but as the default location of the library.
11397	hardcode_minus_L=yes
11398      fi
11399      ;;
11400
11401    hpux11*)
11402      if test yes,no = "$GCC,$with_gnu_ld"; then
11403	case $host_cpu in
11404	hppa*64*)
11405	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11406	  ;;
11407	ia64*)
11408	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11409	  ;;
11410	*)
11411	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11412	  ;;
11413	esac
11414      else
11415	case $host_cpu in
11416	hppa*64*)
11417	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11418	  ;;
11419	ia64*)
11420	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11421	  ;;
11422	*)
11423
11424	  # Older versions of the 11.00 compiler do not understand -b yet
11425	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11426	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11427$as_echo_n "checking if $CC understands -b... " >&6; }
11428if ${lt_cv_prog_compiler__b+:} false; then :
11429  $as_echo_n "(cached) " >&6
11430else
11431  lt_cv_prog_compiler__b=no
11432   save_LDFLAGS=$LDFLAGS
11433   LDFLAGS="$LDFLAGS -b"
11434   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11435   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11436     # The linker can only warn and ignore the option if not recognized
11437     # So say no if there are warnings
11438     if test -s conftest.err; then
11439       # Append any errors to the config.log.
11440       cat conftest.err 1>&5
11441       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11442       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11443       if diff conftest.exp conftest.er2 >/dev/null; then
11444         lt_cv_prog_compiler__b=yes
11445       fi
11446     else
11447       lt_cv_prog_compiler__b=yes
11448     fi
11449   fi
11450   $RM -r conftest*
11451   LDFLAGS=$save_LDFLAGS
11452
11453fi
11454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11455$as_echo "$lt_cv_prog_compiler__b" >&6; }
11456
11457if test yes = "$lt_cv_prog_compiler__b"; then
11458    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11459else
11460    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11461fi
11462
11463	  ;;
11464	esac
11465      fi
11466      if test no = "$with_gnu_ld"; then
11467	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11468	hardcode_libdir_separator=:
11469
11470	case $host_cpu in
11471	hppa*64*|ia64*)
11472	  hardcode_direct=no
11473	  hardcode_shlibpath_var=no
11474	  ;;
11475	*)
11476	  hardcode_direct=yes
11477	  hardcode_direct_absolute=yes
11478	  export_dynamic_flag_spec='$wl-E'
11479
11480	  # hardcode_minus_L: Not really in the search PATH,
11481	  # but as the default location of the library.
11482	  hardcode_minus_L=yes
11483	  ;;
11484	esac
11485      fi
11486      ;;
11487
11488    irix5* | irix6* | nonstopux*)
11489      if test yes = "$GCC"; then
11490	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11491	# Try to use the -exported_symbol ld option, if it does not
11492	# work, assume that -exports_file does not work either and
11493	# implicitly export all symbols.
11494	# This should be the same for all languages, so no per-tag cache variable.
11495	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11496$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11497if ${lt_cv_irix_exported_symbol+:} false; then :
11498  $as_echo_n "(cached) " >&6
11499else
11500  save_LDFLAGS=$LDFLAGS
11501	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11502	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503/* end confdefs.h.  */
11504int foo (void) { return 0; }
11505_ACEOF
11506if ac_fn_c_try_link "$LINENO"; then :
11507  lt_cv_irix_exported_symbol=yes
11508else
11509  lt_cv_irix_exported_symbol=no
11510fi
11511rm -f core conftest.err conftest.$ac_objext \
11512    conftest$ac_exeext conftest.$ac_ext
11513           LDFLAGS=$save_LDFLAGS
11514fi
11515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11516$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11517	if test yes = "$lt_cv_irix_exported_symbol"; then
11518          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11519	fi
11520	link_all_deplibs=no
11521      else
11522	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11523	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11524      fi
11525      archive_cmds_need_lc='no'
11526      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11527      hardcode_libdir_separator=:
11528      inherit_rpath=yes
11529      link_all_deplibs=yes
11530      ;;
11531
11532    linux*)
11533      case $cc_basename in
11534      tcc*)
11535	# Fabrice Bellard et al's Tiny C Compiler
11536	ld_shlibs=yes
11537	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11538	;;
11539      esac
11540      ;;
11541
11542    netbsd* | netbsdelf*-gnu)
11543      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11544	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11545      else
11546	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11547      fi
11548      hardcode_libdir_flag_spec='-R$libdir'
11549      hardcode_direct=yes
11550      hardcode_shlibpath_var=no
11551      ;;
11552
11553    newsos6)
11554      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11555      hardcode_direct=yes
11556      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11557      hardcode_libdir_separator=:
11558      hardcode_shlibpath_var=no
11559      ;;
11560
11561    *nto* | *qnx*)
11562      ;;
11563
11564    openbsd* | bitrig*)
11565      if test -f /usr/libexec/ld.so; then
11566	hardcode_direct=yes
11567	hardcode_shlibpath_var=no
11568	hardcode_direct_absolute=yes
11569	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11570	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11571	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11572	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11573	  export_dynamic_flag_spec='$wl-E'
11574	else
11575	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11576	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11577	fi
11578      else
11579	ld_shlibs=no
11580      fi
11581      ;;
11582
11583    os2*)
11584      hardcode_libdir_flag_spec='-L$libdir'
11585      hardcode_minus_L=yes
11586      allow_undefined_flag=unsupported
11587      shrext_cmds=.dll
11588      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11589	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11590	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11591	$ECHO EXPORTS >> $output_objdir/$libname.def~
11592	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11593	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11594	emximp -o $lib $output_objdir/$libname.def'
11595      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11596	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11597	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11598	$ECHO EXPORTS >> $output_objdir/$libname.def~
11599	prefix_cmds="$SED"~
11600	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11601	  prefix_cmds="$prefix_cmds -e 1d";
11602	fi~
11603	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11604	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11605	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11606	emximp -o $lib $output_objdir/$libname.def'
11607      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11608      enable_shared_with_static_runtimes=yes
11609      ;;
11610
11611    osf3*)
11612      if test yes = "$GCC"; then
11613	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11614	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11615      else
11616	allow_undefined_flag=' -expect_unresolved \*'
11617	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11618      fi
11619      archive_cmds_need_lc='no'
11620      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11621      hardcode_libdir_separator=:
11622      ;;
11623
11624    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11625      if test yes = "$GCC"; then
11626	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11627	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11628	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11629      else
11630	allow_undefined_flag=' -expect_unresolved \*'
11631	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11632	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~
11633          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
11634
11635	# Both c and cxx compiler support -rpath directly
11636	hardcode_libdir_flag_spec='-rpath $libdir'
11637      fi
11638      archive_cmds_need_lc='no'
11639      hardcode_libdir_separator=:
11640      ;;
11641
11642    solaris*)
11643      no_undefined_flag=' -z defs'
11644      if test yes = "$GCC"; then
11645	wlarc='$wl'
11646	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11647	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11648          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11649      else
11650	case `$CC -V 2>&1` in
11651	*"Compilers 5.0"*)
11652	  wlarc=''
11653	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11654	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11655            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11656	  ;;
11657	*)
11658	  wlarc='$wl'
11659	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11660	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11661            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11662	  ;;
11663	esac
11664      fi
11665      hardcode_libdir_flag_spec='-R$libdir'
11666      hardcode_shlibpath_var=no
11667      case $host_os in
11668      solaris2.[0-5] | solaris2.[0-5].*) ;;
11669      *)
11670	# The compiler driver will combine and reorder linker options,
11671	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11672	# but is careful enough not to reorder.
11673	# Supported since Solaris 2.6 (maybe 2.5.1?)
11674	if test yes = "$GCC"; then
11675	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11676	else
11677	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11678	fi
11679	;;
11680      esac
11681      link_all_deplibs=yes
11682      ;;
11683
11684    sunos4*)
11685      if test sequent = "$host_vendor"; then
11686	# Use $CC to link under sequent, because it throws in some extra .o
11687	# files that make .init and .fini sections work.
11688	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11689      else
11690	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11691      fi
11692      hardcode_libdir_flag_spec='-L$libdir'
11693      hardcode_direct=yes
11694      hardcode_minus_L=yes
11695      hardcode_shlibpath_var=no
11696      ;;
11697
11698    sysv4)
11699      case $host_vendor in
11700	sni)
11701	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11702	  hardcode_direct=yes # is this really true???
11703	;;
11704	siemens)
11705	  ## LD is ld it makes a PLAMLIB
11706	  ## CC just makes a GrossModule.
11707	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11708	  reload_cmds='$CC -r -o $output$reload_objs'
11709	  hardcode_direct=no
11710        ;;
11711	motorola)
11712	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11713	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11714	;;
11715      esac
11716      runpath_var='LD_RUN_PATH'
11717      hardcode_shlibpath_var=no
11718      ;;
11719
11720    sysv4.3*)
11721      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11722      hardcode_shlibpath_var=no
11723      export_dynamic_flag_spec='-Bexport'
11724      ;;
11725
11726    sysv4*MP*)
11727      if test -d /usr/nec; then
11728	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11729	hardcode_shlibpath_var=no
11730	runpath_var=LD_RUN_PATH
11731	hardcode_runpath_var=yes
11732	ld_shlibs=yes
11733      fi
11734      ;;
11735
11736    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11737      no_undefined_flag='$wl-z,text'
11738      archive_cmds_need_lc=no
11739      hardcode_shlibpath_var=no
11740      runpath_var='LD_RUN_PATH'
11741
11742      if test yes = "$GCC"; then
11743	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11744	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11745      else
11746	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11747	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11748      fi
11749      ;;
11750
11751    sysv5* | sco3.2v5* | sco5v6*)
11752      # Note: We CANNOT use -z defs as we might desire, because we do not
11753      # link with -lc, and that would cause any symbols used from libc to
11754      # always be unresolved, which means just about no library would
11755      # ever link correctly.  If we're not using GNU ld we use -z text
11756      # though, which does catch some bad symbols but isn't as heavy-handed
11757      # as -z defs.
11758      no_undefined_flag='$wl-z,text'
11759      allow_undefined_flag='$wl-z,nodefs'
11760      archive_cmds_need_lc=no
11761      hardcode_shlibpath_var=no
11762      hardcode_libdir_flag_spec='$wl-R,$libdir'
11763      hardcode_libdir_separator=':'
11764      link_all_deplibs=yes
11765      export_dynamic_flag_spec='$wl-Bexport'
11766      runpath_var='LD_RUN_PATH'
11767
11768      if test yes = "$GCC"; then
11769	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11770	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11771      else
11772	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11773	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11774      fi
11775      ;;
11776
11777    uts4*)
11778      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11779      hardcode_libdir_flag_spec='-L$libdir'
11780      hardcode_shlibpath_var=no
11781      ;;
11782
11783    *)
11784      ld_shlibs=no
11785      ;;
11786    esac
11787
11788    if test sni = "$host_vendor"; then
11789      case $host in
11790      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11791	export_dynamic_flag_spec='$wl-Blargedynsym'
11792	;;
11793      esac
11794    fi
11795  fi
11796
11797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11798$as_echo "$ld_shlibs" >&6; }
11799test no = "$ld_shlibs" && can_build_shared=no
11800
11801with_gnu_ld=$with_gnu_ld
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817#
11818# Do we need to explicitly link libc?
11819#
11820case "x$archive_cmds_need_lc" in
11821x|xyes)
11822  # Assume -lc should be added
11823  archive_cmds_need_lc=yes
11824
11825  if test yes,yes = "$GCC,$enable_shared"; then
11826    case $archive_cmds in
11827    *'~'*)
11828      # FIXME: we may have to deal with multi-command sequences.
11829      ;;
11830    '$CC '*)
11831      # Test whether the compiler implicitly links with -lc since on some
11832      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11833      # to ld, don't add -lc before -lgcc.
11834      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11835$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11836if ${lt_cv_archive_cmds_need_lc+:} false; then :
11837  $as_echo_n "(cached) " >&6
11838else
11839  $RM conftest*
11840	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11841
11842	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11843  (eval $ac_compile) 2>&5
11844  ac_status=$?
11845  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11846  test $ac_status = 0; } 2>conftest.err; then
11847	  soname=conftest
11848	  lib=conftest
11849	  libobjs=conftest.$ac_objext
11850	  deplibs=
11851	  wl=$lt_prog_compiler_wl
11852	  pic_flag=$lt_prog_compiler_pic
11853	  compiler_flags=-v
11854	  linker_flags=-v
11855	  verstring=
11856	  output_objdir=.
11857	  libname=conftest
11858	  lt_save_allow_undefined_flag=$allow_undefined_flag
11859	  allow_undefined_flag=
11860	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11861  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11862  ac_status=$?
11863  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11864  test $ac_status = 0; }
11865	  then
11866	    lt_cv_archive_cmds_need_lc=no
11867	  else
11868	    lt_cv_archive_cmds_need_lc=yes
11869	  fi
11870	  allow_undefined_flag=$lt_save_allow_undefined_flag
11871	else
11872	  cat conftest.err 1>&5
11873	fi
11874	$RM conftest*
11875
11876fi
11877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11878$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11879      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11880      ;;
11881    esac
11882  fi
11883  ;;
11884esac
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12038$as_echo_n "checking dynamic linker characteristics... " >&6; }
12039
12040if test yes = "$GCC"; then
12041  case $host_os in
12042    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12043    *) lt_awk_arg='/^libraries:/' ;;
12044  esac
12045  case $host_os in
12046    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12047    *) lt_sed_strip_eq='s|=/|/|g' ;;
12048  esac
12049  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12050  case $lt_search_path_spec in
12051  *\;*)
12052    # if the path contains ";" then we assume it to be the separator
12053    # otherwise default to the standard path separator (i.e. ":") - it is
12054    # assumed that no part of a normal pathname contains ";" but that should
12055    # okay in the real world where ";" in dirpaths is itself problematic.
12056    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12057    ;;
12058  *)
12059    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12060    ;;
12061  esac
12062  # Ok, now we have the path, separated by spaces, we can step through it
12063  # and add multilib dir if necessary...
12064  lt_tmp_lt_search_path_spec=
12065  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12066  # ...but if some path component already ends with the multilib dir we assume
12067  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12068  case "$lt_multi_os_dir; $lt_search_path_spec " in
12069  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12070    lt_multi_os_dir=
12071    ;;
12072  esac
12073  for lt_sys_path in $lt_search_path_spec; do
12074    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12075      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12076    elif test -n "$lt_multi_os_dir"; then
12077      test -d "$lt_sys_path" && \
12078	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12079    fi
12080  done
12081  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12082BEGIN {RS = " "; FS = "/|\n";} {
12083  lt_foo = "";
12084  lt_count = 0;
12085  for (lt_i = NF; lt_i > 0; lt_i--) {
12086    if ($lt_i != "" && $lt_i != ".") {
12087      if ($lt_i == "..") {
12088        lt_count++;
12089      } else {
12090        if (lt_count == 0) {
12091          lt_foo = "/" $lt_i lt_foo;
12092        } else {
12093          lt_count--;
12094        }
12095      }
12096    }
12097  }
12098  if (lt_foo != "") { lt_freq[lt_foo]++; }
12099  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12100}'`
12101  # AWK program above erroneously prepends '/' to C:/dos/paths
12102  # for these hosts.
12103  case $host_os in
12104    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12105      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12106  esac
12107  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12108else
12109  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12110fi
12111library_names_spec=
12112libname_spec='lib$name'
12113soname_spec=
12114shrext_cmds=.so
12115postinstall_cmds=
12116postuninstall_cmds=
12117finish_cmds=
12118finish_eval=
12119shlibpath_var=
12120shlibpath_overrides_runpath=unknown
12121version_type=none
12122dynamic_linker="$host_os ld.so"
12123sys_lib_dlsearch_path_spec="/lib /usr/lib"
12124need_lib_prefix=unknown
12125hardcode_into_libs=no
12126
12127# when you set need_version to no, make sure it does not cause -set_version
12128# flags to be left without arguments
12129need_version=unknown
12130
12131
12132
12133case $host_os in
12134aix3*)
12135  version_type=linux # correct to gnu/linux during the next big refactor
12136  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12137  shlibpath_var=LIBPATH
12138
12139  # AIX 3 has no versioning support, so we append a major version to the name.
12140  soname_spec='$libname$release$shared_ext$major'
12141  ;;
12142
12143aix[4-9]*)
12144  version_type=linux # correct to gnu/linux during the next big refactor
12145  need_lib_prefix=no
12146  need_version=no
12147  hardcode_into_libs=yes
12148  if test ia64 = "$host_cpu"; then
12149    # AIX 5 supports IA64
12150    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12151    shlibpath_var=LD_LIBRARY_PATH
12152  else
12153    # With GCC up to 2.95.x, collect2 would create an import file
12154    # for dependence libraries.  The import file would start with
12155    # the line '#! .'.  This would cause the generated library to
12156    # depend on '.', always an invalid library.  This was fixed in
12157    # development snapshots of GCC prior to 3.0.
12158    case $host_os in
12159      aix4 | aix4.[01] | aix4.[01].*)
12160      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12161	   echo ' yes '
12162	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12163	:
12164      else
12165	can_build_shared=no
12166      fi
12167      ;;
12168    esac
12169    # Using Import Files as archive members, it is possible to support
12170    # filename-based versioning of shared library archives on AIX. While
12171    # this would work for both with and without runtime linking, it will
12172    # prevent static linking of such archives. So we do filename-based
12173    # shared library versioning with .so extension only, which is used
12174    # when both runtime linking and shared linking is enabled.
12175    # Unfortunately, runtime linking may impact performance, so we do
12176    # not want this to be the default eventually. Also, we use the
12177    # versioned .so libs for executables only if there is the -brtl
12178    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12179    # To allow for filename-based versioning support, we need to create
12180    # libNAME.so.V as an archive file, containing:
12181    # *) an Import File, referring to the versioned filename of the
12182    #    archive as well as the shared archive member, telling the
12183    #    bitwidth (32 or 64) of that shared object, and providing the
12184    #    list of exported symbols of that shared object, eventually
12185    #    decorated with the 'weak' keyword
12186    # *) the shared object with the F_LOADONLY flag set, to really avoid
12187    #    it being seen by the linker.
12188    # At run time we better use the real file rather than another symlink,
12189    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12190
12191    case $with_aix_soname,$aix_use_runtimelinking in
12192    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12193    # soname into executable. Probably we can add versioning support to
12194    # collect2, so additional links can be useful in future.
12195    aix,yes) # traditional libtool
12196      dynamic_linker='AIX unversionable lib.so'
12197      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12198      # instead of lib<name>.a to let people know that these are not
12199      # typical AIX shared libraries.
12200      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12201      ;;
12202    aix,no) # traditional AIX only
12203      dynamic_linker='AIX lib.a(lib.so.V)'
12204      # We preserve .a as extension for shared libraries through AIX4.2
12205      # and later when we are not doing run time linking.
12206      library_names_spec='$libname$release.a $libname.a'
12207      soname_spec='$libname$release$shared_ext$major'
12208      ;;
12209    svr4,*) # full svr4 only
12210      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12211      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12212      # We do not specify a path in Import Files, so LIBPATH fires.
12213      shlibpath_overrides_runpath=yes
12214      ;;
12215    *,yes) # both, prefer svr4
12216      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12217      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12218      # unpreferred sharedlib libNAME.a needs extra handling
12219      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12220      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12221      # We do not specify a path in Import Files, so LIBPATH fires.
12222      shlibpath_overrides_runpath=yes
12223      ;;
12224    *,no) # both, prefer aix
12225      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12226      library_names_spec='$libname$release.a $libname.a'
12227      soname_spec='$libname$release$shared_ext$major'
12228      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12229      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12230      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12231      ;;
12232    esac
12233    shlibpath_var=LIBPATH
12234  fi
12235  ;;
12236
12237amigaos*)
12238  case $host_cpu in
12239  powerpc)
12240    # Since July 2007 AmigaOS4 officially supports .so libraries.
12241    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12242    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12243    ;;
12244  m68k)
12245    library_names_spec='$libname.ixlibrary $libname.a'
12246    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12247    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12248    ;;
12249  esac
12250  ;;
12251
12252beos*)
12253  library_names_spec='$libname$shared_ext'
12254  dynamic_linker="$host_os ld.so"
12255  shlibpath_var=LIBRARY_PATH
12256  ;;
12257
12258bsdi[45]*)
12259  version_type=linux # correct to gnu/linux during the next big refactor
12260  need_version=no
12261  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12262  soname_spec='$libname$release$shared_ext$major'
12263  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12264  shlibpath_var=LD_LIBRARY_PATH
12265  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12266  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12267  # the default ld.so.conf also contains /usr/contrib/lib and
12268  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12269  # libtool to hard-code these into programs
12270  ;;
12271
12272cygwin* | mingw* | pw32* | cegcc*)
12273  version_type=windows
12274  shrext_cmds=.dll
12275  need_version=no
12276  need_lib_prefix=no
12277
12278  case $GCC,$cc_basename in
12279  yes,*)
12280    # gcc
12281    library_names_spec='$libname.dll.a'
12282    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12283    postinstall_cmds='base_file=`basename \$file`~
12284      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12285      dldir=$destdir/`dirname \$dlpath`~
12286      test -d \$dldir || mkdir -p \$dldir~
12287      $install_prog $dir/$dlname \$dldir/$dlname~
12288      chmod a+x \$dldir/$dlname~
12289      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12290        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12291      fi'
12292    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12293      dlpath=$dir/\$dldll~
12294       $RM \$dlpath'
12295    shlibpath_overrides_runpath=yes
12296
12297    case $host_os in
12298    cygwin*)
12299      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12300      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12301
12302      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12303      ;;
12304    mingw* | cegcc*)
12305      # MinGW DLLs use traditional 'lib' prefix
12306      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12307      ;;
12308    pw32*)
12309      # pw32 DLLs use 'pw' prefix rather than 'lib'
12310      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12311      ;;
12312    esac
12313    dynamic_linker='Win32 ld.exe'
12314    ;;
12315
12316  *,cl*)
12317    # Native MSVC
12318    libname_spec='$name'
12319    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12320    library_names_spec='$libname.dll.lib'
12321
12322    case $build_os in
12323    mingw*)
12324      sys_lib_search_path_spec=
12325      lt_save_ifs=$IFS
12326      IFS=';'
12327      for lt_path in $LIB
12328      do
12329        IFS=$lt_save_ifs
12330        # Let DOS variable expansion print the short 8.3 style file name.
12331        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12332        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12333      done
12334      IFS=$lt_save_ifs
12335      # Convert to MSYS style.
12336      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12337      ;;
12338    cygwin*)
12339      # Convert to unix form, then to dos form, then back to unix form
12340      # but this time dos style (no spaces!) so that the unix form looks
12341      # like /cygdrive/c/PROGRA~1:/cygdr...
12342      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12343      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12344      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12345      ;;
12346    *)
12347      sys_lib_search_path_spec=$LIB
12348      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12349        # It is most probably a Windows format PATH.
12350        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12351      else
12352        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12353      fi
12354      # FIXME: find the short name or the path components, as spaces are
12355      # common. (e.g. "Program Files" -> "PROGRA~1")
12356      ;;
12357    esac
12358
12359    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12360    postinstall_cmds='base_file=`basename \$file`~
12361      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12362      dldir=$destdir/`dirname \$dlpath`~
12363      test -d \$dldir || mkdir -p \$dldir~
12364      $install_prog $dir/$dlname \$dldir/$dlname'
12365    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12366      dlpath=$dir/\$dldll~
12367       $RM \$dlpath'
12368    shlibpath_overrides_runpath=yes
12369    dynamic_linker='Win32 link.exe'
12370    ;;
12371
12372  *)
12373    # Assume MSVC wrapper
12374    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12375    dynamic_linker='Win32 ld.exe'
12376    ;;
12377  esac
12378  # FIXME: first we should search . and the directory the executable is in
12379  shlibpath_var=PATH
12380  ;;
12381
12382darwin* | rhapsody*)
12383  dynamic_linker="$host_os dyld"
12384  version_type=darwin
12385  need_lib_prefix=no
12386  need_version=no
12387  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12388  soname_spec='$libname$release$major$shared_ext'
12389  shlibpath_overrides_runpath=yes
12390  shlibpath_var=DYLD_LIBRARY_PATH
12391  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12392
12393  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12394  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12395  ;;
12396
12397dgux*)
12398  version_type=linux # correct to gnu/linux during the next big refactor
12399  need_lib_prefix=no
12400  need_version=no
12401  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12402  soname_spec='$libname$release$shared_ext$major'
12403  shlibpath_var=LD_LIBRARY_PATH
12404  ;;
12405
12406freebsd* | dragonfly*)
12407  # DragonFly does not have aout.  When/if they implement a new
12408  # versioning mechanism, adjust this.
12409  if test -x /usr/bin/objformat; then
12410    objformat=`/usr/bin/objformat`
12411  else
12412    case $host_os in
12413    freebsd[23].*) objformat=aout ;;
12414    *) objformat=elf ;;
12415    esac
12416  fi
12417  version_type=freebsd-$objformat
12418  case $version_type in
12419    freebsd-elf*)
12420      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12421      soname_spec='$libname$release$shared_ext$major'
12422      need_version=no
12423      need_lib_prefix=no
12424      ;;
12425    freebsd-*)
12426      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12427      need_version=yes
12428      ;;
12429  esac
12430  shlibpath_var=LD_LIBRARY_PATH
12431  case $host_os in
12432  freebsd2.*)
12433    shlibpath_overrides_runpath=yes
12434    ;;
12435  freebsd3.[01]* | freebsdelf3.[01]*)
12436    shlibpath_overrides_runpath=yes
12437    hardcode_into_libs=yes
12438    ;;
12439  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12440  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12441    shlibpath_overrides_runpath=no
12442    hardcode_into_libs=yes
12443    ;;
12444  *) # from 4.6 on, and DragonFly
12445    shlibpath_overrides_runpath=yes
12446    hardcode_into_libs=yes
12447    ;;
12448  esac
12449  ;;
12450
12451haiku*)
12452  version_type=linux # correct to gnu/linux during the next big refactor
12453  need_lib_prefix=no
12454  need_version=no
12455  dynamic_linker="$host_os runtime_loader"
12456  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12457  soname_spec='$libname$release$shared_ext$major'
12458  shlibpath_var=LIBRARY_PATH
12459  shlibpath_overrides_runpath=no
12460  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12461  hardcode_into_libs=yes
12462  ;;
12463
12464hpux9* | hpux10* | hpux11*)
12465  # Give a soname corresponding to the major version so that dld.sl refuses to
12466  # link against other versions.
12467  version_type=sunos
12468  need_lib_prefix=no
12469  need_version=no
12470  case $host_cpu in
12471  ia64*)
12472    shrext_cmds='.so'
12473    hardcode_into_libs=yes
12474    dynamic_linker="$host_os dld.so"
12475    shlibpath_var=LD_LIBRARY_PATH
12476    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12477    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12478    soname_spec='$libname$release$shared_ext$major'
12479    if test 32 = "$HPUX_IA64_MODE"; then
12480      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12481      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12482    else
12483      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12484      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12485    fi
12486    ;;
12487  hppa*64*)
12488    shrext_cmds='.sl'
12489    hardcode_into_libs=yes
12490    dynamic_linker="$host_os dld.sl"
12491    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12492    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12493    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12494    soname_spec='$libname$release$shared_ext$major'
12495    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12496    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12497    ;;
12498  *)
12499    shrext_cmds='.sl'
12500    dynamic_linker="$host_os dld.sl"
12501    shlibpath_var=SHLIB_PATH
12502    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12503    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12504    soname_spec='$libname$release$shared_ext$major'
12505    ;;
12506  esac
12507  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12508  postinstall_cmds='chmod 555 $lib'
12509  # or fails outright, so override atomically:
12510  install_override_mode=555
12511  ;;
12512
12513interix[3-9]*)
12514  version_type=linux # correct to gnu/linux during the next big refactor
12515  need_lib_prefix=no
12516  need_version=no
12517  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12518  soname_spec='$libname$release$shared_ext$major'
12519  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12520  shlibpath_var=LD_LIBRARY_PATH
12521  shlibpath_overrides_runpath=no
12522  hardcode_into_libs=yes
12523  ;;
12524
12525irix5* | irix6* | nonstopux*)
12526  case $host_os in
12527    nonstopux*) version_type=nonstopux ;;
12528    *)
12529	if test yes = "$lt_cv_prog_gnu_ld"; then
12530		version_type=linux # correct to gnu/linux during the next big refactor
12531	else
12532		version_type=irix
12533	fi ;;
12534  esac
12535  need_lib_prefix=no
12536  need_version=no
12537  soname_spec='$libname$release$shared_ext$major'
12538  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12539  case $host_os in
12540  irix5* | nonstopux*)
12541    libsuff= shlibsuff=
12542    ;;
12543  *)
12544    case $LD in # libtool.m4 will add one of these switches to LD
12545    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12546      libsuff= shlibsuff= libmagic=32-bit;;
12547    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12548      libsuff=32 shlibsuff=N32 libmagic=N32;;
12549    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12550      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12551    *) libsuff= shlibsuff= libmagic=never-match;;
12552    esac
12553    ;;
12554  esac
12555  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12556  shlibpath_overrides_runpath=no
12557  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12558  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12559  hardcode_into_libs=yes
12560  ;;
12561
12562# No shared lib support for Linux oldld, aout, or coff.
12563linux*oldld* | linux*aout* | linux*coff*)
12564  dynamic_linker=no
12565  ;;
12566
12567linux*android*)
12568  version_type=none # Android doesn't support versioned libraries.
12569  need_lib_prefix=no
12570  need_version=no
12571  library_names_spec='$libname$release$shared_ext'
12572  soname_spec='$libname$release$shared_ext'
12573  finish_cmds=
12574  shlibpath_var=LD_LIBRARY_PATH
12575  shlibpath_overrides_runpath=yes
12576
12577  # This implies no fast_install, which is unacceptable.
12578  # Some rework will be needed to allow for fast_install
12579  # before this can be enabled.
12580  hardcode_into_libs=yes
12581
12582  dynamic_linker='Android linker'
12583  # Don't embed -rpath directories since the linker doesn't support them.
12584  hardcode_libdir_flag_spec='-L$libdir'
12585  ;;
12586
12587# This must be glibc/ELF.
12588linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12589  version_type=linux # correct to gnu/linux during the next big refactor
12590  need_lib_prefix=no
12591  need_version=no
12592  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12593  soname_spec='$libname$release$shared_ext$major'
12594  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12595  shlibpath_var=LD_LIBRARY_PATH
12596  shlibpath_overrides_runpath=no
12597
12598  # Some binutils ld are patched to set DT_RUNPATH
12599  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12600  $as_echo_n "(cached) " >&6
12601else
12602  lt_cv_shlibpath_overrides_runpath=no
12603    save_LDFLAGS=$LDFLAGS
12604    save_libdir=$libdir
12605    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12606	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12607    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608/* end confdefs.h.  */
12609
12610int
12611main ()
12612{
12613
12614  ;
12615  return 0;
12616}
12617_ACEOF
12618if ac_fn_c_try_link "$LINENO"; then :
12619  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12620  lt_cv_shlibpath_overrides_runpath=yes
12621fi
12622fi
12623rm -f core conftest.err conftest.$ac_objext \
12624    conftest$ac_exeext conftest.$ac_ext
12625    LDFLAGS=$save_LDFLAGS
12626    libdir=$save_libdir
12627
12628fi
12629
12630  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12631
12632  # This implies no fast_install, which is unacceptable.
12633  # Some rework will be needed to allow for fast_install
12634  # before this can be enabled.
12635  hardcode_into_libs=yes
12636
12637  # Ideally, we could use ldconfig to report *all* directores which are
12638  # searched for libraries, however this is still not possible.  Aside from not
12639  # being certain /sbin/ldconfig is available, command
12640  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12641  # even though it is searched at run-time.  Try to do the best guess by
12642  # appending ld.so.conf contents (and includes) to the search path.
12643  if test -f /etc/ld.so.conf; then
12644    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12645    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12646  fi
12647
12648  # We used to test for /lib/ld.so.1 and disable shared libraries on
12649  # powerpc, because MkLinux only supported shared libraries with the
12650  # GNU dynamic linker.  Since this was broken with cross compilers,
12651  # most powerpc-linux boxes support dynamic linking these days and
12652  # people can always --disable-shared, the test was removed, and we
12653  # assume the GNU/Linux dynamic linker is in use.
12654  dynamic_linker='GNU/Linux ld.so'
12655  ;;
12656
12657netbsdelf*-gnu)
12658  version_type=linux
12659  need_lib_prefix=no
12660  need_version=no
12661  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12662  soname_spec='${libname}${release}${shared_ext}$major'
12663  shlibpath_var=LD_LIBRARY_PATH
12664  shlibpath_overrides_runpath=no
12665  hardcode_into_libs=yes
12666  dynamic_linker='NetBSD ld.elf_so'
12667  ;;
12668
12669netbsd*)
12670  version_type=sunos
12671  need_lib_prefix=no
12672  need_version=no
12673  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12674    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12675    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12676    dynamic_linker='NetBSD (a.out) ld.so'
12677  else
12678    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12679    soname_spec='$libname$release$shared_ext$major'
12680    dynamic_linker='NetBSD ld.elf_so'
12681  fi
12682  shlibpath_var=LD_LIBRARY_PATH
12683  shlibpath_overrides_runpath=yes
12684  hardcode_into_libs=yes
12685  ;;
12686
12687newsos6)
12688  version_type=linux # correct to gnu/linux during the next big refactor
12689  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12690  shlibpath_var=LD_LIBRARY_PATH
12691  shlibpath_overrides_runpath=yes
12692  ;;
12693
12694*nto* | *qnx*)
12695  version_type=qnx
12696  need_lib_prefix=no
12697  need_version=no
12698  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12699  soname_spec='$libname$release$shared_ext$major'
12700  shlibpath_var=LD_LIBRARY_PATH
12701  shlibpath_overrides_runpath=no
12702  hardcode_into_libs=yes
12703  dynamic_linker='ldqnx.so'
12704  ;;
12705
12706openbsd* | bitrig*)
12707  version_type=sunos
12708  sys_lib_dlsearch_path_spec=/usr/lib
12709  need_lib_prefix=no
12710  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12711    need_version=no
12712  else
12713    need_version=yes
12714  fi
12715  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12716  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12717  shlibpath_var=LD_LIBRARY_PATH
12718  shlibpath_overrides_runpath=yes
12719  ;;
12720
12721os2*)
12722  libname_spec='$name'
12723  version_type=windows
12724  shrext_cmds=.dll
12725  need_version=no
12726  need_lib_prefix=no
12727  # OS/2 can only load a DLL with a base name of 8 characters or less.
12728  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12729    v=$($ECHO $release$versuffix | tr -d .-);
12730    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12731    $ECHO $n$v`$shared_ext'
12732  library_names_spec='${libname}_dll.$libext'
12733  dynamic_linker='OS/2 ld.exe'
12734  shlibpath_var=BEGINLIBPATH
12735  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12736  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12737  postinstall_cmds='base_file=`basename \$file`~
12738    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12739    dldir=$destdir/`dirname \$dlpath`~
12740    test -d \$dldir || mkdir -p \$dldir~
12741    $install_prog $dir/$dlname \$dldir/$dlname~
12742    chmod a+x \$dldir/$dlname~
12743    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12744      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12745    fi'
12746  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12747    dlpath=$dir/\$dldll~
12748    $RM \$dlpath'
12749  ;;
12750
12751osf3* | osf4* | osf5*)
12752  version_type=osf
12753  need_lib_prefix=no
12754  need_version=no
12755  soname_spec='$libname$release$shared_ext$major'
12756  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12757  shlibpath_var=LD_LIBRARY_PATH
12758  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12759  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12760  ;;
12761
12762rdos*)
12763  dynamic_linker=no
12764  ;;
12765
12766solaris*)
12767  version_type=linux # correct to gnu/linux during the next big refactor
12768  need_lib_prefix=no
12769  need_version=no
12770  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12771  soname_spec='$libname$release$shared_ext$major'
12772  shlibpath_var=LD_LIBRARY_PATH
12773  shlibpath_overrides_runpath=yes
12774  hardcode_into_libs=yes
12775  # ldd complains unless libraries are executable
12776  postinstall_cmds='chmod +x $lib'
12777  ;;
12778
12779sunos4*)
12780  version_type=sunos
12781  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12782  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12783  shlibpath_var=LD_LIBRARY_PATH
12784  shlibpath_overrides_runpath=yes
12785  if test yes = "$with_gnu_ld"; then
12786    need_lib_prefix=no
12787  fi
12788  need_version=yes
12789  ;;
12790
12791sysv4 | sysv4.3*)
12792  version_type=linux # correct to gnu/linux during the next big refactor
12793  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12794  soname_spec='$libname$release$shared_ext$major'
12795  shlibpath_var=LD_LIBRARY_PATH
12796  case $host_vendor in
12797    sni)
12798      shlibpath_overrides_runpath=no
12799      need_lib_prefix=no
12800      runpath_var=LD_RUN_PATH
12801      ;;
12802    siemens)
12803      need_lib_prefix=no
12804      ;;
12805    motorola)
12806      need_lib_prefix=no
12807      need_version=no
12808      shlibpath_overrides_runpath=no
12809      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12810      ;;
12811  esac
12812  ;;
12813
12814sysv4*MP*)
12815  if test -d /usr/nec; then
12816    version_type=linux # correct to gnu/linux during the next big refactor
12817    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12818    soname_spec='$libname$shared_ext.$major'
12819    shlibpath_var=LD_LIBRARY_PATH
12820  fi
12821  ;;
12822
12823sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12824  version_type=sco
12825  need_lib_prefix=no
12826  need_version=no
12827  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12828  soname_spec='$libname$release$shared_ext$major'
12829  shlibpath_var=LD_LIBRARY_PATH
12830  shlibpath_overrides_runpath=yes
12831  hardcode_into_libs=yes
12832  if test yes = "$with_gnu_ld"; then
12833    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12834  else
12835    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12836    case $host_os in
12837      sco3.2v5*)
12838        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12839	;;
12840    esac
12841  fi
12842  sys_lib_dlsearch_path_spec='/usr/lib'
12843  ;;
12844
12845tpf*)
12846  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12847  version_type=linux # correct to gnu/linux during the next big refactor
12848  need_lib_prefix=no
12849  need_version=no
12850  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12851  shlibpath_var=LD_LIBRARY_PATH
12852  shlibpath_overrides_runpath=no
12853  hardcode_into_libs=yes
12854  ;;
12855
12856uts4*)
12857  version_type=linux # correct to gnu/linux during the next big refactor
12858  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12859  soname_spec='$libname$release$shared_ext$major'
12860  shlibpath_var=LD_LIBRARY_PATH
12861  ;;
12862
12863*)
12864  dynamic_linker=no
12865  ;;
12866esac
12867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12868$as_echo "$dynamic_linker" >&6; }
12869test no = "$dynamic_linker" && can_build_shared=no
12870
12871variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12872if test yes = "$GCC"; then
12873  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12874fi
12875
12876if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12877  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12878fi
12879
12880if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12881  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12882fi
12883
12884# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12885configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12886
12887# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12888func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12889
12890# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12891configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12990$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12991hardcode_action=
12992if test -n "$hardcode_libdir_flag_spec" ||
12993   test -n "$runpath_var" ||
12994   test yes = "$hardcode_automatic"; then
12995
12996  # We can hardcode non-existent directories.
12997  if test no != "$hardcode_direct" &&
12998     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12999     # have to relink, otherwise we might link with an installed library
13000     # when we should be linking with a yet-to-be-installed one
13001     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13002     test no != "$hardcode_minus_L"; then
13003    # Linking always hardcodes the temporary library directory.
13004    hardcode_action=relink
13005  else
13006    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13007    hardcode_action=immediate
13008  fi
13009else
13010  # We cannot hardcode anything, or else we can only hardcode existing
13011  # directories.
13012  hardcode_action=unsupported
13013fi
13014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13015$as_echo "$hardcode_action" >&6; }
13016
13017if test relink = "$hardcode_action" ||
13018   test yes = "$inherit_rpath"; then
13019  # Fast installation is not supported
13020  enable_fast_install=no
13021elif test yes = "$shlibpath_overrides_runpath" ||
13022     test no = "$enable_shared"; then
13023  # Fast installation is not necessary
13024  enable_fast_install=needless
13025fi
13026
13027
13028
13029
13030
13031
13032  if test yes != "$enable_dlopen"; then
13033  enable_dlopen=unknown
13034  enable_dlopen_self=unknown
13035  enable_dlopen_self_static=unknown
13036else
13037  lt_cv_dlopen=no
13038  lt_cv_dlopen_libs=
13039
13040  case $host_os in
13041  beos*)
13042    lt_cv_dlopen=load_add_on
13043    lt_cv_dlopen_libs=
13044    lt_cv_dlopen_self=yes
13045    ;;
13046
13047  mingw* | pw32* | cegcc*)
13048    lt_cv_dlopen=LoadLibrary
13049    lt_cv_dlopen_libs=
13050    ;;
13051
13052  cygwin*)
13053    lt_cv_dlopen=dlopen
13054    lt_cv_dlopen_libs=
13055    ;;
13056
13057  darwin*)
13058    # if libdl is installed we need to link against it
13059    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13060$as_echo_n "checking for dlopen in -ldl... " >&6; }
13061if ${ac_cv_lib_dl_dlopen+:} false; then :
13062  $as_echo_n "(cached) " >&6
13063else
13064  ac_check_lib_save_LIBS=$LIBS
13065LIBS="-ldl  $LIBS"
13066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067/* end confdefs.h.  */
13068
13069/* Override any GCC internal prototype to avoid an error.
13070   Use char because int might match the return type of a GCC
13071   builtin and then its argument prototype would still apply.  */
13072#ifdef __cplusplus
13073extern "C"
13074#endif
13075char dlopen ();
13076int
13077main ()
13078{
13079return dlopen ();
13080  ;
13081  return 0;
13082}
13083_ACEOF
13084if ac_fn_c_try_link "$LINENO"; then :
13085  ac_cv_lib_dl_dlopen=yes
13086else
13087  ac_cv_lib_dl_dlopen=no
13088fi
13089rm -f core conftest.err conftest.$ac_objext \
13090    conftest$ac_exeext conftest.$ac_ext
13091LIBS=$ac_check_lib_save_LIBS
13092fi
13093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13094$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13095if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13096  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13097else
13098
13099    lt_cv_dlopen=dyld
13100    lt_cv_dlopen_libs=
13101    lt_cv_dlopen_self=yes
13102
13103fi
13104
13105    ;;
13106
13107  tpf*)
13108    # Don't try to run any link tests for TPF.  We know it's impossible
13109    # because TPF is a cross-compiler, and we know how we open DSOs.
13110    lt_cv_dlopen=dlopen
13111    lt_cv_dlopen_libs=
13112    lt_cv_dlopen_self=no
13113    ;;
13114
13115  *)
13116    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13117if test "x$ac_cv_func_shl_load" = xyes; then :
13118  lt_cv_dlopen=shl_load
13119else
13120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13121$as_echo_n "checking for shl_load in -ldld... " >&6; }
13122if ${ac_cv_lib_dld_shl_load+:} false; then :
13123  $as_echo_n "(cached) " >&6
13124else
13125  ac_check_lib_save_LIBS=$LIBS
13126LIBS="-ldld  $LIBS"
13127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128/* end confdefs.h.  */
13129
13130/* Override any GCC internal prototype to avoid an error.
13131   Use char because int might match the return type of a GCC
13132   builtin and then its argument prototype would still apply.  */
13133#ifdef __cplusplus
13134extern "C"
13135#endif
13136char shl_load ();
13137int
13138main ()
13139{
13140return shl_load ();
13141  ;
13142  return 0;
13143}
13144_ACEOF
13145if ac_fn_c_try_link "$LINENO"; then :
13146  ac_cv_lib_dld_shl_load=yes
13147else
13148  ac_cv_lib_dld_shl_load=no
13149fi
13150rm -f core conftest.err conftest.$ac_objext \
13151    conftest$ac_exeext conftest.$ac_ext
13152LIBS=$ac_check_lib_save_LIBS
13153fi
13154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13155$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13156if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13157  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13158else
13159  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13160if test "x$ac_cv_func_dlopen" = xyes; then :
13161  lt_cv_dlopen=dlopen
13162else
13163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13164$as_echo_n "checking for dlopen in -ldl... " >&6; }
13165if ${ac_cv_lib_dl_dlopen+:} false; then :
13166  $as_echo_n "(cached) " >&6
13167else
13168  ac_check_lib_save_LIBS=$LIBS
13169LIBS="-ldl  $LIBS"
13170cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171/* end confdefs.h.  */
13172
13173/* Override any GCC internal prototype to avoid an error.
13174   Use char because int might match the return type of a GCC
13175   builtin and then its argument prototype would still apply.  */
13176#ifdef __cplusplus
13177extern "C"
13178#endif
13179char dlopen ();
13180int
13181main ()
13182{
13183return dlopen ();
13184  ;
13185  return 0;
13186}
13187_ACEOF
13188if ac_fn_c_try_link "$LINENO"; then :
13189  ac_cv_lib_dl_dlopen=yes
13190else
13191  ac_cv_lib_dl_dlopen=no
13192fi
13193rm -f core conftest.err conftest.$ac_objext \
13194    conftest$ac_exeext conftest.$ac_ext
13195LIBS=$ac_check_lib_save_LIBS
13196fi
13197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13198$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13199if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13200  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13201else
13202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13203$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13204if ${ac_cv_lib_svld_dlopen+:} false; then :
13205  $as_echo_n "(cached) " >&6
13206else
13207  ac_check_lib_save_LIBS=$LIBS
13208LIBS="-lsvld  $LIBS"
13209cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210/* end confdefs.h.  */
13211
13212/* Override any GCC internal prototype to avoid an error.
13213   Use char because int might match the return type of a GCC
13214   builtin and then its argument prototype would still apply.  */
13215#ifdef __cplusplus
13216extern "C"
13217#endif
13218char dlopen ();
13219int
13220main ()
13221{
13222return dlopen ();
13223  ;
13224  return 0;
13225}
13226_ACEOF
13227if ac_fn_c_try_link "$LINENO"; then :
13228  ac_cv_lib_svld_dlopen=yes
13229else
13230  ac_cv_lib_svld_dlopen=no
13231fi
13232rm -f core conftest.err conftest.$ac_objext \
13233    conftest$ac_exeext conftest.$ac_ext
13234LIBS=$ac_check_lib_save_LIBS
13235fi
13236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13237$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13238if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13239  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13240else
13241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13242$as_echo_n "checking for dld_link in -ldld... " >&6; }
13243if ${ac_cv_lib_dld_dld_link+:} false; then :
13244  $as_echo_n "(cached) " >&6
13245else
13246  ac_check_lib_save_LIBS=$LIBS
13247LIBS="-ldld  $LIBS"
13248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249/* end confdefs.h.  */
13250
13251/* Override any GCC internal prototype to avoid an error.
13252   Use char because int might match the return type of a GCC
13253   builtin and then its argument prototype would still apply.  */
13254#ifdef __cplusplus
13255extern "C"
13256#endif
13257char dld_link ();
13258int
13259main ()
13260{
13261return dld_link ();
13262  ;
13263  return 0;
13264}
13265_ACEOF
13266if ac_fn_c_try_link "$LINENO"; then :
13267  ac_cv_lib_dld_dld_link=yes
13268else
13269  ac_cv_lib_dld_dld_link=no
13270fi
13271rm -f core conftest.err conftest.$ac_objext \
13272    conftest$ac_exeext conftest.$ac_ext
13273LIBS=$ac_check_lib_save_LIBS
13274fi
13275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13276$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13277if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13278  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13279fi
13280
13281
13282fi
13283
13284
13285fi
13286
13287
13288fi
13289
13290
13291fi
13292
13293
13294fi
13295
13296    ;;
13297  esac
13298
13299  if test no = "$lt_cv_dlopen"; then
13300    enable_dlopen=no
13301  else
13302    enable_dlopen=yes
13303  fi
13304
13305  case $lt_cv_dlopen in
13306  dlopen)
13307    save_CPPFLAGS=$CPPFLAGS
13308    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13309
13310    save_LDFLAGS=$LDFLAGS
13311    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13312
13313    save_LIBS=$LIBS
13314    LIBS="$lt_cv_dlopen_libs $LIBS"
13315
13316    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13317$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13318if ${lt_cv_dlopen_self+:} false; then :
13319  $as_echo_n "(cached) " >&6
13320else
13321  	  if test yes = "$cross_compiling"; then :
13322  lt_cv_dlopen_self=cross
13323else
13324  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13325  lt_status=$lt_dlunknown
13326  cat > conftest.$ac_ext <<_LT_EOF
13327#line $LINENO "configure"
13328#include "confdefs.h"
13329
13330#if HAVE_DLFCN_H
13331#include <dlfcn.h>
13332#endif
13333
13334#include <stdio.h>
13335
13336#ifdef RTLD_GLOBAL
13337#  define LT_DLGLOBAL		RTLD_GLOBAL
13338#else
13339#  ifdef DL_GLOBAL
13340#    define LT_DLGLOBAL		DL_GLOBAL
13341#  else
13342#    define LT_DLGLOBAL		0
13343#  endif
13344#endif
13345
13346/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13347   find out it does not work in some platform. */
13348#ifndef LT_DLLAZY_OR_NOW
13349#  ifdef RTLD_LAZY
13350#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13351#  else
13352#    ifdef DL_LAZY
13353#      define LT_DLLAZY_OR_NOW		DL_LAZY
13354#    else
13355#      ifdef RTLD_NOW
13356#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13357#      else
13358#        ifdef DL_NOW
13359#          define LT_DLLAZY_OR_NOW	DL_NOW
13360#        else
13361#          define LT_DLLAZY_OR_NOW	0
13362#        endif
13363#      endif
13364#    endif
13365#  endif
13366#endif
13367
13368/* When -fvisibility=hidden is used, assume the code has been annotated
13369   correspondingly for the symbols needed.  */
13370#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13371int fnord () __attribute__((visibility("default")));
13372#endif
13373
13374int fnord () { return 42; }
13375int main ()
13376{
13377  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13378  int status = $lt_dlunknown;
13379
13380  if (self)
13381    {
13382      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13383      else
13384        {
13385	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13386          else puts (dlerror ());
13387	}
13388      /* dlclose (self); */
13389    }
13390  else
13391    puts (dlerror ());
13392
13393  return status;
13394}
13395_LT_EOF
13396  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13397  (eval $ac_link) 2>&5
13398  ac_status=$?
13399  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13400  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13401    (./conftest; exit; ) >&5 2>/dev/null
13402    lt_status=$?
13403    case x$lt_status in
13404      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13405      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13406      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13407    esac
13408  else :
13409    # compilation failed
13410    lt_cv_dlopen_self=no
13411  fi
13412fi
13413rm -fr conftest*
13414
13415
13416fi
13417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13418$as_echo "$lt_cv_dlopen_self" >&6; }
13419
13420    if test yes = "$lt_cv_dlopen_self"; then
13421      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13422      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13423$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13424if ${lt_cv_dlopen_self_static+:} false; then :
13425  $as_echo_n "(cached) " >&6
13426else
13427  	  if test yes = "$cross_compiling"; then :
13428  lt_cv_dlopen_self_static=cross
13429else
13430  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13431  lt_status=$lt_dlunknown
13432  cat > conftest.$ac_ext <<_LT_EOF
13433#line $LINENO "configure"
13434#include "confdefs.h"
13435
13436#if HAVE_DLFCN_H
13437#include <dlfcn.h>
13438#endif
13439
13440#include <stdio.h>
13441
13442#ifdef RTLD_GLOBAL
13443#  define LT_DLGLOBAL		RTLD_GLOBAL
13444#else
13445#  ifdef DL_GLOBAL
13446#    define LT_DLGLOBAL		DL_GLOBAL
13447#  else
13448#    define LT_DLGLOBAL		0
13449#  endif
13450#endif
13451
13452/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13453   find out it does not work in some platform. */
13454#ifndef LT_DLLAZY_OR_NOW
13455#  ifdef RTLD_LAZY
13456#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13457#  else
13458#    ifdef DL_LAZY
13459#      define LT_DLLAZY_OR_NOW		DL_LAZY
13460#    else
13461#      ifdef RTLD_NOW
13462#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13463#      else
13464#        ifdef DL_NOW
13465#          define LT_DLLAZY_OR_NOW	DL_NOW
13466#        else
13467#          define LT_DLLAZY_OR_NOW	0
13468#        endif
13469#      endif
13470#    endif
13471#  endif
13472#endif
13473
13474/* When -fvisibility=hidden is used, assume the code has been annotated
13475   correspondingly for the symbols needed.  */
13476#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13477int fnord () __attribute__((visibility("default")));
13478#endif
13479
13480int fnord () { return 42; }
13481int main ()
13482{
13483  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13484  int status = $lt_dlunknown;
13485
13486  if (self)
13487    {
13488      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13489      else
13490        {
13491	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13492          else puts (dlerror ());
13493	}
13494      /* dlclose (self); */
13495    }
13496  else
13497    puts (dlerror ());
13498
13499  return status;
13500}
13501_LT_EOF
13502  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13503  (eval $ac_link) 2>&5
13504  ac_status=$?
13505  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13506  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13507    (./conftest; exit; ) >&5 2>/dev/null
13508    lt_status=$?
13509    case x$lt_status in
13510      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13511      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13512      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13513    esac
13514  else :
13515    # compilation failed
13516    lt_cv_dlopen_self_static=no
13517  fi
13518fi
13519rm -fr conftest*
13520
13521
13522fi
13523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13524$as_echo "$lt_cv_dlopen_self_static" >&6; }
13525    fi
13526
13527    CPPFLAGS=$save_CPPFLAGS
13528    LDFLAGS=$save_LDFLAGS
13529    LIBS=$save_LIBS
13530    ;;
13531  esac
13532
13533  case $lt_cv_dlopen_self in
13534  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13535  *) enable_dlopen_self=unknown ;;
13536  esac
13537
13538  case $lt_cv_dlopen_self_static in
13539  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13540  *) enable_dlopen_self_static=unknown ;;
13541  esac
13542fi
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560striplib=
13561old_striplib=
13562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13563$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13564if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13565  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13566  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13568$as_echo "yes" >&6; }
13569else
13570# FIXME - insert some real tests, host_os isn't really good enough
13571  case $host_os in
13572  darwin*)
13573    if test -n "$STRIP"; then
13574      striplib="$STRIP -x"
13575      old_striplib="$STRIP -S"
13576      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13577$as_echo "yes" >&6; }
13578    else
13579      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13580$as_echo "no" >&6; }
13581    fi
13582    ;;
13583  *)
13584    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13585$as_echo "no" >&6; }
13586    ;;
13587  esac
13588fi
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601  # Report what library types will actually be built
13602  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13603$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13605$as_echo "$can_build_shared" >&6; }
13606
13607  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13608$as_echo_n "checking whether to build shared libraries... " >&6; }
13609  test no = "$can_build_shared" && enable_shared=no
13610
13611  # On AIX, shared libraries and static libraries use the same namespace, and
13612  # are all built from PIC.
13613  case $host_os in
13614  aix3*)
13615    test yes = "$enable_shared" && enable_static=no
13616    if test -n "$RANLIB"; then
13617      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13618      postinstall_cmds='$RANLIB $lib'
13619    fi
13620    ;;
13621
13622  aix[4-9]*)
13623    if test ia64 != "$host_cpu"; then
13624      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13625      yes,aix,yes) ;;			# shared object as lib.so file only
13626      yes,svr4,*) ;;			# shared object as lib.so archive member only
13627      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13628      esac
13629    fi
13630    ;;
13631  esac
13632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13633$as_echo "$enable_shared" >&6; }
13634
13635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13636$as_echo_n "checking whether to build static libraries... " >&6; }
13637  # Make sure either enable_shared or enable_static is yes.
13638  test yes = "$enable_shared" || enable_static=yes
13639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13640$as_echo "$enable_static" >&6; }
13641
13642
13643
13644
13645fi
13646ac_ext=c
13647ac_cpp='$CPP $CPPFLAGS'
13648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651
13652CC=$lt_save_CC
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668        ac_config_commands="$ac_config_commands libtool"
13669
13670
13671
13672
13673# Only expand once:
13674
13675
13676
13677
13678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13679$as_echo_n "checking whether NLS is requested... " >&6; }
13680    # Check whether --enable-nls was given.
13681if test "${enable_nls+set}" = set; then :
13682  enableval=$enable_nls; USE_NLS=$enableval
13683else
13684  USE_NLS=yes
13685fi
13686
13687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13688$as_echo "$USE_NLS" >&6; }
13689
13690
13691
13692
13693case "$am__api_version" in
13694    1.01234)
13695	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13696    ;;
13697    *)
13698    ;;
13699esac
13700
13701INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13702INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13703INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13704if test -n "0.35.0"; then
13705    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
13706$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
13707    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13708$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13709    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13710	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
13711fi
13712
13713# Extract the first word of "intltool-update", so it can be a program name with args.
13714set dummy intltool-update; ac_word=$2
13715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13716$as_echo_n "checking for $ac_word... " >&6; }
13717if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13718  $as_echo_n "(cached) " >&6
13719else
13720  case $INTLTOOL_UPDATE in
13721  [\\/]* | ?:[\\/]*)
13722  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13723  ;;
13724  *)
13725  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13726for as_dir in $PATH
13727do
13728  IFS=$as_save_IFS
13729  test -z "$as_dir" && as_dir=.
13730    for ac_exec_ext in '' $ac_executable_extensions; do
13731  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13732    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13733    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13734    break 2
13735  fi
13736done
13737  done
13738IFS=$as_save_IFS
13739
13740  ;;
13741esac
13742fi
13743INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13744if test -n "$INTLTOOL_UPDATE"; then
13745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13746$as_echo "$INTLTOOL_UPDATE" >&6; }
13747else
13748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13749$as_echo "no" >&6; }
13750fi
13751
13752
13753# Extract the first word of "intltool-merge", so it can be a program name with args.
13754set dummy intltool-merge; ac_word=$2
13755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13756$as_echo_n "checking for $ac_word... " >&6; }
13757if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13758  $as_echo_n "(cached) " >&6
13759else
13760  case $INTLTOOL_MERGE in
13761  [\\/]* | ?:[\\/]*)
13762  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13763  ;;
13764  *)
13765  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13766for as_dir in $PATH
13767do
13768  IFS=$as_save_IFS
13769  test -z "$as_dir" && as_dir=.
13770    for ac_exec_ext in '' $ac_executable_extensions; do
13771  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13772    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13773    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13774    break 2
13775  fi
13776done
13777  done
13778IFS=$as_save_IFS
13779
13780  ;;
13781esac
13782fi
13783INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13784if test -n "$INTLTOOL_MERGE"; then
13785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13786$as_echo "$INTLTOOL_MERGE" >&6; }
13787else
13788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13789$as_echo "no" >&6; }
13790fi
13791
13792
13793# Extract the first word of "intltool-extract", so it can be a program name with args.
13794set dummy intltool-extract; ac_word=$2
13795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13796$as_echo_n "checking for $ac_word... " >&6; }
13797if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13798  $as_echo_n "(cached) " >&6
13799else
13800  case $INTLTOOL_EXTRACT in
13801  [\\/]* | ?:[\\/]*)
13802  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13803  ;;
13804  *)
13805  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13806for as_dir in $PATH
13807do
13808  IFS=$as_save_IFS
13809  test -z "$as_dir" && as_dir=.
13810    for ac_exec_ext in '' $ac_executable_extensions; do
13811  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13812    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13813    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13814    break 2
13815  fi
13816done
13817  done
13818IFS=$as_save_IFS
13819
13820  ;;
13821esac
13822fi
13823INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13824if test -n "$INTLTOOL_EXTRACT"; then
13825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13826$as_echo "$INTLTOOL_EXTRACT" >&6; }
13827else
13828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13829$as_echo "no" >&6; }
13830fi
13831
13832
13833if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13834    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13835fi
13836
13837if test -z "$AM_DEFAULT_VERBOSITY"; then
13838  AM_DEFAULT_VERBOSITY=1
13839fi
13840
13841
13842INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13843INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13844INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
13845
13846
13847
13848
13849INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13850intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13851intltool__v_merge_options_0='-q'
13852
13853
13854
13855
13856  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13857INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13858     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13859     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13860      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
13861     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13862   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13863    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13864INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13865       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13866      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13867if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13868      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
13869else
13870      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
13871fi
13872      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13873      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13874    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13875  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13876    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13877    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13878   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976# Check the gettext tools to make sure they are GNU
13977# Extract the first word of "xgettext", so it can be a program name with args.
13978set dummy xgettext; ac_word=$2
13979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13980$as_echo_n "checking for $ac_word... " >&6; }
13981if ${ac_cv_path_XGETTEXT+:} false; then :
13982  $as_echo_n "(cached) " >&6
13983else
13984  case $XGETTEXT in
13985  [\\/]* | ?:[\\/]*)
13986  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13987  ;;
13988  *)
13989  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990for as_dir in $PATH
13991do
13992  IFS=$as_save_IFS
13993  test -z "$as_dir" && as_dir=.
13994    for ac_exec_ext in '' $ac_executable_extensions; do
13995  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13996    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13998    break 2
13999  fi
14000done
14001  done
14002IFS=$as_save_IFS
14003
14004  ;;
14005esac
14006fi
14007XGETTEXT=$ac_cv_path_XGETTEXT
14008if test -n "$XGETTEXT"; then
14009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14010$as_echo "$XGETTEXT" >&6; }
14011else
14012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14013$as_echo "no" >&6; }
14014fi
14015
14016
14017# Extract the first word of "msgmerge", so it can be a program name with args.
14018set dummy msgmerge; ac_word=$2
14019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14020$as_echo_n "checking for $ac_word... " >&6; }
14021if ${ac_cv_path_MSGMERGE+:} false; then :
14022  $as_echo_n "(cached) " >&6
14023else
14024  case $MSGMERGE in
14025  [\\/]* | ?:[\\/]*)
14026  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14027  ;;
14028  *)
14029  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14030for as_dir in $PATH
14031do
14032  IFS=$as_save_IFS
14033  test -z "$as_dir" && as_dir=.
14034    for ac_exec_ext in '' $ac_executable_extensions; do
14035  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14036    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
14037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14038    break 2
14039  fi
14040done
14041  done
14042IFS=$as_save_IFS
14043
14044  ;;
14045esac
14046fi
14047MSGMERGE=$ac_cv_path_MSGMERGE
14048if test -n "$MSGMERGE"; then
14049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14050$as_echo "$MSGMERGE" >&6; }
14051else
14052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14053$as_echo "no" >&6; }
14054fi
14055
14056
14057# Extract the first word of "msgfmt", so it can be a program name with args.
14058set dummy msgfmt; ac_word=$2
14059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14060$as_echo_n "checking for $ac_word... " >&6; }
14061if ${ac_cv_path_MSGFMT+:} false; then :
14062  $as_echo_n "(cached) " >&6
14063else
14064  case $MSGFMT in
14065  [\\/]* | ?:[\\/]*)
14066  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14067  ;;
14068  *)
14069  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14070for as_dir in $PATH
14071do
14072  IFS=$as_save_IFS
14073  test -z "$as_dir" && as_dir=.
14074    for ac_exec_ext in '' $ac_executable_extensions; do
14075  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14076    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
14077    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14078    break 2
14079  fi
14080done
14081  done
14082IFS=$as_save_IFS
14083
14084  ;;
14085esac
14086fi
14087MSGFMT=$ac_cv_path_MSGFMT
14088if test -n "$MSGFMT"; then
14089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14090$as_echo "$MSGFMT" >&6; }
14091else
14092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14093$as_echo "no" >&6; }
14094fi
14095
14096
14097# Extract the first word of "gmsgfmt", so it can be a program name with args.
14098set dummy gmsgfmt; ac_word=$2
14099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14100$as_echo_n "checking for $ac_word... " >&6; }
14101if ${ac_cv_path_GMSGFMT+:} false; then :
14102  $as_echo_n "(cached) " >&6
14103else
14104  case $GMSGFMT in
14105  [\\/]* | ?:[\\/]*)
14106  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14107  ;;
14108  *)
14109  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14110for as_dir in $PATH
14111do
14112  IFS=$as_save_IFS
14113  test -z "$as_dir" && as_dir=.
14114    for ac_exec_ext in '' $ac_executable_extensions; do
14115  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14116    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14117    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14118    break 2
14119  fi
14120done
14121  done
14122IFS=$as_save_IFS
14123
14124  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14125  ;;
14126esac
14127fi
14128GMSGFMT=$ac_cv_path_GMSGFMT
14129if test -n "$GMSGFMT"; then
14130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14131$as_echo "$GMSGFMT" >&6; }
14132else
14133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14134$as_echo "no" >&6; }
14135fi
14136
14137
14138if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
14139    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
14140fi
14141xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
14142mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
14143mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
14144if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
14145    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
14146fi
14147
14148# Extract the first word of "perl", so it can be a program name with args.
14149set dummy perl; ac_word=$2
14150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14151$as_echo_n "checking for $ac_word... " >&6; }
14152if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
14153  $as_echo_n "(cached) " >&6
14154else
14155  case $INTLTOOL_PERL in
14156  [\\/]* | ?:[\\/]*)
14157  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
14158  ;;
14159  *)
14160  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14161for as_dir in $PATH
14162do
14163  IFS=$as_save_IFS
14164  test -z "$as_dir" && as_dir=.
14165    for ac_exec_ext in '' $ac_executable_extensions; do
14166  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14167    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
14168    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14169    break 2
14170  fi
14171done
14172  done
14173IFS=$as_save_IFS
14174
14175  ;;
14176esac
14177fi
14178INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
14179if test -n "$INTLTOOL_PERL"; then
14180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
14181$as_echo "$INTLTOOL_PERL" >&6; }
14182else
14183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14184$as_echo "no" >&6; }
14185fi
14186
14187
14188if test -z "$INTLTOOL_PERL"; then
14189   as_fn_error $? "perl not found" "$LINENO" 5
14190fi
14191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
14192$as_echo_n "checking for perl >= 5.8.1... " >&6; }
14193$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
14194if test $? -ne 0; then
14195   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
14196else
14197   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
14198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
14199$as_echo "$IT_PERL_VERSION" >&6; }
14200fi
14201if test "x" != "xno-xml"; then
14202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
14203$as_echo_n "checking for XML::Parser... " >&6; }
14204   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
14205       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14206$as_echo "ok" >&6; }
14207   else
14208       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
14209   fi
14210fi
14211
14212# Substitute ALL_LINGUAS so we can use it in po/Makefile
14213
14214
14215
14216
14217
14218
14219    if test -z "$conf_dir" ; then
14220        conf_dir="."
14221    fi
14222    ALL_LINGUAS=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $1 }'`
14223    GETTEXT_PACKAGE=geany-plugins
14224
14225
14226cat >>confdefs.h <<_ACEOF
14227#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14228_ACEOF
14229
14230    LOCALEDIR="${datadir}/locale"
14231
14232
14233   for ac_header in locale.h
14234do :
14235  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14236if test "x$ac_cv_header_locale_h" = xyes; then :
14237  cat >>confdefs.h <<_ACEOF
14238#define HAVE_LOCALE_H 1
14239_ACEOF
14240
14241fi
14242
14243done
14244
14245    if test $ac_cv_header_locale_h = yes; then
14246    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14247$as_echo_n "checking for LC_MESSAGES... " >&6; }
14248if ${am_cv_val_LC_MESSAGES+:} false; then :
14249  $as_echo_n "(cached) " >&6
14250else
14251  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252/* end confdefs.h.  */
14253#include <locale.h>
14254int
14255main ()
14256{
14257return LC_MESSAGES
14258  ;
14259  return 0;
14260}
14261_ACEOF
14262if ac_fn_c_try_link "$LINENO"; then :
14263  am_cv_val_LC_MESSAGES=yes
14264else
14265  am_cv_val_LC_MESSAGES=no
14266fi
14267rm -f core conftest.err conftest.$ac_objext \
14268    conftest$ac_exeext conftest.$ac_ext
14269fi
14270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14271$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14272    if test $am_cv_val_LC_MESSAGES = yes; then
14273
14274$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14275
14276    fi
14277  fi
14278     USE_NLS=yes
14279
14280
14281    gt_cv_have_gettext=no
14282
14283    CATOBJEXT=NONE
14284    XGETTEXT=:
14285    INTLLIBS=
14286
14287
14288    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14289$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14290if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14291  $as_echo_n "(cached) " >&6
14292else
14293  gt_save_LIBS="$LIBS"
14294     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14295     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296/* end confdefs.h.  */
14297#include <CoreFoundation/CFPreferences.h>
14298int
14299main ()
14300{
14301CFPreferencesCopyAppValue(NULL, NULL)
14302  ;
14303  return 0;
14304}
14305_ACEOF
14306if ac_fn_c_try_link "$LINENO"; then :
14307  gt_cv_func_CFPreferencesCopyAppValue=yes
14308else
14309  gt_cv_func_CFPreferencesCopyAppValue=no
14310fi
14311rm -f core conftest.err conftest.$ac_objext \
14312    conftest$ac_exeext conftest.$ac_ext
14313     LIBS="$gt_save_LIBS"
14314fi
14315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14316$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14317  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14318
14319$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14320
14321  fi
14322    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14323$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14324if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14325  $as_echo_n "(cached) " >&6
14326else
14327  gt_save_LIBS="$LIBS"
14328     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14329     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330/* end confdefs.h.  */
14331#include <CoreFoundation/CFLocale.h>
14332int
14333main ()
14334{
14335CFLocaleCopyCurrent();
14336  ;
14337  return 0;
14338}
14339_ACEOF
14340if ac_fn_c_try_link "$LINENO"; then :
14341  gt_cv_func_CFLocaleCopyCurrent=yes
14342else
14343  gt_cv_func_CFLocaleCopyCurrent=no
14344fi
14345rm -f core conftest.err conftest.$ac_objext \
14346    conftest$ac_exeext conftest.$ac_ext
14347     LIBS="$gt_save_LIBS"
14348fi
14349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14350$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14351  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14352
14353$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14354
14355  fi
14356  INTL_MACOSX_LIBS=
14357  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14358    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14359  fi
14360
14361
14362
14363    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14364if test "x$ac_cv_header_libintl_h" = xyes; then :
14365  gt_cv_func_dgettext_libintl="no"
14366      libintl_extra_libs=""
14367
14368      #
14369      # First check in libc
14370      #
14371      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14372$as_echo_n "checking for ngettext in libc... " >&6; }
14373if ${gt_cv_func_ngettext_libc+:} false; then :
14374  $as_echo_n "(cached) " >&6
14375else
14376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377/* end confdefs.h.  */
14378
14379#include <libintl.h>
14380
14381int
14382main ()
14383{
14384return !ngettext ("","", 1)
14385  ;
14386  return 0;
14387}
14388_ACEOF
14389if ac_fn_c_try_link "$LINENO"; then :
14390  gt_cv_func_ngettext_libc=yes
14391else
14392  gt_cv_func_ngettext_libc=no
14393fi
14394rm -f core conftest.err conftest.$ac_objext \
14395    conftest$ac_exeext conftest.$ac_ext
14396
14397fi
14398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14399$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14400
14401      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14402	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14403$as_echo_n "checking for dgettext in libc... " >&6; }
14404if ${gt_cv_func_dgettext_libc+:} false; then :
14405  $as_echo_n "(cached) " >&6
14406else
14407  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408/* end confdefs.h.  */
14409
14410#include <libintl.h>
14411
14412int
14413main ()
14414{
14415return !dgettext ("","")
14416  ;
14417  return 0;
14418}
14419_ACEOF
14420if ac_fn_c_try_link "$LINENO"; then :
14421  gt_cv_func_dgettext_libc=yes
14422else
14423  gt_cv_func_dgettext_libc=no
14424fi
14425rm -f core conftest.err conftest.$ac_objext \
14426    conftest$ac_exeext conftest.$ac_ext
14427
14428fi
14429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14430$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14431      fi
14432
14433      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14434        for ac_func in bind_textdomain_codeset
14435do :
14436  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14437if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14438  cat >>confdefs.h <<_ACEOF
14439#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14440_ACEOF
14441
14442fi
14443done
14444
14445      fi
14446
14447      #
14448      # If we don't have everything we want, check in libintl
14449      #
14450      if test "$gt_cv_func_dgettext_libc" != "yes" \
14451	 || test "$gt_cv_func_ngettext_libc" != "yes" \
14452         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14453
14454        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14455$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14456if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14457  $as_echo_n "(cached) " >&6
14458else
14459  ac_check_lib_save_LIBS=$LIBS
14460LIBS="-lintl  $LIBS"
14461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462/* end confdefs.h.  */
14463
14464/* Override any GCC internal prototype to avoid an error.
14465   Use char because int might match the return type of a GCC
14466   builtin and then its argument prototype would still apply.  */
14467#ifdef __cplusplus
14468extern "C"
14469#endif
14470char bindtextdomain ();
14471int
14472main ()
14473{
14474return bindtextdomain ();
14475  ;
14476  return 0;
14477}
14478_ACEOF
14479if ac_fn_c_try_link "$LINENO"; then :
14480  ac_cv_lib_intl_bindtextdomain=yes
14481else
14482  ac_cv_lib_intl_bindtextdomain=no
14483fi
14484rm -f core conftest.err conftest.$ac_objext \
14485    conftest$ac_exeext conftest.$ac_ext
14486LIBS=$ac_check_lib_save_LIBS
14487fi
14488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14489$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14490if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14491  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14492$as_echo_n "checking for ngettext in -lintl... " >&6; }
14493if ${ac_cv_lib_intl_ngettext+:} false; then :
14494  $as_echo_n "(cached) " >&6
14495else
14496  ac_check_lib_save_LIBS=$LIBS
14497LIBS="-lintl  $LIBS"
14498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499/* end confdefs.h.  */
14500
14501/* Override any GCC internal prototype to avoid an error.
14502   Use char because int might match the return type of a GCC
14503   builtin and then its argument prototype would still apply.  */
14504#ifdef __cplusplus
14505extern "C"
14506#endif
14507char ngettext ();
14508int
14509main ()
14510{
14511return ngettext ();
14512  ;
14513  return 0;
14514}
14515_ACEOF
14516if ac_fn_c_try_link "$LINENO"; then :
14517  ac_cv_lib_intl_ngettext=yes
14518else
14519  ac_cv_lib_intl_ngettext=no
14520fi
14521rm -f core conftest.err conftest.$ac_objext \
14522    conftest$ac_exeext conftest.$ac_ext
14523LIBS=$ac_check_lib_save_LIBS
14524fi
14525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14526$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14527if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14529$as_echo_n "checking for dgettext in -lintl... " >&6; }
14530if ${ac_cv_lib_intl_dgettext+:} false; then :
14531  $as_echo_n "(cached) " >&6
14532else
14533  ac_check_lib_save_LIBS=$LIBS
14534LIBS="-lintl  $LIBS"
14535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536/* end confdefs.h.  */
14537
14538/* Override any GCC internal prototype to avoid an error.
14539   Use char because int might match the return type of a GCC
14540   builtin and then its argument prototype would still apply.  */
14541#ifdef __cplusplus
14542extern "C"
14543#endif
14544char dgettext ();
14545int
14546main ()
14547{
14548return dgettext ();
14549  ;
14550  return 0;
14551}
14552_ACEOF
14553if ac_fn_c_try_link "$LINENO"; then :
14554  ac_cv_lib_intl_dgettext=yes
14555else
14556  ac_cv_lib_intl_dgettext=no
14557fi
14558rm -f core conftest.err conftest.$ac_objext \
14559    conftest$ac_exeext conftest.$ac_ext
14560LIBS=$ac_check_lib_save_LIBS
14561fi
14562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14563$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14564if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14565  gt_cv_func_dgettext_libintl=yes
14566fi
14567
14568fi
14569
14570fi
14571
14572
14573	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14574	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14575$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14576	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14577$as_echo "" >&6; }
14578  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14579$as_echo_n "checking for ngettext in -lintl... " >&6; }
14580if ${ac_cv_lib_intl_ngettext+:} false; then :
14581  $as_echo_n "(cached) " >&6
14582else
14583  ac_check_lib_save_LIBS=$LIBS
14584LIBS="-lintl -liconv $LIBS"
14585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586/* end confdefs.h.  */
14587
14588/* Override any GCC internal prototype to avoid an error.
14589   Use char because int might match the return type of a GCC
14590   builtin and then its argument prototype would still apply.  */
14591#ifdef __cplusplus
14592extern "C"
14593#endif
14594char ngettext ();
14595int
14596main ()
14597{
14598return ngettext ();
14599  ;
14600  return 0;
14601}
14602_ACEOF
14603if ac_fn_c_try_link "$LINENO"; then :
14604  ac_cv_lib_intl_ngettext=yes
14605else
14606  ac_cv_lib_intl_ngettext=no
14607fi
14608rm -f core conftest.err conftest.$ac_objext \
14609    conftest$ac_exeext conftest.$ac_ext
14610LIBS=$ac_check_lib_save_LIBS
14611fi
14612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14613$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14614if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14616$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14617if ${ac_cv_lib_intl_dcgettext+:} false; then :
14618  $as_echo_n "(cached) " >&6
14619else
14620  ac_check_lib_save_LIBS=$LIBS
14621LIBS="-lintl -liconv $LIBS"
14622cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623/* end confdefs.h.  */
14624
14625/* Override any GCC internal prototype to avoid an error.
14626   Use char because int might match the return type of a GCC
14627   builtin and then its argument prototype would still apply.  */
14628#ifdef __cplusplus
14629extern "C"
14630#endif
14631char dcgettext ();
14632int
14633main ()
14634{
14635return dcgettext ();
14636  ;
14637  return 0;
14638}
14639_ACEOF
14640if ac_fn_c_try_link "$LINENO"; then :
14641  ac_cv_lib_intl_dcgettext=yes
14642else
14643  ac_cv_lib_intl_dcgettext=no
14644fi
14645rm -f core conftest.err conftest.$ac_objext \
14646    conftest$ac_exeext conftest.$ac_ext
14647LIBS=$ac_check_lib_save_LIBS
14648fi
14649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14650$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14651if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14652  gt_cv_func_dgettext_libintl=yes
14653			libintl_extra_libs=-liconv
14654else
14655  :
14656fi
14657
14658else
14659  :
14660fi
14661
14662        fi
14663
14664        #
14665        # If we found libintl, then check in it for bind_textdomain_codeset();
14666        # we'll prefer libc if neither have bind_textdomain_codeset(),
14667        # and both have dgettext and ngettext
14668        #
14669        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14670          glib_save_LIBS="$LIBS"
14671          LIBS="$LIBS -lintl $libintl_extra_libs"
14672          unset ac_cv_func_bind_textdomain_codeset
14673          for ac_func in bind_textdomain_codeset
14674do :
14675  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14676if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14677  cat >>confdefs.h <<_ACEOF
14678#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14679_ACEOF
14680
14681fi
14682done
14683
14684          LIBS="$glib_save_LIBS"
14685
14686          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14687            gt_cv_func_dgettext_libc=no
14688          else
14689            if test "$gt_cv_func_dgettext_libc" = "yes" \
14690		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
14691              gt_cv_func_dgettext_libintl=no
14692            fi
14693          fi
14694        fi
14695      fi
14696
14697      if test "$gt_cv_func_dgettext_libc" = "yes" \
14698	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
14699        gt_cv_have_gettext=yes
14700      fi
14701
14702      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14703        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
14704      fi
14705
14706      if test "$gt_cv_have_gettext" = "yes"; then
14707
14708$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14709
14710	# Extract the first word of "msgfmt", so it can be a program name with args.
14711set dummy msgfmt; ac_word=$2
14712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14713$as_echo_n "checking for $ac_word... " >&6; }
14714if ${ac_cv_path_MSGFMT+:} false; then :
14715  $as_echo_n "(cached) " >&6
14716else
14717  case "$MSGFMT" in
14718  /*)
14719  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14720  ;;
14721  *)
14722  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14723  for ac_dir in $PATH; do
14724    test -z "$ac_dir" && ac_dir=.
14725    if test -f $ac_dir/$ac_word; then
14726      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14727	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14728	break
14729      fi
14730    fi
14731  done
14732  IFS="$ac_save_ifs"
14733  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14734  ;;
14735esac
14736fi
14737MSGFMT="$ac_cv_path_MSGFMT"
14738if test "$MSGFMT" != "no"; then
14739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14740$as_echo "$MSGFMT" >&6; }
14741else
14742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14743$as_echo "no" >&6; }
14744fi
14745	if test "$MSGFMT" != "no"; then
14746          glib_save_LIBS="$LIBS"
14747          LIBS="$LIBS $INTLLIBS"
14748	  for ac_func in dcgettext
14749do :
14750  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14751if test "x$ac_cv_func_dcgettext" = xyes; then :
14752  cat >>confdefs.h <<_ACEOF
14753#define HAVE_DCGETTEXT 1
14754_ACEOF
14755
14756fi
14757done
14758
14759	  MSGFMT_OPTS=
14760	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14761$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14762	  cat >conftest.foo <<_ACEOF
14763
14764msgid ""
14765msgstr ""
14766"Content-Type: text/plain; charset=UTF-8\n"
14767"Project-Id-Version: test 1.0\n"
14768"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14769"Last-Translator: test <foo@bar.xx>\n"
14770"Language-Team: C <LL@li.org>\n"
14771"MIME-Version: 1.0\n"
14772"Content-Transfer-Encoding: 8bit\n"
14773
14774_ACEOF
14775if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14776  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14777  ac_status=$?
14778  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14779  test $ac_status = 0; }; then
14780  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14781$as_echo "yes" >&6; }
14782else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14783$as_echo "no" >&6; }
14784echo "$as_me: failed input was:" >&5
14785sed 's/^/| /' conftest.foo >&5
14786fi
14787
14788	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14789set dummy gmsgfmt; ac_word=$2
14790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14791$as_echo_n "checking for $ac_word... " >&6; }
14792if ${ac_cv_path_GMSGFMT+:} false; then :
14793  $as_echo_n "(cached) " >&6
14794else
14795  case $GMSGFMT in
14796  [\\/]* | ?:[\\/]*)
14797  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14798  ;;
14799  *)
14800  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14801for as_dir in $PATH
14802do
14803  IFS=$as_save_IFS
14804  test -z "$as_dir" && as_dir=.
14805    for ac_exec_ext in '' $ac_executable_extensions; do
14806  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14807    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14809    break 2
14810  fi
14811done
14812  done
14813IFS=$as_save_IFS
14814
14815  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14816  ;;
14817esac
14818fi
14819GMSGFMT=$ac_cv_path_GMSGFMT
14820if test -n "$GMSGFMT"; then
14821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14822$as_echo "$GMSGFMT" >&6; }
14823else
14824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14825$as_echo "no" >&6; }
14826fi
14827
14828
14829	  # Extract the first word of "xgettext", so it can be a program name with args.
14830set dummy xgettext; ac_word=$2
14831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14832$as_echo_n "checking for $ac_word... " >&6; }
14833if ${ac_cv_path_XGETTEXT+:} false; then :
14834  $as_echo_n "(cached) " >&6
14835else
14836  case "$XGETTEXT" in
14837  /*)
14838  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14839  ;;
14840  *)
14841  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14842  for ac_dir in $PATH; do
14843    test -z "$ac_dir" && ac_dir=.
14844    if test -f $ac_dir/$ac_word; then
14845      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14846	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14847	break
14848      fi
14849    fi
14850  done
14851  IFS="$ac_save_ifs"
14852  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14853  ;;
14854esac
14855fi
14856XGETTEXT="$ac_cv_path_XGETTEXT"
14857if test "$XGETTEXT" != ":"; then
14858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14859$as_echo "$XGETTEXT" >&6; }
14860else
14861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14862$as_echo "no" >&6; }
14863fi
14864
14865	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14866/* end confdefs.h.  */
14867
14868int
14869main ()
14870{
14871extern int _nl_msg_cat_cntr;
14872			 return _nl_msg_cat_cntr
14873  ;
14874  return 0;
14875}
14876_ACEOF
14877if ac_fn_c_try_link "$LINENO"; then :
14878  CATOBJEXT=.gmo
14879             DATADIRNAME=share
14880else
14881  case $host in
14882	    *-*-solaris*)
14883	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14884if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14885  CATOBJEXT=.gmo
14886               DATADIRNAME=share
14887else
14888  CATOBJEXT=.mo
14889               DATADIRNAME=lib
14890fi
14891
14892	    ;;
14893	    *-*-openbsd*)
14894	    CATOBJEXT=.mo
14895            DATADIRNAME=share
14896	    ;;
14897	    *)
14898	    CATOBJEXT=.mo
14899            DATADIRNAME=lib
14900	    ;;
14901	    esac
14902fi
14903rm -f core conftest.err conftest.$ac_objext \
14904    conftest$ac_exeext conftest.$ac_ext
14905          LIBS="$glib_save_LIBS"
14906	  INSTOBJEXT=.mo
14907	else
14908	  gt_cv_have_gettext=no
14909	fi
14910      fi
14911
14912fi
14913
14914
14915
14916    if test "$gt_cv_have_gettext" = "yes" ; then
14917
14918$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14919
14920    fi
14921
14922        if test "$XGETTEXT" != ":"; then
14923                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14924        : ;
14925      else
14926        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14927$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14928        XGETTEXT=":"
14929      fi
14930    fi
14931
14932    # We need to process the po/ directory.
14933    POSUB=po
14934
14935    ac_config_commands="$ac_config_commands default-1"
14936
14937
14938                for lang in $ALL_LINGUAS; do
14939      GMOFILES="$GMOFILES $lang.gmo"
14940      POFILES="$POFILES $lang.po"
14941    done
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955   if test "$gt_cv_have_gettext" = "yes"; then
14956     if test "x$ALL_LINGUAS" = "x"; then
14957       LINGUAS=
14958     else
14959       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
14960$as_echo_n "checking for catalogs to be installed... " >&6; }
14961       NEW_LINGUAS=
14962       for presentlang in $ALL_LINGUAS; do
14963         useit=no
14964         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14965           desiredlanguages="$LINGUAS"
14966         else
14967           desiredlanguages="$ALL_LINGUAS"
14968         fi
14969         for desiredlang in $desiredlanguages; do
14970 	   # Use the presentlang catalog if desiredlang is
14971           #   a. equal to presentlang, or
14972           #   b. a variant of presentlang (because in this case,
14973           #      presentlang can be used as a fallback for messages
14974           #      which are not translated in the desiredlang catalog).
14975           case "$desiredlang" in
14976             "$presentlang"*) useit=yes;;
14977           esac
14978         done
14979         if test $useit = yes; then
14980           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14981         fi
14982       done
14983       LINGUAS=$NEW_LINGUAS
14984       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
14985$as_echo "$LINGUAS" >&6; }
14986     fi
14987
14988          if test -n "$LINGUAS"; then
14989       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14990     fi
14991   fi
14992
14993            MKINSTALLDIRS=
14994   if test -n "$ac_aux_dir"; then
14995     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14996   fi
14997   if test -z "$MKINSTALLDIRS"; then
14998     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14999   fi
15000
15001
15002         test -d po || mkdir po
15003   if test "x$srcdir" != "x."; then
15004     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15005       posrcprefix="$srcdir/"
15006     else
15007       posrcprefix="../$srcdir/"
15008     fi
15009   else
15010     posrcprefix="../"
15011   fi
15012   rm -f po/POTFILES
15013   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15014	< $srcdir/po/POTFILES.in > po/POTFILES
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15026	if test -n "$ac_tool_prefix"; then
15027  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15028set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15030$as_echo_n "checking for $ac_word... " >&6; }
15031if ${ac_cv_path_PKG_CONFIG+:} false; then :
15032  $as_echo_n "(cached) " >&6
15033else
15034  case $PKG_CONFIG in
15035  [\\/]* | ?:[\\/]*)
15036  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15037  ;;
15038  *)
15039  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15040for as_dir in $PATH
15041do
15042  IFS=$as_save_IFS
15043  test -z "$as_dir" && as_dir=.
15044    for ac_exec_ext in '' $ac_executable_extensions; do
15045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15046    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15048    break 2
15049  fi
15050done
15051  done
15052IFS=$as_save_IFS
15053
15054  ;;
15055esac
15056fi
15057PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15058if test -n "$PKG_CONFIG"; then
15059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15060$as_echo "$PKG_CONFIG" >&6; }
15061else
15062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15063$as_echo "no" >&6; }
15064fi
15065
15066
15067fi
15068if test -z "$ac_cv_path_PKG_CONFIG"; then
15069  ac_pt_PKG_CONFIG=$PKG_CONFIG
15070  # Extract the first word of "pkg-config", so it can be a program name with args.
15071set dummy pkg-config; ac_word=$2
15072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15073$as_echo_n "checking for $ac_word... " >&6; }
15074if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15075  $as_echo_n "(cached) " >&6
15076else
15077  case $ac_pt_PKG_CONFIG in
15078  [\\/]* | ?:[\\/]*)
15079  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15080  ;;
15081  *)
15082  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15083for as_dir in $PATH
15084do
15085  IFS=$as_save_IFS
15086  test -z "$as_dir" && as_dir=.
15087    for ac_exec_ext in '' $ac_executable_extensions; do
15088  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15089    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15090    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15091    break 2
15092  fi
15093done
15094  done
15095IFS=$as_save_IFS
15096
15097  ;;
15098esac
15099fi
15100ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15101if test -n "$ac_pt_PKG_CONFIG"; then
15102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15103$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15104else
15105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15106$as_echo "no" >&6; }
15107fi
15108
15109  if test "x$ac_pt_PKG_CONFIG" = x; then
15110    PKG_CONFIG=""
15111  else
15112    case $cross_compiling:$ac_tool_warned in
15113yes:)
15114{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15115$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15116ac_tool_warned=yes ;;
15117esac
15118    PKG_CONFIG=$ac_pt_PKG_CONFIG
15119  fi
15120else
15121  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15122fi
15123
15124fi
15125if test -n "$PKG_CONFIG"; then
15126	_pkg_min_version=0.9.0
15127	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15128$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15129	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15130		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15131$as_echo "yes" >&6; }
15132	else
15133		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15134$as_echo "no" >&6; }
15135		PKG_CONFIG=""
15136	fi
15137fi
15138
15139
15140
15141# Check whether --with-geany-libdir was given.
15142if test "${with_geany_libdir+set}" = set; then :
15143  withval=$with_geany_libdir; geany_libdir=${withval}
15144else
15145  geany_libdir=$(${PKG_CONFIG} --variable=libdir geany)
15146fi
15147
15148
15149
15150
15151
15152
15153
15154    export PKG_CONFIG_PATH="$geany_libdir/pkgconfig:$PKG_CONFIG_PATH"
15155
15156
15157
15158pkg_failed=no
15159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for geany >= 1.29" >&5
15160$as_echo_n "checking for geany >= 1.29... " >&6; }
15161
15162if test -n "$GEANY_CFLAGS"; then
15163    pkg_cv_GEANY_CFLAGS="$GEANY_CFLAGS"
15164 elif test -n "$PKG_CONFIG"; then
15165    if test -n "$PKG_CONFIG" && \
15166    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geany >= 1.29\""; } >&5
15167  ($PKG_CONFIG --exists --print-errors "geany >= 1.29") 2>&5
15168  ac_status=$?
15169  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15170  test $ac_status = 0; }; then
15171  pkg_cv_GEANY_CFLAGS=`$PKG_CONFIG --cflags "geany >= 1.29" 2>/dev/null`
15172		      test "x$?" != "x0" && pkg_failed=yes
15173else
15174  pkg_failed=yes
15175fi
15176 else
15177    pkg_failed=untried
15178fi
15179if test -n "$GEANY_LIBS"; then
15180    pkg_cv_GEANY_LIBS="$GEANY_LIBS"
15181 elif test -n "$PKG_CONFIG"; then
15182    if test -n "$PKG_CONFIG" && \
15183    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geany >= 1.29\""; } >&5
15184  ($PKG_CONFIG --exists --print-errors "geany >= 1.29") 2>&5
15185  ac_status=$?
15186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15187  test $ac_status = 0; }; then
15188  pkg_cv_GEANY_LIBS=`$PKG_CONFIG --libs "geany >= 1.29" 2>/dev/null`
15189		      test "x$?" != "x0" && pkg_failed=yes
15190else
15191  pkg_failed=yes
15192fi
15193 else
15194    pkg_failed=untried
15195fi
15196
15197
15198
15199if test $pkg_failed = yes; then
15200        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15201$as_echo "no" >&6; }
15202
15203if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15204        _pkg_short_errors_supported=yes
15205else
15206        _pkg_short_errors_supported=no
15207fi
15208        if test $_pkg_short_errors_supported = yes; then
15209	        GEANY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "geany >= 1.29" 2>&1`
15210        else
15211	        GEANY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "geany >= 1.29" 2>&1`
15212        fi
15213	# Put the nasty error message in config.log where it belongs
15214	echo "$GEANY_PKG_ERRORS" >&5
15215
15216	as_fn_error $? "Package requirements (geany >= 1.29) were not met:
15217
15218$GEANY_PKG_ERRORS
15219
15220Consider adjusting the PKG_CONFIG_PATH environment variable if you
15221installed software in a non-standard prefix.
15222
15223Alternatively, you may set the environment variables GEANY_CFLAGS
15224and GEANY_LIBS to avoid the need to call pkg-config.
15225See the pkg-config man page for more details." "$LINENO" 5
15226elif test $pkg_failed = untried; then
15227        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15228$as_echo "no" >&6; }
15229	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15231as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15232is in your PATH or set the PKG_CONFIG environment variable to the full
15233path to pkg-config.
15234
15235Alternatively, you may set the environment variables GEANY_CFLAGS
15236and GEANY_LIBS to avoid the need to call pkg-config.
15237See the pkg-config man page for more details.
15238
15239To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15240See \`config.log' for more details" "$LINENO" 5; }
15241else
15242	GEANY_CFLAGS=$pkg_cv_GEANY_CFLAGS
15243	GEANY_LIBS=$pkg_cv_GEANY_LIBS
15244        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15245$as_echo "yes" >&6; }
15246
15247fi
15248    geanypluginsdir=$geany_libdir/geany
15249    GEANY_VERSION=$(${PKG_CONFIG} --modversion geany)
15250
15251
15252
15253
15254
15255    export PKG_CONFIG_PATH="${PKG_CONFIG_PATH#*:}"
15256    test -z "${PKG_CONFIG_PATH}" && unset PKG_CONFIG_PATH
15257
15258
15259
15260    gp_have_unittests=no
15261
15262pkg_failed=no
15263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for check >= 0.9.4" >&5
15264$as_echo_n "checking for check >= 0.9.4... " >&6; }
15265
15266if test -n "$CHECK_CFLAGS"; then
15267    pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
15268 elif test -n "$PKG_CONFIG"; then
15269    if test -n "$PKG_CONFIG" && \
15270    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
15271  ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
15272  ac_status=$?
15273  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15274  test $ac_status = 0; }; then
15275  pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
15276		      test "x$?" != "x0" && pkg_failed=yes
15277else
15278  pkg_failed=yes
15279fi
15280 else
15281    pkg_failed=untried
15282fi
15283if test -n "$CHECK_LIBS"; then
15284    pkg_cv_CHECK_LIBS="$CHECK_LIBS"
15285 elif test -n "$PKG_CONFIG"; then
15286    if test -n "$PKG_CONFIG" && \
15287    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
15288  ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
15289  ac_status=$?
15290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15291  test $ac_status = 0; }; then
15292  pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
15293		      test "x$?" != "x0" && pkg_failed=yes
15294else
15295  pkg_failed=yes
15296fi
15297 else
15298    pkg_failed=untried
15299fi
15300
15301
15302
15303if test $pkg_failed = yes; then
15304        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15305$as_echo "no" >&6; }
15306
15307if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15308        _pkg_short_errors_supported=yes
15309else
15310        _pkg_short_errors_supported=no
15311fi
15312        if test $_pkg_short_errors_supported = yes; then
15313	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
15314        else
15315	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
15316        fi
15317	# Put the nasty error message in config.log where it belongs
15318	echo "$CHECK_PKG_ERRORS" >&5
15319
15320	 if false; then
15321  UNITTESTS_TRUE=
15322  UNITTESTS_FALSE='#'
15323else
15324  UNITTESTS_TRUE='#'
15325  UNITTESTS_FALSE=
15326fi
15327
15328elif test $pkg_failed = untried; then
15329        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15330$as_echo "no" >&6; }
15331	 if false; then
15332  UNITTESTS_TRUE=
15333  UNITTESTS_FALSE='#'
15334else
15335  UNITTESTS_TRUE='#'
15336  UNITTESTS_FALSE=
15337fi
15338
15339else
15340	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
15341	CHECK_LIBS=$pkg_cv_CHECK_LIBS
15342        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15343$as_echo "yes" >&6; }
15344	 if true; then
15345  UNITTESTS_TRUE=
15346  UNITTESTS_FALSE='#'
15347else
15348  UNITTESTS_TRUE='#'
15349  UNITTESTS_FALSE=
15350fi
15351
15352             gp_have_unittests=yes
15353fi
15354
15355    build_feature_statusmsg="${build_feature_statusmsg}Unit tests:$gp_have_unittests
15356"
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366    export PKG_CONFIG_PATH="$geany_libdir/pkgconfig:$PKG_CONFIG_PATH"
15367
15368
15369    _gtk_req=$(${PKG_CONFIG} --print-requires geany | ${AWK} '/^gtk\+-/{print}')
15370    GP_GTK_PACKAGE=$(echo ${_gtk_req} | ${SED} 's/ *[><=].*$//')
15371    GP_GTK_VERSION=$(echo ${_gtk_req} | ${SED} 's/^.*[><=] *//')
15372    GP_GTK_VERSION_MAJOR=$(echo ${GP_GTK_VERSION} | cut -d. -f1)
15373
15374
15375
15376
15377     if test "x$GP_GTK_VERSION_MAJOR" = x3; then
15378  GP_GTK3_TRUE=
15379  GP_GTK3_FALSE='#'
15380else
15381  GP_GTK3_TRUE='#'
15382  GP_GTK3_FALSE=
15383fi
15384
15385
15386
15387
15388    export PKG_CONFIG_PATH="${PKG_CONFIG_PATH#*:}"
15389    test -z "${PKG_CONFIG_PATH}" && unset PKG_CONFIG_PATH
15390
15391
15392
15393    # Check whether --enable-cppcheck was given.
15394if test "${enable_cppcheck+set}" = set; then :
15395  enableval=$enable_cppcheck; enable_cppcheck="$enableval"
15396else
15397  enable_cppcheck="auto"
15398fi
15399
15400
15401    gp_have_cppcheck=no
15402    if test "x$enable_cppcheck" != xno; then :
15403  # Extract the first word of "cppcheck", so it can be a program name with args.
15404set dummy cppcheck; ac_word=$2
15405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15406$as_echo_n "checking for $ac_word... " >&6; }
15407if ${ac_cv_path_CPPCHECK+:} false; then :
15408  $as_echo_n "(cached) " >&6
15409else
15410  case $CPPCHECK in
15411  [\\/]* | ?:[\\/]*)
15412  ac_cv_path_CPPCHECK="$CPPCHECK" # Let the user override the test with a path.
15413  ;;
15414  *)
15415  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15416for as_dir in $PATH
15417do
15418  IFS=$as_save_IFS
15419  test -z "$as_dir" && as_dir=.
15420    for ac_exec_ext in '' $ac_executable_extensions; do
15421  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15422    ac_cv_path_CPPCHECK="$as_dir/$ac_word$ac_exec_ext"
15423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15424    break 2
15425  fi
15426done
15427  done
15428IFS=$as_save_IFS
15429
15430  test -z "$ac_cv_path_CPPCHECK" && ac_cv_path_CPPCHECK="NONE"
15431  ;;
15432esac
15433fi
15434CPPCHECK=$ac_cv_path_CPPCHECK
15435if test -n "$CPPCHECK"; then
15436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPCHECK" >&5
15437$as_echo "$CPPCHECK" >&6; }
15438else
15439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15440$as_echo "no" >&6; }
15441fi
15442
15443
15444           if test "x$CPPCHECK" != xNONE; then :
15445  gp_have_cppcheck=yes
15446
15447else
15448  gp_have_cppcheck=no
15449                  if test "x$enable_cppcheck" != xauto; then :
15450  as_fn_error $? "cannot find cppcheck" "$LINENO" 5
15451fi
15452fi
15453fi
15454     if test "x$gp_have_cppcheck" = xyes; then
15455  HAVE_CPPCHECK_TRUE=
15456  HAVE_CPPCHECK_FALSE='#'
15457else
15458  HAVE_CPPCHECK_TRUE='#'
15459  HAVE_CPPCHECK_FALSE=
15460fi
15461
15462
15463    build_feature_statusmsg="${build_feature_statusmsg}Static code checking:$gp_have_cppcheck
15464"
15465
15466
15467
15468
15469    export PKG_CONFIG_PATH="$geany_libdir/pkgconfig:$PKG_CONFIG_PATH"
15470
15471
15472if test -n "$GEANY_INCLUDEDIR"; then
15473    pkg_cv_GEANY_INCLUDEDIR="$GEANY_INCLUDEDIR"
15474 elif test -n "$PKG_CONFIG"; then
15475    if test -n "$PKG_CONFIG" && \
15476    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geany\""; } >&5
15477  ($PKG_CONFIG --exists --print-errors "geany") 2>&5
15478  ac_status=$?
15479  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480  test $ac_status = 0; }; then
15481  pkg_cv_GEANY_INCLUDEDIR=`$PKG_CONFIG --variable="includedir" "geany" 2>/dev/null`
15482		      test "x$?" != "x0" && pkg_failed=yes
15483else
15484  pkg_failed=yes
15485fi
15486 else
15487    pkg_failed=untried
15488fi
15489GEANY_INCLUDEDIR=$pkg_cv_GEANY_INCLUDEDIR
15490
15491if test "x$GEANY_INCLUDEDIR" = x""; then :
15492
15493fi
15494
15495
15496    export PKG_CONFIG_PATH="${PKG_CONFIG_PATH#*:}"
15497    test -z "${PKG_CONFIG_PATH}" && unset PKG_CONFIG_PATH
15498
15499
15500
15501    _GP_CFLAG_WERROR=
15502    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the C compiler flag to treat warnings as errors" >&5
15503$as_echo_n "checking for the C compiler flag to treat warnings as errors... " >&6; }
15504
15505    gp_check_cflag_CFLAGS="$CFLAGS"
15506    CFLAGS="-Werror"
15507    ac_ext=c
15508ac_cpp='$CPP $CPPFLAGS'
15509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15511ac_compiler_gnu=$ac_cv_c_compiler_gnu
15512
15513    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514/* end confdefs.h.  */
15515int main(void) {return 0;}
15516_ACEOF
15517if ac_fn_c_try_compile "$LINENO"; then :
15518  _GP_CFLAG_WERROR="-Werror"
15519fi
15520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15521    ac_ext=c
15522ac_cpp='$CPP $CPPFLAGS'
15523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15525ac_compiler_gnu=$ac_cv_c_compiler_gnu
15526
15527    CFLAGS="$gp_check_cflag_CFLAGS"
15528
15529    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_GP_CFLAG_WERROR:-none}" >&5
15530$as_echo "${_GP_CFLAG_WERROR:-none}" >&6; }
15531
15532
15533    # Check whether --enable-extra-c-warnings was given.
15534if test "${enable_extra_c_warnings+set}" = set; then :
15535  enableval=$enable_extra_c_warnings; enable_extra_c_warnings=$enableval
15536else
15537  enable_extra_c_warnings=yes
15538fi
15539
15540
15541    GP_CFLAGS=
15542    if test "x$enable_extra_c_warnings" != xno; then :
15543
15544        enable_extra_c_warnings=yes
15545        for flag in -Wall \
15546                    -Wimplicit-function-declaration \
15547                    -Wmissing-parameter-type \
15548                    -Wold-style-declaration \
15549                    -Wpointer-arith \
15550                    -Wshadow \
15551                    -Wundef \
15552                    -Wwrite-strings
15553        do
15554
15555
15556
15557    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $flag" >&5
15558$as_echo_n "checking whether the C compiler understands $flag... " >&6; }
15559
15560    gp_check_cflag_CFLAGS="$CFLAGS"
15561    CFLAGS="$flag $_GP_CFLAG_WERROR"
15562    ac_ext=c
15563ac_cpp='$CPP $CPPFLAGS'
15564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15566ac_compiler_gnu=$ac_cv_c_compiler_gnu
15567
15568    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569/* end confdefs.h.  */
15570int main(void) {return 0;}
15571_ACEOF
15572if ac_fn_c_try_compile "$LINENO"; then :
15573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15574$as_echo "yes" >&6; }
15575                     GP_CFLAGS="${GP_CFLAGS} $flag"
15576else
15577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15578$as_echo "no" >&6; }
15579
15580fi
15581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15582    ac_ext=c
15583ac_cpp='$CPP $CPPFLAGS'
15584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15586ac_compiler_gnu=$ac_cv_c_compiler_gnu
15587
15588    CFLAGS="$gp_check_cflag_CFLAGS"
15589
15590
15591        done
15592
15593fi
15594
15595
15596    build_feature_statusmsg="${build_feature_statusmsg}Extra C compiler warnings:$enable_extra_c_warnings
15597"
15598
15599
15600
15601    # Check whether --enable-extra-ld-flags was given.
15602if test "${enable_extra_ld_flags+set}" = set; then :
15603  enableval=$enable_extra_ld_flags; enable_extra_ld_flags=$enableval
15604else
15605  enable_extra_ld_flags=yes
15606fi
15607
15608
15609    GP_LDFLAGS=
15610    if test "x$enable_extra_ld_flags" != xno; then :
15611
15612        enable_extra_ld_flags=yes
15613        for flag in -Wl,-z,defs # do not allow undefined symbols in object files
15614        do
15615
15616    gp_check_ldflag_LDFLAGS="$LDFLAGS"
15617    LDFLAGS="$flag"
15618    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker understands $LDFLAGS" >&5
15619$as_echo_n "checking whether the linker understands $LDFLAGS... " >&6; }
15620    ac_ext=c
15621ac_cpp='$CPP $CPPFLAGS'
15622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15624ac_compiler_gnu=$ac_cv_c_compiler_gnu
15625
15626    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627/* end confdefs.h.  */
15628int main(void) {return 0;}
15629_ACEOF
15630if ac_fn_c_try_link "$LINENO"; then :
15631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15632$as_echo "yes" >&6; }
15633                    GP_LDFLAGS="${GP_LDFLAGS} $flag"
15634else
15635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15636$as_echo "no" >&6; }
15637
15638fi
15639rm -f core conftest.err conftest.$ac_objext \
15640    conftest$ac_exeext conftest.$ac_ext
15641    ac_ext=c
15642ac_cpp='$CPP $CPPFLAGS'
15643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15645ac_compiler_gnu=$ac_cv_c_compiler_gnu
15646
15647    LDFLAGS="$gp_check_ldflag_LDFLAGS"
15648
15649        done
15650
15651fi
15652
15653
15654    build_feature_statusmsg="${build_feature_statusmsg}Extra linker options:$enable_extra_c_warnings
15655"
15656
15657
15658
15659	case "${host}" in
15660		*mingw*)
15661
15662$as_echo "#define WIN32 1" >>confdefs.h
15663
15664			 if true; then
15665  MINGW_TRUE=
15666  MINGW_FALSE='#'
15667else
15668  MINGW_TRUE='#'
15669  MINGW_FALSE=
15670fi
15671
15672			;;
15673		*)
15674			 if false; then
15675  MINGW_TRUE=
15676  MINGW_FALSE='#'
15677else
15678  MINGW_TRUE='#'
15679  MINGW_FALSE=
15680fi
15681
15682			;;
15683	esac
15684
15685
15686
15687    # Check whether --enable-all-plugins was given.
15688if test "${enable_all_plugins+set}" = set; then :
15689  enableval=$enable_all_plugins; gp_enable_all=$enableval
15690else
15691  gp_enable_all=auto
15692fi
15693
15694
15695
15696
15697
15698
15699    # Check whether --enable-addons was given.
15700if test "${enable_addons+set}" = set; then :
15701  enableval=$enable_addons; enable_addons=$enableval
15702else
15703  case $gp_enable_all in #(
15704  no) :
15705    enable_addons=no ;; #(
15706  yes) :
15707    enable_addons=yes ;; #(
15708  *) :
15709    enable_addons=auto ;;
15710esac
15711fi
15712
15713
15714
15715        if test "$enable_addons" = "auto"; then
15716        enable_addons=yes
15717    fi
15718     if test "$enable_addons" = yes; then
15719  ENABLE_ADDONS_TRUE=
15720  ENABLE_ADDONS_FALSE='#'
15721else
15722  ENABLE_ADDONS_TRUE='#'
15723  ENABLE_ADDONS_FALSE=
15724fi
15725
15726
15727    plugins_statusmsg="${plugins_statusmsg}Addons:$enable_addons
15728"
15729
15730
15731    ac_config_files="$ac_config_files addons/Makefile addons/src/Makefile"
15732
15733
15734
15735
15736
15737
15738    # Check whether --enable-autoclose was given.
15739if test "${enable_autoclose+set}" = set; then :
15740  enableval=$enable_autoclose; enable_autoclose=$enableval
15741else
15742  case $gp_enable_all in #(
15743  no) :
15744    enable_autoclose=no ;; #(
15745  yes) :
15746    enable_autoclose=yes ;; #(
15747  *) :
15748    enable_autoclose=auto ;;
15749esac
15750fi
15751
15752
15753
15754
15755
15756    gtk_dep=0
15757    if test $gtk_dep -ne 0; then
15758
15759
15760
15761    if test "$enable_autoclose" = no; then :
15762
15763else
15764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Autoclose" >&5
15765$as_echo_n "checking whether the GTK version in use is compatible with plugin Autoclose... " >&6; }
15766           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
15767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15768$as_echo "yes" >&6; }
15769else
15770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15771$as_echo "no" >&6; }
15772                  if test "$enable_autoclose" = yes; then :
15773  as_fn_error $? "Autoclose is not compatible with the GTK version in use" "$LINENO" 5
15774elif test "$enable_autoclose" = auto; then :
15775  enable_autoclose=no
15776fi
15777fi
15778fi
15779
15780    fi
15781
15782    if test "$enable_autoclose" = "yes"; then
15783
15784pkg_failed=no
15785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.8" >&5
15786$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.8... " >&6; }
15787
15788if test -n "$AUTOCLOSE_CFLAGS"; then
15789    pkg_cv_AUTOCLOSE_CFLAGS="$AUTOCLOSE_CFLAGS"
15790 elif test -n "$PKG_CONFIG"; then
15791    if test -n "$PKG_CONFIG" && \
15792    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
15793  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
15794  ac_status=$?
15795  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15796  test $ac_status = 0; }; then
15797  pkg_cv_AUTOCLOSE_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
15798		      test "x$?" != "x0" && pkg_failed=yes
15799else
15800  pkg_failed=yes
15801fi
15802 else
15803    pkg_failed=untried
15804fi
15805if test -n "$AUTOCLOSE_LIBS"; then
15806    pkg_cv_AUTOCLOSE_LIBS="$AUTOCLOSE_LIBS"
15807 elif test -n "$PKG_CONFIG"; then
15808    if test -n "$PKG_CONFIG" && \
15809    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
15810  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
15811  ac_status=$?
15812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15813  test $ac_status = 0; }; then
15814  pkg_cv_AUTOCLOSE_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
15815		      test "x$?" != "x0" && pkg_failed=yes
15816else
15817  pkg_failed=yes
15818fi
15819 else
15820    pkg_failed=untried
15821fi
15822
15823
15824
15825if test $pkg_failed = yes; then
15826        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15827$as_echo "no" >&6; }
15828
15829if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15830        _pkg_short_errors_supported=yes
15831else
15832        _pkg_short_errors_supported=no
15833fi
15834        if test $_pkg_short_errors_supported = yes; then
15835	        AUTOCLOSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
15836        else
15837	        AUTOCLOSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
15838        fi
15839	# Put the nasty error message in config.log where it belongs
15840	echo "$AUTOCLOSE_PKG_ERRORS" >&5
15841
15842	as_fn_error $? "Package requirements ($GP_GTK_PACKAGE >= 2.8) were not met:
15843
15844$AUTOCLOSE_PKG_ERRORS
15845
15846Consider adjusting the PKG_CONFIG_PATH environment variable if you
15847installed software in a non-standard prefix.
15848
15849Alternatively, you may set the environment variables AUTOCLOSE_CFLAGS
15850and AUTOCLOSE_LIBS to avoid the need to call pkg-config.
15851See the pkg-config man page for more details." "$LINENO" 5
15852elif test $pkg_failed = untried; then
15853        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15854$as_echo "no" >&6; }
15855	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15856$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15857as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15858is in your PATH or set the PKG_CONFIG environment variable to the full
15859path to pkg-config.
15860
15861Alternatively, you may set the environment variables AUTOCLOSE_CFLAGS
15862and AUTOCLOSE_LIBS to avoid the need to call pkg-config.
15863See the pkg-config man page for more details.
15864
15865To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15866See \`config.log' for more details" "$LINENO" 5; }
15867else
15868	AUTOCLOSE_CFLAGS=$pkg_cv_AUTOCLOSE_CFLAGS
15869	AUTOCLOSE_LIBS=$pkg_cv_AUTOCLOSE_LIBS
15870        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15871$as_echo "yes" >&6; }
15872
15873fi
15874    elif test "$enable_autoclose" = "auto"; then
15875
15876pkg_failed=no
15877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.8" >&5
15878$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.8... " >&6; }
15879
15880if test -n "$AUTOCLOSE_CFLAGS"; then
15881    pkg_cv_AUTOCLOSE_CFLAGS="$AUTOCLOSE_CFLAGS"
15882 elif test -n "$PKG_CONFIG"; then
15883    if test -n "$PKG_CONFIG" && \
15884    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
15885  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
15886  ac_status=$?
15887  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15888  test $ac_status = 0; }; then
15889  pkg_cv_AUTOCLOSE_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
15890		      test "x$?" != "x0" && pkg_failed=yes
15891else
15892  pkg_failed=yes
15893fi
15894 else
15895    pkg_failed=untried
15896fi
15897if test -n "$AUTOCLOSE_LIBS"; then
15898    pkg_cv_AUTOCLOSE_LIBS="$AUTOCLOSE_LIBS"
15899 elif test -n "$PKG_CONFIG"; then
15900    if test -n "$PKG_CONFIG" && \
15901    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
15902  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
15903  ac_status=$?
15904  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15905  test $ac_status = 0; }; then
15906  pkg_cv_AUTOCLOSE_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
15907		      test "x$?" != "x0" && pkg_failed=yes
15908else
15909  pkg_failed=yes
15910fi
15911 else
15912    pkg_failed=untried
15913fi
15914
15915
15916
15917if test $pkg_failed = yes; then
15918        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15919$as_echo "no" >&6; }
15920
15921if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15922        _pkg_short_errors_supported=yes
15923else
15924        _pkg_short_errors_supported=no
15925fi
15926        if test $_pkg_short_errors_supported = yes; then
15927	        AUTOCLOSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
15928        else
15929	        AUTOCLOSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
15930        fi
15931	# Put the nasty error message in config.log where it belongs
15932	echo "$AUTOCLOSE_PKG_ERRORS" >&5
15933
15934	enable_autoclose=no
15935elif test $pkg_failed = untried; then
15936        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15937$as_echo "no" >&6; }
15938	enable_autoclose=no
15939else
15940	AUTOCLOSE_CFLAGS=$pkg_cv_AUTOCLOSE_CFLAGS
15941	AUTOCLOSE_LIBS=$pkg_cv_AUTOCLOSE_LIBS
15942        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15943$as_echo "yes" >&6; }
15944
15945fi
15946    fi
15947
15948
15949        if test "$enable_autoclose" = "auto"; then
15950        enable_autoclose=yes
15951    fi
15952     if test "$enable_autoclose" = yes; then
15953  ENABLE_AUTOCLOSE_TRUE=
15954  ENABLE_AUTOCLOSE_FALSE='#'
15955else
15956  ENABLE_AUTOCLOSE_TRUE='#'
15957  ENABLE_AUTOCLOSE_FALSE=
15958fi
15959
15960
15961    plugins_statusmsg="${plugins_statusmsg}Autoclose:$enable_autoclose
15962"
15963
15964
15965    ac_config_files="$ac_config_files autoclose/Makefile autoclose/src/Makefile"
15966
15967
15968
15969
15970
15971
15972    # Check whether --enable-automark was given.
15973if test "${enable_automark+set}" = set; then :
15974  enableval=$enable_automark; enable_automark=$enableval
15975else
15976  case $gp_enable_all in #(
15977  no) :
15978    enable_automark=no ;; #(
15979  yes) :
15980    enable_automark=yes ;; #(
15981  *) :
15982    enable_automark=auto ;;
15983esac
15984fi
15985
15986
15987
15988
15989
15990    gtk_dep=0
15991    if test $gtk_dep -ne 0; then
15992
15993
15994
15995    if test "$enable_automark" = no; then :
15996
15997else
15998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Automark" >&5
15999$as_echo_n "checking whether the GTK version in use is compatible with plugin Automark... " >&6; }
16000           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
16001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16002$as_echo "yes" >&6; }
16003else
16004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16005$as_echo "no" >&6; }
16006                  if test "$enable_automark" = yes; then :
16007  as_fn_error $? "Automark is not compatible with the GTK version in use" "$LINENO" 5
16008elif test "$enable_automark" = auto; then :
16009  enable_automark=no
16010fi
16011fi
16012fi
16013
16014    fi
16015
16016    if test "$enable_automark" = "yes"; then
16017
16018pkg_failed=no
16019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.8" >&5
16020$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.8... " >&6; }
16021
16022if test -n "$AUTOMARK_CFLAGS"; then
16023    pkg_cv_AUTOMARK_CFLAGS="$AUTOMARK_CFLAGS"
16024 elif test -n "$PKG_CONFIG"; then
16025    if test -n "$PKG_CONFIG" && \
16026    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
16027  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
16028  ac_status=$?
16029  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16030  test $ac_status = 0; }; then
16031  pkg_cv_AUTOMARK_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
16032		      test "x$?" != "x0" && pkg_failed=yes
16033else
16034  pkg_failed=yes
16035fi
16036 else
16037    pkg_failed=untried
16038fi
16039if test -n "$AUTOMARK_LIBS"; then
16040    pkg_cv_AUTOMARK_LIBS="$AUTOMARK_LIBS"
16041 elif test -n "$PKG_CONFIG"; then
16042    if test -n "$PKG_CONFIG" && \
16043    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
16044  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
16045  ac_status=$?
16046  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16047  test $ac_status = 0; }; then
16048  pkg_cv_AUTOMARK_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
16049		      test "x$?" != "x0" && pkg_failed=yes
16050else
16051  pkg_failed=yes
16052fi
16053 else
16054    pkg_failed=untried
16055fi
16056
16057
16058
16059if test $pkg_failed = yes; then
16060        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16061$as_echo "no" >&6; }
16062
16063if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16064        _pkg_short_errors_supported=yes
16065else
16066        _pkg_short_errors_supported=no
16067fi
16068        if test $_pkg_short_errors_supported = yes; then
16069	        AUTOMARK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
16070        else
16071	        AUTOMARK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
16072        fi
16073	# Put the nasty error message in config.log where it belongs
16074	echo "$AUTOMARK_PKG_ERRORS" >&5
16075
16076	as_fn_error $? "Package requirements ($GP_GTK_PACKAGE >= 2.8) were not met:
16077
16078$AUTOMARK_PKG_ERRORS
16079
16080Consider adjusting the PKG_CONFIG_PATH environment variable if you
16081installed software in a non-standard prefix.
16082
16083Alternatively, you may set the environment variables AUTOMARK_CFLAGS
16084and AUTOMARK_LIBS to avoid the need to call pkg-config.
16085See the pkg-config man page for more details." "$LINENO" 5
16086elif test $pkg_failed = untried; then
16087        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16088$as_echo "no" >&6; }
16089	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16091as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16092is in your PATH or set the PKG_CONFIG environment variable to the full
16093path to pkg-config.
16094
16095Alternatively, you may set the environment variables AUTOMARK_CFLAGS
16096and AUTOMARK_LIBS to avoid the need to call pkg-config.
16097See the pkg-config man page for more details.
16098
16099To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16100See \`config.log' for more details" "$LINENO" 5; }
16101else
16102	AUTOMARK_CFLAGS=$pkg_cv_AUTOMARK_CFLAGS
16103	AUTOMARK_LIBS=$pkg_cv_AUTOMARK_LIBS
16104        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16105$as_echo "yes" >&6; }
16106
16107fi
16108    elif test "$enable_automark" = "auto"; then
16109
16110pkg_failed=no
16111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.8" >&5
16112$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.8... " >&6; }
16113
16114if test -n "$AUTOMARK_CFLAGS"; then
16115    pkg_cv_AUTOMARK_CFLAGS="$AUTOMARK_CFLAGS"
16116 elif test -n "$PKG_CONFIG"; then
16117    if test -n "$PKG_CONFIG" && \
16118    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
16119  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
16120  ac_status=$?
16121  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16122  test $ac_status = 0; }; then
16123  pkg_cv_AUTOMARK_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
16124		      test "x$?" != "x0" && pkg_failed=yes
16125else
16126  pkg_failed=yes
16127fi
16128 else
16129    pkg_failed=untried
16130fi
16131if test -n "$AUTOMARK_LIBS"; then
16132    pkg_cv_AUTOMARK_LIBS="$AUTOMARK_LIBS"
16133 elif test -n "$PKG_CONFIG"; then
16134    if test -n "$PKG_CONFIG" && \
16135    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
16136  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
16137  ac_status=$?
16138  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16139  test $ac_status = 0; }; then
16140  pkg_cv_AUTOMARK_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
16141		      test "x$?" != "x0" && pkg_failed=yes
16142else
16143  pkg_failed=yes
16144fi
16145 else
16146    pkg_failed=untried
16147fi
16148
16149
16150
16151if test $pkg_failed = yes; then
16152        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16153$as_echo "no" >&6; }
16154
16155if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16156        _pkg_short_errors_supported=yes
16157else
16158        _pkg_short_errors_supported=no
16159fi
16160        if test $_pkg_short_errors_supported = yes; then
16161	        AUTOMARK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
16162        else
16163	        AUTOMARK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
16164        fi
16165	# Put the nasty error message in config.log where it belongs
16166	echo "$AUTOMARK_PKG_ERRORS" >&5
16167
16168	enable_automark=no
16169elif test $pkg_failed = untried; then
16170        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16171$as_echo "no" >&6; }
16172	enable_automark=no
16173else
16174	AUTOMARK_CFLAGS=$pkg_cv_AUTOMARK_CFLAGS
16175	AUTOMARK_LIBS=$pkg_cv_AUTOMARK_LIBS
16176        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16177$as_echo "yes" >&6; }
16178
16179fi
16180    fi
16181
16182
16183        if test "$enable_automark" = "auto"; then
16184        enable_automark=yes
16185    fi
16186     if test "$enable_automark" = yes; then
16187  ENABLE_AUTOMARK_TRUE=
16188  ENABLE_AUTOMARK_FALSE='#'
16189else
16190  ENABLE_AUTOMARK_TRUE='#'
16191  ENABLE_AUTOMARK_FALSE=
16192fi
16193
16194
16195    plugins_statusmsg="${plugins_statusmsg}Automark:$enable_automark
16196"
16197
16198
16199    ac_config_files="$ac_config_files automark/Makefile automark/src/Makefile"
16200
16201
16202
16203
16204
16205
16206    # Check whether --enable-codenav was given.
16207if test "${enable_codenav+set}" = set; then :
16208  enableval=$enable_codenav; enable_codenav=$enableval
16209else
16210  case $gp_enable_all in #(
16211  no) :
16212    enable_codenav=no ;; #(
16213  yes) :
16214    enable_codenav=yes ;; #(
16215  *) :
16216    enable_codenav=yes ;;
16217esac
16218fi
16219
16220
16221
16222        if test "$enable_codenav" = "auto"; then
16223        enable_codenav=yes
16224    fi
16225     if test "$enable_codenav" = yes; then
16226  ENABLE_CODENAV_TRUE=
16227  ENABLE_CODENAV_FALSE='#'
16228else
16229  ENABLE_CODENAV_TRUE='#'
16230  ENABLE_CODENAV_FALSE=
16231fi
16232
16233
16234    plugins_statusmsg="${plugins_statusmsg}CodeNav:$enable_codenav
16235"
16236
16237
16238    ac_config_files="$ac_config_files codenav/Makefile codenav/src/Makefile"
16239
16240
16241
16242
16243
16244
16245    # Check whether --enable-commander was given.
16246if test "${enable_commander+set}" = set; then :
16247  enableval=$enable_commander; enable_commander=$enableval
16248else
16249  case $gp_enable_all in #(
16250  no) :
16251    enable_commander=no ;; #(
16252  yes) :
16253    enable_commander=yes ;; #(
16254  *) :
16255    enable_commander=auto ;;
16256esac
16257fi
16258
16259
16260
16261
16262
16263
16264    gtk_dep=0
16265    if test $gtk_dep -ne 0; then
16266
16267
16268
16269    if test "$enable_commander" = no; then :
16270
16271else
16272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Commander" >&5
16273$as_echo_n "checking whether the GTK version in use is compatible with plugin Commander... " >&6; }
16274           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
16275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16276$as_echo "yes" >&6; }
16277else
16278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16279$as_echo "no" >&6; }
16280                  if test "$enable_commander" = yes; then :
16281  as_fn_error $? "Commander is not compatible with the GTK version in use" "$LINENO" 5
16282elif test "$enable_commander" = auto; then :
16283  enable_commander=no
16284fi
16285fi
16286fi
16287
16288    fi
16289
16290    if test "$enable_commander" = "yes"; then
16291
16292pkg_failed=no
16293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.16
16294                          glib-2.0 >= 2.4" >&5
16295$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.16
16296                          glib-2.0 >= 2.4... " >&6; }
16297
16298if test -n "$COMMANDER_CFLAGS"; then
16299    pkg_cv_COMMANDER_CFLAGS="$COMMANDER_CFLAGS"
16300 elif test -n "$PKG_CONFIG"; then
16301    if test -n "$PKG_CONFIG" && \
16302    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.16
16303                          glib-2.0 >= 2.4\""; } >&5
16304  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.16
16305                          glib-2.0 >= 2.4") 2>&5
16306  ac_status=$?
16307  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16308  test $ac_status = 0; }; then
16309  pkg_cv_COMMANDER_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.16
16310                          glib-2.0 >= 2.4" 2>/dev/null`
16311		      test "x$?" != "x0" && pkg_failed=yes
16312else
16313  pkg_failed=yes
16314fi
16315 else
16316    pkg_failed=untried
16317fi
16318if test -n "$COMMANDER_LIBS"; then
16319    pkg_cv_COMMANDER_LIBS="$COMMANDER_LIBS"
16320 elif test -n "$PKG_CONFIG"; then
16321    if test -n "$PKG_CONFIG" && \
16322    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.16
16323                          glib-2.0 >= 2.4\""; } >&5
16324  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.16
16325                          glib-2.0 >= 2.4") 2>&5
16326  ac_status=$?
16327  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16328  test $ac_status = 0; }; then
16329  pkg_cv_COMMANDER_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.16
16330                          glib-2.0 >= 2.4" 2>/dev/null`
16331		      test "x$?" != "x0" && pkg_failed=yes
16332else
16333  pkg_failed=yes
16334fi
16335 else
16336    pkg_failed=untried
16337fi
16338
16339
16340
16341if test $pkg_failed = yes; then
16342        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16343$as_echo "no" >&6; }
16344
16345if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16346        _pkg_short_errors_supported=yes
16347else
16348        _pkg_short_errors_supported=no
16349fi
16350        if test $_pkg_short_errors_supported = yes; then
16351	        COMMANDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.16
16352                          glib-2.0 >= 2.4" 2>&1`
16353        else
16354	        COMMANDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.16
16355                          glib-2.0 >= 2.4" 2>&1`
16356        fi
16357	# Put the nasty error message in config.log where it belongs
16358	echo "$COMMANDER_PKG_ERRORS" >&5
16359
16360	as_fn_error $? "Package requirements ($GP_GTK_PACKAGE >= 2.16
16361                          glib-2.0 >= 2.4) were not met:
16362
16363$COMMANDER_PKG_ERRORS
16364
16365Consider adjusting the PKG_CONFIG_PATH environment variable if you
16366installed software in a non-standard prefix.
16367
16368Alternatively, you may set the environment variables COMMANDER_CFLAGS
16369and COMMANDER_LIBS to avoid the need to call pkg-config.
16370See the pkg-config man page for more details." "$LINENO" 5
16371elif test $pkg_failed = untried; then
16372        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16373$as_echo "no" >&6; }
16374	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16375$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16376as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16377is in your PATH or set the PKG_CONFIG environment variable to the full
16378path to pkg-config.
16379
16380Alternatively, you may set the environment variables COMMANDER_CFLAGS
16381and COMMANDER_LIBS to avoid the need to call pkg-config.
16382See the pkg-config man page for more details.
16383
16384To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16385See \`config.log' for more details" "$LINENO" 5; }
16386else
16387	COMMANDER_CFLAGS=$pkg_cv_COMMANDER_CFLAGS
16388	COMMANDER_LIBS=$pkg_cv_COMMANDER_LIBS
16389        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16390$as_echo "yes" >&6; }
16391
16392fi
16393    elif test "$enable_commander" = "auto"; then
16394
16395pkg_failed=no
16396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.16
16397                          glib-2.0 >= 2.4" >&5
16398$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.16
16399                          glib-2.0 >= 2.4... " >&6; }
16400
16401if test -n "$COMMANDER_CFLAGS"; then
16402    pkg_cv_COMMANDER_CFLAGS="$COMMANDER_CFLAGS"
16403 elif test -n "$PKG_CONFIG"; then
16404    if test -n "$PKG_CONFIG" && \
16405    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.16
16406                          glib-2.0 >= 2.4\""; } >&5
16407  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.16
16408                          glib-2.0 >= 2.4") 2>&5
16409  ac_status=$?
16410  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16411  test $ac_status = 0; }; then
16412  pkg_cv_COMMANDER_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.16
16413                          glib-2.0 >= 2.4" 2>/dev/null`
16414		      test "x$?" != "x0" && pkg_failed=yes
16415else
16416  pkg_failed=yes
16417fi
16418 else
16419    pkg_failed=untried
16420fi
16421if test -n "$COMMANDER_LIBS"; then
16422    pkg_cv_COMMANDER_LIBS="$COMMANDER_LIBS"
16423 elif test -n "$PKG_CONFIG"; then
16424    if test -n "$PKG_CONFIG" && \
16425    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.16
16426                          glib-2.0 >= 2.4\""; } >&5
16427  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.16
16428                          glib-2.0 >= 2.4") 2>&5
16429  ac_status=$?
16430  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16431  test $ac_status = 0; }; then
16432  pkg_cv_COMMANDER_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.16
16433                          glib-2.0 >= 2.4" 2>/dev/null`
16434		      test "x$?" != "x0" && pkg_failed=yes
16435else
16436  pkg_failed=yes
16437fi
16438 else
16439    pkg_failed=untried
16440fi
16441
16442
16443
16444if test $pkg_failed = yes; then
16445        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16446$as_echo "no" >&6; }
16447
16448if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16449        _pkg_short_errors_supported=yes
16450else
16451        _pkg_short_errors_supported=no
16452fi
16453        if test $_pkg_short_errors_supported = yes; then
16454	        COMMANDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.16
16455                          glib-2.0 >= 2.4" 2>&1`
16456        else
16457	        COMMANDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.16
16458                          glib-2.0 >= 2.4" 2>&1`
16459        fi
16460	# Put the nasty error message in config.log where it belongs
16461	echo "$COMMANDER_PKG_ERRORS" >&5
16462
16463	enable_commander=no
16464elif test $pkg_failed = untried; then
16465        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16466$as_echo "no" >&6; }
16467	enable_commander=no
16468else
16469	COMMANDER_CFLAGS=$pkg_cv_COMMANDER_CFLAGS
16470	COMMANDER_LIBS=$pkg_cv_COMMANDER_LIBS
16471        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16472$as_echo "yes" >&6; }
16473
16474fi
16475    fi
16476
16477
16478
16479        if test "$enable_commander" = "auto"; then
16480        enable_commander=yes
16481    fi
16482     if test "$enable_commander" = yes; then
16483  ENABLE_COMMANDER_TRUE=
16484  ENABLE_COMMANDER_FALSE='#'
16485else
16486  ENABLE_COMMANDER_TRUE='#'
16487  ENABLE_COMMANDER_FALSE=
16488fi
16489
16490
16491    plugins_statusmsg="${plugins_statusmsg}Commander:$enable_commander
16492"
16493
16494
16495
16496    ac_config_files="$ac_config_files commander/Makefile commander/src/Makefile"
16497
16498
16499
16500    # Check whether --enable-utilslib was given.
16501if test "${enable_utilslib+set}" = set; then :
16502  enableval=$enable_utilslib; enable_utilslib=$enableval
16503else
16504  enable_utilslib=auto
16505fi
16506
16507
16508
16509
16510
16511
16512    # Check whether --enable-debugger was given.
16513if test "${enable_debugger+set}" = set; then :
16514  enableval=$enable_debugger; enable_debugger=$enableval
16515else
16516  case $gp_enable_all in #(
16517  no) :
16518    enable_debugger=no ;; #(
16519  yes) :
16520    enable_debugger=yes ;; #(
16521  *) :
16522    enable_debugger=auto ;;
16523esac
16524fi
16525
16526
16527
16528
16529
16530    if test "$enable_debugger" != no &&
16531           test "$enable_utilslib" != yes; then :
16532  if test "$enable_utilslib" = "no"; then :
16533  if test "$enable_debugger" = yes; then :
16534  as_fn_error $? "Plugin Debugger depends on utilslib which is disabled" "$LINENO" 5
16535else
16536  enable_debugger=no
16537fi
16538else
16539  enable_utilslib=yes
16540fi
16541fi
16542
16543
16544    if test "$enable_debugger" != no; then :
16545
16546
16547    if test ${GP_GTK_VERSION_MAJOR} = 3; then :
16548  utilslib_vte_package=vte-2.91
16549else
16550  utilslib_vte_package=vte
16551fi
16552
16553
16554pkg_failed=no
16555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $utilslib_vte_package" >&5
16556$as_echo_n "checking for $utilslib_vte_package... " >&6; }
16557
16558if test -n "$UTILSLIB_CFLAGS"; then
16559    pkg_cv_UTILSLIB_CFLAGS="$UTILSLIB_CFLAGS"
16560 elif test -n "$PKG_CONFIG"; then
16561    if test -n "$PKG_CONFIG" && \
16562    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$utilslib_vte_package\""; } >&5
16563  ($PKG_CONFIG --exists --print-errors "$utilslib_vte_package") 2>&5
16564  ac_status=$?
16565  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16566  test $ac_status = 0; }; then
16567  pkg_cv_UTILSLIB_CFLAGS=`$PKG_CONFIG --cflags "$utilslib_vte_package" 2>/dev/null`
16568		      test "x$?" != "x0" && pkg_failed=yes
16569else
16570  pkg_failed=yes
16571fi
16572 else
16573    pkg_failed=untried
16574fi
16575if test -n "$UTILSLIB_LIBS"; then
16576    pkg_cv_UTILSLIB_LIBS="$UTILSLIB_LIBS"
16577 elif test -n "$PKG_CONFIG"; then
16578    if test -n "$PKG_CONFIG" && \
16579    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$utilslib_vte_package\""; } >&5
16580  ($PKG_CONFIG --exists --print-errors "$utilslib_vte_package") 2>&5
16581  ac_status=$?
16582  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16583  test $ac_status = 0; }; then
16584  pkg_cv_UTILSLIB_LIBS=`$PKG_CONFIG --libs "$utilslib_vte_package" 2>/dev/null`
16585		      test "x$?" != "x0" && pkg_failed=yes
16586else
16587  pkg_failed=yes
16588fi
16589 else
16590    pkg_failed=untried
16591fi
16592
16593
16594
16595if test $pkg_failed = yes; then
16596        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16597$as_echo "no" >&6; }
16598
16599if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16600        _pkg_short_errors_supported=yes
16601else
16602        _pkg_short_errors_supported=no
16603fi
16604        if test $_pkg_short_errors_supported = yes; then
16605	        UTILSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$utilslib_vte_package" 2>&1`
16606        else
16607	        UTILSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$utilslib_vte_package" 2>&1`
16608        fi
16609	# Put the nasty error message in config.log where it belongs
16610	echo "$UTILSLIB_PKG_ERRORS" >&5
16611
16612	utilslib_have_vte=no
16613elif test $pkg_failed = untried; then
16614        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16615$as_echo "no" >&6; }
16616	utilslib_have_vte=no
16617else
16618	UTILSLIB_CFLAGS=$pkg_cv_UTILSLIB_CFLAGS
16619	UTILSLIB_LIBS=$pkg_cv_UTILSLIB_LIBS
16620        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16621$as_echo "yes" >&6; }
16622	utilslib_have_vte=yes
16623fi
16624           if test "$utilslib_have_vte" != yes || test "$enable_utilslib" = no; then :
16625  if test "$enable_debugger" = yes; then :
16626  as_fn_error $? "Plugin Debugger depends on utilslib VTE support which is not available" "$LINENO" 5
16627else
16628  enable_debugger=no
16629fi
16630else
16631  enable_utilslib=yes
16632fi
16633fi
16634
16635
16636
16637    if test ${GP_GTK_VERSION_MAJOR} = 3; then :
16638  vte_package=vte-2.91 vte_version=0.46
16639else
16640  vte_package=vte vte_version=0.24
16641fi
16642
16643
16644
16645
16646    gtk_dep=0
16647    if test $gtk_dep -ne 0; then
16648
16649
16650
16651    if test "$enable_debugger" = no; then :
16652
16653else
16654  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin debugger" >&5
16655$as_echo_n "checking whether the GTK version in use is compatible with plugin debugger... " >&6; }
16656           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
16657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16658$as_echo "yes" >&6; }
16659else
16660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16661$as_echo "no" >&6; }
16662                  if test "$enable_debugger" = yes; then :
16663  as_fn_error $? "debugger is not compatible with the GTK version in use" "$LINENO" 5
16664elif test "$enable_debugger" = auto; then :
16665  enable_debugger=no
16666fi
16667fi
16668fi
16669
16670    fi
16671
16672    if test "$enable_debugger" = "yes"; then
16673
16674pkg_failed=no
16675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${vte_package} >= ${vte_version}" >&5
16676$as_echo_n "checking for ${vte_package} >= ${vte_version}... " >&6; }
16677
16678if test -n "$VTE_CFLAGS"; then
16679    pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
16680 elif test -n "$PKG_CONFIG"; then
16681    if test -n "$PKG_CONFIG" && \
16682    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${vte_package} >= \${vte_version}\""; } >&5
16683  ($PKG_CONFIG --exists --print-errors "${vte_package} >= ${vte_version}") 2>&5
16684  ac_status=$?
16685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16686  test $ac_status = 0; }; then
16687  pkg_cv_VTE_CFLAGS=`$PKG_CONFIG --cflags "${vte_package} >= ${vte_version}" 2>/dev/null`
16688		      test "x$?" != "x0" && pkg_failed=yes
16689else
16690  pkg_failed=yes
16691fi
16692 else
16693    pkg_failed=untried
16694fi
16695if test -n "$VTE_LIBS"; then
16696    pkg_cv_VTE_LIBS="$VTE_LIBS"
16697 elif test -n "$PKG_CONFIG"; then
16698    if test -n "$PKG_CONFIG" && \
16699    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${vte_package} >= \${vte_version}\""; } >&5
16700  ($PKG_CONFIG --exists --print-errors "${vte_package} >= ${vte_version}") 2>&5
16701  ac_status=$?
16702  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16703  test $ac_status = 0; }; then
16704  pkg_cv_VTE_LIBS=`$PKG_CONFIG --libs "${vte_package} >= ${vte_version}" 2>/dev/null`
16705		      test "x$?" != "x0" && pkg_failed=yes
16706else
16707  pkg_failed=yes
16708fi
16709 else
16710    pkg_failed=untried
16711fi
16712
16713
16714
16715if test $pkg_failed = yes; then
16716        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16717$as_echo "no" >&6; }
16718
16719if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16720        _pkg_short_errors_supported=yes
16721else
16722        _pkg_short_errors_supported=no
16723fi
16724        if test $_pkg_short_errors_supported = yes; then
16725	        VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${vte_package} >= ${vte_version}" 2>&1`
16726        else
16727	        VTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${vte_package} >= ${vte_version}" 2>&1`
16728        fi
16729	# Put the nasty error message in config.log where it belongs
16730	echo "$VTE_PKG_ERRORS" >&5
16731
16732	as_fn_error $? "Package requirements (${vte_package} >= ${vte_version}) were not met:
16733
16734$VTE_PKG_ERRORS
16735
16736Consider adjusting the PKG_CONFIG_PATH environment variable if you
16737installed software in a non-standard prefix.
16738
16739Alternatively, you may set the environment variables VTE_CFLAGS
16740and VTE_LIBS to avoid the need to call pkg-config.
16741See the pkg-config man page for more details." "$LINENO" 5
16742elif test $pkg_failed = untried; then
16743        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16744$as_echo "no" >&6; }
16745	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16746$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16747as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16748is in your PATH or set the PKG_CONFIG environment variable to the full
16749path to pkg-config.
16750
16751Alternatively, you may set the environment variables VTE_CFLAGS
16752and VTE_LIBS to avoid the need to call pkg-config.
16753See the pkg-config man page for more details.
16754
16755To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16756See \`config.log' for more details" "$LINENO" 5; }
16757else
16758	VTE_CFLAGS=$pkg_cv_VTE_CFLAGS
16759	VTE_LIBS=$pkg_cv_VTE_LIBS
16760        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16761$as_echo "yes" >&6; }
16762
16763fi
16764    elif test "$enable_debugger" = "auto"; then
16765
16766pkg_failed=no
16767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${vte_package} >= ${vte_version}" >&5
16768$as_echo_n "checking for ${vte_package} >= ${vte_version}... " >&6; }
16769
16770if test -n "$VTE_CFLAGS"; then
16771    pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
16772 elif test -n "$PKG_CONFIG"; then
16773    if test -n "$PKG_CONFIG" && \
16774    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${vte_package} >= \${vte_version}\""; } >&5
16775  ($PKG_CONFIG --exists --print-errors "${vte_package} >= ${vte_version}") 2>&5
16776  ac_status=$?
16777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16778  test $ac_status = 0; }; then
16779  pkg_cv_VTE_CFLAGS=`$PKG_CONFIG --cflags "${vte_package} >= ${vte_version}" 2>/dev/null`
16780		      test "x$?" != "x0" && pkg_failed=yes
16781else
16782  pkg_failed=yes
16783fi
16784 else
16785    pkg_failed=untried
16786fi
16787if test -n "$VTE_LIBS"; then
16788    pkg_cv_VTE_LIBS="$VTE_LIBS"
16789 elif test -n "$PKG_CONFIG"; then
16790    if test -n "$PKG_CONFIG" && \
16791    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${vte_package} >= \${vte_version}\""; } >&5
16792  ($PKG_CONFIG --exists --print-errors "${vte_package} >= ${vte_version}") 2>&5
16793  ac_status=$?
16794  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16795  test $ac_status = 0; }; then
16796  pkg_cv_VTE_LIBS=`$PKG_CONFIG --libs "${vte_package} >= ${vte_version}" 2>/dev/null`
16797		      test "x$?" != "x0" && pkg_failed=yes
16798else
16799  pkg_failed=yes
16800fi
16801 else
16802    pkg_failed=untried
16803fi
16804
16805
16806
16807if test $pkg_failed = yes; then
16808        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16809$as_echo "no" >&6; }
16810
16811if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16812        _pkg_short_errors_supported=yes
16813else
16814        _pkg_short_errors_supported=no
16815fi
16816        if test $_pkg_short_errors_supported = yes; then
16817	        VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${vte_package} >= ${vte_version}" 2>&1`
16818        else
16819	        VTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${vte_package} >= ${vte_version}" 2>&1`
16820        fi
16821	# Put the nasty error message in config.log where it belongs
16822	echo "$VTE_PKG_ERRORS" >&5
16823
16824	enable_debugger=no
16825elif test $pkg_failed = untried; then
16826        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16827$as_echo "no" >&6; }
16828	enable_debugger=no
16829else
16830	VTE_CFLAGS=$pkg_cv_VTE_CFLAGS
16831	VTE_LIBS=$pkg_cv_VTE_LIBS
16832        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16833$as_echo "yes" >&6; }
16834
16835fi
16836    fi
16837
16838    for ac_header in util.h pty.h libutil.h
16839do :
16840  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16841ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16842if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16843  cat >>confdefs.h <<_ACEOF
16844#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16845_ACEOF
16846
16847fi
16848
16849done
16850
16851
16852
16853        if test "$enable_debugger" = "auto"; then
16854        enable_debugger=yes
16855    fi
16856     if test "$enable_debugger" = yes; then
16857  ENABLE_DEBUGGER_TRUE=
16858  ENABLE_DEBUGGER_FALSE='#'
16859else
16860  ENABLE_DEBUGGER_TRUE='#'
16861  ENABLE_DEBUGGER_FALSE=
16862fi
16863
16864
16865    plugins_statusmsg="${plugins_statusmsg}Debugger:$enable_debugger
16866"
16867
16868
16869    ac_config_files="$ac_config_files debugger/Makefile debugger/src/Makefile debugger/img/Makefile"
16870
16871
16872
16873
16874
16875
16876    # Check whether --enable-defineformat was given.
16877if test "${enable_defineformat+set}" = set; then :
16878  enableval=$enable_defineformat; enable_defineformat=$enableval
16879else
16880  case $gp_enable_all in #(
16881  no) :
16882    enable_defineformat=no ;; #(
16883  yes) :
16884    enable_defineformat=yes ;; #(
16885  *) :
16886    enable_defineformat=auto ;;
16887esac
16888fi
16889
16890
16891
16892
16893
16894    gtk_dep=0
16895    if test $gtk_dep -ne 0; then
16896
16897
16898
16899    if test "$enable_defineformat" = no; then :
16900
16901else
16902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Defineformat" >&5
16903$as_echo_n "checking whether the GTK version in use is compatible with plugin Defineformat... " >&6; }
16904           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
16905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16906$as_echo "yes" >&6; }
16907else
16908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16909$as_echo "no" >&6; }
16910                  if test "$enable_defineformat" = yes; then :
16911  as_fn_error $? "Defineformat is not compatible with the GTK version in use" "$LINENO" 5
16912elif test "$enable_defineformat" = auto; then :
16913  enable_defineformat=no
16914fi
16915fi
16916fi
16917
16918    fi
16919
16920    if test "$enable_defineformat" = "yes"; then
16921
16922pkg_failed=no
16923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.8" >&5
16924$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.8... " >&6; }
16925
16926if test -n "$DEFINEFORMAT_CFLAGS"; then
16927    pkg_cv_DEFINEFORMAT_CFLAGS="$DEFINEFORMAT_CFLAGS"
16928 elif test -n "$PKG_CONFIG"; then
16929    if test -n "$PKG_CONFIG" && \
16930    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
16931  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
16932  ac_status=$?
16933  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16934  test $ac_status = 0; }; then
16935  pkg_cv_DEFINEFORMAT_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
16936		      test "x$?" != "x0" && pkg_failed=yes
16937else
16938  pkg_failed=yes
16939fi
16940 else
16941    pkg_failed=untried
16942fi
16943if test -n "$DEFINEFORMAT_LIBS"; then
16944    pkg_cv_DEFINEFORMAT_LIBS="$DEFINEFORMAT_LIBS"
16945 elif test -n "$PKG_CONFIG"; then
16946    if test -n "$PKG_CONFIG" && \
16947    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
16948  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
16949  ac_status=$?
16950  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16951  test $ac_status = 0; }; then
16952  pkg_cv_DEFINEFORMAT_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
16953		      test "x$?" != "x0" && pkg_failed=yes
16954else
16955  pkg_failed=yes
16956fi
16957 else
16958    pkg_failed=untried
16959fi
16960
16961
16962
16963if test $pkg_failed = yes; then
16964        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16965$as_echo "no" >&6; }
16966
16967if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16968        _pkg_short_errors_supported=yes
16969else
16970        _pkg_short_errors_supported=no
16971fi
16972        if test $_pkg_short_errors_supported = yes; then
16973	        DEFINEFORMAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
16974        else
16975	        DEFINEFORMAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
16976        fi
16977	# Put the nasty error message in config.log where it belongs
16978	echo "$DEFINEFORMAT_PKG_ERRORS" >&5
16979
16980	as_fn_error $? "Package requirements ($GP_GTK_PACKAGE >= 2.8) were not met:
16981
16982$DEFINEFORMAT_PKG_ERRORS
16983
16984Consider adjusting the PKG_CONFIG_PATH environment variable if you
16985installed software in a non-standard prefix.
16986
16987Alternatively, you may set the environment variables DEFINEFORMAT_CFLAGS
16988and DEFINEFORMAT_LIBS to avoid the need to call pkg-config.
16989See the pkg-config man page for more details." "$LINENO" 5
16990elif test $pkg_failed = untried; then
16991        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16992$as_echo "no" >&6; }
16993	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16994$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16995as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16996is in your PATH or set the PKG_CONFIG environment variable to the full
16997path to pkg-config.
16998
16999Alternatively, you may set the environment variables DEFINEFORMAT_CFLAGS
17000and DEFINEFORMAT_LIBS to avoid the need to call pkg-config.
17001See the pkg-config man page for more details.
17002
17003To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17004See \`config.log' for more details" "$LINENO" 5; }
17005else
17006	DEFINEFORMAT_CFLAGS=$pkg_cv_DEFINEFORMAT_CFLAGS
17007	DEFINEFORMAT_LIBS=$pkg_cv_DEFINEFORMAT_LIBS
17008        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17009$as_echo "yes" >&6; }
17010
17011fi
17012    elif test "$enable_defineformat" = "auto"; then
17013
17014pkg_failed=no
17015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.8" >&5
17016$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.8... " >&6; }
17017
17018if test -n "$DEFINEFORMAT_CFLAGS"; then
17019    pkg_cv_DEFINEFORMAT_CFLAGS="$DEFINEFORMAT_CFLAGS"
17020 elif test -n "$PKG_CONFIG"; then
17021    if test -n "$PKG_CONFIG" && \
17022    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
17023  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
17024  ac_status=$?
17025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17026  test $ac_status = 0; }; then
17027  pkg_cv_DEFINEFORMAT_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
17028		      test "x$?" != "x0" && pkg_failed=yes
17029else
17030  pkg_failed=yes
17031fi
17032 else
17033    pkg_failed=untried
17034fi
17035if test -n "$DEFINEFORMAT_LIBS"; then
17036    pkg_cv_DEFINEFORMAT_LIBS="$DEFINEFORMAT_LIBS"
17037 elif test -n "$PKG_CONFIG"; then
17038    if test -n "$PKG_CONFIG" && \
17039    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.8\""; } >&5
17040  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.8") 2>&5
17041  ac_status=$?
17042  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17043  test $ac_status = 0; }; then
17044  pkg_cv_DEFINEFORMAT_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.8" 2>/dev/null`
17045		      test "x$?" != "x0" && pkg_failed=yes
17046else
17047  pkg_failed=yes
17048fi
17049 else
17050    pkg_failed=untried
17051fi
17052
17053
17054
17055if test $pkg_failed = yes; then
17056        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17057$as_echo "no" >&6; }
17058
17059if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17060        _pkg_short_errors_supported=yes
17061else
17062        _pkg_short_errors_supported=no
17063fi
17064        if test $_pkg_short_errors_supported = yes; then
17065	        DEFINEFORMAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
17066        else
17067	        DEFINEFORMAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.8" 2>&1`
17068        fi
17069	# Put the nasty error message in config.log where it belongs
17070	echo "$DEFINEFORMAT_PKG_ERRORS" >&5
17071
17072	enable_defineformat=no
17073elif test $pkg_failed = untried; then
17074        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17075$as_echo "no" >&6; }
17076	enable_defineformat=no
17077else
17078	DEFINEFORMAT_CFLAGS=$pkg_cv_DEFINEFORMAT_CFLAGS
17079	DEFINEFORMAT_LIBS=$pkg_cv_DEFINEFORMAT_LIBS
17080        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17081$as_echo "yes" >&6; }
17082
17083fi
17084    fi
17085
17086
17087        if test "$enable_defineformat" = "auto"; then
17088        enable_defineformat=yes
17089    fi
17090     if test "$enable_defineformat" = yes; then
17091  ENABLE_DEFINEFORMAT_TRUE=
17092  ENABLE_DEFINEFORMAT_FALSE='#'
17093else
17094  ENABLE_DEFINEFORMAT_TRUE='#'
17095  ENABLE_DEFINEFORMAT_FALSE=
17096fi
17097
17098
17099    plugins_statusmsg="${plugins_statusmsg}Defineformat:$enable_defineformat
17100"
17101
17102
17103    ac_config_files="$ac_config_files defineformat/Makefile defineformat/src/Makefile"
17104
17105
17106
17107
17108
17109
17110    # Check whether --enable-devhelp was given.
17111if test "${enable_devhelp+set}" = set; then :
17112  enableval=$enable_devhelp; enable_devhelp=$enableval
17113else
17114  case $gp_enable_all in #(
17115  no) :
17116    enable_devhelp=no ;; #(
17117  yes) :
17118    enable_devhelp=yes ;; #(
17119  *) :
17120    enable_devhelp=auto ;;
17121esac
17122fi
17123
17124
17125
17126    GTK_VERSION=2.16
17127    WEBKIT_VERSION=1.1.13
17128    GCONF_VERSION=2.6.0
17129    LIBWNCK_VERSION=2.10.0
17130
17131    # Extract the first word of "glib-genmarshal", so it can be a program name with args.
17132set dummy glib-genmarshal; ac_word=$2
17133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17134$as_echo_n "checking for $ac_word... " >&6; }
17135if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
17136  $as_echo_n "(cached) " >&6
17137else
17138  case $GLIB_GENMARSHAL in
17139  [\\/]* | ?:[\\/]*)
17140  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
17141  ;;
17142  *)
17143  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17144for as_dir in $PATH
17145do
17146  IFS=$as_save_IFS
17147  test -z "$as_dir" && as_dir=.
17148    for ac_exec_ext in '' $ac_executable_extensions; do
17149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17150    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
17151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17152    break 2
17153  fi
17154done
17155  done
17156IFS=$as_save_IFS
17157
17158  ;;
17159esac
17160fi
17161GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
17162if test -n "$GLIB_GENMARSHAL"; then
17163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
17164$as_echo "$GLIB_GENMARSHAL" >&6; }
17165else
17166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17167$as_echo "no" >&6; }
17168fi
17169
17170
17171    # Extract the first word of "glib-mkenums", so it can be a program name with args.
17172set dummy glib-mkenums; ac_word=$2
17173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17174$as_echo_n "checking for $ac_word... " >&6; }
17175if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
17176  $as_echo_n "(cached) " >&6
17177else
17178  case $GLIB_MKENUMS in
17179  [\\/]* | ?:[\\/]*)
17180  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
17181  ;;
17182  *)
17183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17184for as_dir in $PATH
17185do
17186  IFS=$as_save_IFS
17187  test -z "$as_dir" && as_dir=.
17188    for ac_exec_ext in '' $ac_executable_extensions; do
17189  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17190    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
17191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17192    break 2
17193  fi
17194done
17195  done
17196IFS=$as_save_IFS
17197
17198  ;;
17199esac
17200fi
17201GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
17202if test -n "$GLIB_MKENUMS"; then
17203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
17204$as_echo "$GLIB_MKENUMS" >&6; }
17205else
17206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17207$as_echo "no" >&6; }
17208fi
17209
17210
17211
17212
17213
17214
17215    gtk_dep=2
17216    if test $gtk_dep -ne 0; then
17217
17218
17219
17220    if test "$enable_devhelp" = no; then :
17221
17222else
17223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin devhelp" >&5
17224$as_echo_n "checking whether the GTK version in use is compatible with plugin devhelp... " >&6; }
17225           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
17226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17227$as_echo "yes" >&6; }
17228else
17229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17230$as_echo "no" >&6; }
17231                  if test "$enable_devhelp" = yes; then :
17232  as_fn_error $? "devhelp is not compatible with the GTK version in use" "$LINENO" 5
17233elif test "$enable_devhelp" = auto; then :
17234  enable_devhelp=no
17235fi
17236fi
17237fi
17238
17239    fi
17240
17241    if test "$enable_devhelp" = "yes"; then
17242
17243pkg_failed=no
17244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= ${GTK_VERSION}
17245                          webkit-1.0 >= ${WEBKIT_VERSION}
17246                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17247                          gconf-2.0 >= ${GCONF_VERSION}
17248                          gthread-2.0
17249                          zlib" >&5
17250$as_echo_n "checking for gtk+-2.0 >= ${GTK_VERSION}
17251                          webkit-1.0 >= ${WEBKIT_VERSION}
17252                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17253                          gconf-2.0 >= ${GCONF_VERSION}
17254                          gthread-2.0
17255                          zlib... " >&6; }
17256
17257if test -n "$DEVHELP_CFLAGS"; then
17258    pkg_cv_DEVHELP_CFLAGS="$DEVHELP_CFLAGS"
17259 elif test -n "$PKG_CONFIG"; then
17260    if test -n "$PKG_CONFIG" && \
17261    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${GTK_VERSION}
17262                          webkit-1.0 >= \${WEBKIT_VERSION}
17263                          libwnck-1.0 >= \${LIBWNCK_VERSION}
17264                          gconf-2.0 >= \${GCONF_VERSION}
17265                          gthread-2.0
17266                          zlib\""; } >&5
17267  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${GTK_VERSION}
17268                          webkit-1.0 >= ${WEBKIT_VERSION}
17269                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17270                          gconf-2.0 >= ${GCONF_VERSION}
17271                          gthread-2.0
17272                          zlib") 2>&5
17273  ac_status=$?
17274  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17275  test $ac_status = 0; }; then
17276  pkg_cv_DEVHELP_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= ${GTK_VERSION}
17277                          webkit-1.0 >= ${WEBKIT_VERSION}
17278                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17279                          gconf-2.0 >= ${GCONF_VERSION}
17280                          gthread-2.0
17281                          zlib" 2>/dev/null`
17282		      test "x$?" != "x0" && pkg_failed=yes
17283else
17284  pkg_failed=yes
17285fi
17286 else
17287    pkg_failed=untried
17288fi
17289if test -n "$DEVHELP_LIBS"; then
17290    pkg_cv_DEVHELP_LIBS="$DEVHELP_LIBS"
17291 elif test -n "$PKG_CONFIG"; then
17292    if test -n "$PKG_CONFIG" && \
17293    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${GTK_VERSION}
17294                          webkit-1.0 >= \${WEBKIT_VERSION}
17295                          libwnck-1.0 >= \${LIBWNCK_VERSION}
17296                          gconf-2.0 >= \${GCONF_VERSION}
17297                          gthread-2.0
17298                          zlib\""; } >&5
17299  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${GTK_VERSION}
17300                          webkit-1.0 >= ${WEBKIT_VERSION}
17301                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17302                          gconf-2.0 >= ${GCONF_VERSION}
17303                          gthread-2.0
17304                          zlib") 2>&5
17305  ac_status=$?
17306  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17307  test $ac_status = 0; }; then
17308  pkg_cv_DEVHELP_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= ${GTK_VERSION}
17309                          webkit-1.0 >= ${WEBKIT_VERSION}
17310                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17311                          gconf-2.0 >= ${GCONF_VERSION}
17312                          gthread-2.0
17313                          zlib" 2>/dev/null`
17314		      test "x$?" != "x0" && pkg_failed=yes
17315else
17316  pkg_failed=yes
17317fi
17318 else
17319    pkg_failed=untried
17320fi
17321
17322
17323
17324if test $pkg_failed = yes; then
17325        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17326$as_echo "no" >&6; }
17327
17328if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17329        _pkg_short_errors_supported=yes
17330else
17331        _pkg_short_errors_supported=no
17332fi
17333        if test $_pkg_short_errors_supported = yes; then
17334	        DEVHELP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= ${GTK_VERSION}
17335                          webkit-1.0 >= ${WEBKIT_VERSION}
17336                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17337                          gconf-2.0 >= ${GCONF_VERSION}
17338                          gthread-2.0
17339                          zlib" 2>&1`
17340        else
17341	        DEVHELP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= ${GTK_VERSION}
17342                          webkit-1.0 >= ${WEBKIT_VERSION}
17343                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17344                          gconf-2.0 >= ${GCONF_VERSION}
17345                          gthread-2.0
17346                          zlib" 2>&1`
17347        fi
17348	# Put the nasty error message in config.log where it belongs
17349	echo "$DEVHELP_PKG_ERRORS" >&5
17350
17351	as_fn_error $? "Package requirements (gtk+-2.0 >= ${GTK_VERSION}
17352                          webkit-1.0 >= ${WEBKIT_VERSION}
17353                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17354                          gconf-2.0 >= ${GCONF_VERSION}
17355                          gthread-2.0
17356                          zlib) were not met:
17357
17358$DEVHELP_PKG_ERRORS
17359
17360Consider adjusting the PKG_CONFIG_PATH environment variable if you
17361installed software in a non-standard prefix.
17362
17363Alternatively, you may set the environment variables DEVHELP_CFLAGS
17364and DEVHELP_LIBS to avoid the need to call pkg-config.
17365See the pkg-config man page for more details." "$LINENO" 5
17366elif test $pkg_failed = untried; then
17367        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17368$as_echo "no" >&6; }
17369	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17371as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17372is in your PATH or set the PKG_CONFIG environment variable to the full
17373path to pkg-config.
17374
17375Alternatively, you may set the environment variables DEVHELP_CFLAGS
17376and DEVHELP_LIBS to avoid the need to call pkg-config.
17377See the pkg-config man page for more details.
17378
17379To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17380See \`config.log' for more details" "$LINENO" 5; }
17381else
17382	DEVHELP_CFLAGS=$pkg_cv_DEVHELP_CFLAGS
17383	DEVHELP_LIBS=$pkg_cv_DEVHELP_LIBS
17384        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17385$as_echo "yes" >&6; }
17386
17387fi
17388    elif test "$enable_devhelp" = "auto"; then
17389
17390pkg_failed=no
17391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= ${GTK_VERSION}
17392                          webkit-1.0 >= ${WEBKIT_VERSION}
17393                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17394                          gconf-2.0 >= ${GCONF_VERSION}
17395                          gthread-2.0
17396                          zlib" >&5
17397$as_echo_n "checking for gtk+-2.0 >= ${GTK_VERSION}
17398                          webkit-1.0 >= ${WEBKIT_VERSION}
17399                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17400                          gconf-2.0 >= ${GCONF_VERSION}
17401                          gthread-2.0
17402                          zlib... " >&6; }
17403
17404if test -n "$DEVHELP_CFLAGS"; then
17405    pkg_cv_DEVHELP_CFLAGS="$DEVHELP_CFLAGS"
17406 elif test -n "$PKG_CONFIG"; then
17407    if test -n "$PKG_CONFIG" && \
17408    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${GTK_VERSION}
17409                          webkit-1.0 >= \${WEBKIT_VERSION}
17410                          libwnck-1.0 >= \${LIBWNCK_VERSION}
17411                          gconf-2.0 >= \${GCONF_VERSION}
17412                          gthread-2.0
17413                          zlib\""; } >&5
17414  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${GTK_VERSION}
17415                          webkit-1.0 >= ${WEBKIT_VERSION}
17416                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17417                          gconf-2.0 >= ${GCONF_VERSION}
17418                          gthread-2.0
17419                          zlib") 2>&5
17420  ac_status=$?
17421  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17422  test $ac_status = 0; }; then
17423  pkg_cv_DEVHELP_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= ${GTK_VERSION}
17424                          webkit-1.0 >= ${WEBKIT_VERSION}
17425                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17426                          gconf-2.0 >= ${GCONF_VERSION}
17427                          gthread-2.0
17428                          zlib" 2>/dev/null`
17429		      test "x$?" != "x0" && pkg_failed=yes
17430else
17431  pkg_failed=yes
17432fi
17433 else
17434    pkg_failed=untried
17435fi
17436if test -n "$DEVHELP_LIBS"; then
17437    pkg_cv_DEVHELP_LIBS="$DEVHELP_LIBS"
17438 elif test -n "$PKG_CONFIG"; then
17439    if test -n "$PKG_CONFIG" && \
17440    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${GTK_VERSION}
17441                          webkit-1.0 >= \${WEBKIT_VERSION}
17442                          libwnck-1.0 >= \${LIBWNCK_VERSION}
17443                          gconf-2.0 >= \${GCONF_VERSION}
17444                          gthread-2.0
17445                          zlib\""; } >&5
17446  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${GTK_VERSION}
17447                          webkit-1.0 >= ${WEBKIT_VERSION}
17448                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17449                          gconf-2.0 >= ${GCONF_VERSION}
17450                          gthread-2.0
17451                          zlib") 2>&5
17452  ac_status=$?
17453  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17454  test $ac_status = 0; }; then
17455  pkg_cv_DEVHELP_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= ${GTK_VERSION}
17456                          webkit-1.0 >= ${WEBKIT_VERSION}
17457                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17458                          gconf-2.0 >= ${GCONF_VERSION}
17459                          gthread-2.0
17460                          zlib" 2>/dev/null`
17461		      test "x$?" != "x0" && pkg_failed=yes
17462else
17463  pkg_failed=yes
17464fi
17465 else
17466    pkg_failed=untried
17467fi
17468
17469
17470
17471if test $pkg_failed = yes; then
17472        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17473$as_echo "no" >&6; }
17474
17475if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17476        _pkg_short_errors_supported=yes
17477else
17478        _pkg_short_errors_supported=no
17479fi
17480        if test $_pkg_short_errors_supported = yes; then
17481	        DEVHELP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= ${GTK_VERSION}
17482                          webkit-1.0 >= ${WEBKIT_VERSION}
17483                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17484                          gconf-2.0 >= ${GCONF_VERSION}
17485                          gthread-2.0
17486                          zlib" 2>&1`
17487        else
17488	        DEVHELP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= ${GTK_VERSION}
17489                          webkit-1.0 >= ${WEBKIT_VERSION}
17490                          libwnck-1.0 >= ${LIBWNCK_VERSION}
17491                          gconf-2.0 >= ${GCONF_VERSION}
17492                          gthread-2.0
17493                          zlib" 2>&1`
17494        fi
17495	# Put the nasty error message in config.log where it belongs
17496	echo "$DEVHELP_PKG_ERRORS" >&5
17497
17498	enable_devhelp=no
17499elif test $pkg_failed = untried; then
17500        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17501$as_echo "no" >&6; }
17502	enable_devhelp=no
17503else
17504	DEVHELP_CFLAGS=$pkg_cv_DEVHELP_CFLAGS
17505	DEVHELP_LIBS=$pkg_cv_DEVHELP_LIBS
17506        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17507$as_echo "yes" >&6; }
17508
17509fi
17510    fi
17511
17512
17513
17514        if test "$enable_devhelp" = "auto"; then
17515        enable_devhelp=yes
17516    fi
17517     if test "$enable_devhelp" = yes; then
17518  ENABLE_DEVHELP_TRUE=
17519  ENABLE_DEVHELP_FALSE='#'
17520else
17521  ENABLE_DEVHELP_TRUE='#'
17522  ENABLE_DEVHELP_FALSE=
17523fi
17524
17525
17526    plugins_statusmsg="${plugins_statusmsg}DevHelp:$enable_devhelp
17527"
17528
17529
17530
17531    ac_config_files="$ac_config_files devhelp/Makefile devhelp/devhelp/Makefile devhelp/src/Makefile devhelp/data/Makefile"
17532
17533
17534
17535
17536
17537
17538    # Check whether --enable-geanyctags was given.
17539if test "${enable_geanyctags+set}" = set; then :
17540  enableval=$enable_geanyctags; enable_geanyctags=$enableval
17541else
17542  case $gp_enable_all in #(
17543  no) :
17544    enable_geanyctags=no ;; #(
17545  yes) :
17546    enable_geanyctags=yes ;; #(
17547  *) :
17548    enable_geanyctags=auto ;;
17549esac
17550fi
17551
17552
17553
17554        if test "$enable_geanyctags" = "auto"; then
17555        enable_geanyctags=yes
17556    fi
17557     if test "$enable_geanyctags" = yes; then
17558  ENABLE_GEANYCTAGS_TRUE=
17559  ENABLE_GEANYCTAGS_FALSE='#'
17560else
17561  ENABLE_GEANYCTAGS_TRUE='#'
17562  ENABLE_GEANYCTAGS_FALSE=
17563fi
17564
17565
17566    plugins_statusmsg="${plugins_statusmsg}GeanyCtags:$enable_geanyctags
17567"
17568
17569
17570    ac_config_files="$ac_config_files geanyctags/Makefile geanyctags/src/Makefile"
17571
17572
17573
17574
17575
17576
17577    # Check whether --enable-geanydoc was given.
17578if test "${enable_geanydoc+set}" = set; then :
17579  enableval=$enable_geanydoc; enable_geanydoc=$enableval
17580else
17581  case $gp_enable_all in #(
17582  no) :
17583    enable_geanydoc=no ;; #(
17584  yes) :
17585    enable_geanydoc=yes ;; #(
17586  *) :
17587    enable_geanydoc=auto ;;
17588esac
17589fi
17590
17591
17592
17593        if test "$enable_geanydoc" = "auto"; then
17594        enable_geanydoc=yes
17595    fi
17596     if test "$enable_geanydoc" = yes; then
17597  ENABLE_GEANYDOC_TRUE=
17598  ENABLE_GEANYDOC_FALSE='#'
17599else
17600  ENABLE_GEANYDOC_TRUE='#'
17601  ENABLE_GEANYDOC_FALSE=
17602fi
17603
17604
17605    plugins_statusmsg="${plugins_statusmsg}GeanyDoc:$enable_geanydoc
17606"
17607
17608
17609    ac_config_files="$ac_config_files geanydoc/Makefile geanydoc/src/Makefile geanydoc/tests/Makefile"
17610
17611
17612
17613
17614
17615
17616    # Check whether --enable-geanyextrasel was given.
17617if test "${enable_geanyextrasel+set}" = set; then :
17618  enableval=$enable_geanyextrasel; enable_geanyextrasel=$enableval
17619else
17620  case $gp_enable_all in #(
17621  no) :
17622    enable_geanyextrasel=no ;; #(
17623  yes) :
17624    enable_geanyextrasel=yes ;; #(
17625  *) :
17626    enable_geanyextrasel=yes ;;
17627esac
17628fi
17629
17630
17631
17632        if test "$enable_geanyextrasel" = "auto"; then
17633        enable_geanyextrasel=yes
17634    fi
17635     if test "$enable_geanyextrasel" = yes; then
17636  ENABLE_GEANYEXTRASEL_TRUE=
17637  ENABLE_GEANYEXTRASEL_FALSE='#'
17638else
17639  ENABLE_GEANYEXTRASEL_TRUE='#'
17640  ENABLE_GEANYEXTRASEL_FALSE=
17641fi
17642
17643
17644    plugins_statusmsg="${plugins_statusmsg}GeanyExtraSel:$enable_geanyextrasel
17645"
17646
17647
17648    ac_config_files="$ac_config_files geanyextrasel/Makefile geanyextrasel/src/Makefile"
17649
17650
17651
17652
17653
17654
17655    # Check whether --enable-geanygendoc was given.
17656if test "${enable_geanygendoc+set}" = set; then :
17657  enableval=$enable_geanygendoc; enable_geanygendoc=$enableval
17658else
17659  case $gp_enable_all in #(
17660  no) :
17661    enable_geanygendoc=no ;; #(
17662  yes) :
17663    enable_geanygendoc=yes ;; #(
17664  *) :
17665    enable_geanygendoc=auto ;;
17666esac
17667fi
17668
17669
17670
17671    GTK_VERSION=2.12
17672    GLIB_VERSION=2.14
17673    GIO_VERSION=2.18
17674    CTPL_VERSION=0.3
17675
17676
17677
17678
17679    gtk_dep=0
17680    if test $gtk_dep -ne 0; then
17681
17682
17683
17684    if test "$enable_geanygendoc" = no; then :
17685
17686else
17687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin GeanyGenDoc" >&5
17688$as_echo_n "checking whether the GTK version in use is compatible with plugin GeanyGenDoc... " >&6; }
17689           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
17690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17691$as_echo "yes" >&6; }
17692else
17693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17694$as_echo "no" >&6; }
17695                  if test "$enable_geanygendoc" = yes; then :
17696  as_fn_error $? "GeanyGenDoc is not compatible with the GTK version in use" "$LINENO" 5
17697elif test "$enable_geanygendoc" = auto; then :
17698  enable_geanygendoc=no
17699fi
17700fi
17701fi
17702
17703    fi
17704
17705    if test "$enable_geanygendoc" = "yes"; then
17706
17707pkg_failed=no
17708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
17709                          glib-2.0 >= ${GLIB_VERSION}
17710                          gio-2.0 >= ${GIO_VERSION}
17711                          ctpl >= ${CTPL_VERSION}" >&5
17712$as_echo_n "checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
17713                          glib-2.0 >= ${GLIB_VERSION}
17714                          gio-2.0 >= ${GIO_VERSION}
17715                          ctpl >= ${CTPL_VERSION}... " >&6; }
17716
17717if test -n "$GEANYGENDOC_CFLAGS"; then
17718    pkg_cv_GEANYGENDOC_CFLAGS="$GEANYGENDOC_CFLAGS"
17719 elif test -n "$PKG_CONFIG"; then
17720    if test -n "$PKG_CONFIG" && \
17721    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
17722                          glib-2.0 >= \${GLIB_VERSION}
17723                          gio-2.0 >= \${GIO_VERSION}
17724                          ctpl >= \${CTPL_VERSION}\""; } >&5
17725  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17726                          glib-2.0 >= ${GLIB_VERSION}
17727                          gio-2.0 >= ${GIO_VERSION}
17728                          ctpl >= ${CTPL_VERSION}") 2>&5
17729  ac_status=$?
17730  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17731  test $ac_status = 0; }; then
17732  pkg_cv_GEANYGENDOC_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17733                          glib-2.0 >= ${GLIB_VERSION}
17734                          gio-2.0 >= ${GIO_VERSION}
17735                          ctpl >= ${CTPL_VERSION}" 2>/dev/null`
17736		      test "x$?" != "x0" && pkg_failed=yes
17737else
17738  pkg_failed=yes
17739fi
17740 else
17741    pkg_failed=untried
17742fi
17743if test -n "$GEANYGENDOC_LIBS"; then
17744    pkg_cv_GEANYGENDOC_LIBS="$GEANYGENDOC_LIBS"
17745 elif test -n "$PKG_CONFIG"; then
17746    if test -n "$PKG_CONFIG" && \
17747    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
17748                          glib-2.0 >= \${GLIB_VERSION}
17749                          gio-2.0 >= \${GIO_VERSION}
17750                          ctpl >= \${CTPL_VERSION}\""; } >&5
17751  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17752                          glib-2.0 >= ${GLIB_VERSION}
17753                          gio-2.0 >= ${GIO_VERSION}
17754                          ctpl >= ${CTPL_VERSION}") 2>&5
17755  ac_status=$?
17756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17757  test $ac_status = 0; }; then
17758  pkg_cv_GEANYGENDOC_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17759                          glib-2.0 >= ${GLIB_VERSION}
17760                          gio-2.0 >= ${GIO_VERSION}
17761                          ctpl >= ${CTPL_VERSION}" 2>/dev/null`
17762		      test "x$?" != "x0" && pkg_failed=yes
17763else
17764  pkg_failed=yes
17765fi
17766 else
17767    pkg_failed=untried
17768fi
17769
17770
17771
17772if test $pkg_failed = yes; then
17773        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17774$as_echo "no" >&6; }
17775
17776if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17777        _pkg_short_errors_supported=yes
17778else
17779        _pkg_short_errors_supported=no
17780fi
17781        if test $_pkg_short_errors_supported = yes; then
17782	        GEANYGENDOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17783                          glib-2.0 >= ${GLIB_VERSION}
17784                          gio-2.0 >= ${GIO_VERSION}
17785                          ctpl >= ${CTPL_VERSION}" 2>&1`
17786        else
17787	        GEANYGENDOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17788                          glib-2.0 >= ${GLIB_VERSION}
17789                          gio-2.0 >= ${GIO_VERSION}
17790                          ctpl >= ${CTPL_VERSION}" 2>&1`
17791        fi
17792	# Put the nasty error message in config.log where it belongs
17793	echo "$GEANYGENDOC_PKG_ERRORS" >&5
17794
17795	as_fn_error $? "Package requirements ($GP_GTK_PACKAGE >= ${GTK_VERSION}
17796                          glib-2.0 >= ${GLIB_VERSION}
17797                          gio-2.0 >= ${GIO_VERSION}
17798                          ctpl >= ${CTPL_VERSION}) were not met:
17799
17800$GEANYGENDOC_PKG_ERRORS
17801
17802Consider adjusting the PKG_CONFIG_PATH environment variable if you
17803installed software in a non-standard prefix.
17804
17805Alternatively, you may set the environment variables GEANYGENDOC_CFLAGS
17806and GEANYGENDOC_LIBS to avoid the need to call pkg-config.
17807See the pkg-config man page for more details." "$LINENO" 5
17808elif test $pkg_failed = untried; then
17809        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17810$as_echo "no" >&6; }
17811	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17813as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17814is in your PATH or set the PKG_CONFIG environment variable to the full
17815path to pkg-config.
17816
17817Alternatively, you may set the environment variables GEANYGENDOC_CFLAGS
17818and GEANYGENDOC_LIBS to avoid the need to call pkg-config.
17819See the pkg-config man page for more details.
17820
17821To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17822See \`config.log' for more details" "$LINENO" 5; }
17823else
17824	GEANYGENDOC_CFLAGS=$pkg_cv_GEANYGENDOC_CFLAGS
17825	GEANYGENDOC_LIBS=$pkg_cv_GEANYGENDOC_LIBS
17826        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17827$as_echo "yes" >&6; }
17828
17829fi
17830    elif test "$enable_geanygendoc" = "auto"; then
17831
17832pkg_failed=no
17833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
17834                          glib-2.0 >= ${GLIB_VERSION}
17835                          gio-2.0 >= ${GIO_VERSION}
17836                          ctpl >= ${CTPL_VERSION}" >&5
17837$as_echo_n "checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
17838                          glib-2.0 >= ${GLIB_VERSION}
17839                          gio-2.0 >= ${GIO_VERSION}
17840                          ctpl >= ${CTPL_VERSION}... " >&6; }
17841
17842if test -n "$GEANYGENDOC_CFLAGS"; then
17843    pkg_cv_GEANYGENDOC_CFLAGS="$GEANYGENDOC_CFLAGS"
17844 elif test -n "$PKG_CONFIG"; then
17845    if test -n "$PKG_CONFIG" && \
17846    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
17847                          glib-2.0 >= \${GLIB_VERSION}
17848                          gio-2.0 >= \${GIO_VERSION}
17849                          ctpl >= \${CTPL_VERSION}\""; } >&5
17850  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17851                          glib-2.0 >= ${GLIB_VERSION}
17852                          gio-2.0 >= ${GIO_VERSION}
17853                          ctpl >= ${CTPL_VERSION}") 2>&5
17854  ac_status=$?
17855  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17856  test $ac_status = 0; }; then
17857  pkg_cv_GEANYGENDOC_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17858                          glib-2.0 >= ${GLIB_VERSION}
17859                          gio-2.0 >= ${GIO_VERSION}
17860                          ctpl >= ${CTPL_VERSION}" 2>/dev/null`
17861		      test "x$?" != "x0" && pkg_failed=yes
17862else
17863  pkg_failed=yes
17864fi
17865 else
17866    pkg_failed=untried
17867fi
17868if test -n "$GEANYGENDOC_LIBS"; then
17869    pkg_cv_GEANYGENDOC_LIBS="$GEANYGENDOC_LIBS"
17870 elif test -n "$PKG_CONFIG"; then
17871    if test -n "$PKG_CONFIG" && \
17872    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
17873                          glib-2.0 >= \${GLIB_VERSION}
17874                          gio-2.0 >= \${GIO_VERSION}
17875                          ctpl >= \${CTPL_VERSION}\""; } >&5
17876  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17877                          glib-2.0 >= ${GLIB_VERSION}
17878                          gio-2.0 >= ${GIO_VERSION}
17879                          ctpl >= ${CTPL_VERSION}") 2>&5
17880  ac_status=$?
17881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17882  test $ac_status = 0; }; then
17883  pkg_cv_GEANYGENDOC_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17884                          glib-2.0 >= ${GLIB_VERSION}
17885                          gio-2.0 >= ${GIO_VERSION}
17886                          ctpl >= ${CTPL_VERSION}" 2>/dev/null`
17887		      test "x$?" != "x0" && pkg_failed=yes
17888else
17889  pkg_failed=yes
17890fi
17891 else
17892    pkg_failed=untried
17893fi
17894
17895
17896
17897if test $pkg_failed = yes; then
17898        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17899$as_echo "no" >&6; }
17900
17901if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17902        _pkg_short_errors_supported=yes
17903else
17904        _pkg_short_errors_supported=no
17905fi
17906        if test $_pkg_short_errors_supported = yes; then
17907	        GEANYGENDOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17908                          glib-2.0 >= ${GLIB_VERSION}
17909                          gio-2.0 >= ${GIO_VERSION}
17910                          ctpl >= ${CTPL_VERSION}" 2>&1`
17911        else
17912	        GEANYGENDOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
17913                          glib-2.0 >= ${GLIB_VERSION}
17914                          gio-2.0 >= ${GIO_VERSION}
17915                          ctpl >= ${CTPL_VERSION}" 2>&1`
17916        fi
17917	# Put the nasty error message in config.log where it belongs
17918	echo "$GEANYGENDOC_PKG_ERRORS" >&5
17919
17920	enable_geanygendoc=no
17921elif test $pkg_failed = untried; then
17922        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17923$as_echo "no" >&6; }
17924	enable_geanygendoc=no
17925else
17926	GEANYGENDOC_CFLAGS=$pkg_cv_GEANYGENDOC_CFLAGS
17927	GEANYGENDOC_LIBS=$pkg_cv_GEANYGENDOC_LIBS
17928        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17929$as_echo "yes" >&6; }
17930
17931fi
17932    fi
17933
17934
17935    # Extract the first word of "rst2html", so it can be a program name with args.
17936set dummy rst2html; ac_word=$2
17937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17938$as_echo_n "checking for $ac_word... " >&6; }
17939if ${ac_cv_path_RST2HTML+:} false; then :
17940  $as_echo_n "(cached) " >&6
17941else
17942  case $RST2HTML in
17943  [\\/]* | ?:[\\/]*)
17944  ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
17945  ;;
17946  *)
17947  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17948for as_dir in $PATH
17949do
17950  IFS=$as_save_IFS
17951  test -z "$as_dir" && as_dir=.
17952    for ac_exec_ext in '' $ac_executable_extensions; do
17953  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17954    ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
17955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17956    break 2
17957  fi
17958done
17959  done
17960IFS=$as_save_IFS
17961
17962  test -z "$ac_cv_path_RST2HTML" && ac_cv_path_RST2HTML="no"
17963  ;;
17964esac
17965fi
17966RST2HTML=$ac_cv_path_RST2HTML
17967if test -n "$RST2HTML"; then
17968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2HTML" >&5
17969$as_echo "$RST2HTML" >&6; }
17970else
17971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17972$as_echo "no" >&6; }
17973fi
17974
17975
17976
17977     if test "x$RST2HTML" != "xno"; then
17978  BUILD_RST_TRUE=
17979  BUILD_RST_FALSE='#'
17980else
17981  BUILD_RST_TRUE='#'
17982  BUILD_RST_FALSE=
17983fi
17984
17985
17986
17987        if test "$enable_geanygendoc" = "auto"; then
17988        enable_geanygendoc=yes
17989    fi
17990     if test "$enable_geanygendoc" = yes; then
17991  ENABLE_GEANYGENDOC_TRUE=
17992  ENABLE_GEANYGENDOC_FALSE='#'
17993else
17994  ENABLE_GEANYGENDOC_TRUE='#'
17995  ENABLE_GEANYGENDOC_FALSE=
17996fi
17997
17998
17999    plugins_statusmsg="${plugins_statusmsg}GeanyGenDoc:$enable_geanygendoc
18000"
18001
18002
18003
18004    ac_config_files="$ac_config_files geanygendoc/Makefile geanygendoc/src/Makefile geanygendoc/data/Makefile geanygendoc/data/filetypes/Makefile geanygendoc/docs/Makefile"
18005
18006
18007
18008
18009
18010
18011    # Check whether --enable-geanyinsertnum was given.
18012if test "${enable_geanyinsertnum+set}" = set; then :
18013  enableval=$enable_geanyinsertnum; enable_geanyinsertnum=$enableval
18014else
18015  case $gp_enable_all in #(
18016  no) :
18017    enable_geanyinsertnum=no ;; #(
18018  yes) :
18019    enable_geanyinsertnum=yes ;; #(
18020  *) :
18021    enable_geanyinsertnum=auto ;;
18022esac
18023fi
18024
18025
18026
18027        if test "$enable_geanyinsertnum" = "auto"; then
18028        enable_geanyinsertnum=yes
18029    fi
18030     if test "$enable_geanyinsertnum" = yes; then
18031  ENABLE_GEANYINSERTNUM_TRUE=
18032  ENABLE_GEANYINSERTNUM_FALSE='#'
18033else
18034  ENABLE_GEANYINSERTNUM_TRUE='#'
18035  ENABLE_GEANYINSERTNUM_FALSE=
18036fi
18037
18038
18039    plugins_statusmsg="${plugins_statusmsg}GeanyInsertNum:$enable_geanyinsertnum
18040"
18041
18042
18043    ac_config_files="$ac_config_files geanyinsertnum/Makefile geanyinsertnum/src/Makefile"
18044
18045
18046
18047
18048
18049
18050    # Check whether --enable-latex was given.
18051if test "${enable_latex+set}" = set; then :
18052  enableval=$enable_latex; enable_latex=$enableval
18053else
18054  case $gp_enable_all in #(
18055  no) :
18056    enable_latex=no ;; #(
18057  yes) :
18058    enable_latex=yes ;; #(
18059  *) :
18060    enable_latex=auto ;;
18061esac
18062fi
18063
18064
18065
18066        if test "$enable_latex" = "auto"; then
18067        enable_latex=yes
18068    fi
18069     if test "$enable_latex" = yes; then
18070  ENABLE_LATEX_TRUE=
18071  ENABLE_LATEX_FALSE='#'
18072else
18073  ENABLE_LATEX_TRUE='#'
18074  ENABLE_LATEX_FALSE=
18075fi
18076
18077
18078    plugins_statusmsg="${plugins_statusmsg}LaTeX:$enable_latex
18079"
18080
18081
18082    ac_config_files="$ac_config_files latex/Makefile latex/doc/Makefile latex/src/Makefile"
18083
18084
18085
18086
18087
18088
18089    # Check whether --enable-geanylua was given.
18090if test "${enable_geanylua+set}" = set; then :
18091  enableval=$enable_geanylua; enable_geanylua=$enableval
18092else
18093  case $gp_enable_all in #(
18094  no) :
18095    enable_geanylua=no ;; #(
18096  yes) :
18097    enable_geanylua=yes ;; #(
18098  *) :
18099    enable_geanylua=auto ;;
18100esac
18101fi
18102
18103
18104
18105
18106# Check whether --with-lua-pkg was given.
18107if test "${with_lua_pkg+set}" = set; then :
18108  withval=$with_lua_pkg; LUA_PKG_NAME=${withval%.pc}
18109else
18110  LUA_PKG_NAME=lua5.1
18111
18112        for L in lua5.1 lua51 lua-5.1 lua; do
18113            if test -n "$PKG_CONFIG" && \
18114    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$L\""; } >&5
18115  ($PKG_CONFIG --exists --print-errors "$L") 2>&5
18116  ac_status=$?
18117  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18118  test $ac_status = 0; }; then
18119  LUA_PKG_NAME=$L; break
18120fi
18121        done
18122fi
18123
18124
18125    LUA_VERSION=5.1
18126    LUA_VERSION_BOUNDARY=5.2
18127
18128
18129
18130    gtk_dep=0
18131    if test $gtk_dep -ne 0; then
18132
18133
18134
18135    if test "$enable_geanylua" = no; then :
18136
18137else
18138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin GeanyLua" >&5
18139$as_echo_n "checking whether the GTK version in use is compatible with plugin GeanyLua... " >&6; }
18140           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
18141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18142$as_echo "yes" >&6; }
18143else
18144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18145$as_echo "no" >&6; }
18146                  if test "$enable_geanylua" = yes; then :
18147  as_fn_error $? "GeanyLua is not compatible with the GTK version in use" "$LINENO" 5
18148elif test "$enable_geanylua" = auto; then :
18149  enable_geanylua=no
18150fi
18151fi
18152fi
18153
18154    fi
18155
18156    if test "$enable_geanylua" = "yes"; then
18157
18158pkg_failed=no
18159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${LUA_PKG_NAME} >= ${LUA_VERSION}
18160                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" >&5
18161$as_echo_n "checking for ${LUA_PKG_NAME} >= ${LUA_VERSION}
18162                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}... " >&6; }
18163
18164if test -n "$LUA_CFLAGS"; then
18165    pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
18166 elif test -n "$PKG_CONFIG"; then
18167    if test -n "$PKG_CONFIG" && \
18168    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${LUA_PKG_NAME} >= \${LUA_VERSION}
18169                          \${LUA_PKG_NAME} < \${LUA_VERSION_BOUNDARY}\""; } >&5
18170  ($PKG_CONFIG --exists --print-errors "${LUA_PKG_NAME} >= ${LUA_VERSION}
18171                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}") 2>&5
18172  ac_status=$?
18173  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18174  test $ac_status = 0; }; then
18175  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "${LUA_PKG_NAME} >= ${LUA_VERSION}
18176                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" 2>/dev/null`
18177		      test "x$?" != "x0" && pkg_failed=yes
18178else
18179  pkg_failed=yes
18180fi
18181 else
18182    pkg_failed=untried
18183fi
18184if test -n "$LUA_LIBS"; then
18185    pkg_cv_LUA_LIBS="$LUA_LIBS"
18186 elif test -n "$PKG_CONFIG"; then
18187    if test -n "$PKG_CONFIG" && \
18188    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${LUA_PKG_NAME} >= \${LUA_VERSION}
18189                          \${LUA_PKG_NAME} < \${LUA_VERSION_BOUNDARY}\""; } >&5
18190  ($PKG_CONFIG --exists --print-errors "${LUA_PKG_NAME} >= ${LUA_VERSION}
18191                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}") 2>&5
18192  ac_status=$?
18193  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18194  test $ac_status = 0; }; then
18195  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "${LUA_PKG_NAME} >= ${LUA_VERSION}
18196                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" 2>/dev/null`
18197		      test "x$?" != "x0" && pkg_failed=yes
18198else
18199  pkg_failed=yes
18200fi
18201 else
18202    pkg_failed=untried
18203fi
18204
18205
18206
18207if test $pkg_failed = yes; then
18208        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18209$as_echo "no" >&6; }
18210
18211if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18212        _pkg_short_errors_supported=yes
18213else
18214        _pkg_short_errors_supported=no
18215fi
18216        if test $_pkg_short_errors_supported = yes; then
18217	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${LUA_PKG_NAME} >= ${LUA_VERSION}
18218                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" 2>&1`
18219        else
18220	        LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${LUA_PKG_NAME} >= ${LUA_VERSION}
18221                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" 2>&1`
18222        fi
18223	# Put the nasty error message in config.log where it belongs
18224	echo "$LUA_PKG_ERRORS" >&5
18225
18226	as_fn_error $? "Package requirements (${LUA_PKG_NAME} >= ${LUA_VERSION}
18227                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}) were not met:
18228
18229$LUA_PKG_ERRORS
18230
18231Consider adjusting the PKG_CONFIG_PATH environment variable if you
18232installed software in a non-standard prefix.
18233
18234Alternatively, you may set the environment variables LUA_CFLAGS
18235and LUA_LIBS to avoid the need to call pkg-config.
18236See the pkg-config man page for more details." "$LINENO" 5
18237elif test $pkg_failed = untried; then
18238        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18239$as_echo "no" >&6; }
18240	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18241$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18242as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18243is in your PATH or set the PKG_CONFIG environment variable to the full
18244path to pkg-config.
18245
18246Alternatively, you may set the environment variables LUA_CFLAGS
18247and LUA_LIBS to avoid the need to call pkg-config.
18248See the pkg-config man page for more details.
18249
18250To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18251See \`config.log' for more details" "$LINENO" 5; }
18252else
18253	LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
18254	LUA_LIBS=$pkg_cv_LUA_LIBS
18255        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18256$as_echo "yes" >&6; }
18257
18258fi
18259    elif test "$enable_geanylua" = "auto"; then
18260
18261pkg_failed=no
18262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${LUA_PKG_NAME} >= ${LUA_VERSION}
18263                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" >&5
18264$as_echo_n "checking for ${LUA_PKG_NAME} >= ${LUA_VERSION}
18265                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}... " >&6; }
18266
18267if test -n "$LUA_CFLAGS"; then
18268    pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
18269 elif test -n "$PKG_CONFIG"; then
18270    if test -n "$PKG_CONFIG" && \
18271    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${LUA_PKG_NAME} >= \${LUA_VERSION}
18272                          \${LUA_PKG_NAME} < \${LUA_VERSION_BOUNDARY}\""; } >&5
18273  ($PKG_CONFIG --exists --print-errors "${LUA_PKG_NAME} >= ${LUA_VERSION}
18274                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}") 2>&5
18275  ac_status=$?
18276  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18277  test $ac_status = 0; }; then
18278  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "${LUA_PKG_NAME} >= ${LUA_VERSION}
18279                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" 2>/dev/null`
18280		      test "x$?" != "x0" && pkg_failed=yes
18281else
18282  pkg_failed=yes
18283fi
18284 else
18285    pkg_failed=untried
18286fi
18287if test -n "$LUA_LIBS"; then
18288    pkg_cv_LUA_LIBS="$LUA_LIBS"
18289 elif test -n "$PKG_CONFIG"; then
18290    if test -n "$PKG_CONFIG" && \
18291    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${LUA_PKG_NAME} >= \${LUA_VERSION}
18292                          \${LUA_PKG_NAME} < \${LUA_VERSION_BOUNDARY}\""; } >&5
18293  ($PKG_CONFIG --exists --print-errors "${LUA_PKG_NAME} >= ${LUA_VERSION}
18294                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}") 2>&5
18295  ac_status=$?
18296  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18297  test $ac_status = 0; }; then
18298  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "${LUA_PKG_NAME} >= ${LUA_VERSION}
18299                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" 2>/dev/null`
18300		      test "x$?" != "x0" && pkg_failed=yes
18301else
18302  pkg_failed=yes
18303fi
18304 else
18305    pkg_failed=untried
18306fi
18307
18308
18309
18310if test $pkg_failed = yes; then
18311        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18312$as_echo "no" >&6; }
18313
18314if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18315        _pkg_short_errors_supported=yes
18316else
18317        _pkg_short_errors_supported=no
18318fi
18319        if test $_pkg_short_errors_supported = yes; then
18320	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${LUA_PKG_NAME} >= ${LUA_VERSION}
18321                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" 2>&1`
18322        else
18323	        LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${LUA_PKG_NAME} >= ${LUA_VERSION}
18324                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}" 2>&1`
18325        fi
18326	# Put the nasty error message in config.log where it belongs
18327	echo "$LUA_PKG_ERRORS" >&5
18328
18329	enable_geanylua=no
18330elif test $pkg_failed = untried; then
18331        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18332$as_echo "no" >&6; }
18333	enable_geanylua=no
18334else
18335	LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
18336	LUA_LIBS=$pkg_cv_LUA_LIBS
18337        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18338$as_echo "yes" >&6; }
18339
18340fi
18341    fi
18342
18343
18344
18345
18346    gtk_dep=0
18347    if test $gtk_dep -ne 0; then
18348
18349
18350
18351    if test "$enable_geanylua" = no; then :
18352
18353else
18354  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin GeanyLua" >&5
18355$as_echo_n "checking whether the GTK version in use is compatible with plugin GeanyLua... " >&6; }
18356           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
18357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18358$as_echo "yes" >&6; }
18359else
18360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18361$as_echo "no" >&6; }
18362                  if test "$enable_geanylua" = yes; then :
18363  as_fn_error $? "GeanyLua is not compatible with the GTK version in use" "$LINENO" 5
18364elif test "$enable_geanylua" = auto; then :
18365  enable_geanylua=no
18366fi
18367fi
18368fi
18369
18370    fi
18371
18372    if test "$enable_geanylua" = "yes"; then
18373
18374pkg_failed=no
18375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0" >&5
18376$as_echo_n "checking for gmodule-2.0... " >&6; }
18377
18378if test -n "$GMODULE_CFLAGS"; then
18379    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
18380 elif test -n "$PKG_CONFIG"; then
18381    if test -n "$PKG_CONFIG" && \
18382    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
18383  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
18384  ac_status=$?
18385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18386  test $ac_status = 0; }; then
18387  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
18388		      test "x$?" != "x0" && pkg_failed=yes
18389else
18390  pkg_failed=yes
18391fi
18392 else
18393    pkg_failed=untried
18394fi
18395if test -n "$GMODULE_LIBS"; then
18396    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
18397 elif test -n "$PKG_CONFIG"; then
18398    if test -n "$PKG_CONFIG" && \
18399    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
18400  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
18401  ac_status=$?
18402  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18403  test $ac_status = 0; }; then
18404  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
18405		      test "x$?" != "x0" && pkg_failed=yes
18406else
18407  pkg_failed=yes
18408fi
18409 else
18410    pkg_failed=untried
18411fi
18412
18413
18414
18415if test $pkg_failed = yes; then
18416        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18417$as_echo "no" >&6; }
18418
18419if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18420        _pkg_short_errors_supported=yes
18421else
18422        _pkg_short_errors_supported=no
18423fi
18424        if test $_pkg_short_errors_supported = yes; then
18425	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
18426        else
18427	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
18428        fi
18429	# Put the nasty error message in config.log where it belongs
18430	echo "$GMODULE_PKG_ERRORS" >&5
18431
18432	as_fn_error $? "Package requirements (gmodule-2.0) were not met:
18433
18434$GMODULE_PKG_ERRORS
18435
18436Consider adjusting the PKG_CONFIG_PATH environment variable if you
18437installed software in a non-standard prefix.
18438
18439Alternatively, you may set the environment variables GMODULE_CFLAGS
18440and GMODULE_LIBS to avoid the need to call pkg-config.
18441See the pkg-config man page for more details." "$LINENO" 5
18442elif test $pkg_failed = untried; then
18443        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18444$as_echo "no" >&6; }
18445	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18446$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18447as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18448is in your PATH or set the PKG_CONFIG environment variable to the full
18449path to pkg-config.
18450
18451Alternatively, you may set the environment variables GMODULE_CFLAGS
18452and GMODULE_LIBS to avoid the need to call pkg-config.
18453See the pkg-config man page for more details.
18454
18455To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18456See \`config.log' for more details" "$LINENO" 5; }
18457else
18458	GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
18459	GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
18460        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18461$as_echo "yes" >&6; }
18462
18463fi
18464    elif test "$enable_geanylua" = "auto"; then
18465
18466pkg_failed=no
18467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0" >&5
18468$as_echo_n "checking for gmodule-2.0... " >&6; }
18469
18470if test -n "$GMODULE_CFLAGS"; then
18471    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
18472 elif test -n "$PKG_CONFIG"; then
18473    if test -n "$PKG_CONFIG" && \
18474    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
18475  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
18476  ac_status=$?
18477  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18478  test $ac_status = 0; }; then
18479  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
18480		      test "x$?" != "x0" && pkg_failed=yes
18481else
18482  pkg_failed=yes
18483fi
18484 else
18485    pkg_failed=untried
18486fi
18487if test -n "$GMODULE_LIBS"; then
18488    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
18489 elif test -n "$PKG_CONFIG"; then
18490    if test -n "$PKG_CONFIG" && \
18491    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
18492  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
18493  ac_status=$?
18494  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18495  test $ac_status = 0; }; then
18496  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
18497		      test "x$?" != "x0" && pkg_failed=yes
18498else
18499  pkg_failed=yes
18500fi
18501 else
18502    pkg_failed=untried
18503fi
18504
18505
18506
18507if test $pkg_failed = yes; then
18508        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18509$as_echo "no" >&6; }
18510
18511if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18512        _pkg_short_errors_supported=yes
18513else
18514        _pkg_short_errors_supported=no
18515fi
18516        if test $_pkg_short_errors_supported = yes; then
18517	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
18518        else
18519	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
18520        fi
18521	# Put the nasty error message in config.log where it belongs
18522	echo "$GMODULE_PKG_ERRORS" >&5
18523
18524	enable_geanylua=no
18525elif test $pkg_failed = untried; then
18526        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18527$as_echo "no" >&6; }
18528	enable_geanylua=no
18529else
18530	GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
18531	GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
18532        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18533$as_echo "yes" >&6; }
18534
18535fi
18536    fi
18537
18538
18539        if test "$enable_geanylua" = "auto"; then
18540        enable_geanylua=yes
18541    fi
18542     if test "$enable_geanylua" = yes; then
18543  ENABLE_GEANYLUA_TRUE=
18544  ENABLE_GEANYLUA_FALSE='#'
18545else
18546  ENABLE_GEANYLUA_TRUE='#'
18547  ENABLE_GEANYLUA_FALSE=
18548fi
18549
18550
18551    plugins_statusmsg="${plugins_statusmsg}GeanyLua:$enable_geanylua
18552"
18553
18554
18555
18556    ac_config_files="$ac_config_files geanylua/examples/edit/Makefile geanylua/examples/scripting/Makefile geanylua/examples/info/Makefile geanylua/examples/work/Makefile geanylua/examples/dialogs/Makefile geanylua/examples/Makefile geanylua/docs/Makefile geanylua/Makefile"
18557
18558
18559
18560
18561
18562
18563    # Check whether --enable-geanymacro was given.
18564if test "${enable_geanymacro+set}" = set; then :
18565  enableval=$enable_geanymacro; enable_geanymacro=$enableval
18566else
18567  case $gp_enable_all in #(
18568  no) :
18569    enable_geanymacro=no ;; #(
18570  yes) :
18571    enable_geanymacro=yes ;; #(
18572  *) :
18573    enable_geanymacro=auto ;;
18574esac
18575fi
18576
18577
18578
18579        if test "$enable_geanymacro" = "auto"; then
18580        enable_geanymacro=yes
18581    fi
18582     if test "$enable_geanymacro" = yes; then
18583  ENABLE_GEANYMACRO_TRUE=
18584  ENABLE_GEANYMACRO_FALSE='#'
18585else
18586  ENABLE_GEANYMACRO_TRUE='#'
18587  ENABLE_GEANYMACRO_FALSE=
18588fi
18589
18590
18591    plugins_statusmsg="${plugins_statusmsg}GeanyMacro:$enable_geanymacro
18592"
18593
18594
18595    ac_config_files="$ac_config_files geanymacro/Makefile geanymacro/src/Makefile"
18596
18597
18598
18599
18600
18601
18602    # Check whether --enable-geanyminiscript was given.
18603if test "${enable_geanyminiscript+set}" = set; then :
18604  enableval=$enable_geanyminiscript; enable_geanyminiscript=$enableval
18605else
18606  case $gp_enable_all in #(
18607  no) :
18608    enable_geanyminiscript=no ;; #(
18609  yes) :
18610    enable_geanyminiscript=yes ;; #(
18611  *) :
18612    enable_geanyminiscript=auto ;;
18613esac
18614fi
18615
18616
18617
18618        if test "$enable_geanyminiscript" = "auto"; then
18619        enable_geanyminiscript=yes
18620    fi
18621     if test "$enable_geanyminiscript" = yes; then
18622  ENABLE_GEANYMINISCRIPT_TRUE=
18623  ENABLE_GEANYMINISCRIPT_FALSE='#'
18624else
18625  ENABLE_GEANYMINISCRIPT_TRUE='#'
18626  ENABLE_GEANYMINISCRIPT_FALSE=
18627fi
18628
18629
18630    plugins_statusmsg="${plugins_statusmsg}GeanyMiniScript:$enable_geanyminiscript
18631"
18632
18633
18634    ac_config_files="$ac_config_files geanyminiscript/Makefile geanyminiscript/src/Makefile"
18635
18636
18637
18638
18639
18640
18641    # Check whether --enable-geanynumberedbookmarks was given.
18642if test "${enable_geanynumberedbookmarks+set}" = set; then :
18643  enableval=$enable_geanynumberedbookmarks; enable_geanynumberedbookmarks=$enableval
18644else
18645  case $gp_enable_all in #(
18646  no) :
18647    enable_geanynumberedbookmarks=no ;; #(
18648  yes) :
18649    enable_geanynumberedbookmarks=yes ;; #(
18650  *) :
18651    enable_geanynumberedbookmarks=auto ;;
18652esac
18653fi
18654
18655
18656
18657
18658    if test "$enable_geanynumberedbookmarks" != no &&
18659           test "$enable_utilslib" != yes; then :
18660  if test "$enable_utilslib" = "no"; then :
18661  if test "$enable_geanynumberedbookmarks" = yes; then :
18662  as_fn_error $? "Plugin GeanyNumberedBookmarks depends on utilslib which is disabled" "$LINENO" 5
18663else
18664  enable_geanynumberedbookmarks=no
18665fi
18666else
18667  enable_utilslib=yes
18668fi
18669fi
18670
18671
18672
18673        if test "$enable_geanynumberedbookmarks" = "auto"; then
18674        enable_geanynumberedbookmarks=yes
18675    fi
18676     if test "$enable_geanynumberedbookmarks" = yes; then
18677  ENABLE_GEANYNUMBEREDBOOKMARKS_TRUE=
18678  ENABLE_GEANYNUMBEREDBOOKMARKS_FALSE='#'
18679else
18680  ENABLE_GEANYNUMBEREDBOOKMARKS_TRUE='#'
18681  ENABLE_GEANYNUMBEREDBOOKMARKS_FALSE=
18682fi
18683
18684
18685    plugins_statusmsg="${plugins_statusmsg}GeanyNumberedBookmarks:$enable_geanynumberedbookmarks
18686"
18687
18688
18689    ac_config_files="$ac_config_files geanynumberedbookmarks/Makefile geanynumberedbookmarks/src/Makefile"
18690
18691
18692
18693
18694
18695
18696    # Check whether --enable-geanyprj was given.
18697if test "${enable_geanyprj+set}" = set; then :
18698  enableval=$enable_geanyprj; enable_geanyprj=$enableval
18699else
18700  case $gp_enable_all in #(
18701  no) :
18702    enable_geanyprj=no ;; #(
18703  yes) :
18704    enable_geanyprj=yes ;; #(
18705  *) :
18706    enable_geanyprj=auto ;;
18707esac
18708fi
18709
18710
18711
18712        if test "$enable_geanyprj" = "auto"; then
18713        enable_geanyprj=yes
18714    fi
18715     if test "$enable_geanyprj" = yes; then
18716  ENABLE_GEANYPRJ_TRUE=
18717  ENABLE_GEANYPRJ_FALSE='#'
18718else
18719  ENABLE_GEANYPRJ_TRUE='#'
18720  ENABLE_GEANYPRJ_FALSE=
18721fi
18722
18723
18724    plugins_statusmsg="${plugins_statusmsg}GeanyPrj:$enable_geanyprj
18725"
18726
18727
18728    ac_config_files="$ac_config_files geanyprj/Makefile geanyprj/src/Makefile"
18729
18730
18731
18732
18733
18734
18735    # Check whether --enable-geanypy was given.
18736if test "${enable_geanypy+set}" = set; then :
18737  enableval=$enable_geanypy; enable_geanypy=$enableval
18738else
18739  case $gp_enable_all in #(
18740  no) :
18741    enable_geanypy=no ;; #(
18742  yes) :
18743    enable_geanypy=yes ;; #(
18744  *) :
18745    enable_geanypy=auto ;;
18746esac
18747fi
18748
18749
18750
18751
18752
18753
18754    if test "$enable_geanypy" = no; then :
18755
18756else
18757  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Geanypy" >&5
18758$as_echo_n "checking whether the GTK version in use is compatible with plugin Geanypy... " >&6; }
18759           if test ${GP_GTK_VERSION_MAJOR} = 2; then :
18760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18761$as_echo "yes" >&6; }
18762else
18763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18764$as_echo "no" >&6; }
18765                  if test "$enable_geanypy" = yes; then :
18766  as_fn_error $? "Geanypy is not compatible with the GTK version in use" "$LINENO" 5
18767elif test "$enable_geanypy" = auto; then :
18768  enable_geanypy=no
18769fi
18770fi
18771fi
18772
18773
18774
18775
18776
18777    gtk_dep=0
18778    if test $gtk_dep -ne 0; then
18779
18780
18781
18782    if test "$enable_geanypy" = no; then :
18783
18784else
18785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Geanypy" >&5
18786$as_echo_n "checking whether the GTK version in use is compatible with plugin Geanypy... " >&6; }
18787           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
18788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18789$as_echo "yes" >&6; }
18790else
18791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18792$as_echo "no" >&6; }
18793                  if test "$enable_geanypy" = yes; then :
18794  as_fn_error $? "Geanypy is not compatible with the GTK version in use" "$LINENO" 5
18795elif test "$enable_geanypy" = auto; then :
18796  enable_geanypy=no
18797fi
18798fi
18799fi
18800
18801    fi
18802
18803    if test "$enable_geanypy" = "yes"; then
18804
18805pkg_failed=no
18806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygtk-2.0" >&5
18807$as_echo_n "checking for pygtk-2.0... " >&6; }
18808
18809if test -n "$PYGTK_CFLAGS"; then
18810    pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
18811 elif test -n "$PKG_CONFIG"; then
18812    if test -n "$PKG_CONFIG" && \
18813    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0\""; } >&5
18814  ($PKG_CONFIG --exists --print-errors "pygtk-2.0") 2>&5
18815  ac_status=$?
18816  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18817  test $ac_status = 0; }; then
18818  pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0" 2>/dev/null`
18819		      test "x$?" != "x0" && pkg_failed=yes
18820else
18821  pkg_failed=yes
18822fi
18823 else
18824    pkg_failed=untried
18825fi
18826if test -n "$PYGTK_LIBS"; then
18827    pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
18828 elif test -n "$PKG_CONFIG"; then
18829    if test -n "$PKG_CONFIG" && \
18830    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0\""; } >&5
18831  ($PKG_CONFIG --exists --print-errors "pygtk-2.0") 2>&5
18832  ac_status=$?
18833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18834  test $ac_status = 0; }; then
18835  pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0" 2>/dev/null`
18836		      test "x$?" != "x0" && pkg_failed=yes
18837else
18838  pkg_failed=yes
18839fi
18840 else
18841    pkg_failed=untried
18842fi
18843
18844
18845
18846if test $pkg_failed = yes; then
18847        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18848$as_echo "no" >&6; }
18849
18850if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18851        _pkg_short_errors_supported=yes
18852else
18853        _pkg_short_errors_supported=no
18854fi
18855        if test $_pkg_short_errors_supported = yes; then
18856	        PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygtk-2.0" 2>&1`
18857        else
18858	        PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygtk-2.0" 2>&1`
18859        fi
18860	# Put the nasty error message in config.log where it belongs
18861	echo "$PYGTK_PKG_ERRORS" >&5
18862
18863	as_fn_error $? "Package requirements (pygtk-2.0) were not met:
18864
18865$PYGTK_PKG_ERRORS
18866
18867Consider adjusting the PKG_CONFIG_PATH environment variable if you
18868installed software in a non-standard prefix.
18869
18870Alternatively, you may set the environment variables PYGTK_CFLAGS
18871and PYGTK_LIBS to avoid the need to call pkg-config.
18872See the pkg-config man page for more details." "$LINENO" 5
18873elif test $pkg_failed = untried; then
18874        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18875$as_echo "no" >&6; }
18876	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18878as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18879is in your PATH or set the PKG_CONFIG environment variable to the full
18880path to pkg-config.
18881
18882Alternatively, you may set the environment variables PYGTK_CFLAGS
18883and PYGTK_LIBS to avoid the need to call pkg-config.
18884See the pkg-config man page for more details.
18885
18886To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18887See \`config.log' for more details" "$LINENO" 5; }
18888else
18889	PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
18890	PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
18891        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18892$as_echo "yes" >&6; }
18893
18894fi
18895    elif test "$enable_geanypy" = "auto"; then
18896
18897pkg_failed=no
18898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygtk-2.0" >&5
18899$as_echo_n "checking for pygtk-2.0... " >&6; }
18900
18901if test -n "$PYGTK_CFLAGS"; then
18902    pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
18903 elif test -n "$PKG_CONFIG"; then
18904    if test -n "$PKG_CONFIG" && \
18905    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0\""; } >&5
18906  ($PKG_CONFIG --exists --print-errors "pygtk-2.0") 2>&5
18907  ac_status=$?
18908  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18909  test $ac_status = 0; }; then
18910  pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0" 2>/dev/null`
18911		      test "x$?" != "x0" && pkg_failed=yes
18912else
18913  pkg_failed=yes
18914fi
18915 else
18916    pkg_failed=untried
18917fi
18918if test -n "$PYGTK_LIBS"; then
18919    pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
18920 elif test -n "$PKG_CONFIG"; then
18921    if test -n "$PKG_CONFIG" && \
18922    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0\""; } >&5
18923  ($PKG_CONFIG --exists --print-errors "pygtk-2.0") 2>&5
18924  ac_status=$?
18925  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18926  test $ac_status = 0; }; then
18927  pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0" 2>/dev/null`
18928		      test "x$?" != "x0" && pkg_failed=yes
18929else
18930  pkg_failed=yes
18931fi
18932 else
18933    pkg_failed=untried
18934fi
18935
18936
18937
18938if test $pkg_failed = yes; then
18939        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18940$as_echo "no" >&6; }
18941
18942if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18943        _pkg_short_errors_supported=yes
18944else
18945        _pkg_short_errors_supported=no
18946fi
18947        if test $_pkg_short_errors_supported = yes; then
18948	        PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygtk-2.0" 2>&1`
18949        else
18950	        PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygtk-2.0" 2>&1`
18951        fi
18952	# Put the nasty error message in config.log where it belongs
18953	echo "$PYGTK_PKG_ERRORS" >&5
18954
18955	enable_geanypy=no
18956elif test $pkg_failed = untried; then
18957        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18958$as_echo "no" >&6; }
18959	enable_geanypy=no
18960else
18961	PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
18962	PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
18963        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18964$as_echo "yes" >&6; }
18965
18966fi
18967    fi
18968
18969
18970
18971
18972    gtk_dep=0
18973    if test $gtk_dep -ne 0; then
18974
18975
18976
18977    if test "$enable_geanypy" = no; then :
18978
18979else
18980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Geanypy" >&5
18981$as_echo_n "checking whether the GTK version in use is compatible with plugin Geanypy... " >&6; }
18982           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
18983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18984$as_echo "yes" >&6; }
18985else
18986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18987$as_echo "no" >&6; }
18988                  if test "$enable_geanypy" = yes; then :
18989  as_fn_error $? "Geanypy is not compatible with the GTK version in use" "$LINENO" 5
18990elif test "$enable_geanypy" = auto; then :
18991  enable_geanypy=no
18992fi
18993fi
18994fi
18995
18996    fi
18997
18998    if test "$enable_geanypy" = "yes"; then
18999
19000pkg_failed=no
19001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0" >&5
19002$as_echo_n "checking for gmodule-2.0... " >&6; }
19003
19004if test -n "$GMODULE_CFLAGS"; then
19005    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
19006 elif test -n "$PKG_CONFIG"; then
19007    if test -n "$PKG_CONFIG" && \
19008    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19009  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19010  ac_status=$?
19011  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19012  test $ac_status = 0; }; then
19013  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
19014		      test "x$?" != "x0" && pkg_failed=yes
19015else
19016  pkg_failed=yes
19017fi
19018 else
19019    pkg_failed=untried
19020fi
19021if test -n "$GMODULE_LIBS"; then
19022    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
19023 elif test -n "$PKG_CONFIG"; then
19024    if test -n "$PKG_CONFIG" && \
19025    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19026  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19027  ac_status=$?
19028  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19029  test $ac_status = 0; }; then
19030  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
19031		      test "x$?" != "x0" && pkg_failed=yes
19032else
19033  pkg_failed=yes
19034fi
19035 else
19036    pkg_failed=untried
19037fi
19038
19039
19040
19041if test $pkg_failed = yes; then
19042        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19043$as_echo "no" >&6; }
19044
19045if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19046        _pkg_short_errors_supported=yes
19047else
19048        _pkg_short_errors_supported=no
19049fi
19050        if test $_pkg_short_errors_supported = yes; then
19051	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
19052        else
19053	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
19054        fi
19055	# Put the nasty error message in config.log where it belongs
19056	echo "$GMODULE_PKG_ERRORS" >&5
19057
19058	as_fn_error $? "Package requirements (gmodule-2.0) were not met:
19059
19060$GMODULE_PKG_ERRORS
19061
19062Consider adjusting the PKG_CONFIG_PATH environment variable if you
19063installed software in a non-standard prefix.
19064
19065Alternatively, you may set the environment variables GMODULE_CFLAGS
19066and GMODULE_LIBS to avoid the need to call pkg-config.
19067See the pkg-config man page for more details." "$LINENO" 5
19068elif test $pkg_failed = untried; then
19069        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19070$as_echo "no" >&6; }
19071	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19072$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19073as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19074is in your PATH or set the PKG_CONFIG environment variable to the full
19075path to pkg-config.
19076
19077Alternatively, you may set the environment variables GMODULE_CFLAGS
19078and GMODULE_LIBS to avoid the need to call pkg-config.
19079See the pkg-config man page for more details.
19080
19081To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19082See \`config.log' for more details" "$LINENO" 5; }
19083else
19084	GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
19085	GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
19086        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19087$as_echo "yes" >&6; }
19088
19089fi
19090    elif test "$enable_geanypy" = "auto"; then
19091
19092pkg_failed=no
19093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0" >&5
19094$as_echo_n "checking for gmodule-2.0... " >&6; }
19095
19096if test -n "$GMODULE_CFLAGS"; then
19097    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
19098 elif test -n "$PKG_CONFIG"; then
19099    if test -n "$PKG_CONFIG" && \
19100    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19101  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19102  ac_status=$?
19103  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19104  test $ac_status = 0; }; then
19105  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
19106		      test "x$?" != "x0" && pkg_failed=yes
19107else
19108  pkg_failed=yes
19109fi
19110 else
19111    pkg_failed=untried
19112fi
19113if test -n "$GMODULE_LIBS"; then
19114    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
19115 elif test -n "$PKG_CONFIG"; then
19116    if test -n "$PKG_CONFIG" && \
19117    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19118  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19119  ac_status=$?
19120  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19121  test $ac_status = 0; }; then
19122  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
19123		      test "x$?" != "x0" && pkg_failed=yes
19124else
19125  pkg_failed=yes
19126fi
19127 else
19128    pkg_failed=untried
19129fi
19130
19131
19132
19133if test $pkg_failed = yes; then
19134        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19135$as_echo "no" >&6; }
19136
19137if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19138        _pkg_short_errors_supported=yes
19139else
19140        _pkg_short_errors_supported=no
19141fi
19142        if test $_pkg_short_errors_supported = yes; then
19143	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
19144        else
19145	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
19146        fi
19147	# Put the nasty error message in config.log where it belongs
19148	echo "$GMODULE_PKG_ERRORS" >&5
19149
19150	enable_geanypy=no
19151elif test $pkg_failed = untried; then
19152        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19153$as_echo "no" >&6; }
19154	enable_geanypy=no
19155else
19156	GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
19157	GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
19158        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19159$as_echo "yes" >&6; }
19160
19161fi
19162    fi
19163
19164                                if ! test x$enable_geanypy = xno; then :
19165
19166
19167	#
19168	# Allow the use of a (user set) custom python version
19169	#
19170
19171
19172	# Extract the first word of "python[$PYTHON_VERSION]", so it can be a program name with args.
19173set dummy python$PYTHON_VERSION; ac_word=$2
19174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19175$as_echo_n "checking for $ac_word... " >&6; }
19176if ${ac_cv_path_PYTHON+:} false; then :
19177  $as_echo_n "(cached) " >&6
19178else
19179  case $PYTHON in
19180  [\\/]* | ?:[\\/]*)
19181  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
19182  ;;
19183  *)
19184  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19185for as_dir in $PATH
19186do
19187  IFS=$as_save_IFS
19188  test -z "$as_dir" && as_dir=.
19189    for ac_exec_ext in '' $ac_executable_extensions; do
19190  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19191    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19192    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19193    break 2
19194  fi
19195done
19196  done
19197IFS=$as_save_IFS
19198
19199  ;;
19200esac
19201fi
19202PYTHON=$ac_cv_path_PYTHON
19203if test -n "$PYTHON"; then
19204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
19205$as_echo "$PYTHON" >&6; }
19206else
19207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19208$as_echo "no" >&6; }
19209fi
19210
19211
19212	if test -z "$PYTHON"; then
19213	   as_fn_error $? "Cannot find python$PYTHON_VERSION in your system path" "$LINENO" 5
19214	   PYTHON_VERSION=""
19215	fi
19216
19217	#
19218	# Check for a version of Python >= 2.1.0
19219	#
19220	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python >= '2.1.0'" >&5
19221$as_echo_n "checking for a version of Python >= '2.1.0'... " >&6; }
19222	ac_supports_python_ver=`$PYTHON -c "import sys; \
19223		ver = sys.version.split ()[0]; \
19224		print (ver >= '2.1.0')"`
19225	if test "$ac_supports_python_ver" != "True"; then
19226		if test -z "$PYTHON_NOVERSIONCHECK"; then
19227			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19228$as_echo "no" >&6; }
19229			{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19231as_fn_error $? "
19232This version of the AC_PYTHON_DEVEL macro
19233doesn't work properly with versions of Python before
192342.1.0. You may need to re-run configure, setting the
19235variables PYTHON_CPPFLAGS, PYTHON_LIBS, PYTHON_SITE_PKG,
19236PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
19237Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
19238to something else than an empty string.
19239
19240See \`config.log' for more details" "$LINENO" 5; }
19241		else
19242			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: skip at user request" >&5
19243$as_echo "skip at user request" >&6; }
19244		fi
19245	else
19246		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19247$as_echo "yes" >&6; }
19248	fi
19249
19250	#
19251	# if the macro parameter ``version'' is set, honour it
19252	#
19253	if test -n ">= '2.6'"; then
19254		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python >= '2.6'" >&5
19255$as_echo_n "checking for a version of Python >= '2.6'... " >&6; }
19256		ac_supports_python_ver=`$PYTHON -c "import sys; \
19257			ver = sys.version.split ()[0]; \
19258			print (ver >= '2.6')"`
19259		if test "$ac_supports_python_ver" = "True"; then
19260		   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19261$as_echo "yes" >&6; }
19262		else
19263			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19264$as_echo "no" >&6; }
19265			as_fn_error $? "this package requires Python >= '2.6'.
19266If you have it installed, but it isn't the default Python
19267interpreter in your system path, please pass the PYTHON_VERSION
19268variable to configure. See \`\`configure --help'' for reference.
19269" "$LINENO" 5
19270			PYTHON_VERSION=""
19271		fi
19272	fi
19273
19274	#
19275	# Check if you have distutils, else fail
19276	#
19277	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
19278$as_echo_n "checking for the distutils Python package... " >&6; }
19279	ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
19280	if test -z "$ac_distutils_result"; then
19281		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19282$as_echo "yes" >&6; }
19283	else
19284		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19285$as_echo "no" >&6; }
19286		as_fn_error $? "cannot import Python module \"distutils\".
19287Please check your Python installation. The error was:
19288$ac_distutils_result" "$LINENO" 5
19289		PYTHON_VERSION=""
19290	fi
19291
19292	#
19293	# Check for Python include path
19294	#
19295	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
19296$as_echo_n "checking for Python include path... " >&6; }
19297	if test -z "$PYTHON_CPPFLAGS"; then
19298		python_path=`$PYTHON -c "import distutils.sysconfig; \
19299			print (distutils.sysconfig.get_python_inc ());"`
19300		plat_python_path=`$PYTHON -c "import distutils.sysconfig; \
19301			print (distutils.sysconfig.get_python_inc (plat_specific=1));"`
19302		if test -n "${python_path}"; then
19303			if test "${plat_python_path}" != "${python_path}"; then
19304				python_path="-I$python_path -I$plat_python_path"
19305			else
19306				python_path="-I$python_path"
19307			fi
19308		fi
19309		PYTHON_CPPFLAGS=$python_path
19310	fi
19311	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
19312$as_echo "$PYTHON_CPPFLAGS" >&6; }
19313
19314
19315	#
19316	# Check for Python library path
19317	#
19318	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5
19319$as_echo_n "checking for Python library path... " >&6; }
19320	if test -z "$PYTHON_LIBS"; then
19321		# (makes two attempts to ensure we've got a version number
19322		# from the interpreter)
19323		ac_python_version=`cat<<EOD | $PYTHON -
19324
19325# join all versioning strings, on some systems
19326# major/minor numbers could be in different list elements
19327from distutils.sysconfig import *
19328e = get_config_var('VERSION')
19329if e is not None:
19330	print(e)
19331EOD`
19332
19333		if test -z "$ac_python_version"; then
19334			if test -n "$PYTHON_VERSION"; then
19335				ac_python_version=$PYTHON_VERSION
19336			else
19337				ac_python_version=`$PYTHON -c "import sys; \
19338					print (sys.version[:3])"`
19339			fi
19340		fi
19341
19342		# Make the versioning information available to the compiler
19343
19344cat >>confdefs.h <<_ACEOF
19345#define HAVE_PYTHON "$ac_python_version"
19346_ACEOF
19347
19348
19349		# First, the library directory:
19350		ac_python_libdir=`cat<<EOD | $PYTHON -
19351
19352# There should be only one
19353import distutils.sysconfig
19354e = distutils.sysconfig.get_config_var('LIBDIR')
19355if e is not None:
19356	print (e)
19357EOD`
19358
19359		# Now, for the library:
19360		ac_python_library=`cat<<EOD | $PYTHON -
19361
19362import distutils.sysconfig
19363c = distutils.sysconfig.get_config_vars()
19364if 'LDVERSION' in c:
19365	print ('python'+c['LDVERSION'])
19366else:
19367	print ('python'+c['VERSION'])
19368EOD`
19369
19370		# This small piece shamelessly adapted from PostgreSQL python macro;
19371		# credits goes to momjian, I think. I'd like to put the right name
19372		# in the credits, if someone can point me in the right direction... ?
19373		#
19374		if test -n "$ac_python_libdir" -a -n "$ac_python_library"
19375		then
19376			# use the official shared library
19377			ac_python_library=`echo "$ac_python_library" | sed "s/^lib//"`
19378			PYTHON_LIBS="-L$ac_python_libdir -l$ac_python_library"
19379		else
19380			# old way: use libpython from python_configdir
19381			ac_python_libdir=`$PYTHON -c \
19382			  "from distutils.sysconfig import get_python_lib as f; \
19383			  import os; \
19384			  print (os.path.join(f(plat_specific=1, standard_lib=1), 'config'));"`
19385			PYTHON_LIBS="-L$ac_python_libdir -lpython$ac_python_version"
19386		fi
19387
19388		if test -z "PYTHON_LIBS"; then
19389			as_fn_error $? "
19390  Cannot determine location of your Python DSO. Please check it was installed with
19391  dynamic libraries enabled, or try setting PYTHON_LIBS by hand.
19392			" "$LINENO" 5
19393		fi
19394	fi
19395	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
19396$as_echo "$PYTHON_LIBS" >&6; }
19397
19398
19399	#
19400	# Check for site packages
19401	#
19402	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
19403$as_echo_n "checking for Python site-packages path... " >&6; }
19404	if test -z "$PYTHON_SITE_PKG"; then
19405		PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
19406			print (distutils.sysconfig.get_python_lib(0,0));"`
19407	fi
19408	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
19409$as_echo "$PYTHON_SITE_PKG" >&6; }
19410
19411
19412	#
19413	# libraries which must be linked in when embedding
19414	#
19415	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra libraries" >&5
19416$as_echo_n "checking python extra libraries... " >&6; }
19417	if test -z "$PYTHON_EXTRA_LDFLAGS"; then
19418	   PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
19419                conf = distutils.sysconfig.get_config_var; \
19420                print (conf('LIBS') + ' ' + conf('SYSLIBS'))"`
19421	fi
19422	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5
19423$as_echo "$PYTHON_EXTRA_LDFLAGS" >&6; }
19424
19425
19426	#
19427	# linking flags needed when embedding
19428	#
19429	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5
19430$as_echo_n "checking python extra linking flags... " >&6; }
19431	if test -z "$PYTHON_EXTRA_LIBS"; then
19432		PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
19433			conf = distutils.sysconfig.get_config_var; \
19434			print (conf('LINKFORSHARED'))"`
19435	fi
19436	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5
19437$as_echo "$PYTHON_EXTRA_LIBS" >&6; }
19438
19439
19440	#
19441	# final check to see if everything compiles alright
19442	#
19443	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python development environment" >&5
19444$as_echo_n "checking consistency of all components of python development environment... " >&6; }
19445	# save current global flags
19446	ac_save_LIBS="$LIBS"
19447	ac_save_LDFLAGS="$LDFLAGS"
19448	ac_save_CPPFLAGS="$CPPFLAGS"
19449	LIBS="$ac_save_LIBS $PYTHON_LIBS $PYTHON_EXTRA_LIBS $PYTHON_EXTRA_LIBS"
19450	LDFLAGS="$ac_save_LDFLAGS $PYTHON_EXTRA_LDFLAGS"
19451	CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
19452	ac_ext=c
19453ac_cpp='$CPP $CPPFLAGS'
19454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19456ac_compiler_gnu=$ac_cv_c_compiler_gnu
19457
19458	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19459/* end confdefs.h.  */
19460
19461		#include <Python.h>
19462int
19463main ()
19464{
19465Py_Initialize();
19466  ;
19467  return 0;
19468}
19469
19470_ACEOF
19471if ac_fn_c_try_link "$LINENO"; then :
19472  pythonexists=yes
19473else
19474  pythonexists=no
19475fi
19476rm -f core conftest.err conftest.$ac_objext \
19477    conftest$ac_exeext conftest.$ac_ext
19478	ac_ext=c
19479ac_cpp='$CPP $CPPFLAGS'
19480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19482ac_compiler_gnu=$ac_cv_c_compiler_gnu
19483
19484	# turn back to default flags
19485	CPPFLAGS="$ac_save_CPPFLAGS"
19486	LIBS="$ac_save_LIBS"
19487	LDFLAGS="$ac_save_LDFLAGS"
19488
19489	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pythonexists" >&5
19490$as_echo "$pythonexists" >&6; }
19491
19492        if test ! "x$pythonexists" = "xyes"; then
19493	   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19495as_fn_error $? "
19496  Could not link test program to Python. Maybe the main Python library has been
19497  installed in some non-standard library path. If so, pass it to configure,
19498  via the LIBS environment variable.
19499  Example: ./configure LIBS=\"-L/usr/non-standard-path/python/lib\"
19500  ============================================================================
19501   ERROR!
19502   You probably have to install the development version of the Python package
19503   for your distribution.  The exact name of this package varies among them.
19504  ============================================================================
19505
19506See \`config.log' for more details" "$LINENO" 5; }
19507	  PYTHON_VERSION=""
19508	fi
19509
19510	#
19511	# all done!
19512	#
19513
19514
19515
19516
19517	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python DSO location" >&5
19518$as_echo_n "checking for Python DSO location... " >&6; }
19519
19520	ax_python_library=`cat << EOD | $PYTHON - 2>/dev/null
19521from distutils.sysconfig import get_config_vars
19522from os.path import join as path_join
19523
19524cvars = get_config_vars()
19525# support multiarch-enabled distributions like Ubuntu
19526if not 'MULTIARCH' in cvars.keys():
19527    cvars['MULTIARCH'] = ''
19528# try to find the real installed lib, not the generic link
19529if not 'INSTSONAME' in cvars.keys():
19530    cvars['INSTSONAME'] = cvars['LDLIBRARY']
19531print(path_join(cvars['LIBDIR'], cvars['MULTIARCH'], cvars['INSTSONAME']))
19532EOD`
19533
19534	PYTHON_LIBRARY=$ax_python_library
19535
19536	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBRARY" >&5
19537$as_echo "$PYTHON_LIBRARY" >&6; }
19538	if test -z "$ax_python_library"; then :
19539  as_fn_error $? "Cannot find Python library" "$LINENO" 5
19540fi
19541
19542
19543
19544cat >>confdefs.h <<_ACEOF
19545#define GEANYPY_PYTHON_LIBRARY "$PYTHON_LIBRARY"
19546_ACEOF
19547
19548
19549                GEANYPY_CFLAGS=
19550        for flag in -fno-strict-aliasing \
19551                    -Wno-write-strings \
19552                    -Wno-long-long
19553        do
19554
19555
19556
19557    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $flag" >&5
19558$as_echo_n "checking whether the C compiler understands $flag... " >&6; }
19559
19560    gp_check_cflag_CFLAGS="$CFLAGS"
19561    CFLAGS="$flag $_GP_CFLAG_WERROR"
19562    ac_ext=c
19563ac_cpp='$CPP $CPPFLAGS'
19564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19566ac_compiler_gnu=$ac_cv_c_compiler_gnu
19567
19568    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569/* end confdefs.h.  */
19570int main(void) {return 0;}
19571_ACEOF
19572if ac_fn_c_try_compile "$LINENO"; then :
19573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19574$as_echo "yes" >&6; }
19575                     GEANYPY_CFLAGS="${GEANYPY_CFLAGS} $flag"
19576else
19577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19578$as_echo "no" >&6; }
19579
19580fi
19581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19582    ac_ext=c
19583ac_cpp='$CPP $CPPFLAGS'
19584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19586ac_compiler_gnu=$ac_cv_c_compiler_gnu
19587
19588    CFLAGS="$gp_check_cflag_CFLAGS"
19589
19590
19591        done
19592
19593
19594fi
19595
19596        if test "$enable_geanypy" = "auto"; then
19597        enable_geanypy=yes
19598    fi
19599     if test "$enable_geanypy" = yes; then
19600  ENABLE_GEANYPY_TRUE=
19601  ENABLE_GEANYPY_FALSE='#'
19602else
19603  ENABLE_GEANYPY_TRUE='#'
19604  ENABLE_GEANYPY_FALSE=
19605fi
19606
19607
19608    plugins_statusmsg="${plugins_statusmsg}Geanypy:$enable_geanypy
19609"
19610
19611
19612    ac_config_files="$ac_config_files geanypy/Makefile geanypy/src/Makefile geanypy/geany/Makefile geanypy/plugins/Makefile"
19613
19614
19615
19616
19617
19618
19619    # Check whether --enable-geanyvc was given.
19620if test "${enable_geanyvc+set}" = set; then :
19621  enableval=$enable_geanyvc; enable_geanyvc=$enableval
19622else
19623  case $gp_enable_all in #(
19624  no) :
19625    enable_geanyvc=no ;; #(
19626  yes) :
19627    enable_geanyvc=yes ;; #(
19628  *) :
19629    enable_geanyvc=auto ;;
19630esac
19631fi
19632
19633
19634
19635        if test "$enable_geanyvc" = "auto"; then
19636        enable_geanyvc=yes
19637    fi
19638     if test "$enable_geanyvc" = yes; then
19639  ENABLE_GEANYVC_TRUE=
19640  ENABLE_GEANYVC_FALSE='#'
19641else
19642  ENABLE_GEANYVC_TRUE='#'
19643  ENABLE_GEANYVC_FALSE=
19644fi
19645
19646
19647    plugins_statusmsg="${plugins_statusmsg}GeanyVC:$enable_geanyvc
19648"
19649
19650
19651    # Check whether --enable-gtkspell was given.
19652if test "${enable_gtkspell+set}" = set; then :
19653  enableval=$enable_gtkspell;
19654else
19655  enable_gtkspell=auto
19656fi
19657
19658
19659
19660    if test ${GP_GTK_VERSION_MAJOR} = 3; then :
19661  gtkspell_package=gtkspell3-3.0
19662else
19663  gtkspell_package=gtkspell-2.0
19664fi
19665
19666    if [ x"$enable_gtkspell" = "xauto" ]; then
19667
19668pkg_failed=no
19669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gtkspell_package" >&5
19670$as_echo_n "checking for $gtkspell_package... " >&6; }
19671
19672if test -n "$GTKSPELL_CFLAGS"; then
19673    pkg_cv_GTKSPELL_CFLAGS="$GTKSPELL_CFLAGS"
19674 elif test -n "$PKG_CONFIG"; then
19675    if test -n "$PKG_CONFIG" && \
19676    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtkspell_package\""; } >&5
19677  ($PKG_CONFIG --exists --print-errors "$gtkspell_package") 2>&5
19678  ac_status=$?
19679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19680  test $ac_status = 0; }; then
19681  pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "$gtkspell_package" 2>/dev/null`
19682		      test "x$?" != "x0" && pkg_failed=yes
19683else
19684  pkg_failed=yes
19685fi
19686 else
19687    pkg_failed=untried
19688fi
19689if test -n "$GTKSPELL_LIBS"; then
19690    pkg_cv_GTKSPELL_LIBS="$GTKSPELL_LIBS"
19691 elif test -n "$PKG_CONFIG"; then
19692    if test -n "$PKG_CONFIG" && \
19693    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtkspell_package\""; } >&5
19694  ($PKG_CONFIG --exists --print-errors "$gtkspell_package") 2>&5
19695  ac_status=$?
19696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19697  test $ac_status = 0; }; then
19698  pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "$gtkspell_package" 2>/dev/null`
19699		      test "x$?" != "x0" && pkg_failed=yes
19700else
19701  pkg_failed=yes
19702fi
19703 else
19704    pkg_failed=untried
19705fi
19706
19707
19708
19709if test $pkg_failed = yes; then
19710        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19711$as_echo "no" >&6; }
19712
19713if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19714        _pkg_short_errors_supported=yes
19715else
19716        _pkg_short_errors_supported=no
19717fi
19718        if test $_pkg_short_errors_supported = yes; then
19719	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gtkspell_package" 2>&1`
19720        else
19721	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gtkspell_package" 2>&1`
19722        fi
19723	# Put the nasty error message in config.log where it belongs
19724	echo "$GTKSPELL_PKG_ERRORS" >&5
19725
19726	enable_gtkspell=no
19727elif test $pkg_failed = untried; then
19728        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19729$as_echo "no" >&6; }
19730	enable_gtkspell=no
19731else
19732	GTKSPELL_CFLAGS=$pkg_cv_GTKSPELL_CFLAGS
19733	GTKSPELL_LIBS=$pkg_cv_GTKSPELL_LIBS
19734        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19735$as_echo "yes" >&6; }
19736	enable_gtkspell=yes
19737fi
19738    elif [ x"$enable_gtkspell" = "xyes" ]; then
19739
19740pkg_failed=no
19741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gtkspell_package" >&5
19742$as_echo_n "checking for $gtkspell_package... " >&6; }
19743
19744if test -n "$GTKSPELL_CFLAGS"; then
19745    pkg_cv_GTKSPELL_CFLAGS="$GTKSPELL_CFLAGS"
19746 elif test -n "$PKG_CONFIG"; then
19747    if test -n "$PKG_CONFIG" && \
19748    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtkspell_package\""; } >&5
19749  ($PKG_CONFIG --exists --print-errors "$gtkspell_package") 2>&5
19750  ac_status=$?
19751  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19752  test $ac_status = 0; }; then
19753  pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "$gtkspell_package" 2>/dev/null`
19754		      test "x$?" != "x0" && pkg_failed=yes
19755else
19756  pkg_failed=yes
19757fi
19758 else
19759    pkg_failed=untried
19760fi
19761if test -n "$GTKSPELL_LIBS"; then
19762    pkg_cv_GTKSPELL_LIBS="$GTKSPELL_LIBS"
19763 elif test -n "$PKG_CONFIG"; then
19764    if test -n "$PKG_CONFIG" && \
19765    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtkspell_package\""; } >&5
19766  ($PKG_CONFIG --exists --print-errors "$gtkspell_package") 2>&5
19767  ac_status=$?
19768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19769  test $ac_status = 0; }; then
19770  pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "$gtkspell_package" 2>/dev/null`
19771		      test "x$?" != "x0" && pkg_failed=yes
19772else
19773  pkg_failed=yes
19774fi
19775 else
19776    pkg_failed=untried
19777fi
19778
19779
19780
19781if test $pkg_failed = yes; then
19782        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19783$as_echo "no" >&6; }
19784
19785if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19786        _pkg_short_errors_supported=yes
19787else
19788        _pkg_short_errors_supported=no
19789fi
19790        if test $_pkg_short_errors_supported = yes; then
19791	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gtkspell_package" 2>&1`
19792        else
19793	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gtkspell_package" 2>&1`
19794        fi
19795	# Put the nasty error message in config.log where it belongs
19796	echo "$GTKSPELL_PKG_ERRORS" >&5
19797
19798	as_fn_error $? "Package requirements ($gtkspell_package) were not met:
19799
19800$GTKSPELL_PKG_ERRORS
19801
19802Consider adjusting the PKG_CONFIG_PATH environment variable if you
19803installed software in a non-standard prefix.
19804
19805Alternatively, you may set the environment variables GTKSPELL_CFLAGS
19806and GTKSPELL_LIBS to avoid the need to call pkg-config.
19807See the pkg-config man page for more details." "$LINENO" 5
19808elif test $pkg_failed = untried; then
19809        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19810$as_echo "no" >&6; }
19811	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19813as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19814is in your PATH or set the PKG_CONFIG environment variable to the full
19815path to pkg-config.
19816
19817Alternatively, you may set the environment variables GTKSPELL_CFLAGS
19818and GTKSPELL_LIBS to avoid the need to call pkg-config.
19819See the pkg-config man page for more details.
19820
19821To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19822See \`config.log' for more details" "$LINENO" 5; }
19823else
19824	GTKSPELL_CFLAGS=$pkg_cv_GTKSPELL_CFLAGS
19825	GTKSPELL_LIBS=$pkg_cv_GTKSPELL_LIBS
19826        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19827$as_echo "yes" >&6; }
19828
19829fi
19830    fi
19831    if [ x"$enable_gtkspell" = "xyes" ]; then
19832
19833$as_echo "#define USE_GTKSPELL 1" >>confdefs.h
19834
19835    fi
19836
19837    if [ "$enable_gtkspell" = yes -a "$enable_geanyvc" = no ]; then
19838       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GtkSpell support for GeanyVC enabled, but GeanyVC itself not enabled." >&5
19839$as_echo "$as_me: WARNING: GtkSpell support for GeanyVC enabled, but GeanyVC itself not enabled." >&2;}
19840    fi
19841
19842
19843    feature_statusmsg="${feature_statusmsg}GeanyVC GtkSpell support:$enable_gtkspell
19844"
19845
19846
19847    ac_config_files="$ac_config_files geanyvc/Makefile geanyvc/src/Makefile"
19848
19849
19850
19851# Check whether --with-gpgme-prefix was given.
19852if test "${with_gpgme_prefix+set}" = set; then :
19853  withval=$with_gpgme_prefix; gpgme_config_prefix="$withval"
19854else
19855  gpgme_config_prefix=""
19856fi
19857
19858  if test "x$gpgme_config_prefix" != x ; then
19859      GPGME_CONFIG="$gpgme_config_prefix/bin/gpgme-config"
19860  fi
19861  # Extract the first word of "gpgme-config", so it can be a program name with args.
19862set dummy gpgme-config; ac_word=$2
19863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19864$as_echo_n "checking for $ac_word... " >&6; }
19865if ${ac_cv_path_GPGME_CONFIG+:} false; then :
19866  $as_echo_n "(cached) " >&6
19867else
19868  case $GPGME_CONFIG in
19869  [\\/]* | ?:[\\/]*)
19870  ac_cv_path_GPGME_CONFIG="$GPGME_CONFIG" # Let the user override the test with a path.
19871  ;;
19872  *)
19873  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19874for as_dir in $PATH
19875do
19876  IFS=$as_save_IFS
19877  test -z "$as_dir" && as_dir=.
19878    for ac_exec_ext in '' $ac_executable_extensions; do
19879  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19880    ac_cv_path_GPGME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19882    break 2
19883  fi
19884done
19885  done
19886IFS=$as_save_IFS
19887
19888  test -z "$ac_cv_path_GPGME_CONFIG" && ac_cv_path_GPGME_CONFIG="no"
19889  ;;
19890esac
19891fi
19892GPGME_CONFIG=$ac_cv_path_GPGME_CONFIG
19893if test -n "$GPGME_CONFIG"; then
19894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPGME_CONFIG" >&5
19895$as_echo "$GPGME_CONFIG" >&6; }
19896else
19897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19898$as_echo "no" >&6; }
19899fi
19900
19901
19902
19903  if test "$GPGME_CONFIG" != "no" ; then
19904    gpgme_version=`$GPGME_CONFIG --version`
19905  fi
19906  gpgme_version_major=`echo $gpgme_version | \
19907               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
19908  gpgme_version_minor=`echo $gpgme_version | \
19909               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
19910  gpgme_version_micro=`echo $gpgme_version | \
19911               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
19912
19913
19914
19915
19916
19917    # Check whether --enable-geanypg was given.
19918if test "${enable_geanypg+set}" = set; then :
19919  enableval=$enable_geanypg; enable_geanypg=$enableval
19920else
19921  case $gp_enable_all in #(
19922  no) :
19923    enable_geanypg=no ;; #(
19924  yes) :
19925    enable_geanypg=yes ;; #(
19926  *) :
19927    enable_geanypg=auto ;;
19928esac
19929fi
19930
19931
19932    if test "$enable_geanypg" = "auto"; then
19933        enable_geanypg=no
19934           tmp=1:0.4.2
19935  if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
19936     req_gpgme_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
19937     min_gpgme_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
19938  else
19939     req_gpgme_api=0
19940     min_gpgme_version="$tmp"
19941  fi
19942
19943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPGME - version >= $min_gpgme_version" >&5
19944$as_echo_n "checking for GPGME - version >= $min_gpgme_version... " >&6; }
19945  ok=no
19946  if test "$GPGME_CONFIG" != "no" ; then
19947    req_major=`echo $min_gpgme_version | \
19948               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
19949    req_minor=`echo $min_gpgme_version | \
19950               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
19951    req_micro=`echo $min_gpgme_version | \
19952               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
19953    if test "$gpgme_version_major" -gt "$req_major"; then
19954        ok=yes
19955    else
19956        if test "$gpgme_version_major" -eq "$req_major"; then
19957            if test "$gpgme_version_minor" -gt "$req_minor"; then
19958               ok=yes
19959            else
19960               if test "$gpgme_version_minor" -eq "$req_minor"; then
19961                   if test "$gpgme_version_micro" -ge "$req_micro"; then
19962                     ok=yes
19963                   fi
19964               fi
19965            fi
19966        fi
19967    fi
19968  fi
19969  if test $ok = yes; then
19970     # If we have a recent GPGME, we should also check that the
19971     # API is compatible.
19972     if test "$req_gpgme_api" -gt 0 ; then
19973        tmp=`$GPGME_CONFIG --api-version 2>/dev/null || echo 0`
19974        if test "$tmp" -gt 0 ; then
19975           if test "$req_gpgme_api" -ne "$tmp" ; then
19976             ok=no
19977           fi
19978        fi
19979     fi
19980  fi
19981  if test $ok = yes; then
19982    GPGME_CFLAGS=`$GPGME_CONFIG --cflags`
19983    GPGME_LIBS=`$GPGME_CONFIG --libs`
19984    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19985$as_echo "yes" >&6; }
19986    enable_geanypg=auto
19987  else
19988    GPGME_CFLAGS=""
19989    GPGME_LIBS=""
19990    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19991$as_echo "no" >&6; }
19992    :
19993  fi
19994
19995
19996
19997    elif test "$enable_geanypg" = "yes"; then
19998           tmp=1:0.4.2
19999  if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
20000     req_gpgme_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
20001     min_gpgme_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
20002  else
20003     req_gpgme_api=0
20004     min_gpgme_version="$tmp"
20005  fi
20006
20007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPGME - version >= $min_gpgme_version" >&5
20008$as_echo_n "checking for GPGME - version >= $min_gpgme_version... " >&6; }
20009  ok=no
20010  if test "$GPGME_CONFIG" != "no" ; then
20011    req_major=`echo $min_gpgme_version | \
20012               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
20013    req_minor=`echo $min_gpgme_version | \
20014               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
20015    req_micro=`echo $min_gpgme_version | \
20016               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
20017    if test "$gpgme_version_major" -gt "$req_major"; then
20018        ok=yes
20019    else
20020        if test "$gpgme_version_major" -eq "$req_major"; then
20021            if test "$gpgme_version_minor" -gt "$req_minor"; then
20022               ok=yes
20023            else
20024               if test "$gpgme_version_minor" -eq "$req_minor"; then
20025                   if test "$gpgme_version_micro" -ge "$req_micro"; then
20026                     ok=yes
20027                   fi
20028               fi
20029            fi
20030        fi
20031    fi
20032  fi
20033  if test $ok = yes; then
20034     # If we have a recent GPGME, we should also check that the
20035     # API is compatible.
20036     if test "$req_gpgme_api" -gt 0 ; then
20037        tmp=`$GPGME_CONFIG --api-version 2>/dev/null || echo 0`
20038        if test "$tmp" -gt 0 ; then
20039           if test "$req_gpgme_api" -ne "$tmp" ; then
20040             ok=no
20041           fi
20042        fi
20043     fi
20044  fi
20045  if test $ok = yes; then
20046    GPGME_CFLAGS=`$GPGME_CONFIG --cflags`
20047    GPGME_LIBS=`$GPGME_CONFIG --libs`
20048    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20049$as_echo "yes" >&6; }
20050    :
20051  else
20052    GPGME_CFLAGS=""
20053    GPGME_LIBS=""
20054    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20055$as_echo "no" >&6; }
20056    as_fn_error $? "Could not find GPGME. Please define GPGME_CFLAGS and GPGME_LIBS if it is installed." "$LINENO" 5
20057  fi
20058
20059
20060
20061
20062    fi
20063
20064    if test "$enable_geanypg" != "no"; then :
20065
20066        for ac_func in fdopen
20067do :
20068  ac_fn_c_check_func "$LINENO" "fdopen" "ac_cv_func_fdopen"
20069if test "x$ac_cv_func_fdopen" = xyes; then :
20070  cat >>confdefs.h <<_ACEOF
20071#define HAVE_FDOPEN 1
20072_ACEOF
20073
20074else
20075
20076            if test "$enable_geanypg" = "yes"; then :
20077  as_fn_error $? "Could not find fdopen" "$LINENO" 5
20078else
20079  enable_geanypg=no
20080fi
20081
20082fi
20083done
20084
20085
20086fi
20087
20088    # necessary for gpgme
20089    # Check whether --enable-largefile was given.
20090if test "${enable_largefile+set}" = set; then :
20091  enableval=$enable_largefile;
20092fi
20093
20094if test "$enable_largefile" != no; then
20095
20096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
20097$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
20098if ${ac_cv_sys_largefile_CC+:} false; then :
20099  $as_echo_n "(cached) " >&6
20100else
20101  ac_cv_sys_largefile_CC=no
20102     if test "$GCC" != yes; then
20103       ac_save_CC=$CC
20104       while :; do
20105	 # IRIX 6.2 and later do not support large files by default,
20106	 # so use the C compiler's -n32 option if that helps.
20107	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108/* end confdefs.h.  */
20109#include <sys/types.h>
20110 /* Check that off_t can represent 2**63 - 1 correctly.
20111    We can't simply define LARGE_OFF_T to be 9223372036854775807,
20112    since some C++ compilers masquerading as C compilers
20113    incorrectly reject 9223372036854775807.  */
20114#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20115  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20116		       && LARGE_OFF_T % 2147483647 == 1)
20117		      ? 1 : -1];
20118int
20119main ()
20120{
20121
20122  ;
20123  return 0;
20124}
20125_ACEOF
20126	 if ac_fn_c_try_compile "$LINENO"; then :
20127  break
20128fi
20129rm -f core conftest.err conftest.$ac_objext
20130	 CC="$CC -n32"
20131	 if ac_fn_c_try_compile "$LINENO"; then :
20132  ac_cv_sys_largefile_CC=' -n32'; break
20133fi
20134rm -f core conftest.err conftest.$ac_objext
20135	 break
20136       done
20137       CC=$ac_save_CC
20138       rm -f conftest.$ac_ext
20139    fi
20140fi
20141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
20142$as_echo "$ac_cv_sys_largefile_CC" >&6; }
20143  if test "$ac_cv_sys_largefile_CC" != no; then
20144    CC=$CC$ac_cv_sys_largefile_CC
20145  fi
20146
20147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20148$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20149if ${ac_cv_sys_file_offset_bits+:} false; then :
20150  $as_echo_n "(cached) " >&6
20151else
20152  while :; do
20153  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154/* end confdefs.h.  */
20155#include <sys/types.h>
20156 /* Check that off_t can represent 2**63 - 1 correctly.
20157    We can't simply define LARGE_OFF_T to be 9223372036854775807,
20158    since some C++ compilers masquerading as C compilers
20159    incorrectly reject 9223372036854775807.  */
20160#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20161  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20162		       && LARGE_OFF_T % 2147483647 == 1)
20163		      ? 1 : -1];
20164int
20165main ()
20166{
20167
20168  ;
20169  return 0;
20170}
20171_ACEOF
20172if ac_fn_c_try_compile "$LINENO"; then :
20173  ac_cv_sys_file_offset_bits=no; break
20174fi
20175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20176  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20177/* end confdefs.h.  */
20178#define _FILE_OFFSET_BITS 64
20179#include <sys/types.h>
20180 /* Check that off_t can represent 2**63 - 1 correctly.
20181    We can't simply define LARGE_OFF_T to be 9223372036854775807,
20182    since some C++ compilers masquerading as C compilers
20183    incorrectly reject 9223372036854775807.  */
20184#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20185  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20186		       && LARGE_OFF_T % 2147483647 == 1)
20187		      ? 1 : -1];
20188int
20189main ()
20190{
20191
20192  ;
20193  return 0;
20194}
20195_ACEOF
20196if ac_fn_c_try_compile "$LINENO"; then :
20197  ac_cv_sys_file_offset_bits=64; break
20198fi
20199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200  ac_cv_sys_file_offset_bits=unknown
20201  break
20202done
20203fi
20204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20205$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20206case $ac_cv_sys_file_offset_bits in #(
20207  no | unknown) ;;
20208  *)
20209cat >>confdefs.h <<_ACEOF
20210#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20211_ACEOF
20212;;
20213esac
20214rm -rf conftest*
20215  if test $ac_cv_sys_file_offset_bits = unknown; then
20216    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20217$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20218if ${ac_cv_sys_large_files+:} false; then :
20219  $as_echo_n "(cached) " >&6
20220else
20221  while :; do
20222  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223/* end confdefs.h.  */
20224#include <sys/types.h>
20225 /* Check that off_t can represent 2**63 - 1 correctly.
20226    We can't simply define LARGE_OFF_T to be 9223372036854775807,
20227    since some C++ compilers masquerading as C compilers
20228    incorrectly reject 9223372036854775807.  */
20229#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20230  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20231		       && LARGE_OFF_T % 2147483647 == 1)
20232		      ? 1 : -1];
20233int
20234main ()
20235{
20236
20237  ;
20238  return 0;
20239}
20240_ACEOF
20241if ac_fn_c_try_compile "$LINENO"; then :
20242  ac_cv_sys_large_files=no; break
20243fi
20244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246/* end confdefs.h.  */
20247#define _LARGE_FILES 1
20248#include <sys/types.h>
20249 /* Check that off_t can represent 2**63 - 1 correctly.
20250    We can't simply define LARGE_OFF_T to be 9223372036854775807,
20251    since some C++ compilers masquerading as C compilers
20252    incorrectly reject 9223372036854775807.  */
20253#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20254  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20255		       && LARGE_OFF_T % 2147483647 == 1)
20256		      ? 1 : -1];
20257int
20258main ()
20259{
20260
20261  ;
20262  return 0;
20263}
20264_ACEOF
20265if ac_fn_c_try_compile "$LINENO"; then :
20266  ac_cv_sys_large_files=1; break
20267fi
20268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269  ac_cv_sys_large_files=unknown
20270  break
20271done
20272fi
20273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20274$as_echo "$ac_cv_sys_large_files" >&6; }
20275case $ac_cv_sys_large_files in #(
20276  no | unknown) ;;
20277  *)
20278cat >>confdefs.h <<_ACEOF
20279#define _LARGE_FILES $ac_cv_sys_large_files
20280_ACEOF
20281;;
20282esac
20283rm -rf conftest*
20284  fi
20285
20286
20287fi
20288
20289
20290
20291        if test "$enable_geanypg" = "auto"; then
20292        enable_geanypg=yes
20293    fi
20294     if test "$enable_geanypg" = yes; then
20295  ENABLE_GEANYPG_TRUE=
20296  ENABLE_GEANYPG_FALSE='#'
20297else
20298  ENABLE_GEANYPG_TRUE='#'
20299  ENABLE_GEANYPG_FALSE=
20300fi
20301
20302
20303    plugins_statusmsg="${plugins_statusmsg}GeanyPG:$enable_geanypg
20304"
20305
20306
20307    ac_config_files="$ac_config_files geanypg/Makefile geanypg/src/Makefile"
20308
20309
20310
20311
20312
20313
20314    # Check whether --enable-geniuspaste was given.
20315if test "${enable_geniuspaste+set}" = set; then :
20316  enableval=$enable_geniuspaste; enable_geniuspaste=$enableval
20317else
20318  case $gp_enable_all in #(
20319  no) :
20320    enable_geniuspaste=no ;; #(
20321  yes) :
20322    enable_geniuspaste=yes ;; #(
20323  *) :
20324    enable_geniuspaste=auto ;;
20325esac
20326fi
20327
20328
20329
20330
20331
20332
20333    gtk_dep=0
20334    if test $gtk_dep -ne 0; then
20335
20336
20337
20338    if test "$enable_geniuspaste" = no; then :
20339
20340else
20341  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin GeniusPaste" >&5
20342$as_echo_n "checking whether the GTK version in use is compatible with plugin GeniusPaste... " >&6; }
20343           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
20344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20345$as_echo "yes" >&6; }
20346else
20347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20348$as_echo "no" >&6; }
20349                  if test "$enable_geniuspaste" = yes; then :
20350  as_fn_error $? "GeniusPaste is not compatible with the GTK version in use" "$LINENO" 5
20351elif test "$enable_geniuspaste" = auto; then :
20352  enable_geniuspaste=no
20353fi
20354fi
20355fi
20356
20357    fi
20358
20359    if test "$enable_geniuspaste" = "yes"; then
20360
20361pkg_failed=no
20362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup-2.4 >= 2.4.0" >&5
20363$as_echo_n "checking for libsoup-2.4 >= 2.4.0... " >&6; }
20364
20365if test -n "$GENIUSPASTE_CFLAGS"; then
20366    pkg_cv_GENIUSPASTE_CFLAGS="$GENIUSPASTE_CFLAGS"
20367 elif test -n "$PKG_CONFIG"; then
20368    if test -n "$PKG_CONFIG" && \
20369    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.4.0\""; } >&5
20370  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.4.0") 2>&5
20371  ac_status=$?
20372  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20373  test $ac_status = 0; }; then
20374  pkg_cv_GENIUSPASTE_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.4.0" 2>/dev/null`
20375		      test "x$?" != "x0" && pkg_failed=yes
20376else
20377  pkg_failed=yes
20378fi
20379 else
20380    pkg_failed=untried
20381fi
20382if test -n "$GENIUSPASTE_LIBS"; then
20383    pkg_cv_GENIUSPASTE_LIBS="$GENIUSPASTE_LIBS"
20384 elif test -n "$PKG_CONFIG"; then
20385    if test -n "$PKG_CONFIG" && \
20386    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.4.0\""; } >&5
20387  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.4.0") 2>&5
20388  ac_status=$?
20389  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20390  test $ac_status = 0; }; then
20391  pkg_cv_GENIUSPASTE_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.4.0" 2>/dev/null`
20392		      test "x$?" != "x0" && pkg_failed=yes
20393else
20394  pkg_failed=yes
20395fi
20396 else
20397    pkg_failed=untried
20398fi
20399
20400
20401
20402if test $pkg_failed = yes; then
20403        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20404$as_echo "no" >&6; }
20405
20406if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20407        _pkg_short_errors_supported=yes
20408else
20409        _pkg_short_errors_supported=no
20410fi
20411        if test $_pkg_short_errors_supported = yes; then
20412	        GENIUSPASTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.4.0" 2>&1`
20413        else
20414	        GENIUSPASTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.4.0" 2>&1`
20415        fi
20416	# Put the nasty error message in config.log where it belongs
20417	echo "$GENIUSPASTE_PKG_ERRORS" >&5
20418
20419	as_fn_error $? "Package requirements (libsoup-2.4 >= 2.4.0) were not met:
20420
20421$GENIUSPASTE_PKG_ERRORS
20422
20423Consider adjusting the PKG_CONFIG_PATH environment variable if you
20424installed software in a non-standard prefix.
20425
20426Alternatively, you may set the environment variables GENIUSPASTE_CFLAGS
20427and GENIUSPASTE_LIBS to avoid the need to call pkg-config.
20428See the pkg-config man page for more details." "$LINENO" 5
20429elif test $pkg_failed = untried; then
20430        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20431$as_echo "no" >&6; }
20432	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20433$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20434as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20435is in your PATH or set the PKG_CONFIG environment variable to the full
20436path to pkg-config.
20437
20438Alternatively, you may set the environment variables GENIUSPASTE_CFLAGS
20439and GENIUSPASTE_LIBS to avoid the need to call pkg-config.
20440See the pkg-config man page for more details.
20441
20442To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20443See \`config.log' for more details" "$LINENO" 5; }
20444else
20445	GENIUSPASTE_CFLAGS=$pkg_cv_GENIUSPASTE_CFLAGS
20446	GENIUSPASTE_LIBS=$pkg_cv_GENIUSPASTE_LIBS
20447        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20448$as_echo "yes" >&6; }
20449
20450fi
20451    elif test "$enable_geniuspaste" = "auto"; then
20452
20453pkg_failed=no
20454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup-2.4 >= 2.4.0" >&5
20455$as_echo_n "checking for libsoup-2.4 >= 2.4.0... " >&6; }
20456
20457if test -n "$GENIUSPASTE_CFLAGS"; then
20458    pkg_cv_GENIUSPASTE_CFLAGS="$GENIUSPASTE_CFLAGS"
20459 elif test -n "$PKG_CONFIG"; then
20460    if test -n "$PKG_CONFIG" && \
20461    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.4.0\""; } >&5
20462  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.4.0") 2>&5
20463  ac_status=$?
20464  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20465  test $ac_status = 0; }; then
20466  pkg_cv_GENIUSPASTE_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.4.0" 2>/dev/null`
20467		      test "x$?" != "x0" && pkg_failed=yes
20468else
20469  pkg_failed=yes
20470fi
20471 else
20472    pkg_failed=untried
20473fi
20474if test -n "$GENIUSPASTE_LIBS"; then
20475    pkg_cv_GENIUSPASTE_LIBS="$GENIUSPASTE_LIBS"
20476 elif test -n "$PKG_CONFIG"; then
20477    if test -n "$PKG_CONFIG" && \
20478    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.4.0\""; } >&5
20479  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.4.0") 2>&5
20480  ac_status=$?
20481  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20482  test $ac_status = 0; }; then
20483  pkg_cv_GENIUSPASTE_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.4.0" 2>/dev/null`
20484		      test "x$?" != "x0" && pkg_failed=yes
20485else
20486  pkg_failed=yes
20487fi
20488 else
20489    pkg_failed=untried
20490fi
20491
20492
20493
20494if test $pkg_failed = yes; then
20495        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20496$as_echo "no" >&6; }
20497
20498if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20499        _pkg_short_errors_supported=yes
20500else
20501        _pkg_short_errors_supported=no
20502fi
20503        if test $_pkg_short_errors_supported = yes; then
20504	        GENIUSPASTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.4.0" 2>&1`
20505        else
20506	        GENIUSPASTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.4.0" 2>&1`
20507        fi
20508	# Put the nasty error message in config.log where it belongs
20509	echo "$GENIUSPASTE_PKG_ERRORS" >&5
20510
20511	enable_geniuspaste=no
20512elif test $pkg_failed = untried; then
20513        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20514$as_echo "no" >&6; }
20515	enable_geniuspaste=no
20516else
20517	GENIUSPASTE_CFLAGS=$pkg_cv_GENIUSPASTE_CFLAGS
20518	GENIUSPASTE_LIBS=$pkg_cv_GENIUSPASTE_LIBS
20519        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20520$as_echo "yes" >&6; }
20521
20522fi
20523    fi
20524
20525
20526
20527        if test "$enable_geniuspaste" = "auto"; then
20528        enable_geniuspaste=yes
20529    fi
20530     if test "$enable_geniuspaste" = yes; then
20531  ENABLE_GENIUSPASTE_TRUE=
20532  ENABLE_GENIUSPASTE_FALSE='#'
20533else
20534  ENABLE_GENIUSPASTE_TRUE='#'
20535  ENABLE_GENIUSPASTE_FALSE=
20536fi
20537
20538
20539    plugins_statusmsg="${plugins_statusmsg}GeniusPaste:$enable_geniuspaste
20540"
20541
20542
20543
20544    ac_config_files="$ac_config_files geniuspaste/Makefile geniuspaste/data/Makefile geniuspaste/src/Makefile"
20545
20546
20547
20548
20549
20550
20551    # Check whether --enable-gitchangebar was given.
20552if test "${enable_gitchangebar+set}" = set; then :
20553  enableval=$enable_gitchangebar; enable_gitchangebar=$enableval
20554else
20555  case $gp_enable_all in #(
20556  no) :
20557    enable_gitchangebar=no ;; #(
20558  yes) :
20559    enable_gitchangebar=yes ;; #(
20560  *) :
20561    enable_gitchangebar=auto ;;
20562esac
20563fi
20564
20565
20566
20567
20568
20569
20570    gtk_dep=0
20571    if test $gtk_dep -ne 0; then
20572
20573
20574
20575    if test "$enable_gitchangebar" = no; then :
20576
20577else
20578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin GitChangeBar" >&5
20579$as_echo_n "checking whether the GTK version in use is compatible with plugin GitChangeBar... " >&6; }
20580           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
20581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20582$as_echo "yes" >&6; }
20583else
20584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20585$as_echo "no" >&6; }
20586                  if test "$enable_gitchangebar" = yes; then :
20587  as_fn_error $? "GitChangeBar is not compatible with the GTK version in use" "$LINENO" 5
20588elif test "$enable_gitchangebar" = auto; then :
20589  enable_gitchangebar=no
20590fi
20591fi
20592fi
20593
20594    fi
20595
20596    if test "$enable_gitchangebar" = "yes"; then
20597
20598pkg_failed=no
20599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.18
20600                          glib-2.0
20601                          libgit2 >= 0.21" >&5
20602$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.18
20603                          glib-2.0
20604                          libgit2 >= 0.21... " >&6; }
20605
20606if test -n "$GITCHANGEBAR_CFLAGS"; then
20607    pkg_cv_GITCHANGEBAR_CFLAGS="$GITCHANGEBAR_CFLAGS"
20608 elif test -n "$PKG_CONFIG"; then
20609    if test -n "$PKG_CONFIG" && \
20610    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.18
20611                          glib-2.0
20612                          libgit2 >= 0.21\""; } >&5
20613  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.18
20614                          glib-2.0
20615                          libgit2 >= 0.21") 2>&5
20616  ac_status=$?
20617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20618  test $ac_status = 0; }; then
20619  pkg_cv_GITCHANGEBAR_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.18
20620                          glib-2.0
20621                          libgit2 >= 0.21" 2>/dev/null`
20622		      test "x$?" != "x0" && pkg_failed=yes
20623else
20624  pkg_failed=yes
20625fi
20626 else
20627    pkg_failed=untried
20628fi
20629if test -n "$GITCHANGEBAR_LIBS"; then
20630    pkg_cv_GITCHANGEBAR_LIBS="$GITCHANGEBAR_LIBS"
20631 elif test -n "$PKG_CONFIG"; then
20632    if test -n "$PKG_CONFIG" && \
20633    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.18
20634                          glib-2.0
20635                          libgit2 >= 0.21\""; } >&5
20636  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.18
20637                          glib-2.0
20638                          libgit2 >= 0.21") 2>&5
20639  ac_status=$?
20640  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20641  test $ac_status = 0; }; then
20642  pkg_cv_GITCHANGEBAR_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.18
20643                          glib-2.0
20644                          libgit2 >= 0.21" 2>/dev/null`
20645		      test "x$?" != "x0" && pkg_failed=yes
20646else
20647  pkg_failed=yes
20648fi
20649 else
20650    pkg_failed=untried
20651fi
20652
20653
20654
20655if test $pkg_failed = yes; then
20656        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20657$as_echo "no" >&6; }
20658
20659if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20660        _pkg_short_errors_supported=yes
20661else
20662        _pkg_short_errors_supported=no
20663fi
20664        if test $_pkg_short_errors_supported = yes; then
20665	        GITCHANGEBAR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.18
20666                          glib-2.0
20667                          libgit2 >= 0.21" 2>&1`
20668        else
20669	        GITCHANGEBAR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.18
20670                          glib-2.0
20671                          libgit2 >= 0.21" 2>&1`
20672        fi
20673	# Put the nasty error message in config.log where it belongs
20674	echo "$GITCHANGEBAR_PKG_ERRORS" >&5
20675
20676	as_fn_error $? "Package requirements ($GP_GTK_PACKAGE >= 2.18
20677                          glib-2.0
20678                          libgit2 >= 0.21) were not met:
20679
20680$GITCHANGEBAR_PKG_ERRORS
20681
20682Consider adjusting the PKG_CONFIG_PATH environment variable if you
20683installed software in a non-standard prefix.
20684
20685Alternatively, you may set the environment variables GITCHANGEBAR_CFLAGS
20686and GITCHANGEBAR_LIBS to avoid the need to call pkg-config.
20687See the pkg-config man page for more details." "$LINENO" 5
20688elif test $pkg_failed = untried; then
20689        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20690$as_echo "no" >&6; }
20691	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20692$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20693as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20694is in your PATH or set the PKG_CONFIG environment variable to the full
20695path to pkg-config.
20696
20697Alternatively, you may set the environment variables GITCHANGEBAR_CFLAGS
20698and GITCHANGEBAR_LIBS to avoid the need to call pkg-config.
20699See the pkg-config man page for more details.
20700
20701To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20702See \`config.log' for more details" "$LINENO" 5; }
20703else
20704	GITCHANGEBAR_CFLAGS=$pkg_cv_GITCHANGEBAR_CFLAGS
20705	GITCHANGEBAR_LIBS=$pkg_cv_GITCHANGEBAR_LIBS
20706        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20707$as_echo "yes" >&6; }
20708
20709fi
20710    elif test "$enable_gitchangebar" = "auto"; then
20711
20712pkg_failed=no
20713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= 2.18
20714                          glib-2.0
20715                          libgit2 >= 0.21" >&5
20716$as_echo_n "checking for $GP_GTK_PACKAGE >= 2.18
20717                          glib-2.0
20718                          libgit2 >= 0.21... " >&6; }
20719
20720if test -n "$GITCHANGEBAR_CFLAGS"; then
20721    pkg_cv_GITCHANGEBAR_CFLAGS="$GITCHANGEBAR_CFLAGS"
20722 elif test -n "$PKG_CONFIG"; then
20723    if test -n "$PKG_CONFIG" && \
20724    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.18
20725                          glib-2.0
20726                          libgit2 >= 0.21\""; } >&5
20727  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.18
20728                          glib-2.0
20729                          libgit2 >= 0.21") 2>&5
20730  ac_status=$?
20731  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20732  test $ac_status = 0; }; then
20733  pkg_cv_GITCHANGEBAR_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= 2.18
20734                          glib-2.0
20735                          libgit2 >= 0.21" 2>/dev/null`
20736		      test "x$?" != "x0" && pkg_failed=yes
20737else
20738  pkg_failed=yes
20739fi
20740 else
20741    pkg_failed=untried
20742fi
20743if test -n "$GITCHANGEBAR_LIBS"; then
20744    pkg_cv_GITCHANGEBAR_LIBS="$GITCHANGEBAR_LIBS"
20745 elif test -n "$PKG_CONFIG"; then
20746    if test -n "$PKG_CONFIG" && \
20747    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= 2.18
20748                          glib-2.0
20749                          libgit2 >= 0.21\""; } >&5
20750  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= 2.18
20751                          glib-2.0
20752                          libgit2 >= 0.21") 2>&5
20753  ac_status=$?
20754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20755  test $ac_status = 0; }; then
20756  pkg_cv_GITCHANGEBAR_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= 2.18
20757                          glib-2.0
20758                          libgit2 >= 0.21" 2>/dev/null`
20759		      test "x$?" != "x0" && pkg_failed=yes
20760else
20761  pkg_failed=yes
20762fi
20763 else
20764    pkg_failed=untried
20765fi
20766
20767
20768
20769if test $pkg_failed = yes; then
20770        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20771$as_echo "no" >&6; }
20772
20773if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20774        _pkg_short_errors_supported=yes
20775else
20776        _pkg_short_errors_supported=no
20777fi
20778        if test $_pkg_short_errors_supported = yes; then
20779	        GITCHANGEBAR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.18
20780                          glib-2.0
20781                          libgit2 >= 0.21" 2>&1`
20782        else
20783	        GITCHANGEBAR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= 2.18
20784                          glib-2.0
20785                          libgit2 >= 0.21" 2>&1`
20786        fi
20787	# Put the nasty error message in config.log where it belongs
20788	echo "$GITCHANGEBAR_PKG_ERRORS" >&5
20789
20790	enable_gitchangebar=no
20791elif test $pkg_failed = untried; then
20792        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20793$as_echo "no" >&6; }
20794	enable_gitchangebar=no
20795else
20796	GITCHANGEBAR_CFLAGS=$pkg_cv_GITCHANGEBAR_CFLAGS
20797	GITCHANGEBAR_LIBS=$pkg_cv_GITCHANGEBAR_LIBS
20798        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20799$as_echo "yes" >&6; }
20800
20801fi
20802    fi
20803
20804
20805
20806        if test "$enable_gitchangebar" = "auto"; then
20807        enable_gitchangebar=yes
20808    fi
20809     if test "$enable_gitchangebar" = yes; then
20810  ENABLE_GITCHANGEBAR_TRUE=
20811  ENABLE_GITCHANGEBAR_FALSE='#'
20812else
20813  ENABLE_GITCHANGEBAR_TRUE='#'
20814  ENABLE_GITCHANGEBAR_FALSE=
20815fi
20816
20817
20818    plugins_statusmsg="${plugins_statusmsg}GitChangeBar:$enable_gitchangebar
20819"
20820
20821
20822
20823    ac_config_files="$ac_config_files git-changebar/Makefile git-changebar/data/Makefile git-changebar/src/Makefile"
20824
20825
20826
20827
20828
20829
20830    # Check whether --enable-keyrecord was given.
20831if test "${enable_keyrecord+set}" = set; then :
20832  enableval=$enable_keyrecord; enable_keyrecord=$enableval
20833else
20834  case $gp_enable_all in #(
20835  no) :
20836    enable_keyrecord=no ;; #(
20837  yes) :
20838    enable_keyrecord=yes ;; #(
20839  *) :
20840    enable_keyrecord=auto ;;
20841esac
20842fi
20843
20844
20845
20846        if test "$enable_keyrecord" = "auto"; then
20847        enable_keyrecord=yes
20848    fi
20849     if test "$enable_keyrecord" = yes; then
20850  ENABLE_KEYRECORD_TRUE=
20851  ENABLE_KEYRECORD_FALSE='#'
20852else
20853  ENABLE_KEYRECORD_TRUE='#'
20854  ENABLE_KEYRECORD_FALSE=
20855fi
20856
20857
20858    plugins_statusmsg="${plugins_statusmsg}Keyrecord:$enable_keyrecord
20859"
20860
20861
20862     ac_config_files="$ac_config_files keyrecord/Makefile keyrecord/src/Makefile"
20863
20864
20865
20866
20867
20868
20869    # Check whether --enable-lineoperations was given.
20870if test "${enable_lineoperations+set}" = set; then :
20871  enableval=$enable_lineoperations; enable_lineoperations=$enableval
20872else
20873  case $gp_enable_all in #(
20874  no) :
20875    enable_lineoperations=no ;; #(
20876  yes) :
20877    enable_lineoperations=yes ;; #(
20878  *) :
20879    enable_lineoperations=auto ;;
20880esac
20881fi
20882
20883
20884
20885        if test "$enable_lineoperations" = "auto"; then
20886        enable_lineoperations=yes
20887    fi
20888     if test "$enable_lineoperations" = yes; then
20889  ENABLE_LINEOPERATIONS_TRUE=
20890  ENABLE_LINEOPERATIONS_FALSE='#'
20891else
20892  ENABLE_LINEOPERATIONS_TRUE='#'
20893  ENABLE_LINEOPERATIONS_FALSE=
20894fi
20895
20896
20897    plugins_statusmsg="${plugins_statusmsg}LineOperations:$enable_lineoperations
20898"
20899
20900
20901    ac_config_files="$ac_config_files lineoperations/Makefile lineoperations/src/Makefile"
20902
20903
20904
20905
20906
20907
20908    # Check whether --enable-lipsum was given.
20909if test "${enable_lipsum+set}" = set; then :
20910  enableval=$enable_lipsum; enable_lipsum=$enableval
20911else
20912  case $gp_enable_all in #(
20913  no) :
20914    enable_lipsum=no ;; #(
20915  yes) :
20916    enable_lipsum=yes ;; #(
20917  *) :
20918    enable_lipsum=auto ;;
20919esac
20920fi
20921
20922
20923
20924        if test "$enable_lipsum" = "auto"; then
20925        enable_lipsum=yes
20926    fi
20927     if test "$enable_lipsum" = yes; then
20928  ENABLE_LIPSUM_TRUE=
20929  ENABLE_LIPSUM_FALSE='#'
20930else
20931  ENABLE_LIPSUM_TRUE='#'
20932  ENABLE_LIPSUM_FALSE=
20933fi
20934
20935
20936    plugins_statusmsg="${plugins_statusmsg}Lipsum:$enable_lipsum
20937"
20938
20939
20940    ac_config_files="$ac_config_files lipsum/Makefile lipsum/src/Makefile"
20941
20942
20943
20944
20945
20946
20947    # Check whether --enable-markdown was given.
20948if test "${enable_markdown+set}" = set; then :
20949  enableval=$enable_markdown; enable_markdown=$enableval
20950else
20951  case $gp_enable_all in #(
20952  no) :
20953    enable_markdown=no ;; #(
20954  yes) :
20955    enable_markdown=yes ;; #(
20956  *) :
20957    enable_markdown=auto ;;
20958esac
20959fi
20960
20961
20962    # Check whether --enable-peg-markdown was given.
20963if test "${enable_peg_markdown+set}" = set; then :
20964  enableval=$enable_peg_markdown; enable_peg_markdown=$enableval
20965else
20966  enable_peg_markdown=auto
20967fi
20968
20969
20970        if test "x$enable_markdown" != xno &&
20971           test "x$enable_peg_markdown" != xyes; then :
20972
20973    old_LIBS=$LIBS
20974    LIBS=
20975    LIBMARKDOWN_LIBS=
20976    LIBMARKDOWN_CFLAGS=
20977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mkd_compile" >&5
20978$as_echo_n "checking for library containing mkd_compile... " >&6; }
20979if ${ac_cv_search_mkd_compile+:} false; then :
20980  $as_echo_n "(cached) " >&6
20981else
20982  ac_func_search_save_LIBS=$LIBS
20983cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984/* end confdefs.h.  */
20985
20986/* Override any GCC internal prototype to avoid an error.
20987   Use char because int might match the return type of a GCC
20988   builtin and then its argument prototype would still apply.  */
20989#ifdef __cplusplus
20990extern "C"
20991#endif
20992char mkd_compile ();
20993int
20994main ()
20995{
20996return mkd_compile ();
20997  ;
20998  return 0;
20999}
21000_ACEOF
21001for ac_lib in '' markdown; do
21002  if test -z "$ac_lib"; then
21003    ac_res="none required"
21004  else
21005    ac_res=-l$ac_lib
21006    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21007  fi
21008  if ac_fn_c_try_link "$LINENO"; then :
21009  ac_cv_search_mkd_compile=$ac_res
21010fi
21011rm -f core conftest.err conftest.$ac_objext \
21012    conftest$ac_exeext
21013  if ${ac_cv_search_mkd_compile+:} false; then :
21014  break
21015fi
21016done
21017if ${ac_cv_search_mkd_compile+:} false; then :
21018
21019else
21020  ac_cv_search_mkd_compile=no
21021fi
21022rm conftest.$ac_ext
21023LIBS=$ac_func_search_save_LIBS
21024fi
21025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mkd_compile" >&5
21026$as_echo "$ac_cv_search_mkd_compile" >&6; }
21027ac_res=$ac_cv_search_mkd_compile
21028if test "$ac_res" != no; then :
21029  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21030  for ac_header in mkdio.h
21031do :
21032  ac_fn_c_check_header_mongrel "$LINENO" "mkdio.h" "ac_cv_header_mkdio_h" "$ac_includes_default"
21033if test "x$ac_cv_header_mkdio_h" = xyes; then :
21034  cat >>confdefs.h <<_ACEOF
21035#define HAVE_MKDIO_H 1
21036_ACEOF
21037 LIBMARKDOWN_LIBS=$LIBS
21038                                      LIBMARKDOWN_CFLAGS=
21039                                      enable_peg_markdown=no
21040else
21041  if test "x$enable_peg_markdown" != xno; then :
21042  enable_peg_markdown=yes
21043elif test "x$enable_markdown" = xyes; then :
21044  as_fn_error $? "libmarkdown not found" "$LINENO" 5
21045else
21046  enable_markdown=no
21047                                      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmarkdown not found, disabling Markdown plugin" >&5
21048$as_echo "$as_me: WARNING: libmarkdown not found, disabling Markdown plugin" >&2;}
21049fi
21050fi
21051
21052done
21053
21054else
21055  if test "x$enable_peg_markdown" != xno; then :
21056  enable_peg_markdown=yes
21057elif test "x$enable_markdown" = xyes; then :
21058  as_fn_error $? "libmarkdown not found" "$LINENO" 5
21059else
21060  enable_markdown=no
21061                                      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmarkdown not found, disabling Markdown plugin" >&5
21062$as_echo "$as_me: WARNING: libmarkdown not found, disabling Markdown plugin" >&2;}
21063fi
21064fi
21065
21066
21067
21068    LIBS=$old_LIBS
21069
21070fi
21071     if test "x$enable_peg_markdown" = xyes; then
21072  MARKDOWN_PEG_MARKDOWN_TRUE=
21073  MARKDOWN_PEG_MARKDOWN_FALSE='#'
21074else
21075  MARKDOWN_PEG_MARKDOWN_TRUE='#'
21076  MARKDOWN_PEG_MARKDOWN_FALSE=
21077fi
21078
21079        if test "x$enable_peg_markdown" = xyes; then :
21080  markdown_library=peg-markdown
21081else
21082  markdown_library=libmarkdown
21083fi
21084
21085    feature_statusmsg="${feature_statusmsg}Markdown library:$markdown_library
21086"
21087
21088
21089    GTK_VERSION=2.16
21090    WEBKIT_VERSION=1.1.13
21091
21092
21093
21094    if test ${GP_GTK_VERSION_MAJOR} = 3; then :
21095  webkit_package=webkit2gtk-4.0
21096else
21097  webkit_package=webkit-1.0
21098fi
21099
21100
21101
21102
21103    gtk_dep=0
21104    if test $gtk_dep -ne 0; then
21105
21106
21107
21108    if test "$enable_markdown" = no; then :
21109
21110else
21111  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin markdown" >&5
21112$as_echo_n "checking whether the GTK version in use is compatible with plugin markdown... " >&6; }
21113           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
21114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21115$as_echo "yes" >&6; }
21116else
21117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21118$as_echo "no" >&6; }
21119                  if test "$enable_markdown" = yes; then :
21120  as_fn_error $? "markdown is not compatible with the GTK version in use" "$LINENO" 5
21121elif test "$enable_markdown" = auto; then :
21122  enable_markdown=no
21123fi
21124fi
21125fi
21126
21127    fi
21128
21129    if test "$enable_markdown" = "yes"; then
21130
21131pkg_failed=no
21132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
21133                          $webkit_package >= ${WEBKIT_VERSION}
21134                          gthread-2.0" >&5
21135$as_echo_n "checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
21136                          $webkit_package >= ${WEBKIT_VERSION}
21137                          gthread-2.0... " >&6; }
21138
21139if test -n "$MARKDOWN_CFLAGS"; then
21140    pkg_cv_MARKDOWN_CFLAGS="$MARKDOWN_CFLAGS"
21141 elif test -n "$PKG_CONFIG"; then
21142    if test -n "$PKG_CONFIG" && \
21143    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
21144                          \$webkit_package >= \${WEBKIT_VERSION}
21145                          gthread-2.0\""; } >&5
21146  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21147                          $webkit_package >= ${WEBKIT_VERSION}
21148                          gthread-2.0") 2>&5
21149  ac_status=$?
21150  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21151  test $ac_status = 0; }; then
21152  pkg_cv_MARKDOWN_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21153                          $webkit_package >= ${WEBKIT_VERSION}
21154                          gthread-2.0" 2>/dev/null`
21155		      test "x$?" != "x0" && pkg_failed=yes
21156else
21157  pkg_failed=yes
21158fi
21159 else
21160    pkg_failed=untried
21161fi
21162if test -n "$MARKDOWN_LIBS"; then
21163    pkg_cv_MARKDOWN_LIBS="$MARKDOWN_LIBS"
21164 elif test -n "$PKG_CONFIG"; then
21165    if test -n "$PKG_CONFIG" && \
21166    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
21167                          \$webkit_package >= \${WEBKIT_VERSION}
21168                          gthread-2.0\""; } >&5
21169  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21170                          $webkit_package >= ${WEBKIT_VERSION}
21171                          gthread-2.0") 2>&5
21172  ac_status=$?
21173  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21174  test $ac_status = 0; }; then
21175  pkg_cv_MARKDOWN_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21176                          $webkit_package >= ${WEBKIT_VERSION}
21177                          gthread-2.0" 2>/dev/null`
21178		      test "x$?" != "x0" && pkg_failed=yes
21179else
21180  pkg_failed=yes
21181fi
21182 else
21183    pkg_failed=untried
21184fi
21185
21186
21187
21188if test $pkg_failed = yes; then
21189        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21190$as_echo "no" >&6; }
21191
21192if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21193        _pkg_short_errors_supported=yes
21194else
21195        _pkg_short_errors_supported=no
21196fi
21197        if test $_pkg_short_errors_supported = yes; then
21198	        MARKDOWN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21199                          $webkit_package >= ${WEBKIT_VERSION}
21200                          gthread-2.0" 2>&1`
21201        else
21202	        MARKDOWN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21203                          $webkit_package >= ${WEBKIT_VERSION}
21204                          gthread-2.0" 2>&1`
21205        fi
21206	# Put the nasty error message in config.log where it belongs
21207	echo "$MARKDOWN_PKG_ERRORS" >&5
21208
21209	as_fn_error $? "Package requirements ($GP_GTK_PACKAGE >= ${GTK_VERSION}
21210                          $webkit_package >= ${WEBKIT_VERSION}
21211                          gthread-2.0) were not met:
21212
21213$MARKDOWN_PKG_ERRORS
21214
21215Consider adjusting the PKG_CONFIG_PATH environment variable if you
21216installed software in a non-standard prefix.
21217
21218Alternatively, you may set the environment variables MARKDOWN_CFLAGS
21219and MARKDOWN_LIBS to avoid the need to call pkg-config.
21220See the pkg-config man page for more details." "$LINENO" 5
21221elif test $pkg_failed = untried; then
21222        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21223$as_echo "no" >&6; }
21224	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21225$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21226as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21227is in your PATH or set the PKG_CONFIG environment variable to the full
21228path to pkg-config.
21229
21230Alternatively, you may set the environment variables MARKDOWN_CFLAGS
21231and MARKDOWN_LIBS to avoid the need to call pkg-config.
21232See the pkg-config man page for more details.
21233
21234To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21235See \`config.log' for more details" "$LINENO" 5; }
21236else
21237	MARKDOWN_CFLAGS=$pkg_cv_MARKDOWN_CFLAGS
21238	MARKDOWN_LIBS=$pkg_cv_MARKDOWN_LIBS
21239        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21240$as_echo "yes" >&6; }
21241
21242fi
21243    elif test "$enable_markdown" = "auto"; then
21244
21245pkg_failed=no
21246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
21247                          $webkit_package >= ${WEBKIT_VERSION}
21248                          gthread-2.0" >&5
21249$as_echo_n "checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
21250                          $webkit_package >= ${WEBKIT_VERSION}
21251                          gthread-2.0... " >&6; }
21252
21253if test -n "$MARKDOWN_CFLAGS"; then
21254    pkg_cv_MARKDOWN_CFLAGS="$MARKDOWN_CFLAGS"
21255 elif test -n "$PKG_CONFIG"; then
21256    if test -n "$PKG_CONFIG" && \
21257    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
21258                          \$webkit_package >= \${WEBKIT_VERSION}
21259                          gthread-2.0\""; } >&5
21260  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21261                          $webkit_package >= ${WEBKIT_VERSION}
21262                          gthread-2.0") 2>&5
21263  ac_status=$?
21264  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21265  test $ac_status = 0; }; then
21266  pkg_cv_MARKDOWN_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21267                          $webkit_package >= ${WEBKIT_VERSION}
21268                          gthread-2.0" 2>/dev/null`
21269		      test "x$?" != "x0" && pkg_failed=yes
21270else
21271  pkg_failed=yes
21272fi
21273 else
21274    pkg_failed=untried
21275fi
21276if test -n "$MARKDOWN_LIBS"; then
21277    pkg_cv_MARKDOWN_LIBS="$MARKDOWN_LIBS"
21278 elif test -n "$PKG_CONFIG"; then
21279    if test -n "$PKG_CONFIG" && \
21280    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
21281                          \$webkit_package >= \${WEBKIT_VERSION}
21282                          gthread-2.0\""; } >&5
21283  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21284                          $webkit_package >= ${WEBKIT_VERSION}
21285                          gthread-2.0") 2>&5
21286  ac_status=$?
21287  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21288  test $ac_status = 0; }; then
21289  pkg_cv_MARKDOWN_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21290                          $webkit_package >= ${WEBKIT_VERSION}
21291                          gthread-2.0" 2>/dev/null`
21292		      test "x$?" != "x0" && pkg_failed=yes
21293else
21294  pkg_failed=yes
21295fi
21296 else
21297    pkg_failed=untried
21298fi
21299
21300
21301
21302if test $pkg_failed = yes; then
21303        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21304$as_echo "no" >&6; }
21305
21306if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21307        _pkg_short_errors_supported=yes
21308else
21309        _pkg_short_errors_supported=no
21310fi
21311        if test $_pkg_short_errors_supported = yes; then
21312	        MARKDOWN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21313                          $webkit_package >= ${WEBKIT_VERSION}
21314                          gthread-2.0" 2>&1`
21315        else
21316	        MARKDOWN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
21317                          $webkit_package >= ${WEBKIT_VERSION}
21318                          gthread-2.0" 2>&1`
21319        fi
21320	# Put the nasty error message in config.log where it belongs
21321	echo "$MARKDOWN_PKG_ERRORS" >&5
21322
21323	enable_markdown=no
21324elif test $pkg_failed = untried; then
21325        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21326$as_echo "no" >&6; }
21327	enable_markdown=no
21328else
21329	MARKDOWN_CFLAGS=$pkg_cv_MARKDOWN_CFLAGS
21330	MARKDOWN_LIBS=$pkg_cv_MARKDOWN_LIBS
21331        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21332$as_echo "yes" >&6; }
21333
21334fi
21335    fi
21336
21337     if test "$webkit_package" = webkit2gtk-4.0; then
21338  MARKDOWN_WEBKIT2_TRUE=
21339  MARKDOWN_WEBKIT2_FALSE='#'
21340else
21341  MARKDOWN_WEBKIT2_TRUE='#'
21342  MARKDOWN_WEBKIT2_FALSE=
21343fi
21344
21345
21346
21347        if test "$enable_markdown" = "auto"; then
21348        enable_markdown=yes
21349    fi
21350     if test "$enable_markdown" = yes; then
21351  ENABLE_MARKDOWN_TRUE=
21352  ENABLE_MARKDOWN_FALSE='#'
21353else
21354  ENABLE_MARKDOWN_TRUE='#'
21355  ENABLE_MARKDOWN_FALSE=
21356fi
21357
21358
21359    plugins_statusmsg="${plugins_statusmsg}Markdown:$enable_markdown
21360"
21361
21362
21363
21364    ac_config_files="$ac_config_files markdown/Makefile markdown/src/Makefile markdown/docs/Makefile markdown/peg-markdown/Makefile markdown/peg-markdown/peg-0.1.9/Makefile"
21365
21366
21367
21368
21369
21370
21371    # Check whether --enable-multiterm was given.
21372if test "${enable_multiterm+set}" = set; then :
21373  enableval=$enable_multiterm; enable_multiterm=$enableval
21374else
21375  case $gp_enable_all in #(
21376  no) :
21377    enable_multiterm=no ;; #(
21378  yes) :
21379    enable_multiterm=yes ;; #(
21380  *) :
21381    enable_multiterm=auto ;;
21382esac
21383fi
21384
21385
21386
21387
21388    if test "$enable_multiterm" = no; then :
21389
21390else
21391
21392    gp_have_valac=yes
21393    # Extract the first word of "valac", so it can be a program name with args.
21394set dummy valac; ac_word=$2
21395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21396$as_echo_n "checking for $ac_word... " >&6; }
21397if ${ac_cv_path_VALAC+:} false; then :
21398  $as_echo_n "(cached) " >&6
21399else
21400  case $VALAC in
21401  [\\/]* | ?:[\\/]*)
21402  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
21403  ;;
21404  *)
21405  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21406for as_dir in $PATH
21407do
21408  IFS=$as_save_IFS
21409  test -z "$as_dir" && as_dir=.
21410    for ac_exec_ext in '' $ac_executable_extensions; do
21411  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21412    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
21413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21414    break 2
21415  fi
21416done
21417  done
21418IFS=$as_save_IFS
21419
21420  test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
21421  ;;
21422esac
21423fi
21424VALAC=$ac_cv_path_VALAC
21425if test -n "$VALAC"; then
21426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
21427$as_echo "$VALAC" >&6; }
21428else
21429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21430$as_echo "no" >&6; }
21431fi
21432
21433
21434   if test "$VALAC" != valac && test -n ""; then :
21435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC supports at least API version " >&5
21436$as_echo_n "checking whether $VALAC supports at least API version ... " >&6; }
21437       am__vala_version=`$VALAC --api-version`
21438       as_arg_v1=
21439as_arg_v2="$am__vala_version"
21440awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
21441case $? in #(
21442  1) :
21443    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21444$as_echo "yes" >&6; } ;; #(
21445  0) :
21446    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21447$as_echo "yes" >&6; } ;; #(
21448  2) :
21449    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21450$as_echo "no" >&6; }
21451          VALAC=valac ;; #(
21452  *) :
21453     ;;
21454esac
21455fi
21456    if test "$VALAC" = valac; then
21457      gp_have_valac=no
21458    else
21459      :
21460    fi
21461            if test "x$VALAC" = x; then :
21462  gp_have_valac=no
21463fi
21464    if test "$gp_have_valac" = yes; then :
21465                                                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the vala compiler is compatible with multiterm" >&5
21466$as_echo_n "checking whether the vala compiler is compatible with multiterm... " >&6; }
21467                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21468$as_echo "yes" >&6; }
21469else
21470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the vala compiler is compatible with multiterm" >&5
21471$as_echo_n "checking whether the vala compiler is compatible with multiterm... " >&6; }
21472                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21473$as_echo "no" >&6; }
21474                           if test "$enable_multiterm" = yes; then :
21475  as_fn_error $? "multiterm requires the Vala compiler" "$LINENO" 5
21476elif test "$enable_multiterm" = auto; then :
21477  enable_multiterm=no
21478fi
21479fi
21480
21481fi
21482
21483
21484
21485
21486    gtk_dep=2
21487    if test $gtk_dep -ne 0; then
21488
21489
21490
21491    if test "$enable_multiterm" = no; then :
21492
21493else
21494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin multiterm" >&5
21495$as_echo_n "checking whether the GTK version in use is compatible with plugin multiterm... " >&6; }
21496           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
21497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21498$as_echo "yes" >&6; }
21499else
21500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21501$as_echo "no" >&6; }
21502                  if test "$enable_multiterm" = yes; then :
21503  as_fn_error $? "multiterm is not compatible with the GTK version in use" "$LINENO" 5
21504elif test "$enable_multiterm" = auto; then :
21505  enable_multiterm=no
21506fi
21507fi
21508fi
21509
21510    fi
21511
21512    if test "$enable_multiterm" = "yes"; then
21513
21514pkg_failed=no
21515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 vte" >&5
21516$as_echo_n "checking for gtk+-2.0 vte... " >&6; }
21517
21518if test -n "$MULTITERM_CFLAGS"; then
21519    pkg_cv_MULTITERM_CFLAGS="$MULTITERM_CFLAGS"
21520 elif test -n "$PKG_CONFIG"; then
21521    if test -n "$PKG_CONFIG" && \
21522    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 vte\""; } >&5
21523  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 vte") 2>&5
21524  ac_status=$?
21525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21526  test $ac_status = 0; }; then
21527  pkg_cv_MULTITERM_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 vte" 2>/dev/null`
21528		      test "x$?" != "x0" && pkg_failed=yes
21529else
21530  pkg_failed=yes
21531fi
21532 else
21533    pkg_failed=untried
21534fi
21535if test -n "$MULTITERM_LIBS"; then
21536    pkg_cv_MULTITERM_LIBS="$MULTITERM_LIBS"
21537 elif test -n "$PKG_CONFIG"; then
21538    if test -n "$PKG_CONFIG" && \
21539    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 vte\""; } >&5
21540  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 vte") 2>&5
21541  ac_status=$?
21542  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21543  test $ac_status = 0; }; then
21544  pkg_cv_MULTITERM_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 vte" 2>/dev/null`
21545		      test "x$?" != "x0" && pkg_failed=yes
21546else
21547  pkg_failed=yes
21548fi
21549 else
21550    pkg_failed=untried
21551fi
21552
21553
21554
21555if test $pkg_failed = yes; then
21556        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21557$as_echo "no" >&6; }
21558
21559if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21560        _pkg_short_errors_supported=yes
21561else
21562        _pkg_short_errors_supported=no
21563fi
21564        if test $_pkg_short_errors_supported = yes; then
21565	        MULTITERM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 vte" 2>&1`
21566        else
21567	        MULTITERM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 vte" 2>&1`
21568        fi
21569	# Put the nasty error message in config.log where it belongs
21570	echo "$MULTITERM_PKG_ERRORS" >&5
21571
21572	as_fn_error $? "Package requirements (gtk+-2.0 vte) were not met:
21573
21574$MULTITERM_PKG_ERRORS
21575
21576Consider adjusting the PKG_CONFIG_PATH environment variable if you
21577installed software in a non-standard prefix.
21578
21579Alternatively, you may set the environment variables MULTITERM_CFLAGS
21580and MULTITERM_LIBS to avoid the need to call pkg-config.
21581See the pkg-config man page for more details." "$LINENO" 5
21582elif test $pkg_failed = untried; then
21583        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21584$as_echo "no" >&6; }
21585	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21587as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21588is in your PATH or set the PKG_CONFIG environment variable to the full
21589path to pkg-config.
21590
21591Alternatively, you may set the environment variables MULTITERM_CFLAGS
21592and MULTITERM_LIBS to avoid the need to call pkg-config.
21593See the pkg-config man page for more details.
21594
21595To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21596See \`config.log' for more details" "$LINENO" 5; }
21597else
21598	MULTITERM_CFLAGS=$pkg_cv_MULTITERM_CFLAGS
21599	MULTITERM_LIBS=$pkg_cv_MULTITERM_LIBS
21600        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21601$as_echo "yes" >&6; }
21602
21603fi
21604    elif test "$enable_multiterm" = "auto"; then
21605
21606pkg_failed=no
21607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 vte" >&5
21608$as_echo_n "checking for gtk+-2.0 vte... " >&6; }
21609
21610if test -n "$MULTITERM_CFLAGS"; then
21611    pkg_cv_MULTITERM_CFLAGS="$MULTITERM_CFLAGS"
21612 elif test -n "$PKG_CONFIG"; then
21613    if test -n "$PKG_CONFIG" && \
21614    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 vte\""; } >&5
21615  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 vte") 2>&5
21616  ac_status=$?
21617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21618  test $ac_status = 0; }; then
21619  pkg_cv_MULTITERM_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 vte" 2>/dev/null`
21620		      test "x$?" != "x0" && pkg_failed=yes
21621else
21622  pkg_failed=yes
21623fi
21624 else
21625    pkg_failed=untried
21626fi
21627if test -n "$MULTITERM_LIBS"; then
21628    pkg_cv_MULTITERM_LIBS="$MULTITERM_LIBS"
21629 elif test -n "$PKG_CONFIG"; then
21630    if test -n "$PKG_CONFIG" && \
21631    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 vte\""; } >&5
21632  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 vte") 2>&5
21633  ac_status=$?
21634  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21635  test $ac_status = 0; }; then
21636  pkg_cv_MULTITERM_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 vte" 2>/dev/null`
21637		      test "x$?" != "x0" && pkg_failed=yes
21638else
21639  pkg_failed=yes
21640fi
21641 else
21642    pkg_failed=untried
21643fi
21644
21645
21646
21647if test $pkg_failed = yes; then
21648        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21649$as_echo "no" >&6; }
21650
21651if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21652        _pkg_short_errors_supported=yes
21653else
21654        _pkg_short_errors_supported=no
21655fi
21656        if test $_pkg_short_errors_supported = yes; then
21657	        MULTITERM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 vte" 2>&1`
21658        else
21659	        MULTITERM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 vte" 2>&1`
21660        fi
21661	# Put the nasty error message in config.log where it belongs
21662	echo "$MULTITERM_PKG_ERRORS" >&5
21663
21664	enable_multiterm=no
21665elif test $pkg_failed = untried; then
21666        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21667$as_echo "no" >&6; }
21668	enable_multiterm=no
21669else
21670	MULTITERM_CFLAGS=$pkg_cv_MULTITERM_CFLAGS
21671	MULTITERM_LIBS=$pkg_cv_MULTITERM_LIBS
21672        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21673$as_echo "yes" >&6; }
21674
21675fi
21676    fi
21677
21678
21679        if test "$enable_multiterm" = "auto"; then
21680        enable_multiterm=yes
21681    fi
21682     if test "$enable_multiterm" = yes; then
21683  ENABLE_MULTITERM_TRUE=
21684  ENABLE_MULTITERM_FALSE='#'
21685else
21686  ENABLE_MULTITERM_TRUE='#'
21687  ENABLE_MULTITERM_FALSE=
21688fi
21689
21690
21691    plugins_statusmsg="${plugins_statusmsg}MultiTerm:$enable_multiterm
21692"
21693
21694
21695
21696    ac_config_files="$ac_config_files multiterm/Makefile multiterm/src/Makefile"
21697
21698
21699
21700
21701
21702
21703    # Check whether --enable-overview was given.
21704if test "${enable_overview+set}" = set; then :
21705  enableval=$enable_overview; enable_overview=$enableval
21706else
21707  case $gp_enable_all in #(
21708  no) :
21709    enable_overview=no ;; #(
21710  yes) :
21711    enable_overview=yes ;; #(
21712  *) :
21713    enable_overview=auto ;;
21714esac
21715fi
21716
21717
21718
21719
21720        if test "$enable_overview" = "auto"; then
21721        enable_overview=yes
21722    fi
21723     if test "$enable_overview" = yes; then
21724  ENABLE_OVERVIEW_TRUE=
21725  ENABLE_OVERVIEW_FALSE='#'
21726else
21727  ENABLE_OVERVIEW_TRUE='#'
21728  ENABLE_OVERVIEW_FALSE=
21729fi
21730
21731
21732    plugins_statusmsg="${plugins_statusmsg}Overview:$enable_overview
21733"
21734
21735
21736
21737    ac_config_files="$ac_config_files overview/Makefile overview/data/Makefile overview/overview/Makefile"
21738
21739
21740
21741
21742
21743
21744    # Check whether --enable-pairtaghighlighter was given.
21745if test "${enable_pairtaghighlighter+set}" = set; then :
21746  enableval=$enable_pairtaghighlighter; enable_pairtaghighlighter=$enableval
21747else
21748  case $gp_enable_all in #(
21749  no) :
21750    enable_pairtaghighlighter=no ;; #(
21751  yes) :
21752    enable_pairtaghighlighter=yes ;; #(
21753  *) :
21754    enable_pairtaghighlighter=auto ;;
21755esac
21756fi
21757
21758
21759
21760        if test "$enable_pairtaghighlighter" = "auto"; then
21761        enable_pairtaghighlighter=yes
21762    fi
21763     if test "$enable_pairtaghighlighter" = yes; then
21764  ENABLE_PAIRTAGHIGHLIGHTER_TRUE=
21765  ENABLE_PAIRTAGHIGHLIGHTER_FALSE='#'
21766else
21767  ENABLE_PAIRTAGHIGHLIGHTER_TRUE='#'
21768  ENABLE_PAIRTAGHIGHLIGHTER_FALSE=
21769fi
21770
21771
21772    plugins_statusmsg="${plugins_statusmsg}PairTagHighlighter:$enable_pairtaghighlighter
21773"
21774
21775
21776    ac_config_files="$ac_config_files pairtaghighlighter/Makefile pairtaghighlighter/src/Makefile"
21777
21778
21779
21780
21781
21782
21783    # Check whether --enable-pohelper was given.
21784if test "${enable_pohelper+set}" = set; then :
21785  enableval=$enable_pohelper; enable_pohelper=$enableval
21786else
21787  case $gp_enable_all in #(
21788  no) :
21789    enable_pohelper=no ;; #(
21790  yes) :
21791    enable_pohelper=yes ;; #(
21792  *) :
21793    enable_pohelper=auto ;;
21794esac
21795fi
21796
21797
21798
21799
21800
21801
21802    gtk_dep=0
21803    if test $gtk_dep -ne 0; then
21804
21805
21806
21807    if test "$enable_pohelper" = no; then :
21808
21809else
21810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin PoHelper" >&5
21811$as_echo_n "checking whether the GTK version in use is compatible with plugin PoHelper... " >&6; }
21812           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
21813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21814$as_echo "yes" >&6; }
21815else
21816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21817$as_echo "no" >&6; }
21818                  if test "$enable_pohelper" = yes; then :
21819  as_fn_error $? "PoHelper is not compatible with the GTK version in use" "$LINENO" 5
21820elif test "$enable_pohelper" = auto; then :
21821  enable_pohelper=no
21822fi
21823fi
21824fi
21825
21826    fi
21827
21828    if test "$enable_pohelper" = "yes"; then
21829
21830pkg_failed=no
21831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.22" >&5
21832$as_echo_n "checking for glib-2.0 >= 2.22... " >&6; }
21833
21834if test -n "$GLIB_CFLAGS"; then
21835    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
21836 elif test -n "$PKG_CONFIG"; then
21837    if test -n "$PKG_CONFIG" && \
21838    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22\""; } >&5
21839  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22") 2>&5
21840  ac_status=$?
21841  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21842  test $ac_status = 0; }; then
21843  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.22" 2>/dev/null`
21844		      test "x$?" != "x0" && pkg_failed=yes
21845else
21846  pkg_failed=yes
21847fi
21848 else
21849    pkg_failed=untried
21850fi
21851if test -n "$GLIB_LIBS"; then
21852    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
21853 elif test -n "$PKG_CONFIG"; then
21854    if test -n "$PKG_CONFIG" && \
21855    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22\""; } >&5
21856  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22") 2>&5
21857  ac_status=$?
21858  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21859  test $ac_status = 0; }; then
21860  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.22" 2>/dev/null`
21861		      test "x$?" != "x0" && pkg_failed=yes
21862else
21863  pkg_failed=yes
21864fi
21865 else
21866    pkg_failed=untried
21867fi
21868
21869
21870
21871if test $pkg_failed = yes; then
21872        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21873$as_echo "no" >&6; }
21874
21875if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21876        _pkg_short_errors_supported=yes
21877else
21878        _pkg_short_errors_supported=no
21879fi
21880        if test $_pkg_short_errors_supported = yes; then
21881	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.22" 2>&1`
21882        else
21883	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.22" 2>&1`
21884        fi
21885	# Put the nasty error message in config.log where it belongs
21886	echo "$GLIB_PKG_ERRORS" >&5
21887
21888	as_fn_error $? "Package requirements (glib-2.0 >= 2.22) were not met:
21889
21890$GLIB_PKG_ERRORS
21891
21892Consider adjusting the PKG_CONFIG_PATH environment variable if you
21893installed software in a non-standard prefix.
21894
21895Alternatively, you may set the environment variables GLIB_CFLAGS
21896and GLIB_LIBS to avoid the need to call pkg-config.
21897See the pkg-config man page for more details." "$LINENO" 5
21898elif test $pkg_failed = untried; then
21899        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21900$as_echo "no" >&6; }
21901	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21903as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21904is in your PATH or set the PKG_CONFIG environment variable to the full
21905path to pkg-config.
21906
21907Alternatively, you may set the environment variables GLIB_CFLAGS
21908and GLIB_LIBS to avoid the need to call pkg-config.
21909See the pkg-config man page for more details.
21910
21911To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21912See \`config.log' for more details" "$LINENO" 5; }
21913else
21914	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
21915	GLIB_LIBS=$pkg_cv_GLIB_LIBS
21916        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21917$as_echo "yes" >&6; }
21918
21919fi
21920    elif test "$enable_pohelper" = "auto"; then
21921
21922pkg_failed=no
21923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.22" >&5
21924$as_echo_n "checking for glib-2.0 >= 2.22... " >&6; }
21925
21926if test -n "$GLIB_CFLAGS"; then
21927    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
21928 elif test -n "$PKG_CONFIG"; then
21929    if test -n "$PKG_CONFIG" && \
21930    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22\""; } >&5
21931  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22") 2>&5
21932  ac_status=$?
21933  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21934  test $ac_status = 0; }; then
21935  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.22" 2>/dev/null`
21936		      test "x$?" != "x0" && pkg_failed=yes
21937else
21938  pkg_failed=yes
21939fi
21940 else
21941    pkg_failed=untried
21942fi
21943if test -n "$GLIB_LIBS"; then
21944    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
21945 elif test -n "$PKG_CONFIG"; then
21946    if test -n "$PKG_CONFIG" && \
21947    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22\""; } >&5
21948  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22") 2>&5
21949  ac_status=$?
21950  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21951  test $ac_status = 0; }; then
21952  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.22" 2>/dev/null`
21953		      test "x$?" != "x0" && pkg_failed=yes
21954else
21955  pkg_failed=yes
21956fi
21957 else
21958    pkg_failed=untried
21959fi
21960
21961
21962
21963if test $pkg_failed = yes; then
21964        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21965$as_echo "no" >&6; }
21966
21967if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21968        _pkg_short_errors_supported=yes
21969else
21970        _pkg_short_errors_supported=no
21971fi
21972        if test $_pkg_short_errors_supported = yes; then
21973	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.22" 2>&1`
21974        else
21975	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.22" 2>&1`
21976        fi
21977	# Put the nasty error message in config.log where it belongs
21978	echo "$GLIB_PKG_ERRORS" >&5
21979
21980	enable_pohelper=no
21981elif test $pkg_failed = untried; then
21982        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21983$as_echo "no" >&6; }
21984	enable_pohelper=no
21985else
21986	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
21987	GLIB_LIBS=$pkg_cv_GLIB_LIBS
21988        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21989$as_echo "yes" >&6; }
21990
21991fi
21992    fi
21993
21994
21995
21996        if test "$enable_pohelper" = "auto"; then
21997        enable_pohelper=yes
21998    fi
21999     if test "$enable_pohelper" = yes; then
22000  ENABLE_POHELPER_TRUE=
22001  ENABLE_POHELPER_FALSE='#'
22002else
22003  ENABLE_POHELPER_TRUE='#'
22004  ENABLE_POHELPER_FALSE=
22005fi
22006
22007
22008    plugins_statusmsg="${plugins_statusmsg}PoHelper:$enable_pohelper
22009"
22010
22011
22012
22013    ac_config_files="$ac_config_files pohelper/Makefile pohelper/data/Makefile pohelper/src/Makefile"
22014
22015
22016
22017    LIBXML_VERSION=2.6.27
22018
22019
22020
22021
22022    # Check whether --enable-pretty_printer was given.
22023if test "${enable_pretty_printer+set}" = set; then :
22024  enableval=$enable_pretty_printer; enable_pretty_printer=$enableval
22025else
22026  case $gp_enable_all in #(
22027  no) :
22028    enable_pretty_printer=no ;; #(
22029  yes) :
22030    enable_pretty_printer=yes ;; #(
22031  *) :
22032    enable_pretty_printer=auto ;;
22033esac
22034fi
22035
22036
22037
22038
22039
22040    gtk_dep=0
22041    if test $gtk_dep -ne 0; then
22042
22043
22044
22045    if test "$enable_pretty_printer" = no; then :
22046
22047else
22048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin pretty-printer" >&5
22049$as_echo_n "checking whether the GTK version in use is compatible with plugin pretty-printer... " >&6; }
22050           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
22051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22052$as_echo "yes" >&6; }
22053else
22054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22055$as_echo "no" >&6; }
22056                  if test "$enable_pretty_printer" = yes; then :
22057  as_fn_error $? "pretty-printer is not compatible with the GTK version in use" "$LINENO" 5
22058elif test "$enable_pretty_printer" = auto; then :
22059  enable_pretty_printer=no
22060fi
22061fi
22062fi
22063
22064    fi
22065
22066    if test "$enable_pretty_printer" = "yes"; then
22067
22068pkg_failed=no
22069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= ${LIBXML_VERSION}" >&5
22070$as_echo_n "checking for libxml-2.0 >= ${LIBXML_VERSION}... " >&6; }
22071
22072if test -n "$LIBXML_CFLAGS"; then
22073    pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
22074 elif test -n "$PKG_CONFIG"; then
22075    if test -n "$PKG_CONFIG" && \
22076    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \${LIBXML_VERSION}\""; } >&5
22077  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= ${LIBXML_VERSION}") 2>&5
22078  ac_status=$?
22079  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22080  test $ac_status = 0; }; then
22081  pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= ${LIBXML_VERSION}" 2>/dev/null`
22082		      test "x$?" != "x0" && pkg_failed=yes
22083else
22084  pkg_failed=yes
22085fi
22086 else
22087    pkg_failed=untried
22088fi
22089if test -n "$LIBXML_LIBS"; then
22090    pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
22091 elif test -n "$PKG_CONFIG"; then
22092    if test -n "$PKG_CONFIG" && \
22093    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \${LIBXML_VERSION}\""; } >&5
22094  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= ${LIBXML_VERSION}") 2>&5
22095  ac_status=$?
22096  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22097  test $ac_status = 0; }; then
22098  pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= ${LIBXML_VERSION}" 2>/dev/null`
22099		      test "x$?" != "x0" && pkg_failed=yes
22100else
22101  pkg_failed=yes
22102fi
22103 else
22104    pkg_failed=untried
22105fi
22106
22107
22108
22109if test $pkg_failed = yes; then
22110        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22111$as_echo "no" >&6; }
22112
22113if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22114        _pkg_short_errors_supported=yes
22115else
22116        _pkg_short_errors_supported=no
22117fi
22118        if test $_pkg_short_errors_supported = yes; then
22119	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= ${LIBXML_VERSION}" 2>&1`
22120        else
22121	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= ${LIBXML_VERSION}" 2>&1`
22122        fi
22123	# Put the nasty error message in config.log where it belongs
22124	echo "$LIBXML_PKG_ERRORS" >&5
22125
22126	as_fn_error $? "Package requirements (libxml-2.0 >= ${LIBXML_VERSION}) were not met:
22127
22128$LIBXML_PKG_ERRORS
22129
22130Consider adjusting the PKG_CONFIG_PATH environment variable if you
22131installed software in a non-standard prefix.
22132
22133Alternatively, you may set the environment variables LIBXML_CFLAGS
22134and LIBXML_LIBS to avoid the need to call pkg-config.
22135See the pkg-config man page for more details." "$LINENO" 5
22136elif test $pkg_failed = untried; then
22137        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22138$as_echo "no" >&6; }
22139	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22140$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22141as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22142is in your PATH or set the PKG_CONFIG environment variable to the full
22143path to pkg-config.
22144
22145Alternatively, you may set the environment variables LIBXML_CFLAGS
22146and LIBXML_LIBS to avoid the need to call pkg-config.
22147See the pkg-config man page for more details.
22148
22149To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22150See \`config.log' for more details" "$LINENO" 5; }
22151else
22152	LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
22153	LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
22154        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22155$as_echo "yes" >&6; }
22156
22157fi
22158    elif test "$enable_pretty_printer" = "auto"; then
22159
22160pkg_failed=no
22161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= ${LIBXML_VERSION}" >&5
22162$as_echo_n "checking for libxml-2.0 >= ${LIBXML_VERSION}... " >&6; }
22163
22164if test -n "$LIBXML_CFLAGS"; then
22165    pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
22166 elif test -n "$PKG_CONFIG"; then
22167    if test -n "$PKG_CONFIG" && \
22168    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \${LIBXML_VERSION}\""; } >&5
22169  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= ${LIBXML_VERSION}") 2>&5
22170  ac_status=$?
22171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22172  test $ac_status = 0; }; then
22173  pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= ${LIBXML_VERSION}" 2>/dev/null`
22174		      test "x$?" != "x0" && pkg_failed=yes
22175else
22176  pkg_failed=yes
22177fi
22178 else
22179    pkg_failed=untried
22180fi
22181if test -n "$LIBXML_LIBS"; then
22182    pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
22183 elif test -n "$PKG_CONFIG"; then
22184    if test -n "$PKG_CONFIG" && \
22185    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \${LIBXML_VERSION}\""; } >&5
22186  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= ${LIBXML_VERSION}") 2>&5
22187  ac_status=$?
22188  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22189  test $ac_status = 0; }; then
22190  pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= ${LIBXML_VERSION}" 2>/dev/null`
22191		      test "x$?" != "x0" && pkg_failed=yes
22192else
22193  pkg_failed=yes
22194fi
22195 else
22196    pkg_failed=untried
22197fi
22198
22199
22200
22201if test $pkg_failed = yes; then
22202        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22203$as_echo "no" >&6; }
22204
22205if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22206        _pkg_short_errors_supported=yes
22207else
22208        _pkg_short_errors_supported=no
22209fi
22210        if test $_pkg_short_errors_supported = yes; then
22211	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= ${LIBXML_VERSION}" 2>&1`
22212        else
22213	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= ${LIBXML_VERSION}" 2>&1`
22214        fi
22215	# Put the nasty error message in config.log where it belongs
22216	echo "$LIBXML_PKG_ERRORS" >&5
22217
22218	enable_pretty_printer=no
22219elif test $pkg_failed = untried; then
22220        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22221$as_echo "no" >&6; }
22222	enable_pretty_printer=no
22223else
22224	LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
22225	LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
22226        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22227$as_echo "yes" >&6; }
22228
22229fi
22230    fi
22231
22232
22233        if test "$enable_pretty_printer" = "auto"; then
22234        enable_pretty_printer=yes
22235    fi
22236     if test "$enable_pretty_printer" = yes; then
22237  ENABLE_PRETTY_PRINTER_TRUE=
22238  ENABLE_PRETTY_PRINTER_FALSE='#'
22239else
22240  ENABLE_PRETTY_PRINTER_TRUE='#'
22241  ENABLE_PRETTY_PRINTER_FALSE=
22242fi
22243
22244
22245    plugins_statusmsg="${plugins_statusmsg}Pretty Printer:$enable_pretty_printer
22246"
22247
22248
22249
22250    ac_config_files="$ac_config_files pretty-printer/Makefile pretty-printer/src/Makefile"
22251
22252
22253
22254
22255
22256
22257    # Check whether --enable-projectorganizer was given.
22258if test "${enable_projectorganizer+set}" = set; then :
22259  enableval=$enable_projectorganizer; enable_projectorganizer=$enableval
22260else
22261  case $gp_enable_all in #(
22262  no) :
22263    enable_projectorganizer=no ;; #(
22264  yes) :
22265    enable_projectorganizer=yes ;; #(
22266  *) :
22267    enable_projectorganizer=auto ;;
22268esac
22269fi
22270
22271
22272
22273        if test "$enable_projectorganizer" = "auto"; then
22274        enable_projectorganizer=yes
22275    fi
22276     if test "$enable_projectorganizer" = yes; then
22277  ENABLE_PROJECTORGANIZER_TRUE=
22278  ENABLE_PROJECTORGANIZER_FALSE='#'
22279else
22280  ENABLE_PROJECTORGANIZER_TRUE='#'
22281  ENABLE_PROJECTORGANIZER_FALSE=
22282fi
22283
22284
22285    plugins_statusmsg="${plugins_statusmsg}ProjectOrganizer:$enable_projectorganizer
22286"
22287
22288
22289    ac_config_files="$ac_config_files projectorganizer/Makefile projectorganizer/src/Makefile"
22290
22291
22292
22293
22294
22295
22296    # Check whether --enable-scope was given.
22297if test "${enable_scope+set}" = set; then :
22298  enableval=$enable_scope; enable_scope=$enableval
22299else
22300  case $gp_enable_all in #(
22301  no) :
22302    enable_scope=no ;; #(
22303  yes) :
22304    enable_scope=yes ;; #(
22305  *) :
22306    enable_scope=auto ;;
22307esac
22308fi
22309
22310
22311
22312    case $host_os in #(
22313  cygwin* | mingw* | win32*) :
22314    PTY_LIBS="" ;; #(
22315  *) :
22316
22317
22318    if test ${GP_GTK_VERSION_MAJOR} = 3; then :
22319  vte_package=vte-2.91
22320else
22321  vte_package="vte >= 0.17"
22322fi
22323
22324
22325
22326
22327    gtk_dep=0
22328    if test $gtk_dep -ne 0; then
22329
22330
22331
22332    if test "$enable_scope" = no; then :
22333
22334else
22335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin scope" >&5
22336$as_echo_n "checking whether the GTK version in use is compatible with plugin scope... " >&6; }
22337           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
22338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22339$as_echo "yes" >&6; }
22340else
22341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22342$as_echo "no" >&6; }
22343                  if test "$enable_scope" = yes; then :
22344  as_fn_error $? "scope is not compatible with the GTK version in use" "$LINENO" 5
22345elif test "$enable_scope" = auto; then :
22346  enable_scope=no
22347fi
22348fi
22349fi
22350
22351    fi
22352
22353    if test "$enable_scope" = "yes"; then
22354
22355pkg_failed=no
22356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vte_package" >&5
22357$as_echo_n "checking for $vte_package... " >&6; }
22358
22359if test -n "$VTE_CFLAGS"; then
22360    pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
22361 elif test -n "$PKG_CONFIG"; then
22362    if test -n "$PKG_CONFIG" && \
22363    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vte_package\""; } >&5
22364  ($PKG_CONFIG --exists --print-errors "$vte_package") 2>&5
22365  ac_status=$?
22366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22367  test $ac_status = 0; }; then
22368  pkg_cv_VTE_CFLAGS=`$PKG_CONFIG --cflags "$vte_package" 2>/dev/null`
22369		      test "x$?" != "x0" && pkg_failed=yes
22370else
22371  pkg_failed=yes
22372fi
22373 else
22374    pkg_failed=untried
22375fi
22376if test -n "$VTE_LIBS"; then
22377    pkg_cv_VTE_LIBS="$VTE_LIBS"
22378 elif test -n "$PKG_CONFIG"; then
22379    if test -n "$PKG_CONFIG" && \
22380    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vte_package\""; } >&5
22381  ($PKG_CONFIG --exists --print-errors "$vte_package") 2>&5
22382  ac_status=$?
22383  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22384  test $ac_status = 0; }; then
22385  pkg_cv_VTE_LIBS=`$PKG_CONFIG --libs "$vte_package" 2>/dev/null`
22386		      test "x$?" != "x0" && pkg_failed=yes
22387else
22388  pkg_failed=yes
22389fi
22390 else
22391    pkg_failed=untried
22392fi
22393
22394
22395
22396if test $pkg_failed = yes; then
22397        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22398$as_echo "no" >&6; }
22399
22400if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22401        _pkg_short_errors_supported=yes
22402else
22403        _pkg_short_errors_supported=no
22404fi
22405        if test $_pkg_short_errors_supported = yes; then
22406	        VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$vte_package" 2>&1`
22407        else
22408	        VTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$vte_package" 2>&1`
22409        fi
22410	# Put the nasty error message in config.log where it belongs
22411	echo "$VTE_PKG_ERRORS" >&5
22412
22413	as_fn_error $? "Package requirements ($vte_package) were not met:
22414
22415$VTE_PKG_ERRORS
22416
22417Consider adjusting the PKG_CONFIG_PATH environment variable if you
22418installed software in a non-standard prefix.
22419
22420Alternatively, you may set the environment variables VTE_CFLAGS
22421and VTE_LIBS to avoid the need to call pkg-config.
22422See the pkg-config man page for more details." "$LINENO" 5
22423elif test $pkg_failed = untried; then
22424        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22425$as_echo "no" >&6; }
22426	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22427$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22428as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22429is in your PATH or set the PKG_CONFIG environment variable to the full
22430path to pkg-config.
22431
22432Alternatively, you may set the environment variables VTE_CFLAGS
22433and VTE_LIBS to avoid the need to call pkg-config.
22434See the pkg-config man page for more details.
22435
22436To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22437See \`config.log' for more details" "$LINENO" 5; }
22438else
22439	VTE_CFLAGS=$pkg_cv_VTE_CFLAGS
22440	VTE_LIBS=$pkg_cv_VTE_LIBS
22441        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22442$as_echo "yes" >&6; }
22443
22444fi
22445    elif test "$enable_scope" = "auto"; then
22446
22447pkg_failed=no
22448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vte_package" >&5
22449$as_echo_n "checking for $vte_package... " >&6; }
22450
22451if test -n "$VTE_CFLAGS"; then
22452    pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
22453 elif test -n "$PKG_CONFIG"; then
22454    if test -n "$PKG_CONFIG" && \
22455    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vte_package\""; } >&5
22456  ($PKG_CONFIG --exists --print-errors "$vte_package") 2>&5
22457  ac_status=$?
22458  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22459  test $ac_status = 0; }; then
22460  pkg_cv_VTE_CFLAGS=`$PKG_CONFIG --cflags "$vte_package" 2>/dev/null`
22461		      test "x$?" != "x0" && pkg_failed=yes
22462else
22463  pkg_failed=yes
22464fi
22465 else
22466    pkg_failed=untried
22467fi
22468if test -n "$VTE_LIBS"; then
22469    pkg_cv_VTE_LIBS="$VTE_LIBS"
22470 elif test -n "$PKG_CONFIG"; then
22471    if test -n "$PKG_CONFIG" && \
22472    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vte_package\""; } >&5
22473  ($PKG_CONFIG --exists --print-errors "$vte_package") 2>&5
22474  ac_status=$?
22475  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22476  test $ac_status = 0; }; then
22477  pkg_cv_VTE_LIBS=`$PKG_CONFIG --libs "$vte_package" 2>/dev/null`
22478		      test "x$?" != "x0" && pkg_failed=yes
22479else
22480  pkg_failed=yes
22481fi
22482 else
22483    pkg_failed=untried
22484fi
22485
22486
22487
22488if test $pkg_failed = yes; then
22489        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22490$as_echo "no" >&6; }
22491
22492if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22493        _pkg_short_errors_supported=yes
22494else
22495        _pkg_short_errors_supported=no
22496fi
22497        if test $_pkg_short_errors_supported = yes; then
22498	        VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$vte_package" 2>&1`
22499        else
22500	        VTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$vte_package" 2>&1`
22501        fi
22502	# Put the nasty error message in config.log where it belongs
22503	echo "$VTE_PKG_ERRORS" >&5
22504
22505	enable_scope=no
22506elif test $pkg_failed = untried; then
22507        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22508$as_echo "no" >&6; }
22509	enable_scope=no
22510else
22511	VTE_CFLAGS=$pkg_cv_VTE_CFLAGS
22512	VTE_LIBS=$pkg_cv_VTE_LIBS
22513        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22514$as_echo "yes" >&6; }
22515
22516fi
22517    fi
22518
22519
22520    if test "$enable_scope" != no; then :
22521
22522
22523    if test ${GP_GTK_VERSION_MAJOR} = 3; then :
22524  utilslib_vte_package=vte-2.91
22525else
22526  utilslib_vte_package=vte
22527fi
22528
22529
22530pkg_failed=no
22531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $utilslib_vte_package" >&5
22532$as_echo_n "checking for $utilslib_vte_package... " >&6; }
22533
22534if test -n "$UTILSLIB_CFLAGS"; then
22535    pkg_cv_UTILSLIB_CFLAGS="$UTILSLIB_CFLAGS"
22536 elif test -n "$PKG_CONFIG"; then
22537    if test -n "$PKG_CONFIG" && \
22538    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$utilslib_vte_package\""; } >&5
22539  ($PKG_CONFIG --exists --print-errors "$utilslib_vte_package") 2>&5
22540  ac_status=$?
22541  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22542  test $ac_status = 0; }; then
22543  pkg_cv_UTILSLIB_CFLAGS=`$PKG_CONFIG --cflags "$utilslib_vte_package" 2>/dev/null`
22544		      test "x$?" != "x0" && pkg_failed=yes
22545else
22546  pkg_failed=yes
22547fi
22548 else
22549    pkg_failed=untried
22550fi
22551if test -n "$UTILSLIB_LIBS"; then
22552    pkg_cv_UTILSLIB_LIBS="$UTILSLIB_LIBS"
22553 elif test -n "$PKG_CONFIG"; then
22554    if test -n "$PKG_CONFIG" && \
22555    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$utilslib_vte_package\""; } >&5
22556  ($PKG_CONFIG --exists --print-errors "$utilslib_vte_package") 2>&5
22557  ac_status=$?
22558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22559  test $ac_status = 0; }; then
22560  pkg_cv_UTILSLIB_LIBS=`$PKG_CONFIG --libs "$utilslib_vte_package" 2>/dev/null`
22561		      test "x$?" != "x0" && pkg_failed=yes
22562else
22563  pkg_failed=yes
22564fi
22565 else
22566    pkg_failed=untried
22567fi
22568
22569
22570
22571if test $pkg_failed = yes; then
22572        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22573$as_echo "no" >&6; }
22574
22575if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22576        _pkg_short_errors_supported=yes
22577else
22578        _pkg_short_errors_supported=no
22579fi
22580        if test $_pkg_short_errors_supported = yes; then
22581	        UTILSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$utilslib_vte_package" 2>&1`
22582        else
22583	        UTILSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$utilslib_vte_package" 2>&1`
22584        fi
22585	# Put the nasty error message in config.log where it belongs
22586	echo "$UTILSLIB_PKG_ERRORS" >&5
22587
22588	utilslib_have_vte=no
22589elif test $pkg_failed = untried; then
22590        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22591$as_echo "no" >&6; }
22592	utilslib_have_vte=no
22593else
22594	UTILSLIB_CFLAGS=$pkg_cv_UTILSLIB_CFLAGS
22595	UTILSLIB_LIBS=$pkg_cv_UTILSLIB_LIBS
22596        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22597$as_echo "yes" >&6; }
22598	utilslib_have_vte=yes
22599fi
22600           if test "$utilslib_have_vte" != yes || test "$enable_utilslib" = no; then :
22601  if test "$enable_scope" = yes; then :
22602  as_fn_error $? "Plugin Scope depends on utilslib VTE support which is not available" "$LINENO" 5
22603else
22604  enable_scope=no
22605fi
22606else
22607  enable_utilslib=yes
22608fi
22609fi
22610
22611
22612             for ac_header in util.h pty.h libutil.h
22613do :
22614  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22615ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22616if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22617  cat >>confdefs.h <<_ACEOF
22618#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22619_ACEOF
22620
22621fi
22622
22623done
22624
22625             PTY_LIBS="-lutil" ;;
22626esac
22627
22628
22629
22630
22631        if test "$enable_scope" = "auto"; then
22632        enable_scope=yes
22633    fi
22634     if test "$enable_scope" = yes; then
22635  ENABLE_SCOPE_TRUE=
22636  ENABLE_SCOPE_FALSE='#'
22637else
22638  ENABLE_SCOPE_TRUE='#'
22639  ENABLE_SCOPE_FALSE=
22640fi
22641
22642
22643    plugins_statusmsg="${plugins_statusmsg}Scope:$enable_scope
22644"
22645
22646
22647
22648    ac_config_files="$ac_config_files scope/Makefile scope/data/Makefile scope/docs/Makefile scope/src/Makefile"
22649
22650
22651
22652
22653
22654
22655    # Check whether --enable-sendmail was given.
22656if test "${enable_sendmail+set}" = set; then :
22657  enableval=$enable_sendmail; enable_sendmail=$enableval
22658else
22659  case $gp_enable_all in #(
22660  no) :
22661    enable_sendmail=no ;; #(
22662  yes) :
22663    enable_sendmail=yes ;; #(
22664  *) :
22665    enable_sendmail=yes ;;
22666esac
22667fi
22668
22669
22670
22671        if test "$enable_sendmail" = "auto"; then
22672        enable_sendmail=yes
22673    fi
22674     if test "$enable_sendmail" = yes; then
22675  ENABLE_SENDMAIL_TRUE=
22676  ENABLE_SENDMAIL_FALSE='#'
22677else
22678  ENABLE_SENDMAIL_TRUE='#'
22679  ENABLE_SENDMAIL_FALSE=
22680fi
22681
22682
22683    plugins_statusmsg="${plugins_statusmsg}Sendmail:$enable_sendmail
22684"
22685
22686
22687    ac_config_files="$ac_config_files sendmail/Makefile sendmail/src/Makefile"
22688
22689
22690
22691
22692
22693
22694    # Check whether --enable-shiftcolumn was given.
22695if test "${enable_shiftcolumn+set}" = set; then :
22696  enableval=$enable_shiftcolumn; enable_shiftcolumn=$enableval
22697else
22698  case $gp_enable_all in #(
22699  no) :
22700    enable_shiftcolumn=no ;; #(
22701  yes) :
22702    enable_shiftcolumn=yes ;; #(
22703  *) :
22704    enable_shiftcolumn=yes ;;
22705esac
22706fi
22707
22708
22709
22710        if test "$enable_shiftcolumn" = "auto"; then
22711        enable_shiftcolumn=yes
22712    fi
22713     if test "$enable_shiftcolumn" = yes; then
22714  ENABLE_SHIFTCOLUMN_TRUE=
22715  ENABLE_SHIFTCOLUMN_FALSE='#'
22716else
22717  ENABLE_SHIFTCOLUMN_TRUE='#'
22718  ENABLE_SHIFTCOLUMN_FALSE=
22719fi
22720
22721
22722    plugins_statusmsg="${plugins_statusmsg}ShiftColumn:$enable_shiftcolumn
22723"
22724
22725
22726    ac_config_files="$ac_config_files shiftcolumn/Makefile shiftcolumn/src/Makefile"
22727
22728
22729
22730
22731
22732
22733    # Check whether --enable-spellcheck was given.
22734if test "${enable_spellcheck+set}" = set; then :
22735  enableval=$enable_spellcheck; enable_spellcheck=$enableval
22736else
22737  case $gp_enable_all in #(
22738  no) :
22739    enable_spellcheck=no ;; #(
22740  yes) :
22741    enable_spellcheck=yes ;; #(
22742  *) :
22743    enable_spellcheck=auto ;;
22744esac
22745fi
22746
22747
22748
22749    ENCHANT_PACKAGE_NAME=enchant-2
22750    ENCHANT_VERSION=1.3
22751    ENCHANT_VERSION_1_5=1.5
22752    ENCHANT_VERSION_2_0=2.0
22753    ENCHANT_VERSION_2_2=2.2
22754
22755    # check for enchant package
22756
22757pkg_failed=no
22758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION_2_2}" >&5
22759$as_echo_n "checking for ${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION_2_2}... " >&6; }
22760
22761if test -n "$ENCHANT_2_2_CFLAGS"; then
22762    pkg_cv_ENCHANT_2_2_CFLAGS="$ENCHANT_2_2_CFLAGS"
22763 elif test -n "$PKG_CONFIG"; then
22764    if test -n "$PKG_CONFIG" && \
22765    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${ENCHANT_PACKAGE_NAME} >= \${ENCHANT_VERSION_2_2}\""; } >&5
22766  ($PKG_CONFIG --exists --print-errors "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION_2_2}") 2>&5
22767  ac_status=$?
22768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22769  test $ac_status = 0; }; then
22770  pkg_cv_ENCHANT_2_2_CFLAGS=`$PKG_CONFIG --cflags "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION_2_2}" 2>/dev/null`
22771		      test "x$?" != "x0" && pkg_failed=yes
22772else
22773  pkg_failed=yes
22774fi
22775 else
22776    pkg_failed=untried
22777fi
22778if test -n "$ENCHANT_2_2_LIBS"; then
22779    pkg_cv_ENCHANT_2_2_LIBS="$ENCHANT_2_2_LIBS"
22780 elif test -n "$PKG_CONFIG"; then
22781    if test -n "$PKG_CONFIG" && \
22782    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${ENCHANT_PACKAGE_NAME} >= \${ENCHANT_VERSION_2_2}\""; } >&5
22783  ($PKG_CONFIG --exists --print-errors "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION_2_2}") 2>&5
22784  ac_status=$?
22785  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22786  test $ac_status = 0; }; then
22787  pkg_cv_ENCHANT_2_2_LIBS=`$PKG_CONFIG --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION_2_2}" 2>/dev/null`
22788		      test "x$?" != "x0" && pkg_failed=yes
22789else
22790  pkg_failed=yes
22791fi
22792 else
22793    pkg_failed=untried
22794fi
22795
22796
22797
22798if test $pkg_failed = yes; then
22799        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22800$as_echo "no" >&6; }
22801
22802if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22803        _pkg_short_errors_supported=yes
22804else
22805        _pkg_short_errors_supported=no
22806fi
22807        if test $_pkg_short_errors_supported = yes; then
22808	        ENCHANT_2_2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION_2_2}" 2>&1`
22809        else
22810	        ENCHANT_2_2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION_2_2}" 2>&1`
22811        fi
22812	# Put the nasty error message in config.log where it belongs
22813	echo "$ENCHANT_2_2_PKG_ERRORS" >&5
22814
22815	have_enchant_2_2=no
22816elif test $pkg_failed = untried; then
22817        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22818$as_echo "no" >&6; }
22819	have_enchant_2_2=no
22820else
22821	ENCHANT_2_2_CFLAGS=$pkg_cv_ENCHANT_2_2_CFLAGS
22822	ENCHANT_2_2_LIBS=$pkg_cv_ENCHANT_2_2_LIBS
22823        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22824$as_echo "yes" >&6; }
22825	have_enchant_2_2=yes
22826fi
22827    if [ x"$have_enchant_2_2" = "xyes" ]; then
22828        # we have got the new enchant-2 package
22829        have_enchant_1_5=yes
22830        have_enchant_2_0=yes
22831    else
22832        # check for old enchant package
22833
22834pkg_failed=no
22835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for enchant >= ${ENCHANT_VERSION_1_5}" >&5
22836$as_echo_n "checking for enchant >= ${ENCHANT_VERSION_1_5}... " >&6; }
22837
22838if test -n "$ENCHANT_1_5_CFLAGS"; then
22839    pkg_cv_ENCHANT_1_5_CFLAGS="$ENCHANT_1_5_CFLAGS"
22840 elif test -n "$PKG_CONFIG"; then
22841    if test -n "$PKG_CONFIG" && \
22842    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \${ENCHANT_VERSION_1_5}\""; } >&5
22843  ($PKG_CONFIG --exists --print-errors "enchant >= ${ENCHANT_VERSION_1_5}") 2>&5
22844  ac_status=$?
22845  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22846  test $ac_status = 0; }; then
22847  pkg_cv_ENCHANT_1_5_CFLAGS=`$PKG_CONFIG --cflags "enchant >= ${ENCHANT_VERSION_1_5}" 2>/dev/null`
22848		      test "x$?" != "x0" && pkg_failed=yes
22849else
22850  pkg_failed=yes
22851fi
22852 else
22853    pkg_failed=untried
22854fi
22855if test -n "$ENCHANT_1_5_LIBS"; then
22856    pkg_cv_ENCHANT_1_5_LIBS="$ENCHANT_1_5_LIBS"
22857 elif test -n "$PKG_CONFIG"; then
22858    if test -n "$PKG_CONFIG" && \
22859    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \${ENCHANT_VERSION_1_5}\""; } >&5
22860  ($PKG_CONFIG --exists --print-errors "enchant >= ${ENCHANT_VERSION_1_5}") 2>&5
22861  ac_status=$?
22862  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22863  test $ac_status = 0; }; then
22864  pkg_cv_ENCHANT_1_5_LIBS=`$PKG_CONFIG --libs "enchant >= ${ENCHANT_VERSION_1_5}" 2>/dev/null`
22865		      test "x$?" != "x0" && pkg_failed=yes
22866else
22867  pkg_failed=yes
22868fi
22869 else
22870    pkg_failed=untried
22871fi
22872
22873
22874
22875if test $pkg_failed = yes; then
22876        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22877$as_echo "no" >&6; }
22878
22879if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22880        _pkg_short_errors_supported=yes
22881else
22882        _pkg_short_errors_supported=no
22883fi
22884        if test $_pkg_short_errors_supported = yes; then
22885	        ENCHANT_1_5_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant >= ${ENCHANT_VERSION_1_5}" 2>&1`
22886        else
22887	        ENCHANT_1_5_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant >= ${ENCHANT_VERSION_1_5}" 2>&1`
22888        fi
22889	# Put the nasty error message in config.log where it belongs
22890	echo "$ENCHANT_1_5_PKG_ERRORS" >&5
22891
22892	have_enchant_1_5=no
22893elif test $pkg_failed = untried; then
22894        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22895$as_echo "no" >&6; }
22896	have_enchant_1_5=no
22897else
22898	ENCHANT_1_5_CFLAGS=$pkg_cv_ENCHANT_1_5_CFLAGS
22899	ENCHANT_1_5_LIBS=$pkg_cv_ENCHANT_1_5_LIBS
22900        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22901$as_echo "yes" >&6; }
22902	have_enchant_1_5=yes
22903fi
22904
22905pkg_failed=no
22906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for enchant >= ${ENCHANT_VERSION_2_0}" >&5
22907$as_echo_n "checking for enchant >= ${ENCHANT_VERSION_2_0}... " >&6; }
22908
22909if test -n "$ENCHANT_2_0_CFLAGS"; then
22910    pkg_cv_ENCHANT_2_0_CFLAGS="$ENCHANT_2_0_CFLAGS"
22911 elif test -n "$PKG_CONFIG"; then
22912    if test -n "$PKG_CONFIG" && \
22913    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \${ENCHANT_VERSION_2_0}\""; } >&5
22914  ($PKG_CONFIG --exists --print-errors "enchant >= ${ENCHANT_VERSION_2_0}") 2>&5
22915  ac_status=$?
22916  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22917  test $ac_status = 0; }; then
22918  pkg_cv_ENCHANT_2_0_CFLAGS=`$PKG_CONFIG --cflags "enchant >= ${ENCHANT_VERSION_2_0}" 2>/dev/null`
22919		      test "x$?" != "x0" && pkg_failed=yes
22920else
22921  pkg_failed=yes
22922fi
22923 else
22924    pkg_failed=untried
22925fi
22926if test -n "$ENCHANT_2_0_LIBS"; then
22927    pkg_cv_ENCHANT_2_0_LIBS="$ENCHANT_2_0_LIBS"
22928 elif test -n "$PKG_CONFIG"; then
22929    if test -n "$PKG_CONFIG" && \
22930    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \${ENCHANT_VERSION_2_0}\""; } >&5
22931  ($PKG_CONFIG --exists --print-errors "enchant >= ${ENCHANT_VERSION_2_0}") 2>&5
22932  ac_status=$?
22933  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22934  test $ac_status = 0; }; then
22935  pkg_cv_ENCHANT_2_0_LIBS=`$PKG_CONFIG --libs "enchant >= ${ENCHANT_VERSION_2_0}" 2>/dev/null`
22936		      test "x$?" != "x0" && pkg_failed=yes
22937else
22938  pkg_failed=yes
22939fi
22940 else
22941    pkg_failed=untried
22942fi
22943
22944
22945
22946if test $pkg_failed = yes; then
22947        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22948$as_echo "no" >&6; }
22949
22950if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22951        _pkg_short_errors_supported=yes
22952else
22953        _pkg_short_errors_supported=no
22954fi
22955        if test $_pkg_short_errors_supported = yes; then
22956	        ENCHANT_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant >= ${ENCHANT_VERSION_2_0}" 2>&1`
22957        else
22958	        ENCHANT_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant >= ${ENCHANT_VERSION_2_0}" 2>&1`
22959        fi
22960	# Put the nasty error message in config.log where it belongs
22961	echo "$ENCHANT_2_0_PKG_ERRORS" >&5
22962
22963	have_enchant_2_0=no
22964elif test $pkg_failed = untried; then
22965        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22966$as_echo "no" >&6; }
22967	have_enchant_2_0=no
22968else
22969	ENCHANT_2_0_CFLAGS=$pkg_cv_ENCHANT_2_0_CFLAGS
22970	ENCHANT_2_0_LIBS=$pkg_cv_ENCHANT_2_0_LIBS
22971        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22972$as_echo "yes" >&6; }
22973	have_enchant_2_0=yes
22974fi
22975
22976        ENCHANT_PACKAGE_NAME=enchant
22977    fi
22978
22979
22980
22981
22982    gtk_dep=0
22983    if test $gtk_dep -ne 0; then
22984
22985
22986
22987    if test "$enable_spellcheck" = no; then :
22988
22989else
22990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin spellcheck" >&5
22991$as_echo_n "checking whether the GTK version in use is compatible with plugin spellcheck... " >&6; }
22992           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
22993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22994$as_echo "yes" >&6; }
22995else
22996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22997$as_echo "no" >&6; }
22998                  if test "$enable_spellcheck" = yes; then :
22999  as_fn_error $? "spellcheck is not compatible with the GTK version in use" "$LINENO" 5
23000elif test "$enable_spellcheck" = auto; then :
23001  enable_spellcheck=no
23002fi
23003fi
23004fi
23005
23006    fi
23007
23008    if test "$enable_spellcheck" = "yes"; then
23009
23010pkg_failed=no
23011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" >&5
23012$as_echo_n "checking for ${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}... " >&6; }
23013
23014if test -n "$ENCHANT_CFLAGS"; then
23015    pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
23016 elif test -n "$PKG_CONFIG"; then
23017    if test -n "$PKG_CONFIG" && \
23018    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${ENCHANT_PACKAGE_NAME} >= \${ENCHANT_VERSION}\""; } >&5
23019  ($PKG_CONFIG --exists --print-errors "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}") 2>&5
23020  ac_status=$?
23021  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23022  test $ac_status = 0; }; then
23023  pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" 2>/dev/null`
23024		      test "x$?" != "x0" && pkg_failed=yes
23025else
23026  pkg_failed=yes
23027fi
23028 else
23029    pkg_failed=untried
23030fi
23031if test -n "$ENCHANT_LIBS"; then
23032    pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
23033 elif test -n "$PKG_CONFIG"; then
23034    if test -n "$PKG_CONFIG" && \
23035    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${ENCHANT_PACKAGE_NAME} >= \${ENCHANT_VERSION}\""; } >&5
23036  ($PKG_CONFIG --exists --print-errors "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}") 2>&5
23037  ac_status=$?
23038  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23039  test $ac_status = 0; }; then
23040  pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" 2>/dev/null`
23041		      test "x$?" != "x0" && pkg_failed=yes
23042else
23043  pkg_failed=yes
23044fi
23045 else
23046    pkg_failed=untried
23047fi
23048
23049
23050
23051if test $pkg_failed = yes; then
23052        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23053$as_echo "no" >&6; }
23054
23055if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23056        _pkg_short_errors_supported=yes
23057else
23058        _pkg_short_errors_supported=no
23059fi
23060        if test $_pkg_short_errors_supported = yes; then
23061	        ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" 2>&1`
23062        else
23063	        ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" 2>&1`
23064        fi
23065	# Put the nasty error message in config.log where it belongs
23066	echo "$ENCHANT_PKG_ERRORS" >&5
23067
23068	as_fn_error $? "Package requirements (${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}) were not met:
23069
23070$ENCHANT_PKG_ERRORS
23071
23072Consider adjusting the PKG_CONFIG_PATH environment variable if you
23073installed software in a non-standard prefix.
23074
23075Alternatively, you may set the environment variables ENCHANT_CFLAGS
23076and ENCHANT_LIBS to avoid the need to call pkg-config.
23077See the pkg-config man page for more details." "$LINENO" 5
23078elif test $pkg_failed = untried; then
23079        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23080$as_echo "no" >&6; }
23081	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23082$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23083as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23084is in your PATH or set the PKG_CONFIG environment variable to the full
23085path to pkg-config.
23086
23087Alternatively, you may set the environment variables ENCHANT_CFLAGS
23088and ENCHANT_LIBS to avoid the need to call pkg-config.
23089See the pkg-config man page for more details.
23090
23091To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23092See \`config.log' for more details" "$LINENO" 5; }
23093else
23094	ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS
23095	ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS
23096        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23097$as_echo "yes" >&6; }
23098
23099fi
23100    elif test "$enable_spellcheck" = "auto"; then
23101
23102pkg_failed=no
23103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" >&5
23104$as_echo_n "checking for ${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}... " >&6; }
23105
23106if test -n "$ENCHANT_CFLAGS"; then
23107    pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
23108 elif test -n "$PKG_CONFIG"; then
23109    if test -n "$PKG_CONFIG" && \
23110    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${ENCHANT_PACKAGE_NAME} >= \${ENCHANT_VERSION}\""; } >&5
23111  ($PKG_CONFIG --exists --print-errors "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}") 2>&5
23112  ac_status=$?
23113  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23114  test $ac_status = 0; }; then
23115  pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" 2>/dev/null`
23116		      test "x$?" != "x0" && pkg_failed=yes
23117else
23118  pkg_failed=yes
23119fi
23120 else
23121    pkg_failed=untried
23122fi
23123if test -n "$ENCHANT_LIBS"; then
23124    pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
23125 elif test -n "$PKG_CONFIG"; then
23126    if test -n "$PKG_CONFIG" && \
23127    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${ENCHANT_PACKAGE_NAME} >= \${ENCHANT_VERSION}\""; } >&5
23128  ($PKG_CONFIG --exists --print-errors "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}") 2>&5
23129  ac_status=$?
23130  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23131  test $ac_status = 0; }; then
23132  pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" 2>/dev/null`
23133		      test "x$?" != "x0" && pkg_failed=yes
23134else
23135  pkg_failed=yes
23136fi
23137 else
23138    pkg_failed=untried
23139fi
23140
23141
23142
23143if test $pkg_failed = yes; then
23144        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23145$as_echo "no" >&6; }
23146
23147if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23148        _pkg_short_errors_supported=yes
23149else
23150        _pkg_short_errors_supported=no
23151fi
23152        if test $_pkg_short_errors_supported = yes; then
23153	        ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" 2>&1`
23154        else
23155	        ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${ENCHANT_PACKAGE_NAME} >= ${ENCHANT_VERSION}" 2>&1`
23156        fi
23157	# Put the nasty error message in config.log where it belongs
23158	echo "$ENCHANT_PKG_ERRORS" >&5
23159
23160	enable_spellcheck=no
23161elif test $pkg_failed = untried; then
23162        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23163$as_echo "no" >&6; }
23164	enable_spellcheck=no
23165else
23166	ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS
23167	ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS
23168        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23169$as_echo "yes" >&6; }
23170
23171fi
23172    fi
23173
23174
23175     if test "$have_enchant_1_5" = yes; then
23176  HAVE_ENCHANT_1_5_TRUE=
23177  HAVE_ENCHANT_1_5_FALSE='#'
23178else
23179  HAVE_ENCHANT_1_5_TRUE='#'
23180  HAVE_ENCHANT_1_5_FALSE=
23181fi
23182
23183     if test "$have_enchant_2_0" = yes; then
23184  HAVE_ENCHANT_2_0_TRUE=
23185  HAVE_ENCHANT_2_0_FALSE='#'
23186else
23187  HAVE_ENCHANT_2_0_TRUE='#'
23188  HAVE_ENCHANT_2_0_FALSE=
23189fi
23190
23191
23192        if test "$enable_spellcheck" = "auto"; then
23193        enable_spellcheck=yes
23194    fi
23195     if test "$enable_spellcheck" = yes; then
23196  ENABLE_SPELLCHECK_TRUE=
23197  ENABLE_SPELLCHECK_FALSE='#'
23198else
23199  ENABLE_SPELLCHECK_TRUE='#'
23200  ENABLE_SPELLCHECK_FALSE=
23201fi
23202
23203
23204    plugins_statusmsg="${plugins_statusmsg}Spellcheck:$enable_spellcheck
23205"
23206
23207
23208
23209    ac_config_files="$ac_config_files spellcheck/Makefile spellcheck/src/Makefile"
23210
23211
23212
23213
23214
23215
23216    # Check whether --enable-treebrowser was given.
23217if test "${enable_treebrowser+set}" = set; then :
23218  enableval=$enable_treebrowser; enable_treebrowser=$enableval
23219else
23220  case $gp_enable_all in #(
23221  no) :
23222    enable_treebrowser=no ;; #(
23223  yes) :
23224    enable_treebrowser=yes ;; #(
23225  *) :
23226    enable_treebrowser=auto ;;
23227esac
23228fi
23229
23230
23231
23232
23233    if test "$enable_treebrowser" != no &&
23234           test "$enable_utilslib" != yes; then :
23235  if test "$enable_utilslib" = "no"; then :
23236  if test "$enable_treebrowser" = yes; then :
23237  as_fn_error $? "Plugin Treebrowser depends on utilslib which is disabled" "$LINENO" 5
23238else
23239  enable_treebrowser=no
23240fi
23241else
23242  enable_utilslib=yes
23243fi
23244fi
23245
23246
23247    if [ "$enable_treebrowser" != no ]; then
23248        ac_fn_c_check_func "$LINENO" "creat" "ac_cv_func_creat"
23249if test "x$ac_cv_func_creat" = xyes; then :
23250  enable_treebrowser=yes
23251else
23252
23253                if [ "$enable_treebrowser" = auto ]; then
23254                    enable_treebrowser=no
23255                else
23256                    as_fn_error $? "Treebrowser cannot be enabled because creat() is missing.
23257                                  Please disable it (--disable-treebrowser) or make sure creat()
23258                                  works on your system." "$LINENO" 5
23259                fi
23260
23261fi
23262
23263    fi
23264
23265     if test "x$enable_treebrowser" = "xyes"; then
23266  ENABLE_TREEBROWSER_TRUE=
23267  ENABLE_TREEBROWSER_FALSE='#'
23268else
23269  ENABLE_TREEBROWSER_TRUE='#'
23270  ENABLE_TREEBROWSER_FALSE=
23271fi
23272
23273
23274        if test "$enable_treebrowser" = "auto"; then
23275        enable_treebrowser=yes
23276    fi
23277     if test "$enable_treebrowser" = yes; then
23278  ENABLE_TREEBROWSER_TRUE=
23279  ENABLE_TREEBROWSER_FALSE='#'
23280else
23281  ENABLE_TREEBROWSER_TRUE='#'
23282  ENABLE_TREEBROWSER_FALSE=
23283fi
23284
23285
23286    plugins_statusmsg="${plugins_statusmsg}TreeBrowser:$enable_treebrowser
23287"
23288
23289
23290
23291    ac_config_files="$ac_config_files treebrowser/Makefile treebrowser/src/Makefile"
23292
23293
23294
23295
23296
23297
23298    # Check whether --enable-tableconvert was given.
23299if test "${enable_tableconvert+set}" = set; then :
23300  enableval=$enable_tableconvert; enable_tableconvert=$enableval
23301else
23302  case $gp_enable_all in #(
23303  no) :
23304    enable_tableconvert=no ;; #(
23305  yes) :
23306    enable_tableconvert=yes ;; #(
23307  *) :
23308    enable_tableconvert=yes ;;
23309esac
23310fi
23311
23312
23313
23314        if test "$enable_tableconvert" = "auto"; then
23315        enable_tableconvert=yes
23316    fi
23317     if test "$enable_tableconvert" = yes; then
23318  ENABLE_TABLECONVERT_TRUE=
23319  ENABLE_TABLECONVERT_FALSE='#'
23320else
23321  ENABLE_TABLECONVERT_TRUE='#'
23322  ENABLE_TABLECONVERT_FALSE=
23323fi
23324
23325
23326    plugins_statusmsg="${plugins_statusmsg}Tableconvert:$enable_tableconvert
23327"
23328
23329
23330    ac_config_files="$ac_config_files tableconvert/Makefile tableconvert/src/Makefile"
23331
23332
23333
23334
23335
23336
23337    # Check whether --enable-updatechecker was given.
23338if test "${enable_updatechecker+set}" = set; then :
23339  enableval=$enable_updatechecker; enable_updatechecker=$enableval
23340else
23341  case $gp_enable_all in #(
23342  no) :
23343    enable_updatechecker=no ;; #(
23344  yes) :
23345    enable_updatechecker=yes ;; #(
23346  *) :
23347    enable_updatechecker=auto ;;
23348esac
23349fi
23350
23351
23352
23353
23354
23355
23356    gtk_dep=0
23357    if test $gtk_dep -ne 0; then
23358
23359
23360
23361    if test "$enable_updatechecker" = no; then :
23362
23363else
23364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Updatechecker" >&5
23365$as_echo_n "checking whether the GTK version in use is compatible with plugin Updatechecker... " >&6; }
23366           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
23367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23368$as_echo "yes" >&6; }
23369else
23370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23371$as_echo "no" >&6; }
23372                  if test "$enable_updatechecker" = yes; then :
23373  as_fn_error $? "Updatechecker is not compatible with the GTK version in use" "$LINENO" 5
23374elif test "$enable_updatechecker" = auto; then :
23375  enable_updatechecker=no
23376fi
23377fi
23378fi
23379
23380    fi
23381
23382    if test "$enable_updatechecker" = "yes"; then
23383
23384pkg_failed=no
23385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup-2.4 >= 2.42" >&5
23386$as_echo_n "checking for libsoup-2.4 >= 2.42... " >&6; }
23387
23388if test -n "$UPDATECHECKER_CFLAGS"; then
23389    pkg_cv_UPDATECHECKER_CFLAGS="$UPDATECHECKER_CFLAGS"
23390 elif test -n "$PKG_CONFIG"; then
23391    if test -n "$PKG_CONFIG" && \
23392    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.42\""; } >&5
23393  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.42") 2>&5
23394  ac_status=$?
23395  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23396  test $ac_status = 0; }; then
23397  pkg_cv_UPDATECHECKER_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.42" 2>/dev/null`
23398		      test "x$?" != "x0" && pkg_failed=yes
23399else
23400  pkg_failed=yes
23401fi
23402 else
23403    pkg_failed=untried
23404fi
23405if test -n "$UPDATECHECKER_LIBS"; then
23406    pkg_cv_UPDATECHECKER_LIBS="$UPDATECHECKER_LIBS"
23407 elif test -n "$PKG_CONFIG"; then
23408    if test -n "$PKG_CONFIG" && \
23409    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.42\""; } >&5
23410  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.42") 2>&5
23411  ac_status=$?
23412  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23413  test $ac_status = 0; }; then
23414  pkg_cv_UPDATECHECKER_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.42" 2>/dev/null`
23415		      test "x$?" != "x0" && pkg_failed=yes
23416else
23417  pkg_failed=yes
23418fi
23419 else
23420    pkg_failed=untried
23421fi
23422
23423
23424
23425if test $pkg_failed = yes; then
23426        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23427$as_echo "no" >&6; }
23428
23429if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23430        _pkg_short_errors_supported=yes
23431else
23432        _pkg_short_errors_supported=no
23433fi
23434        if test $_pkg_short_errors_supported = yes; then
23435	        UPDATECHECKER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.42" 2>&1`
23436        else
23437	        UPDATECHECKER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.42" 2>&1`
23438        fi
23439	# Put the nasty error message in config.log where it belongs
23440	echo "$UPDATECHECKER_PKG_ERRORS" >&5
23441
23442	as_fn_error $? "Package requirements (libsoup-2.4 >= 2.42) were not met:
23443
23444$UPDATECHECKER_PKG_ERRORS
23445
23446Consider adjusting the PKG_CONFIG_PATH environment variable if you
23447installed software in a non-standard prefix.
23448
23449Alternatively, you may set the environment variables UPDATECHECKER_CFLAGS
23450and UPDATECHECKER_LIBS to avoid the need to call pkg-config.
23451See the pkg-config man page for more details." "$LINENO" 5
23452elif test $pkg_failed = untried; then
23453        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23454$as_echo "no" >&6; }
23455	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23457as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23458is in your PATH or set the PKG_CONFIG environment variable to the full
23459path to pkg-config.
23460
23461Alternatively, you may set the environment variables UPDATECHECKER_CFLAGS
23462and UPDATECHECKER_LIBS to avoid the need to call pkg-config.
23463See the pkg-config man page for more details.
23464
23465To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23466See \`config.log' for more details" "$LINENO" 5; }
23467else
23468	UPDATECHECKER_CFLAGS=$pkg_cv_UPDATECHECKER_CFLAGS
23469	UPDATECHECKER_LIBS=$pkg_cv_UPDATECHECKER_LIBS
23470        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23471$as_echo "yes" >&6; }
23472
23473fi
23474    elif test "$enable_updatechecker" = "auto"; then
23475
23476pkg_failed=no
23477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup-2.4 >= 2.42" >&5
23478$as_echo_n "checking for libsoup-2.4 >= 2.42... " >&6; }
23479
23480if test -n "$UPDATECHECKER_CFLAGS"; then
23481    pkg_cv_UPDATECHECKER_CFLAGS="$UPDATECHECKER_CFLAGS"
23482 elif test -n "$PKG_CONFIG"; then
23483    if test -n "$PKG_CONFIG" && \
23484    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.42\""; } >&5
23485  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.42") 2>&5
23486  ac_status=$?
23487  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23488  test $ac_status = 0; }; then
23489  pkg_cv_UPDATECHECKER_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.42" 2>/dev/null`
23490		      test "x$?" != "x0" && pkg_failed=yes
23491else
23492  pkg_failed=yes
23493fi
23494 else
23495    pkg_failed=untried
23496fi
23497if test -n "$UPDATECHECKER_LIBS"; then
23498    pkg_cv_UPDATECHECKER_LIBS="$UPDATECHECKER_LIBS"
23499 elif test -n "$PKG_CONFIG"; then
23500    if test -n "$PKG_CONFIG" && \
23501    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.42\""; } >&5
23502  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.42") 2>&5
23503  ac_status=$?
23504  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23505  test $ac_status = 0; }; then
23506  pkg_cv_UPDATECHECKER_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.42" 2>/dev/null`
23507		      test "x$?" != "x0" && pkg_failed=yes
23508else
23509  pkg_failed=yes
23510fi
23511 else
23512    pkg_failed=untried
23513fi
23514
23515
23516
23517if test $pkg_failed = yes; then
23518        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23519$as_echo "no" >&6; }
23520
23521if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23522        _pkg_short_errors_supported=yes
23523else
23524        _pkg_short_errors_supported=no
23525fi
23526        if test $_pkg_short_errors_supported = yes; then
23527	        UPDATECHECKER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.42" 2>&1`
23528        else
23529	        UPDATECHECKER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.42" 2>&1`
23530        fi
23531	# Put the nasty error message in config.log where it belongs
23532	echo "$UPDATECHECKER_PKG_ERRORS" >&5
23533
23534	enable_updatechecker=no
23535elif test $pkg_failed = untried; then
23536        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23537$as_echo "no" >&6; }
23538	enable_updatechecker=no
23539else
23540	UPDATECHECKER_CFLAGS=$pkg_cv_UPDATECHECKER_CFLAGS
23541	UPDATECHECKER_LIBS=$pkg_cv_UPDATECHECKER_LIBS
23542        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23543$as_echo "yes" >&6; }
23544
23545fi
23546    fi
23547
23548
23549
23550        if test "$enable_updatechecker" = "auto"; then
23551        enable_updatechecker=yes
23552    fi
23553     if test "$enable_updatechecker" = yes; then
23554  ENABLE_UPDATECHECKER_TRUE=
23555  ENABLE_UPDATECHECKER_FALSE='#'
23556else
23557  ENABLE_UPDATECHECKER_TRUE='#'
23558  ENABLE_UPDATECHECKER_FALSE=
23559fi
23560
23561
23562    plugins_statusmsg="${plugins_statusmsg}Updatechecker:$enable_updatechecker
23563"
23564
23565
23566
23567    ac_config_files="$ac_config_files updatechecker/Makefile updatechecker/src/Makefile"
23568
23569
23570
23571
23572
23573
23574    # Check whether --enable-vimode was given.
23575if test "${enable_vimode+set}" = set; then :
23576  enableval=$enable_vimode; enable_vimode=$enableval
23577else
23578  case $gp_enable_all in #(
23579  no) :
23580    enable_vimode=no ;; #(
23581  yes) :
23582    enable_vimode=yes ;; #(
23583  *) :
23584    enable_vimode=auto ;;
23585esac
23586fi
23587
23588
23589
23590        if test "$enable_vimode" = "auto"; then
23591        enable_vimode=yes
23592    fi
23593     if test "$enable_vimode" = yes; then
23594  ENABLE_VIMODE_TRUE=
23595  ENABLE_VIMODE_FALSE='#'
23596else
23597  ENABLE_VIMODE_TRUE='#'
23598  ENABLE_VIMODE_FALSE=
23599fi
23600
23601
23602    plugins_statusmsg="${plugins_statusmsg}Vimode:$enable_vimode
23603"
23604
23605
23606    ac_config_files="$ac_config_files vimode/Makefile vimode/src/Makefile"
23607
23608
23609
23610
23611
23612
23613    # Check whether --enable-webhelper was given.
23614if test "${enable_webhelper+set}" = set; then :
23615  enableval=$enable_webhelper; enable_webhelper=$enableval
23616else
23617  case $gp_enable_all in #(
23618  no) :
23619    enable_webhelper=no ;; #(
23620  yes) :
23621    enable_webhelper=yes ;; #(
23622  *) :
23623    enable_webhelper=auto ;;
23624esac
23625fi
23626
23627
23628
23629    GTK_VERSION=2.16
23630        GLIB_VERSION=2.22
23631    GIO_VERSION=2.18
23632    GDK_PIXBUF_VERSION=2.0
23633    WEBKIT_VERSION=1.1.18
23634
23635    # Extract the first word of "glib-mkenums", so it can be a program name with args.
23636set dummy glib-mkenums; ac_word=$2
23637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23638$as_echo_n "checking for $ac_word... " >&6; }
23639if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
23640  $as_echo_n "(cached) " >&6
23641else
23642  case $GLIB_MKENUMS in
23643  [\\/]* | ?:[\\/]*)
23644  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
23645  ;;
23646  *)
23647  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23648for as_dir in $PATH
23649do
23650  IFS=$as_save_IFS
23651  test -z "$as_dir" && as_dir=.
23652    for ac_exec_ext in '' $ac_executable_extensions; do
23653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23654    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
23655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23656    break 2
23657  fi
23658done
23659  done
23660IFS=$as_save_IFS
23661
23662  test -z "$ac_cv_path_GLIB_MKENUMS" && ac_cv_path_GLIB_MKENUMS="no"
23663  ;;
23664esac
23665fi
23666GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
23667if test -n "$GLIB_MKENUMS"; then
23668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
23669$as_echo "$GLIB_MKENUMS" >&6; }
23670else
23671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23672$as_echo "no" >&6; }
23673fi
23674
23675
23676
23677    if [ x"$GLIB_MKENUMS" = "xno" ]; then
23678        if [ x"$enable_webhelper" = "xyes" ]; then
23679            as_fn_error $? "glib-mkenums not found, are GLib dev tools installed?" "$LINENO" 5
23680        else
23681            enable_webhelper=no
23682        fi
23683    fi
23684
23685
23686
23687    if test ${GP_GTK_VERSION_MAJOR} = 3; then :
23688  webkit_package=webkitgtk-3.0
23689else
23690  webkit_package=webkit-1.0
23691fi
23692
23693
23694
23695
23696    gtk_dep=0
23697    if test $gtk_dep -ne 0; then
23698
23699
23700
23701    if test "$enable_webhelper" = no; then :
23702
23703else
23704  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin WebHelper" >&5
23705$as_echo_n "checking whether the GTK version in use is compatible with plugin WebHelper... " >&6; }
23706           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
23707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23708$as_echo "yes" >&6; }
23709else
23710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23711$as_echo "no" >&6; }
23712                  if test "$enable_webhelper" = yes; then :
23713  as_fn_error $? "WebHelper is not compatible with the GTK version in use" "$LINENO" 5
23714elif test "$enable_webhelper" = auto; then :
23715  enable_webhelper=no
23716fi
23717fi
23718fi
23719
23720    fi
23721
23722    if test "$enable_webhelper" = "yes"; then
23723
23724pkg_failed=no
23725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
23726                          glib-2.0 >= ${GLIB_VERSION}
23727                          gio-2.0 >= ${GIO_VERSION}
23728                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23729                          $webkit_package >= ${WEBKIT_VERSION}
23730                          gthread-2.0" >&5
23731$as_echo_n "checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
23732                          glib-2.0 >= ${GLIB_VERSION}
23733                          gio-2.0 >= ${GIO_VERSION}
23734                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23735                          $webkit_package >= ${WEBKIT_VERSION}
23736                          gthread-2.0... " >&6; }
23737
23738if test -n "$WEBHELPER_CFLAGS"; then
23739    pkg_cv_WEBHELPER_CFLAGS="$WEBHELPER_CFLAGS"
23740 elif test -n "$PKG_CONFIG"; then
23741    if test -n "$PKG_CONFIG" && \
23742    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
23743                          glib-2.0 >= \${GLIB_VERSION}
23744                          gio-2.0 >= \${GIO_VERSION}
23745                          gdk-pixbuf-2.0 >= \${GDK_PIXBUF_VERSION}
23746                          \$webkit_package >= \${WEBKIT_VERSION}
23747                          gthread-2.0\""; } >&5
23748  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23749                          glib-2.0 >= ${GLIB_VERSION}
23750                          gio-2.0 >= ${GIO_VERSION}
23751                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23752                          $webkit_package >= ${WEBKIT_VERSION}
23753                          gthread-2.0") 2>&5
23754  ac_status=$?
23755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23756  test $ac_status = 0; }; then
23757  pkg_cv_WEBHELPER_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23758                          glib-2.0 >= ${GLIB_VERSION}
23759                          gio-2.0 >= ${GIO_VERSION}
23760                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23761                          $webkit_package >= ${WEBKIT_VERSION}
23762                          gthread-2.0" 2>/dev/null`
23763		      test "x$?" != "x0" && pkg_failed=yes
23764else
23765  pkg_failed=yes
23766fi
23767 else
23768    pkg_failed=untried
23769fi
23770if test -n "$WEBHELPER_LIBS"; then
23771    pkg_cv_WEBHELPER_LIBS="$WEBHELPER_LIBS"
23772 elif test -n "$PKG_CONFIG"; then
23773    if test -n "$PKG_CONFIG" && \
23774    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
23775                          glib-2.0 >= \${GLIB_VERSION}
23776                          gio-2.0 >= \${GIO_VERSION}
23777                          gdk-pixbuf-2.0 >= \${GDK_PIXBUF_VERSION}
23778                          \$webkit_package >= \${WEBKIT_VERSION}
23779                          gthread-2.0\""; } >&5
23780  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23781                          glib-2.0 >= ${GLIB_VERSION}
23782                          gio-2.0 >= ${GIO_VERSION}
23783                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23784                          $webkit_package >= ${WEBKIT_VERSION}
23785                          gthread-2.0") 2>&5
23786  ac_status=$?
23787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23788  test $ac_status = 0; }; then
23789  pkg_cv_WEBHELPER_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23790                          glib-2.0 >= ${GLIB_VERSION}
23791                          gio-2.0 >= ${GIO_VERSION}
23792                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23793                          $webkit_package >= ${WEBKIT_VERSION}
23794                          gthread-2.0" 2>/dev/null`
23795		      test "x$?" != "x0" && pkg_failed=yes
23796else
23797  pkg_failed=yes
23798fi
23799 else
23800    pkg_failed=untried
23801fi
23802
23803
23804
23805if test $pkg_failed = yes; then
23806        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23807$as_echo "no" >&6; }
23808
23809if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23810        _pkg_short_errors_supported=yes
23811else
23812        _pkg_short_errors_supported=no
23813fi
23814        if test $_pkg_short_errors_supported = yes; then
23815	        WEBHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23816                          glib-2.0 >= ${GLIB_VERSION}
23817                          gio-2.0 >= ${GIO_VERSION}
23818                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23819                          $webkit_package >= ${WEBKIT_VERSION}
23820                          gthread-2.0" 2>&1`
23821        else
23822	        WEBHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23823                          glib-2.0 >= ${GLIB_VERSION}
23824                          gio-2.0 >= ${GIO_VERSION}
23825                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23826                          $webkit_package >= ${WEBKIT_VERSION}
23827                          gthread-2.0" 2>&1`
23828        fi
23829	# Put the nasty error message in config.log where it belongs
23830	echo "$WEBHELPER_PKG_ERRORS" >&5
23831
23832	as_fn_error $? "Package requirements ($GP_GTK_PACKAGE >= ${GTK_VERSION}
23833                          glib-2.0 >= ${GLIB_VERSION}
23834                          gio-2.0 >= ${GIO_VERSION}
23835                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23836                          $webkit_package >= ${WEBKIT_VERSION}
23837                          gthread-2.0) were not met:
23838
23839$WEBHELPER_PKG_ERRORS
23840
23841Consider adjusting the PKG_CONFIG_PATH environment variable if you
23842installed software in a non-standard prefix.
23843
23844Alternatively, you may set the environment variables WEBHELPER_CFLAGS
23845and WEBHELPER_LIBS to avoid the need to call pkg-config.
23846See the pkg-config man page for more details." "$LINENO" 5
23847elif test $pkg_failed = untried; then
23848        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23849$as_echo "no" >&6; }
23850	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23851$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23852as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23853is in your PATH or set the PKG_CONFIG environment variable to the full
23854path to pkg-config.
23855
23856Alternatively, you may set the environment variables WEBHELPER_CFLAGS
23857and WEBHELPER_LIBS to avoid the need to call pkg-config.
23858See the pkg-config man page for more details.
23859
23860To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23861See \`config.log' for more details" "$LINENO" 5; }
23862else
23863	WEBHELPER_CFLAGS=$pkg_cv_WEBHELPER_CFLAGS
23864	WEBHELPER_LIBS=$pkg_cv_WEBHELPER_LIBS
23865        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23866$as_echo "yes" >&6; }
23867
23868fi
23869    elif test "$enable_webhelper" = "auto"; then
23870
23871pkg_failed=no
23872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
23873                          glib-2.0 >= ${GLIB_VERSION}
23874                          gio-2.0 >= ${GIO_VERSION}
23875                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23876                          $webkit_package >= ${WEBKIT_VERSION}
23877                          gthread-2.0" >&5
23878$as_echo_n "checking for $GP_GTK_PACKAGE >= ${GTK_VERSION}
23879                          glib-2.0 >= ${GLIB_VERSION}
23880                          gio-2.0 >= ${GIO_VERSION}
23881                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23882                          $webkit_package >= ${WEBKIT_VERSION}
23883                          gthread-2.0... " >&6; }
23884
23885if test -n "$WEBHELPER_CFLAGS"; then
23886    pkg_cv_WEBHELPER_CFLAGS="$WEBHELPER_CFLAGS"
23887 elif test -n "$PKG_CONFIG"; then
23888    if test -n "$PKG_CONFIG" && \
23889    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
23890                          glib-2.0 >= \${GLIB_VERSION}
23891                          gio-2.0 >= \${GIO_VERSION}
23892                          gdk-pixbuf-2.0 >= \${GDK_PIXBUF_VERSION}
23893                          \$webkit_package >= \${WEBKIT_VERSION}
23894                          gthread-2.0\""; } >&5
23895  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23896                          glib-2.0 >= ${GLIB_VERSION}
23897                          gio-2.0 >= ${GIO_VERSION}
23898                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23899                          $webkit_package >= ${WEBKIT_VERSION}
23900                          gthread-2.0") 2>&5
23901  ac_status=$?
23902  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23903  test $ac_status = 0; }; then
23904  pkg_cv_WEBHELPER_CFLAGS=`$PKG_CONFIG --cflags "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23905                          glib-2.0 >= ${GLIB_VERSION}
23906                          gio-2.0 >= ${GIO_VERSION}
23907                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23908                          $webkit_package >= ${WEBKIT_VERSION}
23909                          gthread-2.0" 2>/dev/null`
23910		      test "x$?" != "x0" && pkg_failed=yes
23911else
23912  pkg_failed=yes
23913fi
23914 else
23915    pkg_failed=untried
23916fi
23917if test -n "$WEBHELPER_LIBS"; then
23918    pkg_cv_WEBHELPER_LIBS="$WEBHELPER_LIBS"
23919 elif test -n "$PKG_CONFIG"; then
23920    if test -n "$PKG_CONFIG" && \
23921    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GP_GTK_PACKAGE >= \${GTK_VERSION}
23922                          glib-2.0 >= \${GLIB_VERSION}
23923                          gio-2.0 >= \${GIO_VERSION}
23924                          gdk-pixbuf-2.0 >= \${GDK_PIXBUF_VERSION}
23925                          \$webkit_package >= \${WEBKIT_VERSION}
23926                          gthread-2.0\""; } >&5
23927  ($PKG_CONFIG --exists --print-errors "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23928                          glib-2.0 >= ${GLIB_VERSION}
23929                          gio-2.0 >= ${GIO_VERSION}
23930                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23931                          $webkit_package >= ${WEBKIT_VERSION}
23932                          gthread-2.0") 2>&5
23933  ac_status=$?
23934  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23935  test $ac_status = 0; }; then
23936  pkg_cv_WEBHELPER_LIBS=`$PKG_CONFIG --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23937                          glib-2.0 >= ${GLIB_VERSION}
23938                          gio-2.0 >= ${GIO_VERSION}
23939                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23940                          $webkit_package >= ${WEBKIT_VERSION}
23941                          gthread-2.0" 2>/dev/null`
23942		      test "x$?" != "x0" && pkg_failed=yes
23943else
23944  pkg_failed=yes
23945fi
23946 else
23947    pkg_failed=untried
23948fi
23949
23950
23951
23952if test $pkg_failed = yes; then
23953        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23954$as_echo "no" >&6; }
23955
23956if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23957        _pkg_short_errors_supported=yes
23958else
23959        _pkg_short_errors_supported=no
23960fi
23961        if test $_pkg_short_errors_supported = yes; then
23962	        WEBHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23963                          glib-2.0 >= ${GLIB_VERSION}
23964                          gio-2.0 >= ${GIO_VERSION}
23965                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23966                          $webkit_package >= ${WEBKIT_VERSION}
23967                          gthread-2.0" 2>&1`
23968        else
23969	        WEBHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GP_GTK_PACKAGE >= ${GTK_VERSION}
23970                          glib-2.0 >= ${GLIB_VERSION}
23971                          gio-2.0 >= ${GIO_VERSION}
23972                          gdk-pixbuf-2.0 >= ${GDK_PIXBUF_VERSION}
23973                          $webkit_package >= ${WEBKIT_VERSION}
23974                          gthread-2.0" 2>&1`
23975        fi
23976	# Put the nasty error message in config.log where it belongs
23977	echo "$WEBHELPER_PKG_ERRORS" >&5
23978
23979	enable_webhelper=no
23980elif test $pkg_failed = untried; then
23981        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23982$as_echo "no" >&6; }
23983	enable_webhelper=no
23984else
23985	WEBHELPER_CFLAGS=$pkg_cv_WEBHELPER_CFLAGS
23986	WEBHELPER_LIBS=$pkg_cv_WEBHELPER_LIBS
23987        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23988$as_echo "yes" >&6; }
23989
23990fi
23991    fi
23992
23993
23994
23995
23996        if test "$enable_webhelper" = "auto"; then
23997        enable_webhelper=yes
23998    fi
23999     if test "$enable_webhelper" = yes; then
24000  ENABLE_WEBHELPER_TRUE=
24001  ENABLE_WEBHELPER_FALSE='#'
24002else
24003  ENABLE_WEBHELPER_TRUE='#'
24004  ENABLE_WEBHELPER_FALSE=
24005fi
24006
24007
24008    plugins_statusmsg="${plugins_statusmsg}WebHelper:$enable_webhelper
24009"
24010
24011
24012
24013    ac_config_files="$ac_config_files webhelper/Makefile webhelper/src/Makefile"
24014
24015
24016
24017
24018
24019
24020    # Check whether --enable-workbench was given.
24021if test "${enable_workbench+set}" = set; then :
24022  enableval=$enable_workbench; enable_workbench=$enableval
24023else
24024  case $gp_enable_all in #(
24025  no) :
24026    enable_workbench=no ;; #(
24027  yes) :
24028    enable_workbench=yes ;; #(
24029  *) :
24030    enable_workbench=auto ;;
24031esac
24032fi
24033
24034
24035
24036
24037    if test "$enable_workbench" != no &&
24038           test "$enable_utilslib" != yes; then :
24039  if test "$enable_utilslib" = "no"; then :
24040  if test "$enable_workbench" = yes; then :
24041  as_fn_error $? "Plugin Workbench depends on utilslib which is disabled" "$LINENO" 5
24042else
24043  enable_workbench=no
24044fi
24045else
24046  enable_utilslib=yes
24047fi
24048fi
24049
24050
24051
24052
24053
24054    gtk_dep=0
24055    if test $gtk_dep -ne 0; then
24056
24057
24058
24059    if test "$enable_workbench" = no; then :
24060
24061else
24062  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GTK version in use is compatible with plugin Workbench" >&5
24063$as_echo_n "checking whether the GTK version in use is compatible with plugin Workbench... " >&6; }
24064           if test ${GP_GTK_VERSION_MAJOR} = $gtk_dep; then :
24065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24066$as_echo "yes" >&6; }
24067else
24068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24069$as_echo "no" >&6; }
24070                  if test "$enable_workbench" = yes; then :
24071  as_fn_error $? "Workbench is not compatible with the GTK version in use" "$LINENO" 5
24072elif test "$enable_workbench" = auto; then :
24073  enable_workbench=no
24074fi
24075fi
24076fi
24077
24078    fi
24079
24080    if test "$enable_workbench" = "yes"; then
24081
24082pkg_failed=no
24083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgit2 >= 0.21" >&5
24084$as_echo_n "checking for libgit2 >= 0.21... " >&6; }
24085
24086if test -n "$WORKBENCH_CFLAGS"; then
24087    pkg_cv_WORKBENCH_CFLAGS="$WORKBENCH_CFLAGS"
24088 elif test -n "$PKG_CONFIG"; then
24089    if test -n "$PKG_CONFIG" && \
24090    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgit2 >= 0.21\""; } >&5
24091  ($PKG_CONFIG --exists --print-errors "libgit2 >= 0.21") 2>&5
24092  ac_status=$?
24093  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24094  test $ac_status = 0; }; then
24095  pkg_cv_WORKBENCH_CFLAGS=`$PKG_CONFIG --cflags "libgit2 >= 0.21" 2>/dev/null`
24096		      test "x$?" != "x0" && pkg_failed=yes
24097else
24098  pkg_failed=yes
24099fi
24100 else
24101    pkg_failed=untried
24102fi
24103if test -n "$WORKBENCH_LIBS"; then
24104    pkg_cv_WORKBENCH_LIBS="$WORKBENCH_LIBS"
24105 elif test -n "$PKG_CONFIG"; then
24106    if test -n "$PKG_CONFIG" && \
24107    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgit2 >= 0.21\""; } >&5
24108  ($PKG_CONFIG --exists --print-errors "libgit2 >= 0.21") 2>&5
24109  ac_status=$?
24110  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24111  test $ac_status = 0; }; then
24112  pkg_cv_WORKBENCH_LIBS=`$PKG_CONFIG --libs "libgit2 >= 0.21" 2>/dev/null`
24113		      test "x$?" != "x0" && pkg_failed=yes
24114else
24115  pkg_failed=yes
24116fi
24117 else
24118    pkg_failed=untried
24119fi
24120
24121
24122
24123if test $pkg_failed = yes; then
24124        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24125$as_echo "no" >&6; }
24126
24127if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24128        _pkg_short_errors_supported=yes
24129else
24130        _pkg_short_errors_supported=no
24131fi
24132        if test $_pkg_short_errors_supported = yes; then
24133	        WORKBENCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgit2 >= 0.21" 2>&1`
24134        else
24135	        WORKBENCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgit2 >= 0.21" 2>&1`
24136        fi
24137	# Put the nasty error message in config.log where it belongs
24138	echo "$WORKBENCH_PKG_ERRORS" >&5
24139
24140	as_fn_error $? "Package requirements (libgit2 >= 0.21) were not met:
24141
24142$WORKBENCH_PKG_ERRORS
24143
24144Consider adjusting the PKG_CONFIG_PATH environment variable if you
24145installed software in a non-standard prefix.
24146
24147Alternatively, you may set the environment variables WORKBENCH_CFLAGS
24148and WORKBENCH_LIBS to avoid the need to call pkg-config.
24149See the pkg-config man page for more details." "$LINENO" 5
24150elif test $pkg_failed = untried; then
24151        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24152$as_echo "no" >&6; }
24153	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24154$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24155as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
24156is in your PATH or set the PKG_CONFIG environment variable to the full
24157path to pkg-config.
24158
24159Alternatively, you may set the environment variables WORKBENCH_CFLAGS
24160and WORKBENCH_LIBS to avoid the need to call pkg-config.
24161See the pkg-config man page for more details.
24162
24163To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24164See \`config.log' for more details" "$LINENO" 5; }
24165else
24166	WORKBENCH_CFLAGS=$pkg_cv_WORKBENCH_CFLAGS
24167	WORKBENCH_LIBS=$pkg_cv_WORKBENCH_LIBS
24168        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24169$as_echo "yes" >&6; }
24170
24171fi
24172    elif test "$enable_workbench" = "auto"; then
24173
24174pkg_failed=no
24175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgit2 >= 0.21" >&5
24176$as_echo_n "checking for libgit2 >= 0.21... " >&6; }
24177
24178if test -n "$WORKBENCH_CFLAGS"; then
24179    pkg_cv_WORKBENCH_CFLAGS="$WORKBENCH_CFLAGS"
24180 elif test -n "$PKG_CONFIG"; then
24181    if test -n "$PKG_CONFIG" && \
24182    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgit2 >= 0.21\""; } >&5
24183  ($PKG_CONFIG --exists --print-errors "libgit2 >= 0.21") 2>&5
24184  ac_status=$?
24185  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24186  test $ac_status = 0; }; then
24187  pkg_cv_WORKBENCH_CFLAGS=`$PKG_CONFIG --cflags "libgit2 >= 0.21" 2>/dev/null`
24188		      test "x$?" != "x0" && pkg_failed=yes
24189else
24190  pkg_failed=yes
24191fi
24192 else
24193    pkg_failed=untried
24194fi
24195if test -n "$WORKBENCH_LIBS"; then
24196    pkg_cv_WORKBENCH_LIBS="$WORKBENCH_LIBS"
24197 elif test -n "$PKG_CONFIG"; then
24198    if test -n "$PKG_CONFIG" && \
24199    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgit2 >= 0.21\""; } >&5
24200  ($PKG_CONFIG --exists --print-errors "libgit2 >= 0.21") 2>&5
24201  ac_status=$?
24202  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24203  test $ac_status = 0; }; then
24204  pkg_cv_WORKBENCH_LIBS=`$PKG_CONFIG --libs "libgit2 >= 0.21" 2>/dev/null`
24205		      test "x$?" != "x0" && pkg_failed=yes
24206else
24207  pkg_failed=yes
24208fi
24209 else
24210    pkg_failed=untried
24211fi
24212
24213
24214
24215if test $pkg_failed = yes; then
24216        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24217$as_echo "no" >&6; }
24218
24219if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24220        _pkg_short_errors_supported=yes
24221else
24222        _pkg_short_errors_supported=no
24223fi
24224        if test $_pkg_short_errors_supported = yes; then
24225	        WORKBENCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgit2 >= 0.21" 2>&1`
24226        else
24227	        WORKBENCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgit2 >= 0.21" 2>&1`
24228        fi
24229	# Put the nasty error message in config.log where it belongs
24230	echo "$WORKBENCH_PKG_ERRORS" >&5
24231
24232	enable_workbench=no
24233elif test $pkg_failed = untried; then
24234        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24235$as_echo "no" >&6; }
24236	enable_workbench=no
24237else
24238	WORKBENCH_CFLAGS=$pkg_cv_WORKBENCH_CFLAGS
24239	WORKBENCH_LIBS=$pkg_cv_WORKBENCH_LIBS
24240        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24241$as_echo "yes" >&6; }
24242
24243fi
24244    fi
24245
24246
24247
24248        if test "$enable_workbench" = "auto"; then
24249        enable_workbench=yes
24250    fi
24251     if test "$enable_workbench" = yes; then
24252  ENABLE_WORKBENCH_TRUE=
24253  ENABLE_WORKBENCH_FALSE='#'
24254else
24255  ENABLE_WORKBENCH_TRUE='#'
24256  ENABLE_WORKBENCH_FALSE=
24257fi
24258
24259
24260    plugins_statusmsg="${plugins_statusmsg}Workbench:$enable_workbench
24261"
24262
24263
24264    ac_config_files="$ac_config_files workbench/Makefile workbench/src/Makefile"
24265
24266
24267
24268
24269
24270
24271    # Check whether --enable-xmlsnippets was given.
24272if test "${enable_xmlsnippets+set}" = set; then :
24273  enableval=$enable_xmlsnippets; enable_xmlsnippets=$enableval
24274else
24275  case $gp_enable_all in #(
24276  no) :
24277    enable_xmlsnippets=no ;; #(
24278  yes) :
24279    enable_xmlsnippets=yes ;; #(
24280  *) :
24281    enable_xmlsnippets=yes ;;
24282esac
24283fi
24284
24285
24286
24287        if test "$enable_xmlsnippets" = "auto"; then
24288        enable_xmlsnippets=yes
24289    fi
24290     if test "$enable_xmlsnippets" = yes; then
24291  ENABLE_XMLSNIPPETS_TRUE=
24292  ENABLE_XMLSNIPPETS_FALSE='#'
24293else
24294  ENABLE_XMLSNIPPETS_TRUE='#'
24295  ENABLE_XMLSNIPPETS_FALSE=
24296fi
24297
24298
24299    plugins_statusmsg="${plugins_statusmsg}XMLSnippets:$enable_xmlsnippets
24300"
24301
24302
24303    ac_config_files="$ac_config_files xmlsnippets/Makefile xmlsnippets/src/Makefile"
24304
24305
24306
24307
24308    if test "$enable_utilslib" = "yes"; then :
24309  ac_config_files="$ac_config_files utils/Makefile utils/src/Makefile"
24310
24311else
24312  enable_utilslib=no
24313fi
24314     if test "$enable_utilslib" = "yes"; then
24315  ENABLE_UTILSLIB_TRUE=
24316  ENABLE_UTILSLIB_FALSE='#'
24317else
24318  ENABLE_UTILSLIB_TRUE='#'
24319  ENABLE_UTILSLIB_FALSE=
24320fi
24321
24322     if test "$enable_utilslib" = yes && test "$utilslib_have_vte" = yes; then
24323  ENABLE_UTILSLIB_VTECOMPAT_TRUE=
24324  ENABLE_UTILSLIB_VTECOMPAT_FALSE='#'
24325else
24326  ENABLE_UTILSLIB_VTECOMPAT_TRUE='#'
24327  ENABLE_UTILSLIB_VTECOMPAT_FALSE=
24328fi
24329
24330
24331    feature_statusmsg="${feature_statusmsg}Utility library:$enable_utilslib
24332"
24333
24334
24335    feature_statusmsg="${feature_statusmsg}Utility library VTE support:${utilslib_have_vte-no}
24336"
24337
24338
24339
24340ac_config_files="$ac_config_files Makefile po/Makefile.in"
24341
24342cat >confcache <<\_ACEOF
24343# This file is a shell script that caches the results of configure
24344# tests run on this system so they can be shared between configure
24345# scripts and configure runs, see configure's option --config-cache.
24346# It is not useful on other systems.  If it contains results you don't
24347# want to keep, you may remove or edit it.
24348#
24349# config.status only pays attention to the cache file if you give it
24350# the --recheck option to rerun configure.
24351#
24352# `ac_cv_env_foo' variables (set or unset) will be overridden when
24353# loading this file, other *unset* `ac_cv_foo' will be assigned the
24354# following values.
24355
24356_ACEOF
24357
24358# The following way of writing the cache mishandles newlines in values,
24359# but we know of no workaround that is simple, portable, and efficient.
24360# So, we kill variables containing newlines.
24361# Ultrix sh set writes to stderr and can't be redirected directly,
24362# and sets the high bit in the cache file unless we assign to the vars.
24363(
24364  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24365    eval ac_val=\$$ac_var
24366    case $ac_val in #(
24367    *${as_nl}*)
24368      case $ac_var in #(
24369      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24370$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24371      esac
24372      case $ac_var in #(
24373      _ | IFS | as_nl) ;; #(
24374      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24375      *) { eval $ac_var=; unset $ac_var;} ;;
24376      esac ;;
24377    esac
24378  done
24379
24380  (set) 2>&1 |
24381    case $as_nl`(ac_space=' '; set) 2>&1` in #(
24382    *${as_nl}ac_space=\ *)
24383      # `set' does not quote correctly, so add quotes: double-quote
24384      # substitution turns \\\\ into \\, and sed turns \\ into \.
24385      sed -n \
24386	"s/'/'\\\\''/g;
24387	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24388      ;; #(
24389    *)
24390      # `set' quotes correctly as required by POSIX, so do not add quotes.
24391      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24392      ;;
24393    esac |
24394    sort
24395) |
24396  sed '
24397     /^ac_cv_env_/b end
24398     t clear
24399     :clear
24400     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24401     t end
24402     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24403     :end' >>confcache
24404if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24405  if test -w "$cache_file"; then
24406    if test "x$cache_file" != "x/dev/null"; then
24407      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24408$as_echo "$as_me: updating cache $cache_file" >&6;}
24409      if test ! -f "$cache_file" || test -h "$cache_file"; then
24410	cat confcache >"$cache_file"
24411      else
24412        case $cache_file in #(
24413        */* | ?:*)
24414	  mv -f confcache "$cache_file"$$ &&
24415	  mv -f "$cache_file"$$ "$cache_file" ;; #(
24416        *)
24417	  mv -f confcache "$cache_file" ;;
24418	esac
24419      fi
24420    fi
24421  else
24422    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24423$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24424  fi
24425fi
24426rm -f confcache
24427
24428test "x$prefix" = xNONE && prefix=$ac_default_prefix
24429# Let make expand exec_prefix.
24430test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24431
24432DEFS=-DHAVE_CONFIG_H
24433
24434ac_libobjs=
24435ac_ltlibobjs=
24436U=
24437for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24438  # 1. Remove the extension, and $U if already installed.
24439  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24440  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24441  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
24442  #    will be set to the directory where LIBOBJS objects are built.
24443  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24444  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
24445done
24446LIBOBJS=$ac_libobjs
24447
24448LTLIBOBJS=$ac_ltlibobjs
24449
24450
24451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24452$as_echo_n "checking that generated files are newer than configure... " >&6; }
24453   if test -n "$am_sleep_pid"; then
24454     # Hide warnings about reused PIDs.
24455     wait $am_sleep_pid 2>/dev/null
24456   fi
24457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24458$as_echo "done" >&6; }
24459 if test -n "$EXEEXT"; then
24460  am__EXEEXT_TRUE=
24461  am__EXEEXT_FALSE='#'
24462else
24463  am__EXEEXT_TRUE='#'
24464  am__EXEEXT_FALSE=
24465fi
24466
24467if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24468  as_fn_error $? "conditional \"AMDEP\" was never defined.
24469Usually this means the macro was only invoked conditionally." "$LINENO" 5
24470fi
24471if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24472  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
24473Usually this means the macro was only invoked conditionally." "$LINENO" 5
24474fi
24475if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24476  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
24477Usually this means the macro was only invoked conditionally." "$LINENO" 5
24478fi
24479
24480  ac_config_commands="$ac_config_commands po/stamp-it"
24481
24482
24483if test -z "${UNITTESTS_TRUE}" && test -z "${UNITTESTS_FALSE}"; then
24484  as_fn_error $? "conditional \"UNITTESTS\" was never defined.
24485Usually this means the macro was only invoked conditionally." "$LINENO" 5
24486fi
24487if test -z "${UNITTESTS_TRUE}" && test -z "${UNITTESTS_FALSE}"; then
24488  as_fn_error $? "conditional \"UNITTESTS\" was never defined.
24489Usually this means the macro was only invoked conditionally." "$LINENO" 5
24490fi
24491if test -z "${UNITTESTS_TRUE}" && test -z "${UNITTESTS_FALSE}"; then
24492  as_fn_error $? "conditional \"UNITTESTS\" was never defined.
24493Usually this means the macro was only invoked conditionally." "$LINENO" 5
24494fi
24495if test -z "${GP_GTK3_TRUE}" && test -z "${GP_GTK3_FALSE}"; then
24496  as_fn_error $? "conditional \"GP_GTK3\" was never defined.
24497Usually this means the macro was only invoked conditionally." "$LINENO" 5
24498fi
24499if test -z "${HAVE_CPPCHECK_TRUE}" && test -z "${HAVE_CPPCHECK_FALSE}"; then
24500  as_fn_error $? "conditional \"HAVE_CPPCHECK\" was never defined.
24501Usually this means the macro was only invoked conditionally." "$LINENO" 5
24502fi
24503if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
24504  as_fn_error $? "conditional \"MINGW\" was never defined.
24505Usually this means the macro was only invoked conditionally." "$LINENO" 5
24506fi
24507if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
24508  as_fn_error $? "conditional \"MINGW\" was never defined.
24509Usually this means the macro was only invoked conditionally." "$LINENO" 5
24510fi
24511if test -z "${ENABLE_ADDONS_TRUE}" && test -z "${ENABLE_ADDONS_FALSE}"; then
24512  as_fn_error $? "conditional \"ENABLE_ADDONS\" was never defined.
24513Usually this means the macro was only invoked conditionally." "$LINENO" 5
24514fi
24515if test -z "${ENABLE_AUTOCLOSE_TRUE}" && test -z "${ENABLE_AUTOCLOSE_FALSE}"; then
24516  as_fn_error $? "conditional \"ENABLE_AUTOCLOSE\" was never defined.
24517Usually this means the macro was only invoked conditionally." "$LINENO" 5
24518fi
24519if test -z "${ENABLE_AUTOMARK_TRUE}" && test -z "${ENABLE_AUTOMARK_FALSE}"; then
24520  as_fn_error $? "conditional \"ENABLE_AUTOMARK\" was never defined.
24521Usually this means the macro was only invoked conditionally." "$LINENO" 5
24522fi
24523if test -z "${ENABLE_CODENAV_TRUE}" && test -z "${ENABLE_CODENAV_FALSE}"; then
24524  as_fn_error $? "conditional \"ENABLE_CODENAV\" was never defined.
24525Usually this means the macro was only invoked conditionally." "$LINENO" 5
24526fi
24527if test -z "${ENABLE_COMMANDER_TRUE}" && test -z "${ENABLE_COMMANDER_FALSE}"; then
24528  as_fn_error $? "conditional \"ENABLE_COMMANDER\" was never defined.
24529Usually this means the macro was only invoked conditionally." "$LINENO" 5
24530fi
24531if test -z "${ENABLE_DEBUGGER_TRUE}" && test -z "${ENABLE_DEBUGGER_FALSE}"; then
24532  as_fn_error $? "conditional \"ENABLE_DEBUGGER\" was never defined.
24533Usually this means the macro was only invoked conditionally." "$LINENO" 5
24534fi
24535if test -z "${ENABLE_DEFINEFORMAT_TRUE}" && test -z "${ENABLE_DEFINEFORMAT_FALSE}"; then
24536  as_fn_error $? "conditional \"ENABLE_DEFINEFORMAT\" was never defined.
24537Usually this means the macro was only invoked conditionally." "$LINENO" 5
24538fi
24539if test -z "${ENABLE_DEVHELP_TRUE}" && test -z "${ENABLE_DEVHELP_FALSE}"; then
24540  as_fn_error $? "conditional \"ENABLE_DEVHELP\" was never defined.
24541Usually this means the macro was only invoked conditionally." "$LINENO" 5
24542fi
24543if test -z "${ENABLE_GEANYCTAGS_TRUE}" && test -z "${ENABLE_GEANYCTAGS_FALSE}"; then
24544  as_fn_error $? "conditional \"ENABLE_GEANYCTAGS\" was never defined.
24545Usually this means the macro was only invoked conditionally." "$LINENO" 5
24546fi
24547if test -z "${ENABLE_GEANYDOC_TRUE}" && test -z "${ENABLE_GEANYDOC_FALSE}"; then
24548  as_fn_error $? "conditional \"ENABLE_GEANYDOC\" was never defined.
24549Usually this means the macro was only invoked conditionally." "$LINENO" 5
24550fi
24551if test -z "${ENABLE_GEANYEXTRASEL_TRUE}" && test -z "${ENABLE_GEANYEXTRASEL_FALSE}"; then
24552  as_fn_error $? "conditional \"ENABLE_GEANYEXTRASEL\" was never defined.
24553Usually this means the macro was only invoked conditionally." "$LINENO" 5
24554fi
24555if test -z "${BUILD_RST_TRUE}" && test -z "${BUILD_RST_FALSE}"; then
24556  as_fn_error $? "conditional \"BUILD_RST\" was never defined.
24557Usually this means the macro was only invoked conditionally." "$LINENO" 5
24558fi
24559if test -z "${ENABLE_GEANYGENDOC_TRUE}" && test -z "${ENABLE_GEANYGENDOC_FALSE}"; then
24560  as_fn_error $? "conditional \"ENABLE_GEANYGENDOC\" was never defined.
24561Usually this means the macro was only invoked conditionally." "$LINENO" 5
24562fi
24563if test -z "${ENABLE_GEANYINSERTNUM_TRUE}" && test -z "${ENABLE_GEANYINSERTNUM_FALSE}"; then
24564  as_fn_error $? "conditional \"ENABLE_GEANYINSERTNUM\" was never defined.
24565Usually this means the macro was only invoked conditionally." "$LINENO" 5
24566fi
24567if test -z "${ENABLE_LATEX_TRUE}" && test -z "${ENABLE_LATEX_FALSE}"; then
24568  as_fn_error $? "conditional \"ENABLE_LATEX\" was never defined.
24569Usually this means the macro was only invoked conditionally." "$LINENO" 5
24570fi
24571if test -z "${ENABLE_GEANYLUA_TRUE}" && test -z "${ENABLE_GEANYLUA_FALSE}"; then
24572  as_fn_error $? "conditional \"ENABLE_GEANYLUA\" was never defined.
24573Usually this means the macro was only invoked conditionally." "$LINENO" 5
24574fi
24575if test -z "${ENABLE_GEANYMACRO_TRUE}" && test -z "${ENABLE_GEANYMACRO_FALSE}"; then
24576  as_fn_error $? "conditional \"ENABLE_GEANYMACRO\" was never defined.
24577Usually this means the macro was only invoked conditionally." "$LINENO" 5
24578fi
24579if test -z "${ENABLE_GEANYMINISCRIPT_TRUE}" && test -z "${ENABLE_GEANYMINISCRIPT_FALSE}"; then
24580  as_fn_error $? "conditional \"ENABLE_GEANYMINISCRIPT\" was never defined.
24581Usually this means the macro was only invoked conditionally." "$LINENO" 5
24582fi
24583if test -z "${ENABLE_GEANYNUMBEREDBOOKMARKS_TRUE}" && test -z "${ENABLE_GEANYNUMBEREDBOOKMARKS_FALSE}"; then
24584  as_fn_error $? "conditional \"ENABLE_GEANYNUMBEREDBOOKMARKS\" was never defined.
24585Usually this means the macro was only invoked conditionally." "$LINENO" 5
24586fi
24587if test -z "${ENABLE_GEANYPRJ_TRUE}" && test -z "${ENABLE_GEANYPRJ_FALSE}"; then
24588  as_fn_error $? "conditional \"ENABLE_GEANYPRJ\" was never defined.
24589Usually this means the macro was only invoked conditionally." "$LINENO" 5
24590fi
24591if test -z "${ENABLE_GEANYPY_TRUE}" && test -z "${ENABLE_GEANYPY_FALSE}"; then
24592  as_fn_error $? "conditional \"ENABLE_GEANYPY\" was never defined.
24593Usually this means the macro was only invoked conditionally." "$LINENO" 5
24594fi
24595if test -z "${ENABLE_GEANYVC_TRUE}" && test -z "${ENABLE_GEANYVC_FALSE}"; then
24596  as_fn_error $? "conditional \"ENABLE_GEANYVC\" was never defined.
24597Usually this means the macro was only invoked conditionally." "$LINENO" 5
24598fi
24599if test -z "${ENABLE_GEANYPG_TRUE}" && test -z "${ENABLE_GEANYPG_FALSE}"; then
24600  as_fn_error $? "conditional \"ENABLE_GEANYPG\" was never defined.
24601Usually this means the macro was only invoked conditionally." "$LINENO" 5
24602fi
24603if test -z "${ENABLE_GENIUSPASTE_TRUE}" && test -z "${ENABLE_GENIUSPASTE_FALSE}"; then
24604  as_fn_error $? "conditional \"ENABLE_GENIUSPASTE\" was never defined.
24605Usually this means the macro was only invoked conditionally." "$LINENO" 5
24606fi
24607if test -z "${ENABLE_GITCHANGEBAR_TRUE}" && test -z "${ENABLE_GITCHANGEBAR_FALSE}"; then
24608  as_fn_error $? "conditional \"ENABLE_GITCHANGEBAR\" was never defined.
24609Usually this means the macro was only invoked conditionally." "$LINENO" 5
24610fi
24611if test -z "${ENABLE_KEYRECORD_TRUE}" && test -z "${ENABLE_KEYRECORD_FALSE}"; then
24612  as_fn_error $? "conditional \"ENABLE_KEYRECORD\" was never defined.
24613Usually this means the macro was only invoked conditionally." "$LINENO" 5
24614fi
24615if test -z "${ENABLE_LINEOPERATIONS_TRUE}" && test -z "${ENABLE_LINEOPERATIONS_FALSE}"; then
24616  as_fn_error $? "conditional \"ENABLE_LINEOPERATIONS\" was never defined.
24617Usually this means the macro was only invoked conditionally." "$LINENO" 5
24618fi
24619if test -z "${ENABLE_LIPSUM_TRUE}" && test -z "${ENABLE_LIPSUM_FALSE}"; then
24620  as_fn_error $? "conditional \"ENABLE_LIPSUM\" was never defined.
24621Usually this means the macro was only invoked conditionally." "$LINENO" 5
24622fi
24623if test -z "${MARKDOWN_PEG_MARKDOWN_TRUE}" && test -z "${MARKDOWN_PEG_MARKDOWN_FALSE}"; then
24624  as_fn_error $? "conditional \"MARKDOWN_PEG_MARKDOWN\" was never defined.
24625Usually this means the macro was only invoked conditionally." "$LINENO" 5
24626fi
24627if test -z "${MARKDOWN_WEBKIT2_TRUE}" && test -z "${MARKDOWN_WEBKIT2_FALSE}"; then
24628  as_fn_error $? "conditional \"MARKDOWN_WEBKIT2\" was never defined.
24629Usually this means the macro was only invoked conditionally." "$LINENO" 5
24630fi
24631if test -z "${ENABLE_MARKDOWN_TRUE}" && test -z "${ENABLE_MARKDOWN_FALSE}"; then
24632  as_fn_error $? "conditional \"ENABLE_MARKDOWN\" was never defined.
24633Usually this means the macro was only invoked conditionally." "$LINENO" 5
24634fi
24635if test -z "${ENABLE_MULTITERM_TRUE}" && test -z "${ENABLE_MULTITERM_FALSE}"; then
24636  as_fn_error $? "conditional \"ENABLE_MULTITERM\" was never defined.
24637Usually this means the macro was only invoked conditionally." "$LINENO" 5
24638fi
24639if test -z "${ENABLE_OVERVIEW_TRUE}" && test -z "${ENABLE_OVERVIEW_FALSE}"; then
24640  as_fn_error $? "conditional \"ENABLE_OVERVIEW\" was never defined.
24641Usually this means the macro was only invoked conditionally." "$LINENO" 5
24642fi
24643if test -z "${ENABLE_PAIRTAGHIGHLIGHTER_TRUE}" && test -z "${ENABLE_PAIRTAGHIGHLIGHTER_FALSE}"; then
24644  as_fn_error $? "conditional \"ENABLE_PAIRTAGHIGHLIGHTER\" was never defined.
24645Usually this means the macro was only invoked conditionally." "$LINENO" 5
24646fi
24647if test -z "${ENABLE_POHELPER_TRUE}" && test -z "${ENABLE_POHELPER_FALSE}"; then
24648  as_fn_error $? "conditional \"ENABLE_POHELPER\" was never defined.
24649Usually this means the macro was only invoked conditionally." "$LINENO" 5
24650fi
24651if test -z "${ENABLE_PRETTY_PRINTER_TRUE}" && test -z "${ENABLE_PRETTY_PRINTER_FALSE}"; then
24652  as_fn_error $? "conditional \"ENABLE_PRETTY_PRINTER\" was never defined.
24653Usually this means the macro was only invoked conditionally." "$LINENO" 5
24654fi
24655if test -z "${ENABLE_PROJECTORGANIZER_TRUE}" && test -z "${ENABLE_PROJECTORGANIZER_FALSE}"; then
24656  as_fn_error $? "conditional \"ENABLE_PROJECTORGANIZER\" was never defined.
24657Usually this means the macro was only invoked conditionally." "$LINENO" 5
24658fi
24659if test -z "${ENABLE_SCOPE_TRUE}" && test -z "${ENABLE_SCOPE_FALSE}"; then
24660  as_fn_error $? "conditional \"ENABLE_SCOPE\" was never defined.
24661Usually this means the macro was only invoked conditionally." "$LINENO" 5
24662fi
24663if test -z "${ENABLE_SENDMAIL_TRUE}" && test -z "${ENABLE_SENDMAIL_FALSE}"; then
24664  as_fn_error $? "conditional \"ENABLE_SENDMAIL\" was never defined.
24665Usually this means the macro was only invoked conditionally." "$LINENO" 5
24666fi
24667if test -z "${ENABLE_SHIFTCOLUMN_TRUE}" && test -z "${ENABLE_SHIFTCOLUMN_FALSE}"; then
24668  as_fn_error $? "conditional \"ENABLE_SHIFTCOLUMN\" was never defined.
24669Usually this means the macro was only invoked conditionally." "$LINENO" 5
24670fi
24671if test -z "${HAVE_ENCHANT_1_5_TRUE}" && test -z "${HAVE_ENCHANT_1_5_FALSE}"; then
24672  as_fn_error $? "conditional \"HAVE_ENCHANT_1_5\" was never defined.
24673Usually this means the macro was only invoked conditionally." "$LINENO" 5
24674fi
24675if test -z "${HAVE_ENCHANT_2_0_TRUE}" && test -z "${HAVE_ENCHANT_2_0_FALSE}"; then
24676  as_fn_error $? "conditional \"HAVE_ENCHANT_2_0\" was never defined.
24677Usually this means the macro was only invoked conditionally." "$LINENO" 5
24678fi
24679if test -z "${ENABLE_SPELLCHECK_TRUE}" && test -z "${ENABLE_SPELLCHECK_FALSE}"; then
24680  as_fn_error $? "conditional \"ENABLE_SPELLCHECK\" was never defined.
24681Usually this means the macro was only invoked conditionally." "$LINENO" 5
24682fi
24683if test -z "${ENABLE_TREEBROWSER_TRUE}" && test -z "${ENABLE_TREEBROWSER_FALSE}"; then
24684  as_fn_error $? "conditional \"ENABLE_TREEBROWSER\" was never defined.
24685Usually this means the macro was only invoked conditionally." "$LINENO" 5
24686fi
24687if test -z "${ENABLE_TREEBROWSER_TRUE}" && test -z "${ENABLE_TREEBROWSER_FALSE}"; then
24688  as_fn_error $? "conditional \"ENABLE_TREEBROWSER\" was never defined.
24689Usually this means the macro was only invoked conditionally." "$LINENO" 5
24690fi
24691if test -z "${ENABLE_TABLECONVERT_TRUE}" && test -z "${ENABLE_TABLECONVERT_FALSE}"; then
24692  as_fn_error $? "conditional \"ENABLE_TABLECONVERT\" was never defined.
24693Usually this means the macro was only invoked conditionally." "$LINENO" 5
24694fi
24695if test -z "${ENABLE_UPDATECHECKER_TRUE}" && test -z "${ENABLE_UPDATECHECKER_FALSE}"; then
24696  as_fn_error $? "conditional \"ENABLE_UPDATECHECKER\" was never defined.
24697Usually this means the macro was only invoked conditionally." "$LINENO" 5
24698fi
24699if test -z "${ENABLE_VIMODE_TRUE}" && test -z "${ENABLE_VIMODE_FALSE}"; then
24700  as_fn_error $? "conditional \"ENABLE_VIMODE\" was never defined.
24701Usually this means the macro was only invoked conditionally." "$LINENO" 5
24702fi
24703if test -z "${ENABLE_WEBHELPER_TRUE}" && test -z "${ENABLE_WEBHELPER_FALSE}"; then
24704  as_fn_error $? "conditional \"ENABLE_WEBHELPER\" was never defined.
24705Usually this means the macro was only invoked conditionally." "$LINENO" 5
24706fi
24707if test -z "${ENABLE_WORKBENCH_TRUE}" && test -z "${ENABLE_WORKBENCH_FALSE}"; then
24708  as_fn_error $? "conditional \"ENABLE_WORKBENCH\" was never defined.
24709Usually this means the macro was only invoked conditionally." "$LINENO" 5
24710fi
24711if test -z "${ENABLE_XMLSNIPPETS_TRUE}" && test -z "${ENABLE_XMLSNIPPETS_FALSE}"; then
24712  as_fn_error $? "conditional \"ENABLE_XMLSNIPPETS\" was never defined.
24713Usually this means the macro was only invoked conditionally." "$LINENO" 5
24714fi
24715if test -z "${ENABLE_UTILSLIB_TRUE}" && test -z "${ENABLE_UTILSLIB_FALSE}"; then
24716  as_fn_error $? "conditional \"ENABLE_UTILSLIB\" was never defined.
24717Usually this means the macro was only invoked conditionally." "$LINENO" 5
24718fi
24719if test -z "${ENABLE_UTILSLIB_VTECOMPAT_TRUE}" && test -z "${ENABLE_UTILSLIB_VTECOMPAT_FALSE}"; then
24720  as_fn_error $? "conditional \"ENABLE_UTILSLIB_VTECOMPAT\" was never defined.
24721Usually this means the macro was only invoked conditionally." "$LINENO" 5
24722fi
24723
24724: "${CONFIG_STATUS=./config.status}"
24725ac_write_fail=0
24726ac_clean_files_save=$ac_clean_files
24727ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24728{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24729$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24730as_write_fail=0
24731cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24732#! $SHELL
24733# Generated by $as_me.
24734# Run this file to recreate the current configuration.
24735# Compiler output produced by configure, useful for debugging
24736# configure, is in config.log if it exists.
24737
24738debug=false
24739ac_cs_recheck=false
24740ac_cs_silent=false
24741
24742SHELL=\${CONFIG_SHELL-$SHELL}
24743export SHELL
24744_ASEOF
24745cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
24746## -------------------- ##
24747## M4sh Initialization. ##
24748## -------------------- ##
24749
24750# Be more Bourne compatible
24751DUALCASE=1; export DUALCASE # for MKS sh
24752if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24753  emulate sh
24754  NULLCMD=:
24755  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24756  # is contrary to our usage.  Disable this feature.
24757  alias -g '${1+"$@"}'='"$@"'
24758  setopt NO_GLOB_SUBST
24759else
24760  case `(set -o) 2>/dev/null` in #(
24761  *posix*) :
24762    set -o posix ;; #(
24763  *) :
24764     ;;
24765esac
24766fi
24767
24768
24769as_nl='
24770'
24771export as_nl
24772# Printing a long string crashes Solaris 7 /usr/bin/printf.
24773as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24774as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24775as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24776# Prefer a ksh shell builtin over an external printf program on Solaris,
24777# but without wasting forks for bash or zsh.
24778if test -z "$BASH_VERSION$ZSH_VERSION" \
24779    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24780  as_echo='print -r --'
24781  as_echo_n='print -rn --'
24782elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24783  as_echo='printf %s\n'
24784  as_echo_n='printf %s'
24785else
24786  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24787    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
24788    as_echo_n='/usr/ucb/echo -n'
24789  else
24790    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24791    as_echo_n_body='eval
24792      arg=$1;
24793      case $arg in #(
24794      *"$as_nl"*)
24795	expr "X$arg" : "X\\(.*\\)$as_nl";
24796	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24797      esac;
24798      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
24799    '
24800    export as_echo_n_body
24801    as_echo_n='sh -c $as_echo_n_body as_echo'
24802  fi
24803  export as_echo_body
24804  as_echo='sh -c $as_echo_body as_echo'
24805fi
24806
24807# The user is always right.
24808if test "${PATH_SEPARATOR+set}" != set; then
24809  PATH_SEPARATOR=:
24810  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24811    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24812      PATH_SEPARATOR=';'
24813  }
24814fi
24815
24816
24817# IFS
24818# We need space, tab and new line, in precisely that order.  Quoting is
24819# there to prevent editors from complaining about space-tab.
24820# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24821# splitting by setting IFS to empty value.)
24822IFS=" ""	$as_nl"
24823
24824# Find who we are.  Look in the path if we contain no directory separator.
24825as_myself=
24826case $0 in #((
24827  *[\\/]* ) as_myself=$0 ;;
24828  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24829for as_dir in $PATH
24830do
24831  IFS=$as_save_IFS
24832  test -z "$as_dir" && as_dir=.
24833    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24834  done
24835IFS=$as_save_IFS
24836
24837     ;;
24838esac
24839# We did not find ourselves, most probably we were run as `sh COMMAND'
24840# in which case we are not to be found in the path.
24841if test "x$as_myself" = x; then
24842  as_myself=$0
24843fi
24844if test ! -f "$as_myself"; then
24845  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24846  exit 1
24847fi
24848
24849# Unset variables that we do not need and which cause bugs (e.g. in
24850# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
24851# suppresses any "Segmentation fault" message there.  '((' could
24852# trigger a bug in pdksh 5.2.14.
24853for as_var in BASH_ENV ENV MAIL MAILPATH
24854do eval test x\${$as_var+set} = xset \
24855  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
24856done
24857PS1='$ '
24858PS2='> '
24859PS4='+ '
24860
24861# NLS nuisances.
24862LC_ALL=C
24863export LC_ALL
24864LANGUAGE=C
24865export LANGUAGE
24866
24867# CDPATH.
24868(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24869
24870
24871# as_fn_error STATUS ERROR [LINENO LOG_FD]
24872# ----------------------------------------
24873# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24874# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24875# script with STATUS, using 1 if that was 0.
24876as_fn_error ()
24877{
24878  as_status=$1; test $as_status -eq 0 && as_status=1
24879  if test "$4"; then
24880    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
24881    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
24882  fi
24883  $as_echo "$as_me: error: $2" >&2
24884  as_fn_exit $as_status
24885} # as_fn_error
24886
24887
24888# as_fn_set_status STATUS
24889# -----------------------
24890# Set $? to STATUS, without forking.
24891as_fn_set_status ()
24892{
24893  return $1
24894} # as_fn_set_status
24895
24896# as_fn_exit STATUS
24897# -----------------
24898# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24899as_fn_exit ()
24900{
24901  set +e
24902  as_fn_set_status $1
24903  exit $1
24904} # as_fn_exit
24905
24906# as_fn_unset VAR
24907# ---------------
24908# Portably unset VAR.
24909as_fn_unset ()
24910{
24911  { eval $1=; unset $1;}
24912}
24913as_unset=as_fn_unset
24914# as_fn_append VAR VALUE
24915# ----------------------
24916# Append the text in VALUE to the end of the definition contained in VAR. Take
24917# advantage of any shell optimizations that allow amortized linear growth over
24918# repeated appends, instead of the typical quadratic growth present in naive
24919# implementations.
24920if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
24921  eval 'as_fn_append ()
24922  {
24923    eval $1+=\$2
24924  }'
24925else
24926  as_fn_append ()
24927  {
24928    eval $1=\$$1\$2
24929  }
24930fi # as_fn_append
24931
24932# as_fn_arith ARG...
24933# ------------------
24934# Perform arithmetic evaluation on the ARGs, and store the result in the
24935# global $as_val. Take advantage of shells that can avoid forks. The arguments
24936# must be portable across $(()) and expr.
24937if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
24938  eval 'as_fn_arith ()
24939  {
24940    as_val=$(( $* ))
24941  }'
24942else
24943  as_fn_arith ()
24944  {
24945    as_val=`expr "$@" || test $? -eq 1`
24946  }
24947fi # as_fn_arith
24948
24949
24950if expr a : '\(a\)' >/dev/null 2>&1 &&
24951   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24952  as_expr=expr
24953else
24954  as_expr=false
24955fi
24956
24957if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24958  as_basename=basename
24959else
24960  as_basename=false
24961fi
24962
24963if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24964  as_dirname=dirname
24965else
24966  as_dirname=false
24967fi
24968
24969as_me=`$as_basename -- "$0" ||
24970$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24971	 X"$0" : 'X\(//\)$' \| \
24972	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24973$as_echo X/"$0" |
24974    sed '/^.*\/\([^/][^/]*\)\/*$/{
24975	    s//\1/
24976	    q
24977	  }
24978	  /^X\/\(\/\/\)$/{
24979	    s//\1/
24980	    q
24981	  }
24982	  /^X\/\(\/\).*/{
24983	    s//\1/
24984	    q
24985	  }
24986	  s/.*/./; q'`
24987
24988# Avoid depending upon Character Ranges.
24989as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24990as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24991as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24992as_cr_digits='0123456789'
24993as_cr_alnum=$as_cr_Letters$as_cr_digits
24994
24995ECHO_C= ECHO_N= ECHO_T=
24996case `echo -n x` in #(((((
24997-n*)
24998  case `echo 'xy\c'` in
24999  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
25000  xy)  ECHO_C='\c';;
25001  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25002       ECHO_T='	';;
25003  esac;;
25004*)
25005  ECHO_N='-n';;
25006esac
25007
25008rm -f conf$$ conf$$.exe conf$$.file
25009if test -d conf$$.dir; then
25010  rm -f conf$$.dir/conf$$.file
25011else
25012  rm -f conf$$.dir
25013  mkdir conf$$.dir 2>/dev/null
25014fi
25015if (echo >conf$$.file) 2>/dev/null; then
25016  if ln -s conf$$.file conf$$ 2>/dev/null; then
25017    as_ln_s='ln -s'
25018    # ... but there are two gotchas:
25019    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25020    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25021    # In both cases, we have to default to `cp -pR'.
25022    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25023      as_ln_s='cp -pR'
25024  elif ln conf$$.file conf$$ 2>/dev/null; then
25025    as_ln_s=ln
25026  else
25027    as_ln_s='cp -pR'
25028  fi
25029else
25030  as_ln_s='cp -pR'
25031fi
25032rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25033rmdir conf$$.dir 2>/dev/null
25034
25035
25036# as_fn_mkdir_p
25037# -------------
25038# Create "$as_dir" as a directory, including parents if necessary.
25039as_fn_mkdir_p ()
25040{
25041
25042  case $as_dir in #(
25043  -*) as_dir=./$as_dir;;
25044  esac
25045  test -d "$as_dir" || eval $as_mkdir_p || {
25046    as_dirs=
25047    while :; do
25048      case $as_dir in #(
25049      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25050      *) as_qdir=$as_dir;;
25051      esac
25052      as_dirs="'$as_qdir' $as_dirs"
25053      as_dir=`$as_dirname -- "$as_dir" ||
25054$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25055	 X"$as_dir" : 'X\(//\)[^/]' \| \
25056	 X"$as_dir" : 'X\(//\)$' \| \
25057	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25058$as_echo X"$as_dir" |
25059    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25060	    s//\1/
25061	    q
25062	  }
25063	  /^X\(\/\/\)[^/].*/{
25064	    s//\1/
25065	    q
25066	  }
25067	  /^X\(\/\/\)$/{
25068	    s//\1/
25069	    q
25070	  }
25071	  /^X\(\/\).*/{
25072	    s//\1/
25073	    q
25074	  }
25075	  s/.*/./; q'`
25076      test -d "$as_dir" && break
25077    done
25078    test -z "$as_dirs" || eval "mkdir $as_dirs"
25079  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25080
25081
25082} # as_fn_mkdir_p
25083if mkdir -p . 2>/dev/null; then
25084  as_mkdir_p='mkdir -p "$as_dir"'
25085else
25086  test -d ./-p && rmdir ./-p
25087  as_mkdir_p=false
25088fi
25089
25090
25091# as_fn_executable_p FILE
25092# -----------------------
25093# Test if FILE is an executable regular file.
25094as_fn_executable_p ()
25095{
25096  test -f "$1" && test -x "$1"
25097} # as_fn_executable_p
25098as_test_x='test -x'
25099as_executable_p=as_fn_executable_p
25100
25101# Sed expression to map a string onto a valid CPP name.
25102as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25103
25104# Sed expression to map a string onto a valid variable name.
25105as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25106
25107
25108exec 6>&1
25109## ----------------------------------- ##
25110## Main body of $CONFIG_STATUS script. ##
25111## ----------------------------------- ##
25112_ASEOF
25113test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25114
25115cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25116# Save the log message, to keep $0 and so on meaningful, and to
25117# report actual input values of CONFIG_FILES etc. instead of their
25118# values after options handling.
25119ac_log="
25120This file was extended by geany-plugins $as_me 1.38, which was
25121generated by GNU Autoconf 2.69.  Invocation command line was
25122
25123  CONFIG_FILES    = $CONFIG_FILES
25124  CONFIG_HEADERS  = $CONFIG_HEADERS
25125  CONFIG_LINKS    = $CONFIG_LINKS
25126  CONFIG_COMMANDS = $CONFIG_COMMANDS
25127  $ $0 $@
25128
25129on `(hostname || uname -n) 2>/dev/null | sed 1q`
25130"
25131
25132_ACEOF
25133
25134case $ac_config_files in *"
25135"*) set x $ac_config_files; shift; ac_config_files=$*;;
25136esac
25137
25138case $ac_config_headers in *"
25139"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25140esac
25141
25142
25143cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25144# Files that config.status was made for.
25145config_files="$ac_config_files"
25146config_headers="$ac_config_headers"
25147config_commands="$ac_config_commands"
25148
25149_ACEOF
25150
25151cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25152ac_cs_usage="\
25153\`$as_me' instantiates files and other configuration actions
25154from templates according to the current configuration.  Unless the files
25155and actions are specified as TAGs, all are instantiated by default.
25156
25157Usage: $0 [OPTION]... [TAG]...
25158
25159  -h, --help       print this help, then exit
25160  -V, --version    print version number and configuration settings, then exit
25161      --config     print configuration, then exit
25162  -q, --quiet, --silent
25163                   do not print progress messages
25164  -d, --debug      don't remove temporary files
25165      --recheck    update $as_me by reconfiguring in the same conditions
25166      --file=FILE[:TEMPLATE]
25167                   instantiate the configuration file FILE
25168      --header=FILE[:TEMPLATE]
25169                   instantiate the configuration header FILE
25170
25171Configuration files:
25172$config_files
25173
25174Configuration headers:
25175$config_headers
25176
25177Configuration commands:
25178$config_commands
25179
25180Report bugs to the package provider."
25181
25182_ACEOF
25183cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25184ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25185ac_cs_version="\\
25186geany-plugins config.status 1.38
25187configured by $0, generated by GNU Autoconf 2.69,
25188  with options \\"\$ac_cs_config\\"
25189
25190Copyright (C) 2012 Free Software Foundation, Inc.
25191This config.status script is free software; the Free Software Foundation
25192gives unlimited permission to copy, distribute and modify it."
25193
25194ac_pwd='$ac_pwd'
25195srcdir='$srcdir'
25196INSTALL='$INSTALL'
25197MKDIR_P='$MKDIR_P'
25198AWK='$AWK'
25199test -n "\$AWK" || AWK=awk
25200_ACEOF
25201
25202cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25203# The default lists apply if the user does not specify any file.
25204ac_need_defaults=:
25205while test $# != 0
25206do
25207  case $1 in
25208  --*=?*)
25209    ac_option=`expr "X$1" : 'X\([^=]*\)='`
25210    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25211    ac_shift=:
25212    ;;
25213  --*=)
25214    ac_option=`expr "X$1" : 'X\([^=]*\)='`
25215    ac_optarg=
25216    ac_shift=:
25217    ;;
25218  *)
25219    ac_option=$1
25220    ac_optarg=$2
25221    ac_shift=shift
25222    ;;
25223  esac
25224
25225  case $ac_option in
25226  # Handling of the options.
25227  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25228    ac_cs_recheck=: ;;
25229  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25230    $as_echo "$ac_cs_version"; exit ;;
25231  --config | --confi | --conf | --con | --co | --c )
25232    $as_echo "$ac_cs_config"; exit ;;
25233  --debug | --debu | --deb | --de | --d | -d )
25234    debug=: ;;
25235  --file | --fil | --fi | --f )
25236    $ac_shift
25237    case $ac_optarg in
25238    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25239    '') as_fn_error $? "missing file argument" ;;
25240    esac
25241    as_fn_append CONFIG_FILES " '$ac_optarg'"
25242    ac_need_defaults=false;;
25243  --header | --heade | --head | --hea )
25244    $ac_shift
25245    case $ac_optarg in
25246    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25247    esac
25248    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25249    ac_need_defaults=false;;
25250  --he | --h)
25251    # Conflict between --help and --header
25252    as_fn_error $? "ambiguous option: \`$1'
25253Try \`$0 --help' for more information.";;
25254  --help | --hel | -h )
25255    $as_echo "$ac_cs_usage"; exit ;;
25256  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25257  | -silent | --silent | --silen | --sile | --sil | --si | --s)
25258    ac_cs_silent=: ;;
25259
25260  # This is an error.
25261  -*) as_fn_error $? "unrecognized option: \`$1'
25262Try \`$0 --help' for more information." ;;
25263
25264  *) as_fn_append ac_config_targets " $1"
25265     ac_need_defaults=false ;;
25266
25267  esac
25268  shift
25269done
25270
25271ac_configure_extra_args=
25272
25273if $ac_cs_silent; then
25274  exec 6>/dev/null
25275  ac_configure_extra_args="$ac_configure_extra_args --silent"
25276fi
25277
25278_ACEOF
25279cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25280if \$ac_cs_recheck; then
25281  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25282  shift
25283  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25284  CONFIG_SHELL='$SHELL'
25285  export CONFIG_SHELL
25286  exec "\$@"
25287fi
25288
25289_ACEOF
25290cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25291exec 5>>config.log
25292{
25293  echo
25294  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25295## Running $as_me. ##
25296_ASBOX
25297  $as_echo "$ac_log"
25298} >&5
25299
25300_ACEOF
25301cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25302#
25303# INIT-COMMANDS
25304#
25305AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
25306
25307
25308# The HP-UX ksh and POSIX shell print the target directory to stdout
25309# if CDPATH is set.
25310(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25311
25312sed_quote_subst='$sed_quote_subst'
25313double_quote_subst='$double_quote_subst'
25314delay_variable_subst='$delay_variable_subst'
25315enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25316macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25317macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25318enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25319pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25320enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25321shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
25322SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25323ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25324PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25325host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25326host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25327host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25328build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25329build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25330build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25331SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25332Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25333GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25334EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25335FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25336LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25337NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25338LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25339max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25340ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25341exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25342lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25343lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25344lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25345lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25346lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25347reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25348reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25349OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25350deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25351file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25352file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25353want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25354DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25355sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25356AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25357AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25358archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25359STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25360RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25361old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25362old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25363old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25364lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25365CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25366CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25367compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25368GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25369lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25370lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25371lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
25372lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25373lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
25374lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
25375nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25376lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25377lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
25378objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25379MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25380lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25381lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25382lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25383lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25384lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25385need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25386MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25387DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25388NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25389LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25390OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25391OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25392libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25393shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25394extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25395archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25396enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25397export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25398whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25399compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25400old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25401old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25402archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25403archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25404module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25405module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25406with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25407allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25408no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25409hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25410hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25411hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25412hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25413hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25414hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25415hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25416inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25417link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25418always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25419export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25420exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25421include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25422prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25423postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25424file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25425variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25426need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25427need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25428version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25429runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25430shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25431shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25432libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25433library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25434soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25435install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25436postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25437postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25438finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25439finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25440hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25441sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25442configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25443configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25444hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25445enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25446enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25447enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25448old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25449striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25450
25451LTCC='$LTCC'
25452LTCFLAGS='$LTCFLAGS'
25453compiler='$compiler_DEFAULT'
25454
25455# A function that is used when there is no print builtin or printf.
25456func_fallback_echo ()
25457{
25458  eval 'cat <<_LTECHO_EOF
25459\$1
25460_LTECHO_EOF'
25461}
25462
25463# Quote evaled strings.
25464for var in SHELL \
25465ECHO \
25466PATH_SEPARATOR \
25467SED \
25468GREP \
25469EGREP \
25470FGREP \
25471LD \
25472NM \
25473LN_S \
25474lt_SP2NL \
25475lt_NL2SP \
25476reload_flag \
25477OBJDUMP \
25478deplibs_check_method \
25479file_magic_cmd \
25480file_magic_glob \
25481want_nocaseglob \
25482DLLTOOL \
25483sharedlib_from_linklib_cmd \
25484AR \
25485AR_FLAGS \
25486archiver_list_spec \
25487STRIP \
25488RANLIB \
25489CC \
25490CFLAGS \
25491compiler \
25492lt_cv_sys_global_symbol_pipe \
25493lt_cv_sys_global_symbol_to_cdecl \
25494lt_cv_sys_global_symbol_to_import \
25495lt_cv_sys_global_symbol_to_c_name_address \
25496lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25497lt_cv_nm_interface \
25498nm_file_list_spec \
25499lt_cv_truncate_bin \
25500lt_prog_compiler_no_builtin_flag \
25501lt_prog_compiler_pic \
25502lt_prog_compiler_wl \
25503lt_prog_compiler_static \
25504lt_cv_prog_compiler_c_o \
25505need_locks \
25506MANIFEST_TOOL \
25507DSYMUTIL \
25508NMEDIT \
25509LIPO \
25510OTOOL \
25511OTOOL64 \
25512shrext_cmds \
25513export_dynamic_flag_spec \
25514whole_archive_flag_spec \
25515compiler_needs_object \
25516with_gnu_ld \
25517allow_undefined_flag \
25518no_undefined_flag \
25519hardcode_libdir_flag_spec \
25520hardcode_libdir_separator \
25521exclude_expsyms \
25522include_expsyms \
25523file_list_spec \
25524variables_saved_for_relink \
25525libname_spec \
25526library_names_spec \
25527soname_spec \
25528install_override_mode \
25529finish_eval \
25530old_striplib \
25531striplib; do
25532    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25533    *[\\\\\\\`\\"\\\$]*)
25534      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25535      ;;
25536    *)
25537      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25538      ;;
25539    esac
25540done
25541
25542# Double-quote double-evaled strings.
25543for var in reload_cmds \
25544old_postinstall_cmds \
25545old_postuninstall_cmds \
25546old_archive_cmds \
25547extract_expsyms_cmds \
25548old_archive_from_new_cmds \
25549old_archive_from_expsyms_cmds \
25550archive_cmds \
25551archive_expsym_cmds \
25552module_cmds \
25553module_expsym_cmds \
25554export_symbols_cmds \
25555prelink_cmds \
25556postlink_cmds \
25557postinstall_cmds \
25558postuninstall_cmds \
25559finish_cmds \
25560sys_lib_search_path_spec \
25561configure_time_dlsearch_path \
25562configure_time_lt_sys_library_path; do
25563    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25564    *[\\\\\\\`\\"\\\$]*)
25565      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25566      ;;
25567    *)
25568      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25569      ;;
25570    esac
25571done
25572
25573ac_aux_dir='$ac_aux_dir'
25574
25575# See if we are running on zsh, and set the options that allow our
25576# commands through without removal of \ escapes INIT.
25577if test -n "\${ZSH_VERSION+set}"; then
25578   setopt NO_GLOB_SUBST
25579fi
25580
25581
25582    PACKAGE='$PACKAGE'
25583    VERSION='$VERSION'
25584    RM='$RM'
25585    ofile='$ofile'
25586
25587
25588
25589
25590
25591_ACEOF
25592
25593cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25594
25595# Handling of arguments.
25596for ac_config_target in $ac_config_targets
25597do
25598  case $ac_config_target in
25599    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25600    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25601    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25602    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25603    "addons/Makefile") CONFIG_FILES="$CONFIG_FILES addons/Makefile" ;;
25604    "addons/src/Makefile") CONFIG_FILES="$CONFIG_FILES addons/src/Makefile" ;;
25605    "autoclose/Makefile") CONFIG_FILES="$CONFIG_FILES autoclose/Makefile" ;;
25606    "autoclose/src/Makefile") CONFIG_FILES="$CONFIG_FILES autoclose/src/Makefile" ;;
25607    "automark/Makefile") CONFIG_FILES="$CONFIG_FILES automark/Makefile" ;;
25608    "automark/src/Makefile") CONFIG_FILES="$CONFIG_FILES automark/src/Makefile" ;;
25609    "codenav/Makefile") CONFIG_FILES="$CONFIG_FILES codenav/Makefile" ;;
25610    "codenav/src/Makefile") CONFIG_FILES="$CONFIG_FILES codenav/src/Makefile" ;;
25611    "commander/Makefile") CONFIG_FILES="$CONFIG_FILES commander/Makefile" ;;
25612    "commander/src/Makefile") CONFIG_FILES="$CONFIG_FILES commander/src/Makefile" ;;
25613    "debugger/Makefile") CONFIG_FILES="$CONFIG_FILES debugger/Makefile" ;;
25614    "debugger/src/Makefile") CONFIG_FILES="$CONFIG_FILES debugger/src/Makefile" ;;
25615    "debugger/img/Makefile") CONFIG_FILES="$CONFIG_FILES debugger/img/Makefile" ;;
25616    "defineformat/Makefile") CONFIG_FILES="$CONFIG_FILES defineformat/Makefile" ;;
25617    "defineformat/src/Makefile") CONFIG_FILES="$CONFIG_FILES defineformat/src/Makefile" ;;
25618    "devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES devhelp/Makefile" ;;
25619    "devhelp/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES devhelp/devhelp/Makefile" ;;
25620    "devhelp/src/Makefile") CONFIG_FILES="$CONFIG_FILES devhelp/src/Makefile" ;;
25621    "devhelp/data/Makefile") CONFIG_FILES="$CONFIG_FILES devhelp/data/Makefile" ;;
25622    "geanyctags/Makefile") CONFIG_FILES="$CONFIG_FILES geanyctags/Makefile" ;;
25623    "geanyctags/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanyctags/src/Makefile" ;;
25624    "geanydoc/Makefile") CONFIG_FILES="$CONFIG_FILES geanydoc/Makefile" ;;
25625    "geanydoc/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanydoc/src/Makefile" ;;
25626    "geanydoc/tests/Makefile") CONFIG_FILES="$CONFIG_FILES geanydoc/tests/Makefile" ;;
25627    "geanyextrasel/Makefile") CONFIG_FILES="$CONFIG_FILES geanyextrasel/Makefile" ;;
25628    "geanyextrasel/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanyextrasel/src/Makefile" ;;
25629    "geanygendoc/Makefile") CONFIG_FILES="$CONFIG_FILES geanygendoc/Makefile" ;;
25630    "geanygendoc/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanygendoc/src/Makefile" ;;
25631    "geanygendoc/data/Makefile") CONFIG_FILES="$CONFIG_FILES geanygendoc/data/Makefile" ;;
25632    "geanygendoc/data/filetypes/Makefile") CONFIG_FILES="$CONFIG_FILES geanygendoc/data/filetypes/Makefile" ;;
25633    "geanygendoc/docs/Makefile") CONFIG_FILES="$CONFIG_FILES geanygendoc/docs/Makefile" ;;
25634    "geanyinsertnum/Makefile") CONFIG_FILES="$CONFIG_FILES geanyinsertnum/Makefile" ;;
25635    "geanyinsertnum/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanyinsertnum/src/Makefile" ;;
25636    "latex/Makefile") CONFIG_FILES="$CONFIG_FILES latex/Makefile" ;;
25637    "latex/doc/Makefile") CONFIG_FILES="$CONFIG_FILES latex/doc/Makefile" ;;
25638    "latex/src/Makefile") CONFIG_FILES="$CONFIG_FILES latex/src/Makefile" ;;
25639    "geanylua/examples/edit/Makefile") CONFIG_FILES="$CONFIG_FILES geanylua/examples/edit/Makefile" ;;
25640    "geanylua/examples/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES geanylua/examples/scripting/Makefile" ;;
25641    "geanylua/examples/info/Makefile") CONFIG_FILES="$CONFIG_FILES geanylua/examples/info/Makefile" ;;
25642    "geanylua/examples/work/Makefile") CONFIG_FILES="$CONFIG_FILES geanylua/examples/work/Makefile" ;;
25643    "geanylua/examples/dialogs/Makefile") CONFIG_FILES="$CONFIG_FILES geanylua/examples/dialogs/Makefile" ;;
25644    "geanylua/examples/Makefile") CONFIG_FILES="$CONFIG_FILES geanylua/examples/Makefile" ;;
25645    "geanylua/docs/Makefile") CONFIG_FILES="$CONFIG_FILES geanylua/docs/Makefile" ;;
25646    "geanylua/Makefile") CONFIG_FILES="$CONFIG_FILES geanylua/Makefile" ;;
25647    "geanymacro/Makefile") CONFIG_FILES="$CONFIG_FILES geanymacro/Makefile" ;;
25648    "geanymacro/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanymacro/src/Makefile" ;;
25649    "geanyminiscript/Makefile") CONFIG_FILES="$CONFIG_FILES geanyminiscript/Makefile" ;;
25650    "geanyminiscript/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanyminiscript/src/Makefile" ;;
25651    "geanynumberedbookmarks/Makefile") CONFIG_FILES="$CONFIG_FILES geanynumberedbookmarks/Makefile" ;;
25652    "geanynumberedbookmarks/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanynumberedbookmarks/src/Makefile" ;;
25653    "geanyprj/Makefile") CONFIG_FILES="$CONFIG_FILES geanyprj/Makefile" ;;
25654    "geanyprj/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanyprj/src/Makefile" ;;
25655    "geanypy/Makefile") CONFIG_FILES="$CONFIG_FILES geanypy/Makefile" ;;
25656    "geanypy/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanypy/src/Makefile" ;;
25657    "geanypy/geany/Makefile") CONFIG_FILES="$CONFIG_FILES geanypy/geany/Makefile" ;;
25658    "geanypy/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES geanypy/plugins/Makefile" ;;
25659    "geanyvc/Makefile") CONFIG_FILES="$CONFIG_FILES geanyvc/Makefile" ;;
25660    "geanyvc/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanyvc/src/Makefile" ;;
25661    "geanypg/Makefile") CONFIG_FILES="$CONFIG_FILES geanypg/Makefile" ;;
25662    "geanypg/src/Makefile") CONFIG_FILES="$CONFIG_FILES geanypg/src/Makefile" ;;
25663    "geniuspaste/Makefile") CONFIG_FILES="$CONFIG_FILES geniuspaste/Makefile" ;;
25664    "geniuspaste/data/Makefile") CONFIG_FILES="$CONFIG_FILES geniuspaste/data/Makefile" ;;
25665    "geniuspaste/src/Makefile") CONFIG_FILES="$CONFIG_FILES geniuspaste/src/Makefile" ;;
25666    "git-changebar/Makefile") CONFIG_FILES="$CONFIG_FILES git-changebar/Makefile" ;;
25667    "git-changebar/data/Makefile") CONFIG_FILES="$CONFIG_FILES git-changebar/data/Makefile" ;;
25668    "git-changebar/src/Makefile") CONFIG_FILES="$CONFIG_FILES git-changebar/src/Makefile" ;;
25669    "keyrecord/Makefile") CONFIG_FILES="$CONFIG_FILES keyrecord/Makefile" ;;
25670    "keyrecord/src/Makefile") CONFIG_FILES="$CONFIG_FILES keyrecord/src/Makefile" ;;
25671    "lineoperations/Makefile") CONFIG_FILES="$CONFIG_FILES lineoperations/Makefile" ;;
25672    "lineoperations/src/Makefile") CONFIG_FILES="$CONFIG_FILES lineoperations/src/Makefile" ;;
25673    "lipsum/Makefile") CONFIG_FILES="$CONFIG_FILES lipsum/Makefile" ;;
25674    "lipsum/src/Makefile") CONFIG_FILES="$CONFIG_FILES lipsum/src/Makefile" ;;
25675    "markdown/Makefile") CONFIG_FILES="$CONFIG_FILES markdown/Makefile" ;;
25676    "markdown/src/Makefile") CONFIG_FILES="$CONFIG_FILES markdown/src/Makefile" ;;
25677    "markdown/docs/Makefile") CONFIG_FILES="$CONFIG_FILES markdown/docs/Makefile" ;;
25678    "markdown/peg-markdown/Makefile") CONFIG_FILES="$CONFIG_FILES markdown/peg-markdown/Makefile" ;;
25679    "markdown/peg-markdown/peg-0.1.9/Makefile") CONFIG_FILES="$CONFIG_FILES markdown/peg-markdown/peg-0.1.9/Makefile" ;;
25680    "multiterm/Makefile") CONFIG_FILES="$CONFIG_FILES multiterm/Makefile" ;;
25681    "multiterm/src/Makefile") CONFIG_FILES="$CONFIG_FILES multiterm/src/Makefile" ;;
25682    "overview/Makefile") CONFIG_FILES="$CONFIG_FILES overview/Makefile" ;;
25683    "overview/data/Makefile") CONFIG_FILES="$CONFIG_FILES overview/data/Makefile" ;;
25684    "overview/overview/Makefile") CONFIG_FILES="$CONFIG_FILES overview/overview/Makefile" ;;
25685    "pairtaghighlighter/Makefile") CONFIG_FILES="$CONFIG_FILES pairtaghighlighter/Makefile" ;;
25686    "pairtaghighlighter/src/Makefile") CONFIG_FILES="$CONFIG_FILES pairtaghighlighter/src/Makefile" ;;
25687    "pohelper/Makefile") CONFIG_FILES="$CONFIG_FILES pohelper/Makefile" ;;
25688    "pohelper/data/Makefile") CONFIG_FILES="$CONFIG_FILES pohelper/data/Makefile" ;;
25689    "pohelper/src/Makefile") CONFIG_FILES="$CONFIG_FILES pohelper/src/Makefile" ;;
25690    "pretty-printer/Makefile") CONFIG_FILES="$CONFIG_FILES pretty-printer/Makefile" ;;
25691    "pretty-printer/src/Makefile") CONFIG_FILES="$CONFIG_FILES pretty-printer/src/Makefile" ;;
25692    "projectorganizer/Makefile") CONFIG_FILES="$CONFIG_FILES projectorganizer/Makefile" ;;
25693    "projectorganizer/src/Makefile") CONFIG_FILES="$CONFIG_FILES projectorganizer/src/Makefile" ;;
25694    "scope/Makefile") CONFIG_FILES="$CONFIG_FILES scope/Makefile" ;;
25695    "scope/data/Makefile") CONFIG_FILES="$CONFIG_FILES scope/data/Makefile" ;;
25696    "scope/docs/Makefile") CONFIG_FILES="$CONFIG_FILES scope/docs/Makefile" ;;
25697    "scope/src/Makefile") CONFIG_FILES="$CONFIG_FILES scope/src/Makefile" ;;
25698    "sendmail/Makefile") CONFIG_FILES="$CONFIG_FILES sendmail/Makefile" ;;
25699    "sendmail/src/Makefile") CONFIG_FILES="$CONFIG_FILES sendmail/src/Makefile" ;;
25700    "shiftcolumn/Makefile") CONFIG_FILES="$CONFIG_FILES shiftcolumn/Makefile" ;;
25701    "shiftcolumn/src/Makefile") CONFIG_FILES="$CONFIG_FILES shiftcolumn/src/Makefile" ;;
25702    "spellcheck/Makefile") CONFIG_FILES="$CONFIG_FILES spellcheck/Makefile" ;;
25703    "spellcheck/src/Makefile") CONFIG_FILES="$CONFIG_FILES spellcheck/src/Makefile" ;;
25704    "treebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES treebrowser/Makefile" ;;
25705    "treebrowser/src/Makefile") CONFIG_FILES="$CONFIG_FILES treebrowser/src/Makefile" ;;
25706    "tableconvert/Makefile") CONFIG_FILES="$CONFIG_FILES tableconvert/Makefile" ;;
25707    "tableconvert/src/Makefile") CONFIG_FILES="$CONFIG_FILES tableconvert/src/Makefile" ;;
25708    "updatechecker/Makefile") CONFIG_FILES="$CONFIG_FILES updatechecker/Makefile" ;;
25709    "updatechecker/src/Makefile") CONFIG_FILES="$CONFIG_FILES updatechecker/src/Makefile" ;;
25710    "vimode/Makefile") CONFIG_FILES="$CONFIG_FILES vimode/Makefile" ;;
25711    "vimode/src/Makefile") CONFIG_FILES="$CONFIG_FILES vimode/src/Makefile" ;;
25712    "webhelper/Makefile") CONFIG_FILES="$CONFIG_FILES webhelper/Makefile" ;;
25713    "webhelper/src/Makefile") CONFIG_FILES="$CONFIG_FILES webhelper/src/Makefile" ;;
25714    "workbench/Makefile") CONFIG_FILES="$CONFIG_FILES workbench/Makefile" ;;
25715    "workbench/src/Makefile") CONFIG_FILES="$CONFIG_FILES workbench/src/Makefile" ;;
25716    "xmlsnippets/Makefile") CONFIG_FILES="$CONFIG_FILES xmlsnippets/Makefile" ;;
25717    "xmlsnippets/src/Makefile") CONFIG_FILES="$CONFIG_FILES xmlsnippets/src/Makefile" ;;
25718    "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
25719    "utils/src/Makefile") CONFIG_FILES="$CONFIG_FILES utils/src/Makefile" ;;
25720    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25721    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
25722    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
25723
25724  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25725  esac
25726done
25727
25728
25729# If the user did not use the arguments to specify the items to instantiate,
25730# then the envvar interface is used.  Set only those that are not.
25731# We use the long form for the default assignment because of an extremely
25732# bizarre bug on SunOS 4.1.3.
25733if $ac_need_defaults; then
25734  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25735  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25736  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25737fi
25738
25739# Have a temporary directory for convenience.  Make it in the build tree
25740# simply because there is no reason against having it here, and in addition,
25741# creating and moving files from /tmp can sometimes cause problems.
25742# Hook for its removal unless debugging.
25743# Note that there is a small window in which the directory will not be cleaned:
25744# after its creation but before its name has been assigned to `$tmp'.
25745$debug ||
25746{
25747  tmp= ac_tmp=
25748  trap 'exit_status=$?
25749  : "${ac_tmp:=$tmp}"
25750  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
25751' 0
25752  trap 'as_fn_exit 1' 1 2 13 15
25753}
25754# Create a (secure) tmp directory for tmp files.
25755
25756{
25757  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25758  test -d "$tmp"
25759}  ||
25760{
25761  tmp=./conf$$-$RANDOM
25762  (umask 077 && mkdir "$tmp")
25763} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
25764ac_tmp=$tmp
25765
25766# Set up the scripts for CONFIG_FILES section.
25767# No need to generate them if there are no CONFIG_FILES.
25768# This happens for instance with `./config.status config.h'.
25769if test -n "$CONFIG_FILES"; then
25770
25771
25772ac_cr=`echo X | tr X '\015'`
25773# On cygwin, bash can eat \r inside `` if the user requested igncr.
25774# But we know of no other shell where ac_cr would be empty at this
25775# point, so we can use a bashism as a fallback.
25776if test "x$ac_cr" = x; then
25777  eval ac_cr=\$\'\\r\'
25778fi
25779ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25780if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25781  ac_cs_awk_cr='\\r'
25782else
25783  ac_cs_awk_cr=$ac_cr
25784fi
25785
25786echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
25787_ACEOF
25788
25789
25790{
25791  echo "cat >conf$$subs.awk <<_ACEOF" &&
25792  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25793  echo "_ACEOF"
25794} >conf$$subs.sh ||
25795  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25796ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25797ac_delim='%!_!# '
25798for ac_last_try in false false false false false :; do
25799  . ./conf$$subs.sh ||
25800    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25801
25802  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
25803  if test $ac_delim_n = $ac_delim_num; then
25804    break
25805  elif $ac_last_try; then
25806    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25807  else
25808    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25809  fi
25810done
25811rm -f conf$$subs.sh
25812
25813cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25814cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
25815_ACEOF
25816sed -n '
25817h
25818s/^/S["/; s/!.*/"]=/
25819p
25820g
25821s/^[^!]*!//
25822:repl
25823t repl
25824s/'"$ac_delim"'$//
25825t delim
25826:nl
25827h
25828s/\(.\{148\}\)..*/\1/
25829t more1
25830s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
25831p
25832n
25833b repl
25834:more1
25835s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25836p
25837g
25838s/.\{148\}//
25839t nl
25840:delim
25841h
25842s/\(.\{148\}\)..*/\1/
25843t more2
25844s/["\\]/\\&/g; s/^/"/; s/$/"/
25845p
25846b
25847:more2
25848s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25849p
25850g
25851s/.\{148\}//
25852t delim
25853' <conf$$subs.awk | sed '
25854/^[^""]/{
25855  N
25856  s/\n//
25857}
25858' >>$CONFIG_STATUS || ac_write_fail=1
25859rm -f conf$$subs.awk
25860cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25861_ACAWK
25862cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
25863  for (key in S) S_is_set[key] = 1
25864  FS = ""
25865
25866}
25867{
25868  line = $ 0
25869  nfields = split(line, field, "@")
25870  substed = 0
25871  len = length(field[1])
25872  for (i = 2; i < nfields; i++) {
25873    key = field[i]
25874    keylen = length(key)
25875    if (S_is_set[key]) {
25876      value = S[key]
25877      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25878      len += length(value) + length(field[++i])
25879      substed = 1
25880    } else
25881      len += 1 + keylen
25882  }
25883
25884  print line
25885}
25886
25887_ACAWK
25888_ACEOF
25889cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25890if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25891  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
25892else
25893  cat
25894fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
25895  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
25896_ACEOF
25897
25898# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
25899# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
25900# trailing colons and then remove the whole line if VPATH becomes empty
25901# (actually we leave an empty line to preserve line numbers).
25902if test "x$srcdir" = x.; then
25903  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
25904h
25905s///
25906s/^/:/
25907s/[	 ]*$/:/
25908s/:\$(srcdir):/:/g
25909s/:\${srcdir}:/:/g
25910s/:@srcdir@:/:/g
25911s/^:*//
25912s/:*$//
25913x
25914s/\(=[	 ]*\).*/\1/
25915G
25916s/\n//
25917s/^[^=]*=[	 ]*$//
25918}'
25919fi
25920
25921cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25922fi # test -n "$CONFIG_FILES"
25923
25924# Set up the scripts for CONFIG_HEADERS section.
25925# No need to generate them if there are no CONFIG_HEADERS.
25926# This happens for instance with `./config.status Makefile'.
25927if test -n "$CONFIG_HEADERS"; then
25928cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
25929BEGIN {
25930_ACEOF
25931
25932# Transform confdefs.h into an awk script `defines.awk', embedded as
25933# here-document in config.status, that substitutes the proper values into
25934# config.h.in to produce config.h.
25935
25936# Create a delimiter string that does not exist in confdefs.h, to ease
25937# handling of long lines.
25938ac_delim='%!_!# '
25939for ac_last_try in false false :; do
25940  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
25941  if test -z "$ac_tt"; then
25942    break
25943  elif $ac_last_try; then
25944    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
25945  else
25946    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25947  fi
25948done
25949
25950# For the awk script, D is an array of macro values keyed by name,
25951# likewise P contains macro parameters if any.  Preserve backslash
25952# newline sequences.
25953
25954ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25955sed -n '
25956s/.\{148\}/&'"$ac_delim"'/g
25957t rset
25958:rset
25959s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
25960t def
25961d
25962:def
25963s/\\$//
25964t bsnl
25965s/["\\]/\\&/g
25966s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
25967D["\1"]=" \3"/p
25968s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
25969d
25970:bsnl
25971s/["\\]/\\&/g
25972s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
25973D["\1"]=" \3\\\\\\n"\\/p
25974t cont
25975s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
25976t cont
25977d
25978:cont
25979n
25980s/.\{148\}/&'"$ac_delim"'/g
25981t clear
25982:clear
25983s/\\$//
25984t bsnlc
25985s/["\\]/\\&/g; s/^/"/; s/$/"/p
25986d
25987:bsnlc
25988s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
25989b cont
25990' <confdefs.h | sed '
25991s/'"$ac_delim"'/"\\\
25992"/g' >>$CONFIG_STATUS || ac_write_fail=1
25993
25994cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25995  for (key in D) D_is_set[key] = 1
25996  FS = ""
25997}
25998/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25999  line = \$ 0
26000  split(line, arg, " ")
26001  if (arg[1] == "#") {
26002    defundef = arg[2]
26003    mac1 = arg[3]
26004  } else {
26005    defundef = substr(arg[1], 2)
26006    mac1 = arg[2]
26007  }
26008  split(mac1, mac2, "(") #)
26009  macro = mac2[1]
26010  prefix = substr(line, 1, index(line, defundef) - 1)
26011  if (D_is_set[macro]) {
26012    # Preserve the white space surrounding the "#".
26013    print prefix "define", macro P[macro] D[macro]
26014    next
26015  } else {
26016    # Replace #undef with comments.  This is necessary, for example,
26017    # in the case of _POSIX_SOURCE, which is predefined and required
26018    # on some systems where configure will not decide to define it.
26019    if (defundef == "undef") {
26020      print "/*", prefix defundef, macro, "*/"
26021      next
26022    }
26023  }
26024}
26025{ print }
26026_ACAWK
26027_ACEOF
26028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26029  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26030fi # test -n "$CONFIG_HEADERS"
26031
26032
26033eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26034shift
26035for ac_tag
26036do
26037  case $ac_tag in
26038  :[FHLC]) ac_mode=$ac_tag; continue;;
26039  esac
26040  case $ac_mode$ac_tag in
26041  :[FHL]*:*);;
26042  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
26043  :[FH]-) ac_tag=-:-;;
26044  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26045  esac
26046  ac_save_IFS=$IFS
26047  IFS=:
26048  set x $ac_tag
26049  IFS=$ac_save_IFS
26050  shift
26051  ac_file=$1
26052  shift
26053
26054  case $ac_mode in
26055  :L) ac_source=$1;;
26056  :[FH])
26057    ac_file_inputs=
26058    for ac_f
26059    do
26060      case $ac_f in
26061      -) ac_f="$ac_tmp/stdin";;
26062      *) # Look for the file first in the build tree, then in the source tree
26063	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
26064	 # because $ac_f cannot contain `:'.
26065	 test -f "$ac_f" ||
26066	   case $ac_f in
26067	   [\\/$]*) false;;
26068	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26069	   esac ||
26070	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26071      esac
26072      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26073      as_fn_append ac_file_inputs " '$ac_f'"
26074    done
26075
26076    # Let's still pretend it is `configure' which instantiates (i.e., don't
26077    # use $as_me), people would be surprised to read:
26078    #    /* config.h.  Generated by config.status.  */
26079    configure_input='Generated from '`
26080	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26081	`' by configure.'
26082    if test x"$ac_file" != x-; then
26083      configure_input="$ac_file.  $configure_input"
26084      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26085$as_echo "$as_me: creating $ac_file" >&6;}
26086    fi
26087    # Neutralize special characters interpreted by sed in replacement strings.
26088    case $configure_input in #(
26089    *\&* | *\|* | *\\* )
26090       ac_sed_conf_input=`$as_echo "$configure_input" |
26091       sed 's/[\\\\&|]/\\\\&/g'`;; #(
26092    *) ac_sed_conf_input=$configure_input;;
26093    esac
26094
26095    case $ac_tag in
26096    *:-:* | *:-) cat >"$ac_tmp/stdin" \
26097      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
26098    esac
26099    ;;
26100  esac
26101
26102  ac_dir=`$as_dirname -- "$ac_file" ||
26103$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26104	 X"$ac_file" : 'X\(//\)[^/]' \| \
26105	 X"$ac_file" : 'X\(//\)$' \| \
26106	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26107$as_echo X"$ac_file" |
26108    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26109	    s//\1/
26110	    q
26111	  }
26112	  /^X\(\/\/\)[^/].*/{
26113	    s//\1/
26114	    q
26115	  }
26116	  /^X\(\/\/\)$/{
26117	    s//\1/
26118	    q
26119	  }
26120	  /^X\(\/\).*/{
26121	    s//\1/
26122	    q
26123	  }
26124	  s/.*/./; q'`
26125  as_dir="$ac_dir"; as_fn_mkdir_p
26126  ac_builddir=.
26127
26128case "$ac_dir" in
26129.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26130*)
26131  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26132  # A ".." for each directory in $ac_dir_suffix.
26133  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26134  case $ac_top_builddir_sub in
26135  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26136  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26137  esac ;;
26138esac
26139ac_abs_top_builddir=$ac_pwd
26140ac_abs_builddir=$ac_pwd$ac_dir_suffix
26141# for backward compatibility:
26142ac_top_builddir=$ac_top_build_prefix
26143
26144case $srcdir in
26145  .)  # We are building in place.
26146    ac_srcdir=.
26147    ac_top_srcdir=$ac_top_builddir_sub
26148    ac_abs_top_srcdir=$ac_pwd ;;
26149  [\\/]* | ?:[\\/]* )  # Absolute name.
26150    ac_srcdir=$srcdir$ac_dir_suffix;
26151    ac_top_srcdir=$srcdir
26152    ac_abs_top_srcdir=$srcdir ;;
26153  *) # Relative name.
26154    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26155    ac_top_srcdir=$ac_top_build_prefix$srcdir
26156    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26157esac
26158ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26159
26160
26161  case $ac_mode in
26162  :F)
26163  #
26164  # CONFIG_FILE
26165  #
26166
26167  case $INSTALL in
26168  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26169  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26170  esac
26171  ac_MKDIR_P=$MKDIR_P
26172  case $MKDIR_P in
26173  [\\/$]* | ?:[\\/]* ) ;;
26174  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26175  esac
26176_ACEOF
26177
26178cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26179# If the template does not know about datarootdir, expand it.
26180# FIXME: This hack should be removed a few years after 2.60.
26181ac_datarootdir_hack=; ac_datarootdir_seen=
26182ac_sed_dataroot='
26183/datarootdir/ {
26184  p
26185  q
26186}
26187/@datadir@/p
26188/@docdir@/p
26189/@infodir@/p
26190/@localedir@/p
26191/@mandir@/p'
26192case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26193*datarootdir*) ac_datarootdir_seen=yes;;
26194*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26195  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26196$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26197_ACEOF
26198cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26199  ac_datarootdir_hack='
26200  s&@datadir@&$datadir&g
26201  s&@docdir@&$docdir&g
26202  s&@infodir@&$infodir&g
26203  s&@localedir@&$localedir&g
26204  s&@mandir@&$mandir&g
26205  s&\\\${datarootdir}&$datarootdir&g' ;;
26206esac
26207_ACEOF
26208
26209# Neutralize VPATH when `$srcdir' = `.'.
26210# Shell code in configure.ac might set extrasub.
26211# FIXME: do we really want to maintain this feature?
26212cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26213ac_sed_extra="$ac_vpsub
26214$extrasub
26215_ACEOF
26216cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26217:t
26218/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26219s|@configure_input@|$ac_sed_conf_input|;t t
26220s&@top_builddir@&$ac_top_builddir_sub&;t t
26221s&@top_build_prefix@&$ac_top_build_prefix&;t t
26222s&@srcdir@&$ac_srcdir&;t t
26223s&@abs_srcdir@&$ac_abs_srcdir&;t t
26224s&@top_srcdir@&$ac_top_srcdir&;t t
26225s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26226s&@builddir@&$ac_builddir&;t t
26227s&@abs_builddir@&$ac_abs_builddir&;t t
26228s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26229s&@INSTALL@&$ac_INSTALL&;t t
26230s&@MKDIR_P@&$ac_MKDIR_P&;t t
26231$ac_datarootdir_hack
26232"
26233eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
26234  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26235
26236test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26237  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
26238  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
26239      "$ac_tmp/out"`; test -z "$ac_out"; } &&
26240  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26241which seems to be undefined.  Please make sure it is defined" >&5
26242$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26243which seems to be undefined.  Please make sure it is defined" >&2;}
26244
26245  rm -f "$ac_tmp/stdin"
26246  case $ac_file in
26247  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26248  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26249  esac \
26250  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26251 ;;
26252  :H)
26253  #
26254  # CONFIG_HEADER
26255  #
26256  if test x"$ac_file" != x-; then
26257    {
26258      $as_echo "/* $configure_input  */" \
26259      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26260    } >"$ac_tmp/config.h" \
26261      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26262    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
26263      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26264$as_echo "$as_me: $ac_file is unchanged" >&6;}
26265    else
26266      rm -f "$ac_file"
26267      mv "$ac_tmp/config.h" "$ac_file" \
26268	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
26269    fi
26270  else
26271    $as_echo "/* $configure_input  */" \
26272      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26273      || as_fn_error $? "could not create -" "$LINENO" 5
26274  fi
26275# Compute "$ac_file"'s index in $config_headers.
26276_am_arg="$ac_file"
26277_am_stamp_count=1
26278for _am_header in $config_headers :; do
26279  case $_am_header in
26280    $_am_arg | $_am_arg:* )
26281      break ;;
26282    * )
26283      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26284  esac
26285done
26286echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26287$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26288	 X"$_am_arg" : 'X\(//\)[^/]' \| \
26289	 X"$_am_arg" : 'X\(//\)$' \| \
26290	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26291$as_echo X"$_am_arg" |
26292    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26293	    s//\1/
26294	    q
26295	  }
26296	  /^X\(\/\/\)[^/].*/{
26297	    s//\1/
26298	    q
26299	  }
26300	  /^X\(\/\/\)$/{
26301	    s//\1/
26302	    q
26303	  }
26304	  /^X\(\/\).*/{
26305	    s//\1/
26306	    q
26307	  }
26308	  s/.*/./; q'`/stamp-h$_am_stamp_count
26309 ;;
26310
26311  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26312$as_echo "$as_me: executing $ac_file commands" >&6;}
26313 ;;
26314  esac
26315
26316
26317  case $ac_file$ac_mode in
26318    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26319  # Older Autoconf quotes --file arguments for eval, but not when files
26320  # are listed without --file.  Let's play safe and only enable the eval
26321  # if we detect the quoting.
26322  # TODO: see whether this extra hack can be removed once we start
26323  # requiring Autoconf 2.70 or later.
26324  case $CONFIG_FILES in #(
26325  *\'*) :
26326    eval set x "$CONFIG_FILES" ;; #(
26327  *) :
26328    set x $CONFIG_FILES ;; #(
26329  *) :
26330     ;;
26331esac
26332  shift
26333  # Used to flag and report bootstrapping failures.
26334  am_rc=0
26335  for am_mf
26336  do
26337    # Strip MF so we end up with the name of the file.
26338    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
26339    # Check whether this is an Automake generated Makefile which includes
26340    # dependency-tracking related rules and includes.
26341    # Grep'ing the whole file directly is not great: AIX grep has a line
26342    # limit of 2048, but all sed's we know have understand at least 4000.
26343    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
26344      || continue
26345    am_dirpart=`$as_dirname -- "$am_mf" ||
26346$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26347	 X"$am_mf" : 'X\(//\)[^/]' \| \
26348	 X"$am_mf" : 'X\(//\)$' \| \
26349	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
26350$as_echo X"$am_mf" |
26351    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26352	    s//\1/
26353	    q
26354	  }
26355	  /^X\(\/\/\)[^/].*/{
26356	    s//\1/
26357	    q
26358	  }
26359	  /^X\(\/\/\)$/{
26360	    s//\1/
26361	    q
26362	  }
26363	  /^X\(\/\).*/{
26364	    s//\1/
26365	    q
26366	  }
26367	  s/.*/./; q'`
26368    am_filepart=`$as_basename -- "$am_mf" ||
26369$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
26370	 X"$am_mf" : 'X\(//\)$' \| \
26371	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
26372$as_echo X/"$am_mf" |
26373    sed '/^.*\/\([^/][^/]*\)\/*$/{
26374	    s//\1/
26375	    q
26376	  }
26377	  /^X\/\(\/\/\)$/{
26378	    s//\1/
26379	    q
26380	  }
26381	  /^X\/\(\/\).*/{
26382	    s//\1/
26383	    q
26384	  }
26385	  s/.*/./; q'`
26386    { echo "$as_me:$LINENO: cd "$am_dirpart" \
26387      && sed -e '/# am--include-marker/d' "$am_filepart" \
26388        | $MAKE -f - am--depfiles" >&5
26389   (cd "$am_dirpart" \
26390      && sed -e '/# am--include-marker/d' "$am_filepart" \
26391        | $MAKE -f - am--depfiles) >&5 2>&5
26392   ac_status=$?
26393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394   (exit $ac_status); } || am_rc=$?
26395  done
26396  if test $am_rc -ne 0; then
26397    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26398$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26399as_fn_error $? "Something went wrong bootstrapping makefile fragments
26400    for automatic dependency tracking.  If GNU make was not used, consider
26401    re-running the configure script with MAKE=\"gmake\" (or whatever is
26402    necessary).  You can also try re-running configure with the
26403    '--disable-dependency-tracking' option to at least be able to build
26404    the package (albeit without support for automatic dependency tracking).
26405See \`config.log' for more details" "$LINENO" 5; }
26406  fi
26407  { am_dirpart=; unset am_dirpart;}
26408  { am_filepart=; unset am_filepart;}
26409  { am_mf=; unset am_mf;}
26410  { am_rc=; unset am_rc;}
26411  rm -f conftest-deps.mk
26412}
26413 ;;
26414    "libtool":C)
26415
26416    # See if we are running on zsh, and set the options that allow our
26417    # commands through without removal of \ escapes.
26418    if test -n "${ZSH_VERSION+set}"; then
26419      setopt NO_GLOB_SUBST
26420    fi
26421
26422    cfgfile=${ofile}T
26423    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26424    $RM "$cfgfile"
26425
26426    cat <<_LT_EOF >> "$cfgfile"
26427#! $SHELL
26428# Generated automatically by $as_me ($PACKAGE) $VERSION
26429# NOTE: Changes made to this file will be lost: look at ltmain.sh.
26430
26431# Provide generalized library-building support services.
26432# Written by Gordon Matzigkeit, 1996
26433
26434# Copyright (C) 2014 Free Software Foundation, Inc.
26435# This is free software; see the source for copying conditions.  There is NO
26436# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26437
26438# GNU Libtool is free software; you can redistribute it and/or modify
26439# it under the terms of the GNU General Public License as published by
26440# the Free Software Foundation; either version 2 of of the License, or
26441# (at your option) any later version.
26442#
26443# As a special exception to the GNU General Public License, if you
26444# distribute this file as part of a program or library that is built
26445# using GNU Libtool, you may include this file under the  same
26446# distribution terms that you use for the rest of that program.
26447#
26448# GNU Libtool is distributed in the hope that it will be useful, but
26449# WITHOUT ANY WARRANTY; without even the implied warranty of
26450# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26451# GNU General Public License for more details.
26452#
26453# You should have received a copy of the GNU General Public License
26454# along with this program.  If not, see <http://www.gnu.org/licenses/>.
26455
26456
26457# The names of the tagged configurations supported by this script.
26458available_tags=''
26459
26460# Configured defaults for sys_lib_dlsearch_path munging.
26461: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26462
26463# ### BEGIN LIBTOOL CONFIG
26464
26465# Whether or not to build static libraries.
26466build_old_libs=$enable_static
26467
26468# Which release of libtool.m4 was used?
26469macro_version=$macro_version
26470macro_revision=$macro_revision
26471
26472# Whether or not to build shared libraries.
26473build_libtool_libs=$enable_shared
26474
26475# What type of objects to build.
26476pic_mode=$pic_mode
26477
26478# Whether or not to optimize for fast installation.
26479fast_install=$enable_fast_install
26480
26481# Shared archive member basename,for filename based shared library versioning on AIX.
26482shared_archive_member_spec=$shared_archive_member_spec
26483
26484# Shell to use when invoking shell scripts.
26485SHELL=$lt_SHELL
26486
26487# An echo program that protects backslashes.
26488ECHO=$lt_ECHO
26489
26490# The PATH separator for the build system.
26491PATH_SEPARATOR=$lt_PATH_SEPARATOR
26492
26493# The host system.
26494host_alias=$host_alias
26495host=$host
26496host_os=$host_os
26497
26498# The build system.
26499build_alias=$build_alias
26500build=$build
26501build_os=$build_os
26502
26503# A sed program that does not truncate output.
26504SED=$lt_SED
26505
26506# Sed that helps us avoid accidentally triggering echo(1) options like -n.
26507Xsed="\$SED -e 1s/^X//"
26508
26509# A grep program that handles long lines.
26510GREP=$lt_GREP
26511
26512# An ERE matcher.
26513EGREP=$lt_EGREP
26514
26515# A literal string matcher.
26516FGREP=$lt_FGREP
26517
26518# A BSD- or MS-compatible name lister.
26519NM=$lt_NM
26520
26521# Whether we need soft or hard links.
26522LN_S=$lt_LN_S
26523
26524# What is the maximum length of a command?
26525max_cmd_len=$max_cmd_len
26526
26527# Object file suffix (normally "o").
26528objext=$ac_objext
26529
26530# Executable file suffix (normally "").
26531exeext=$exeext
26532
26533# whether the shell understands "unset".
26534lt_unset=$lt_unset
26535
26536# turn spaces into newlines.
26537SP2NL=$lt_lt_SP2NL
26538
26539# turn newlines into spaces.
26540NL2SP=$lt_lt_NL2SP
26541
26542# convert \$build file names to \$host format.
26543to_host_file_cmd=$lt_cv_to_host_file_cmd
26544
26545# convert \$build files to toolchain format.
26546to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26547
26548# An object symbol dumper.
26549OBJDUMP=$lt_OBJDUMP
26550
26551# Method to check whether dependent libraries are shared objects.
26552deplibs_check_method=$lt_deplibs_check_method
26553
26554# Command to use when deplibs_check_method = "file_magic".
26555file_magic_cmd=$lt_file_magic_cmd
26556
26557# How to find potential files when deplibs_check_method = "file_magic".
26558file_magic_glob=$lt_file_magic_glob
26559
26560# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26561want_nocaseglob=$lt_want_nocaseglob
26562
26563# DLL creation program.
26564DLLTOOL=$lt_DLLTOOL
26565
26566# Command to associate shared and link libraries.
26567sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26568
26569# The archiver.
26570AR=$lt_AR
26571
26572# Flags to create an archive.
26573AR_FLAGS=$lt_AR_FLAGS
26574
26575# How to feed a file listing to the archiver.
26576archiver_list_spec=$lt_archiver_list_spec
26577
26578# A symbol stripping program.
26579STRIP=$lt_STRIP
26580
26581# Commands used to install an old-style archive.
26582RANLIB=$lt_RANLIB
26583old_postinstall_cmds=$lt_old_postinstall_cmds
26584old_postuninstall_cmds=$lt_old_postuninstall_cmds
26585
26586# Whether to use a lock for old archive extraction.
26587lock_old_archive_extraction=$lock_old_archive_extraction
26588
26589# A C compiler.
26590LTCC=$lt_CC
26591
26592# LTCC compiler flags.
26593LTCFLAGS=$lt_CFLAGS
26594
26595# Take the output of nm and produce a listing of raw symbols and C names.
26596global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26597
26598# Transform the output of nm in a proper C declaration.
26599global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26600
26601# Transform the output of nm into a list of symbols to manually relocate.
26602global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
26603
26604# Transform the output of nm in a C name address pair.
26605global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26606
26607# Transform the output of nm in a C name address pair when lib prefix is needed.
26608global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26609
26610# The name lister interface.
26611nm_interface=$lt_lt_cv_nm_interface
26612
26613# Specify filename containing input files for \$NM.
26614nm_file_list_spec=$lt_nm_file_list_spec
26615
26616# The root where to search for dependent libraries,and where our libraries should be installed.
26617lt_sysroot=$lt_sysroot
26618
26619# Command to truncate a binary pipe.
26620lt_truncate_bin=$lt_lt_cv_truncate_bin
26621
26622# The name of the directory that contains temporary libtool files.
26623objdir=$objdir
26624
26625# Used to examine libraries when file_magic_cmd begins with "file".
26626MAGIC_CMD=$MAGIC_CMD
26627
26628# Must we lock files when doing compilation?
26629need_locks=$lt_need_locks
26630
26631# Manifest tool.
26632MANIFEST_TOOL=$lt_MANIFEST_TOOL
26633
26634# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26635DSYMUTIL=$lt_DSYMUTIL
26636
26637# Tool to change global to local symbols on Mac OS X.
26638NMEDIT=$lt_NMEDIT
26639
26640# Tool to manipulate fat objects and archives on Mac OS X.
26641LIPO=$lt_LIPO
26642
26643# ldd/readelf like tool for Mach-O binaries on Mac OS X.
26644OTOOL=$lt_OTOOL
26645
26646# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26647OTOOL64=$lt_OTOOL64
26648
26649# Old archive suffix (normally "a").
26650libext=$libext
26651
26652# Shared library suffix (normally ".so").
26653shrext_cmds=$lt_shrext_cmds
26654
26655# The commands to extract the exported symbol list from a shared archive.
26656extract_expsyms_cmds=$lt_extract_expsyms_cmds
26657
26658# Variables whose values should be saved in libtool wrapper scripts and
26659# restored at link time.
26660variables_saved_for_relink=$lt_variables_saved_for_relink
26661
26662# Do we need the "lib" prefix for modules?
26663need_lib_prefix=$need_lib_prefix
26664
26665# Do we need a version for libraries?
26666need_version=$need_version
26667
26668# Library versioning type.
26669version_type=$version_type
26670
26671# Shared library runtime path variable.
26672runpath_var=$runpath_var
26673
26674# Shared library path variable.
26675shlibpath_var=$shlibpath_var
26676
26677# Is shlibpath searched before the hard-coded library search path?
26678shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26679
26680# Format of library name prefix.
26681libname_spec=$lt_libname_spec
26682
26683# List of archive names.  First name is the real one, the rest are links.
26684# The last name is the one that the linker finds with -lNAME
26685library_names_spec=$lt_library_names_spec
26686
26687# The coded name of the library, if different from the real name.
26688soname_spec=$lt_soname_spec
26689
26690# Permission mode override for installation of shared libraries.
26691install_override_mode=$lt_install_override_mode
26692
26693# Command to use after installation of a shared archive.
26694postinstall_cmds=$lt_postinstall_cmds
26695
26696# Command to use after uninstallation of a shared archive.
26697postuninstall_cmds=$lt_postuninstall_cmds
26698
26699# Commands used to finish a libtool library installation in a directory.
26700finish_cmds=$lt_finish_cmds
26701
26702# As "finish_cmds", except a single script fragment to be evaled but
26703# not shown.
26704finish_eval=$lt_finish_eval
26705
26706# Whether we should hardcode library paths into libraries.
26707hardcode_into_libs=$hardcode_into_libs
26708
26709# Compile-time system search path for libraries.
26710sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26711
26712# Detected run-time system search path for libraries.
26713sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
26714
26715# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
26716configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
26717
26718# Whether dlopen is supported.
26719dlopen_support=$enable_dlopen
26720
26721# Whether dlopen of programs is supported.
26722dlopen_self=$enable_dlopen_self
26723
26724# Whether dlopen of statically linked programs is supported.
26725dlopen_self_static=$enable_dlopen_self_static
26726
26727# Commands to strip libraries.
26728old_striplib=$lt_old_striplib
26729striplib=$lt_striplib
26730
26731
26732# The linker used to build libraries.
26733LD=$lt_LD
26734
26735# How to create reloadable object files.
26736reload_flag=$lt_reload_flag
26737reload_cmds=$lt_reload_cmds
26738
26739# Commands used to build an old-style archive.
26740old_archive_cmds=$lt_old_archive_cmds
26741
26742# A language specific compiler.
26743CC=$lt_compiler
26744
26745# Is the compiler the GNU compiler?
26746with_gcc=$GCC
26747
26748# Compiler flag to turn off builtin functions.
26749no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26750
26751# Additional compiler flags for building library objects.
26752pic_flag=$lt_lt_prog_compiler_pic
26753
26754# How to pass a linker flag through the compiler.
26755wl=$lt_lt_prog_compiler_wl
26756
26757# Compiler flag to prevent dynamic linking.
26758link_static_flag=$lt_lt_prog_compiler_static
26759
26760# Does compiler simultaneously support -c and -o options?
26761compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26762
26763# Whether or not to add -lc for building shared libraries.
26764build_libtool_need_lc=$archive_cmds_need_lc
26765
26766# Whether or not to disallow shared libs when runtime libs are static.
26767allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26768
26769# Compiler flag to allow reflexive dlopens.
26770export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26771
26772# Compiler flag to generate shared objects directly from archives.
26773whole_archive_flag_spec=$lt_whole_archive_flag_spec
26774
26775# Whether the compiler copes with passing no objects directly.
26776compiler_needs_object=$lt_compiler_needs_object
26777
26778# Create an old-style archive from a shared archive.
26779old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26780
26781# Create a temporary old-style archive to link instead of a shared archive.
26782old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26783
26784# Commands used to build a shared archive.
26785archive_cmds=$lt_archive_cmds
26786archive_expsym_cmds=$lt_archive_expsym_cmds
26787
26788# Commands used to build a loadable module if different from building
26789# a shared archive.
26790module_cmds=$lt_module_cmds
26791module_expsym_cmds=$lt_module_expsym_cmds
26792
26793# Whether we are building with GNU ld or not.
26794with_gnu_ld=$lt_with_gnu_ld
26795
26796# Flag that allows shared libraries with undefined symbols to be built.
26797allow_undefined_flag=$lt_allow_undefined_flag
26798
26799# Flag that enforces no undefined symbols.
26800no_undefined_flag=$lt_no_undefined_flag
26801
26802# Flag to hardcode \$libdir into a binary during linking.
26803# This must work even if \$libdir does not exist
26804hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26805
26806# Whether we need a single "-rpath" flag with a separated argument.
26807hardcode_libdir_separator=$lt_hardcode_libdir_separator
26808
26809# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26810# DIR into the resulting binary.
26811hardcode_direct=$hardcode_direct
26812
26813# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26814# DIR into the resulting binary and the resulting library dependency is
26815# "absolute",i.e impossible to change by setting \$shlibpath_var if the
26816# library is relocated.
26817hardcode_direct_absolute=$hardcode_direct_absolute
26818
26819# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26820# into the resulting binary.
26821hardcode_minus_L=$hardcode_minus_L
26822
26823# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26824# into the resulting binary.
26825hardcode_shlibpath_var=$hardcode_shlibpath_var
26826
26827# Set to "yes" if building a shared library automatically hardcodes DIR
26828# into the library and all subsequent libraries and executables linked
26829# against it.
26830hardcode_automatic=$hardcode_automatic
26831
26832# Set to yes if linker adds runtime paths of dependent libraries
26833# to runtime path list.
26834inherit_rpath=$inherit_rpath
26835
26836# Whether libtool must link a program against all its dependency libraries.
26837link_all_deplibs=$link_all_deplibs
26838
26839# Set to "yes" if exported symbols are required.
26840always_export_symbols=$always_export_symbols
26841
26842# The commands to list exported symbols.
26843export_symbols_cmds=$lt_export_symbols_cmds
26844
26845# Symbols that should not be listed in the preloaded symbols.
26846exclude_expsyms=$lt_exclude_expsyms
26847
26848# Symbols that must always be exported.
26849include_expsyms=$lt_include_expsyms
26850
26851# Commands necessary for linking programs (against libraries) with templates.
26852prelink_cmds=$lt_prelink_cmds
26853
26854# Commands necessary for finishing linking programs.
26855postlink_cmds=$lt_postlink_cmds
26856
26857# Specify filename containing input files.
26858file_list_spec=$lt_file_list_spec
26859
26860# How to hardcode a shared library path into an executable.
26861hardcode_action=$hardcode_action
26862
26863# ### END LIBTOOL CONFIG
26864
26865_LT_EOF
26866
26867    cat <<'_LT_EOF' >> "$cfgfile"
26868
26869# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
26870
26871# func_munge_path_list VARIABLE PATH
26872# -----------------------------------
26873# VARIABLE is name of variable containing _space_ separated list of
26874# directories to be munged by the contents of PATH, which is string
26875# having a format:
26876# "DIR[:DIR]:"
26877#       string "DIR[ DIR]" will be prepended to VARIABLE
26878# ":DIR[:DIR]"
26879#       string "DIR[ DIR]" will be appended to VARIABLE
26880# "DIRP[:DIRP]::[DIRA:]DIRA"
26881#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
26882#       "DIRA[ DIRA]" will be appended to VARIABLE
26883# "DIR[:DIR]"
26884#       VARIABLE will be replaced by "DIR[ DIR]"
26885func_munge_path_list ()
26886{
26887    case x$2 in
26888    x)
26889        ;;
26890    *:)
26891        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
26892        ;;
26893    x:*)
26894        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
26895        ;;
26896    *::*)
26897        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
26898        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
26899        ;;
26900    *)
26901        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
26902        ;;
26903    esac
26904}
26905
26906
26907# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
26908func_cc_basename ()
26909{
26910    for cc_temp in $*""; do
26911      case $cc_temp in
26912        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26913        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26914        \-*) ;;
26915        *) break;;
26916      esac
26917    done
26918    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
26919}
26920
26921
26922# ### END FUNCTIONS SHARED WITH CONFIGURE
26923
26924_LT_EOF
26925
26926  case $host_os in
26927  aix3*)
26928    cat <<\_LT_EOF >> "$cfgfile"
26929# AIX sometimes has problems with the GCC collect2 program.  For some
26930# reason, if we set the COLLECT_NAMES environment variable, the problems
26931# vanish in a puff of smoke.
26932if test set != "${COLLECT_NAMES+set}"; then
26933  COLLECT_NAMES=
26934  export COLLECT_NAMES
26935fi
26936_LT_EOF
26937    ;;
26938  esac
26939
26940
26941ltmain=$ac_aux_dir/ltmain.sh
26942
26943
26944  # We use sed instead of cat because bash on DJGPP gets confused if
26945  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
26946  # text mode, it properly converts lines to CR/LF.  This bash problem
26947  # is reportedly fixed, but why not run on old versions too?
26948  sed '$q' "$ltmain" >> "$cfgfile" \
26949     || (rm -f "$cfgfile"; exit 1)
26950
26951   mv -f "$cfgfile" "$ofile" ||
26952    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26953  chmod +x "$ofile"
26954
26955 ;;
26956    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
26957        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
26958      esac ;;
26959    "po/stamp-it":C)
26960    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
26961       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
26962    fi
26963    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
26964    >"po/stamp-it.tmp"
26965    sed '/^#/d
26966	 s/^[[].*] *//
26967	 /^[ 	]*$/d
26968	'"s|^|	$ac_top_srcdir/|" \
26969      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
26970
26971    sed '/^POTFILES =/,/[^\\]$/ {
26972		/^POTFILES =/!d
26973		r po/POTFILES
26974	  }
26975	 ' "po/Makefile.in" >"po/Makefile"
26976    rm -f "po/Makefile.tmp"
26977    mv "po/stamp-it.tmp" "po/stamp-it"
26978   ;;
26979
26980  esac
26981done # for ac_tag
26982
26983
26984as_fn_exit 0
26985_ACEOF
26986ac_clean_files=$ac_clean_files_save
26987
26988test $ac_write_fail = 0 ||
26989  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
26990
26991
26992# configure is writing to config.log, and then calls config.status.
26993# config.status does its own redirection, appending to config.log.
26994# Unfortunately, on DOS this fails, as config.log is still kept open
26995# by configure, so config.status won't be able to write to it; its
26996# output is simply discarded.  So we exec the FD to /dev/null,
26997# effectively closing config.log, so it can be properly (re)opened and
26998# appended to by config.status.  When coming back to configure, we
26999# need to make the FD available again.
27000if test "$no_create" != yes; then
27001  ac_cs_success=:
27002  ac_config_status_args=
27003  test "$silent" = yes &&
27004    ac_config_status_args="$ac_config_status_args --quiet"
27005  exec 5>/dev/null
27006  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27007  exec 5>>config.log
27008  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27009  # would make configure fail if this is the last instruction.
27010  $ac_cs_success || as_fn_exit 1
27011fi
27012if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27013  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27014$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27015fi
27016
27017
27018    case $prefix in
27019        NONE) prefix=$ac_default_prefix ;;
27020        *) ;;
27021    esac
27022
27023    case $exec_prefix in
27024        NONE) exec_prefix=$prefix ;;
27025        *) ;;
27026    esac
27027
27028
27029
27030
27031
27032    expanded_datadir=$(eval echo $datadir)
27033    expanded_datadir=$(eval echo $expanded_datadir)
27034
27035
27036
27037
27038    expanded_libdir=$(eval echo $libdir)
27039    expanded_libdir=$(eval echo $expanded_libdir)
27040
27041
27042
27043
27044    expanded_docdir=$(eval echo $docdir)
27045    expanded_docdir=$(eval echo $expanded_docdir)
27046
27047
27048    cat <<GPEOF
27049
27050${PACKAGE}-${VERSION}
27051
27052  Build Environment:
27053    Geany version:                ${GEANY_VERSION} (GTK${GP_GTK_VERSION_MAJOR})
27054    Install prefix:               ${prefix}
27055    Datadir:                      ${expanded_datadir}/${PACKAGE_TARNAME}
27056    Libdir:                       ${expanded_libdir}/${PACKAGE_TARNAME}
27057    Docdir:                       ${expanded_docdir}
27058    Plugins path:                 ${geanypluginsdir}
27059
27060  Build Features:
27061GPEOF
27062
27063
27064    while read line; do
27065        test -z "$line" && break;
27066        plugin="    ${line%:*}:"
27067        status=${line#*:}
27068        printf "%-*s%s\n" "34" "$plugin" "$status"
27069    done << GPEOF
27070$build_feature_statusmsg
27071GPEOF
27072
27073    echo
27074    echo "  Plugins:"
27075
27076    while read line; do
27077        test -z "$line" && break;
27078        plugin="    ${line%:*}:"
27079        status=${line#*:}
27080        printf "%-*s%s\n" "34" "$plugin" "$status"
27081    done << GPEOF
27082$plugins_statusmsg
27083GPEOF
27084
27085    echo
27086    echo "  Features:"
27087
27088    while read line; do
27089        test -z "$line" && break;
27090        plugin="    ${line%:*}:"
27091        status=${line#*:}
27092        printf "%-*s%s\n" "34" "$plugin" "$status"
27093    done << GPEOF
27094$feature_statusmsg
27095GPEOF
27096
27097    echo
27098
27099