source: ThirdParty/Glpk/branches/autotools-update/configure

Last change on this file was 4059, checked in by stefan, 3 months ago

cleanup base configure, remove config_glpk.h.in

  • no need for C compiler or libtool in base dir
  • no more use for config header
File size: 117.4 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for ThirdPartyGlpk trunk.
4#
5# Report bugs to <http://projects.coin-or.org/BuildTools/newticket>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13#
14#
15# Copyright 2007-2010 Stefan Vigerske and others.
16# All Rights Reserved.
17# This file is part of the open source package ThirdParty/Glpk which is
18# distributed under the Eclipse Public License.
19## -------------------- ##
20## M4sh Initialization. ##
21## -------------------- ##
22
23# Be more Bourne compatible
24DUALCASE=1; export DUALCASE # for MKS sh
25if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26  emulate sh
27  NULLCMD=:
28  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29  # is contrary to our usage.  Disable this feature.
30  alias -g '${1+"$@"}'='"$@"'
31  setopt NO_GLOB_SUBST
32else
33  case `(set -o) 2>/dev/null` in #(
34  *posix*) :
35    set -o posix ;; #(
36  *) :
37     ;;
38esac
39fi
40
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49# Prefer a ksh shell builtin over an external printf program on Solaris,
50# but without wasting forks for bash or zsh.
51if test -z "$BASH_VERSION$ZSH_VERSION" \
52    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
53  as_echo='print -r --'
54  as_echo_n='print -rn --'
55elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56  as_echo='printf %s\n'
57  as_echo_n='printf %s'
58else
59  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
60    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
61    as_echo_n='/usr/ucb/echo -n'
62  else
63    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64    as_echo_n_body='eval
65      arg=$1;
66      case $arg in #(
67      *"$as_nl"*)
68        expr "X$arg" : "X\\(.*\\)$as_nl";
69        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
70      esac;
71      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72    '
73    export as_echo_n_body
74    as_echo_n='sh -c $as_echo_n_body as_echo'
75  fi
76  export as_echo_body
77  as_echo='sh -c $as_echo_body as_echo'
78fi
79
80# The user is always right.
81if test "${PATH_SEPARATOR+set}" != set; then
82  PATH_SEPARATOR=:
83  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
84    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85      PATH_SEPARATOR=';'
86  }
87fi
88
89
90# IFS
91# We need space, tab and new line, in precisely that order.  Quoting is
92# there to prevent editors from complaining about space-tab.
93# (If _AS_PATH_WALK were called with IFS unset, it would disable word
94# splitting by setting IFS to empty value.)
95IFS=" ""        $as_nl"
96
97# Find who we are.  Look in the path if we contain no directory separator.
98as_myself=
99case $0 in #((
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107  done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  exit 1
120fi
121
122# Unset variables that we do not need and which cause bugs (e.g. in
123# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
124# suppresses any "Segmentation fault" message there.  '((' could
125# trigger a bug in pdksh 5.2.14.
126for as_var in BASH_ENV ENV MAIL MAILPATH
127do eval test x\${$as_var+set} = xset \
128  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
129done
130PS1='$ '
131PS2='> '
132PS4='+ '
133
134# NLS nuisances.
135LC_ALL=C
136export LC_ALL
137LANGUAGE=C
138export LANGUAGE
139
140# CDPATH.
141(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
142
143# Use a proper internal environment variable to ensure we don't fall
144  # into an infinite loop, continuously re-executing ourselves.
145  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
146    _as_can_reexec=no; export _as_can_reexec;
147    # We cannot yet assume a decent shell, so we have to provide a
148# neutralization value for shells without unset; and this also
149# works around shells that cannot unset nonexistent variables.
150# Preserve -v and -x to the replacement shell.
151BASH_ENV=/dev/null
152ENV=/dev/null
153(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
154case $- in # ((((
155  *v*x* | *x*v* ) as_opts=-vx ;;
156  *v* ) as_opts=-v ;;
157  *x* ) as_opts=-x ;;
158  * ) as_opts= ;;
159esac
160exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
161# Admittedly, this is quite paranoid, since all the known shells bail
162# out after a failed `exec'.
163$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
164as_fn_exit 255
165  fi
166  # We don't want this to propagate to other subprocesses.
167          { _as_can_reexec=; unset _as_can_reexec;}
168if test "x$CONFIG_SHELL" = x; then
169  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
170  emulate sh
171  NULLCMD=:
172  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
173  # is contrary to our usage.  Disable this feature.
174  alias -g '\${1+\"\$@\"}'='\"\$@\"'
175  setopt NO_GLOB_SUBST
176else
177  case \`(set -o) 2>/dev/null\` in #(
178  *posix*) :
179    set -o posix ;; #(
180  *) :
181     ;;
182esac
183fi
184"
185  as_required="as_fn_return () { (exit \$1); }
186as_fn_success () { as_fn_return 0; }
187as_fn_failure () { as_fn_return 1; }
188as_fn_ret_success () { return 0; }
189as_fn_ret_failure () { return 1; }
190
191exitcode=0
192as_fn_success || { exitcode=1; echo as_fn_success failed.; }
193as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
194as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
195as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
196if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
197
198else
199  exitcode=1; echo positional parameters were not saved.
200fi
201test x\$exitcode = x0 || exit 1
202test -x / || exit 1"
203  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
204  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
205  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
206  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
207  if (eval "$as_required") 2>/dev/null; then :
208  as_have_required=yes
209else
210  as_have_required=no
211fi
212  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
213
214else
215  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216as_found=false
217for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218do
219  IFS=$as_save_IFS
220  test -z "$as_dir" && as_dir=.
221  as_found=:
222  case $as_dir in #(
223         /*)
224           for as_base in sh bash ksh sh5; do
225             # Try only shells that exist, to save several forks.
226             as_shell=$as_dir/$as_base
227             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
228                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
229  CONFIG_SHELL=$as_shell as_have_required=yes
230                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231  break 2
232fi
233fi
234           done;;
235       esac
236  as_found=false
237done
238$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
240  CONFIG_SHELL=$SHELL as_have_required=yes
241fi; }
242IFS=$as_save_IFS
243
244
245      if test "x$CONFIG_SHELL" != x; then :
246  export CONFIG_SHELL
247             # We cannot yet assume a decent shell, so we have to provide a
248# neutralization value for shells without unset; and this also
249# works around shells that cannot unset nonexistent variables.
250# Preserve -v and -x to the replacement shell.
251BASH_ENV=/dev/null
252ENV=/dev/null
253(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
254case $- in # ((((
255  *v*x* | *x*v* ) as_opts=-vx ;;
256  *v* ) as_opts=-v ;;
257  *x* ) as_opts=-x ;;
258  * ) as_opts= ;;
259esac
260exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
261# Admittedly, this is quite paranoid, since all the known shells bail
262# out after a failed `exec'.
263$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
264exit 255
265fi
266
267    if test x$as_have_required = xno; then :
268  $as_echo "$0: This script requires a shell more modern than all"
269  $as_echo "$0: the shells that I found on your system."
270  if test x${ZSH_VERSION+set} = xset ; then
271    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
272    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
273  else
274    $as_echo "$0: Please tell bug-autoconf@gnu.org and
275$0: http://projects.coin-or.org/BuildTools/newticket about
276$0: your system, including any error possibly output before
277$0: this message. Then install a modern shell, or manually
278$0: run 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
564
565test -n "$DJDIR" || exec 7<&0 </dev/null
566exec 6>&1
567
568# Name of the host.
569# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
570# so uname gets run too.
571ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
572
573#
574# Initializations.
575#
576ac_default_prefix=/usr/local
577ac_clean_files=
578ac_config_libobj_dir=.
579LIBOBJS=
580cross_compiling=no
581subdirs=
582MFLAGS=
583MAKEFLAGS=
584
585# Identity of this package.
586PACKAGE_NAME='ThirdPartyGlpk'
587PACKAGE_TARNAME='thirdpartyglpk'
588PACKAGE_VERSION='trunk'
589PACKAGE_STRING='ThirdPartyGlpk trunk'
590PACKAGE_BUGREPORT='http://projects.coin-or.org/BuildTools/newticket'
591PACKAGE_URL='http://projects.coin-or.org/BuildTools/browser/ThirdParty/Glpk'
592
593ac_unique_file="glpk/src/glpk.h"
594enable_option_checking=no
595ac_subst_vars='LTLIBOBJS
596LIBOBJS
597subdirs
598MAINT
599MAINTAINER_MODE_FALSE
600MAINTAINER_MODE_TRUE
601am__untar
602am__tar
603AMTAR
604am__leading_dot
605SET_MAKE
606AWK
607mkdir_p
608MKDIR_P
609INSTALL_STRIP_PROGRAM
610STRIP
611install_sh
612MAKEINFO
613AUTOHEADER
614AUTOMAKE
615AUTOCONF
616ACLOCAL
617VERSION
618PACKAGE
619CYGPATH_W
620am__isrc
621INSTALL_DATA
622INSTALL_SCRIPT
623INSTALL_PROGRAM
624AM_BACKSLASH
625AM_DEFAULT_VERBOSITY
626AM_DEFAULT_V
627AM_V
628host_os
629host_vendor
630host_cpu
631host
632CC
633build_os
634build_vendor
635build_cpu
636build
637ALWAYS_FALSE_FALSE
638ALWAYS_FALSE_TRUE
639target_alias
640host_alias
641build_alias
642LIBS
643ECHO_T
644ECHO_N
645ECHO_C
646DEFS
647mandir
648localedir
649libdir
650psdir
651pdfdir
652dvidir
653htmldir
654infodir
655docdir
656oldincludedir
657includedir
658localstatedir
659sharedstatedir
660sysconfdir
661datadir
662datarootdir
663libexecdir
664sbindir
665bindir
666program_transform_name
667prefix
668exec_prefix
669PACKAGE_URL
670PACKAGE_BUGREPORT
671PACKAGE_STRING
672PACKAGE_VERSION
673PACKAGE_TARNAME
674PACKAGE_NAME
675PATH_SEPARATOR
676SHELL'
677ac_subst_files=''
678ac_user_opts='
679enable_option_checking
680enable_msvc
681enable_debug
682enable_silent_rules
683enable_maintainer_mode
684'
685      ac_precious_vars='build_alias
686host_alias
687target_alias'
688ac_subdirs_all='glpk'
689
690# Initialize some variables set by options.
691ac_init_help=
692ac_init_version=false
693ac_unrecognized_opts=
694ac_unrecognized_sep=
695# The variables have the same names as the options, with
696# dashes changed to underlines.
697cache_file=/dev/null
698exec_prefix=NONE
699no_create=
700no_recursion=
701prefix=NONE
702program_prefix=NONE
703program_suffix=NONE
704program_transform_name=s,x,x,
705silent=
706site=
707srcdir=
708verbose=
709x_includes=NONE
710x_libraries=NONE
711
712# Installation directory options.
713# These are left unexpanded so users can "make install exec_prefix=/foo"
714# and all the variables that are supposed to be based on exec_prefix
715# by default will actually change.
716# Use braces instead of parens because sh, perl, etc. also accept them.
717# (The list follows the same order as the GNU Coding Standards.)
718bindir='${exec_prefix}/bin'
719sbindir='${exec_prefix}/sbin'
720libexecdir='${exec_prefix}/libexec'
721datarootdir='${prefix}/share'
722datadir='${datarootdir}'
723sysconfdir='${prefix}/etc'
724sharedstatedir='${prefix}/com'
725localstatedir='${prefix}/var'
726includedir='${prefix}/include'
727oldincludedir='/usr/include'
728docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
729infodir='${datarootdir}/info'
730htmldir='${docdir}'
731dvidir='${docdir}'
732pdfdir='${docdir}'
733psdir='${docdir}'
734libdir='${exec_prefix}/lib'
735localedir='${datarootdir}/locale'
736mandir='${datarootdir}/man'
737
738ac_prev=
739ac_dashdash=
740for ac_option
741do
742  # If the previous option needs an argument, assign it.
743  if test -n "$ac_prev"; then
744    eval $ac_prev=\$ac_option
745    ac_prev=
746    continue
747  fi
748
749  case $ac_option in
750  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751  *=)   ac_optarg= ;;
752  *)    ac_optarg=yes ;;
753  esac
754
755  # Accept the important Cygnus configure options, so we can diagnose typos.
756
757  case $ac_dashdash$ac_option in
758  --)
759    ac_dashdash=yes ;;
760
761  -bindir | --bindir | --bindi | --bind | --bin | --bi)
762    ac_prev=bindir ;;
763  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764    bindir=$ac_optarg ;;
765
766  -build | --build | --buil | --bui | --bu)
767    ac_prev=build_alias ;;
768  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769    build_alias=$ac_optarg ;;
770
771  -cache-file | --cache-file | --cache-fil | --cache-fi \
772  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773    ac_prev=cache_file ;;
774  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776    cache_file=$ac_optarg ;;
777
778  --config-cache | -C)
779    cache_file=config.cache ;;
780
781  -datadir | --datadir | --datadi | --datad)
782    ac_prev=datadir ;;
783  -datadir=* | --datadir=* | --datadi=* | --datad=*)
784    datadir=$ac_optarg ;;
785
786  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787  | --dataroo | --dataro | --datar)
788    ac_prev=datarootdir ;;
789  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791    datarootdir=$ac_optarg ;;
792
793  -disable-* | --disable-*)
794    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795    # Reject names that are not valid shell variable names.
796    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797      as_fn_error $? "invalid feature name: $ac_useropt"
798    ac_useropt_orig=$ac_useropt
799    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800    case $ac_user_opts in
801      *"
802"enable_$ac_useropt"
803"*) ;;
804      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
805         ac_unrecognized_sep=', ';;
806    esac
807    eval enable_$ac_useropt=no ;;
808
809  -docdir | --docdir | --docdi | --doc | --do)
810    ac_prev=docdir ;;
811  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
812    docdir=$ac_optarg ;;
813
814  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
815    ac_prev=dvidir ;;
816  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
817    dvidir=$ac_optarg ;;
818
819  -enable-* | --enable-*)
820    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
821    # Reject names that are not valid shell variable names.
822    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823      as_fn_error $? "invalid feature name: $ac_useropt"
824    ac_useropt_orig=$ac_useropt
825    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826    case $ac_user_opts in
827      *"
828"enable_$ac_useropt"
829"*) ;;
830      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831         ac_unrecognized_sep=', ';;
832    esac
833    eval enable_$ac_useropt=\$ac_optarg ;;
834
835  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837  | --exec | --exe | --ex)
838    ac_prev=exec_prefix ;;
839  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841  | --exec=* | --exe=* | --ex=*)
842    exec_prefix=$ac_optarg ;;
843
844  -gas | --gas | --ga | --g)
845    # Obsolete; use --with-gas.
846    with_gas=yes ;;
847
848  -help | --help | --hel | --he | -h)
849    ac_init_help=long ;;
850  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851    ac_init_help=recursive ;;
852  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853    ac_init_help=short ;;
854
855  -host | --host | --hos | --ho)
856    ac_prev=host_alias ;;
857  -host=* | --host=* | --hos=* | --ho=*)
858    host_alias=$ac_optarg ;;
859
860  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
861    ac_prev=htmldir ;;
862  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863  | --ht=*)
864    htmldir=$ac_optarg ;;
865
866  -includedir | --includedir | --includedi | --included | --include \
867  | --includ | --inclu | --incl | --inc)
868    ac_prev=includedir ;;
869  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870  | --includ=* | --inclu=* | --incl=* | --inc=*)
871    includedir=$ac_optarg ;;
872
873  -infodir | --infodir | --infodi | --infod | --info | --inf)
874    ac_prev=infodir ;;
875  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876    infodir=$ac_optarg ;;
877
878  -libdir | --libdir | --libdi | --libd)
879    ac_prev=libdir ;;
880  -libdir=* | --libdir=* | --libdi=* | --libd=*)
881    libdir=$ac_optarg ;;
882
883  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884  | --libexe | --libex | --libe)
885    ac_prev=libexecdir ;;
886  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887  | --libexe=* | --libex=* | --libe=*)
888    libexecdir=$ac_optarg ;;
889
890  -localedir | --localedir | --localedi | --localed | --locale)
891    ac_prev=localedir ;;
892  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893    localedir=$ac_optarg ;;
894
895  -localstatedir | --localstatedir | --localstatedi | --localstated \
896  | --localstate | --localstat | --localsta | --localst | --locals)
897    ac_prev=localstatedir ;;
898  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900    localstatedir=$ac_optarg ;;
901
902  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
903    ac_prev=mandir ;;
904  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
905    mandir=$ac_optarg ;;
906
907  -nfp | --nfp | --nf)
908    # Obsolete; use --without-fp.
909    with_fp=no ;;
910
911  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912  | --no-cr | --no-c | -n)
913    no_create=yes ;;
914
915  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
917    no_recursion=yes ;;
918
919  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921  | --oldin | --oldi | --old | --ol | --o)
922    ac_prev=oldincludedir ;;
923  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926    oldincludedir=$ac_optarg ;;
927
928  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
929    ac_prev=prefix ;;
930  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
931    prefix=$ac_optarg ;;
932
933  -program-prefix | --program-prefix | --program-prefi | --program-pref \
934  | --program-pre | --program-pr | --program-p)
935    ac_prev=program_prefix ;;
936  -program-prefix=* | --program-prefix=* | --program-prefi=* \
937  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938    program_prefix=$ac_optarg ;;
939
940  -program-suffix | --program-suffix | --program-suffi | --program-suff \
941  | --program-suf | --program-su | --program-s)
942    ac_prev=program_suffix ;;
943  -program-suffix=* | --program-suffix=* | --program-suffi=* \
944  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945    program_suffix=$ac_optarg ;;
946
947  -program-transform-name | --program-transform-name \
948  | --program-transform-nam | --program-transform-na \
949  | --program-transform-n | --program-transform- \
950  | --program-transform | --program-transfor \
951  | --program-transfo | --program-transf \
952  | --program-trans | --program-tran \
953  | --progr-tra | --program-tr | --program-t)
954    ac_prev=program_transform_name ;;
955  -program-transform-name=* | --program-transform-name=* \
956  | --program-transform-nam=* | --program-transform-na=* \
957  | --program-transform-n=* | --program-transform-=* \
958  | --program-transform=* | --program-transfor=* \
959  | --program-transfo=* | --program-transf=* \
960  | --program-trans=* | --program-tran=* \
961  | --progr-tra=* | --program-tr=* | --program-t=*)
962    program_transform_name=$ac_optarg ;;
963
964  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
965    ac_prev=pdfdir ;;
966  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
967    pdfdir=$ac_optarg ;;
968
969  -psdir | --psdir | --psdi | --psd | --ps)
970    ac_prev=psdir ;;
971  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
972    psdir=$ac_optarg ;;
973
974  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975  | -silent | --silent | --silen | --sile | --sil)
976    silent=yes ;;
977
978  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979    ac_prev=sbindir ;;
980  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981  | --sbi=* | --sb=*)
982    sbindir=$ac_optarg ;;
983
984  -sharedstatedir | --sharedstatedir | --sharedstatedi \
985  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986  | --sharedst | --shareds | --shared | --share | --shar \
987  | --sha | --sh)
988    ac_prev=sharedstatedir ;;
989  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992  | --sha=* | --sh=*)
993    sharedstatedir=$ac_optarg ;;
994
995  -site | --site | --sit)
996    ac_prev=site ;;
997  -site=* | --site=* | --sit=*)
998    site=$ac_optarg ;;
999
1000  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001    ac_prev=srcdir ;;
1002  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003    srcdir=$ac_optarg ;;
1004
1005  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006  | --syscon | --sysco | --sysc | --sys | --sy)
1007    ac_prev=sysconfdir ;;
1008  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010    sysconfdir=$ac_optarg ;;
1011
1012  -target | --target | --targe | --targ | --tar | --ta | --t)
1013    ac_prev=target_alias ;;
1014  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015    target_alias=$ac_optarg ;;
1016
1017  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1018    verbose=yes ;;
1019
1020  -version | --version | --versio | --versi | --vers | -V)
1021    ac_init_version=: ;;
1022
1023  -with-* | --with-*)
1024    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025    # Reject names that are not valid shell variable names.
1026    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027      as_fn_error $? "invalid package name: $ac_useropt"
1028    ac_useropt_orig=$ac_useropt
1029    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030    case $ac_user_opts in
1031      *"
1032"with_$ac_useropt"
1033"*) ;;
1034      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1035         ac_unrecognized_sep=', ';;
1036    esac
1037    eval with_$ac_useropt=\$ac_optarg ;;
1038
1039  -without-* | --without-*)
1040    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041    # Reject names that are not valid shell variable names.
1042    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043      as_fn_error $? "invalid package name: $ac_useropt"
1044    ac_useropt_orig=$ac_useropt
1045    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046    case $ac_user_opts in
1047      *"
1048"with_$ac_useropt"
1049"*) ;;
1050      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1051         ac_unrecognized_sep=', ';;
1052    esac
1053    eval with_$ac_useropt=no ;;
1054
1055  --x)
1056    # Obsolete; use --with-x.
1057    with_x=yes ;;
1058
1059  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1060  | --x-incl | --x-inc | --x-in | --x-i)
1061    ac_prev=x_includes ;;
1062  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1063  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1064    x_includes=$ac_optarg ;;
1065
1066  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1067  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1068    ac_prev=x_libraries ;;
1069  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1070  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1071    x_libraries=$ac_optarg ;;
1072
1073  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1074Try \`$0 --help' for more information"
1075    ;;
1076
1077  *=*)
1078    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079    # Reject names that are not valid shell variable names.
1080    case $ac_envvar in #(
1081      '' | [0-9]* | *[!_$as_cr_alnum]* )
1082      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1083    esac
1084    eval $ac_envvar=\$ac_optarg
1085    export $ac_envvar ;;
1086
1087  *)
1088    # FIXME: should be removed in autoconf 3.0.
1089    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1090    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1093    ;;
1094
1095  esac
1096done
1097
1098if test -n "$ac_prev"; then
1099  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100  as_fn_error $? "missing argument to $ac_option"
1101fi
1102
1103if test -n "$ac_unrecognized_opts"; then
1104  case $enable_option_checking in
1105    no) ;;
1106    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1107    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108  esac
1109fi
1110
1111# Check all directory arguments for consistency.
1112for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113                datadir sysconfdir sharedstatedir localstatedir includedir \
1114                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115                libdir localedir mandir
1116do
1117  eval ac_val=\$$ac_var
1118  # Remove trailing slashes.
1119  case $ac_val in
1120    */ )
1121      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122      eval $ac_var=\$ac_val;;
1123  esac
1124  # Be sure to have absolute directory names.
1125  case $ac_val in
1126    [\\/$]* | ?:[\\/]* )  continue;;
1127    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128  esac
1129  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1130done
1131
1132# There might be people who depend on the old broken behavior: `$host'
1133# used to hold the argument of --host etc.
1134# FIXME: To remove some day.
1135build=$build_alias
1136host=$host_alias
1137target=$target_alias
1138
1139# FIXME: To remove some day.
1140if test "x$host_alias" != x; then
1141  if test "x$build_alias" = x; then
1142    cross_compiling=maybe
1143  elif test "x$build_alias" != "x$host_alias"; then
1144    cross_compiling=yes
1145  fi
1146fi
1147
1148ac_tool_prefix=
1149test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150
1151test "$silent" = yes && exec 6>/dev/null
1152
1153
1154ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155ac_ls_di=`ls -di .` &&
1156ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157  as_fn_error $? "working directory cannot be determined"
1158test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159  as_fn_error $? "pwd does not report name of working directory"
1160
1161
1162# Find the source files, if location was not specified.
1163if test -z "$srcdir"; then
1164  ac_srcdir_defaulted=yes
1165  # Try the directory containing this script, then the parent directory.
1166  ac_confdir=`$as_dirname -- "$as_myself" ||
1167$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168         X"$as_myself" : 'X\(//\)[^/]' \| \
1169         X"$as_myself" : 'X\(//\)$' \| \
1170         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171$as_echo X"$as_myself" |
1172    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173            s//\1/
1174            q
1175          }
1176          /^X\(\/\/\)[^/].*/{
1177            s//\1/
1178            q
1179          }
1180          /^X\(\/\/\)$/{
1181            s//\1/
1182            q
1183          }
1184          /^X\(\/\).*/{
1185            s//\1/
1186            q
1187          }
1188          s/.*/./; q'`
1189  srcdir=$ac_confdir
1190  if test ! -r "$srcdir/$ac_unique_file"; then
1191    srcdir=..
1192  fi
1193else
1194  ac_srcdir_defaulted=no
1195fi
1196if test ! -r "$srcdir/$ac_unique_file"; then
1197  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1199fi
1200ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1201ac_abs_confdir=`(
1202        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1203        pwd)`
1204# When building in place, set srcdir=.
1205if test "$ac_abs_confdir" = "$ac_pwd"; then
1206  srcdir=.
1207fi
1208# Remove unnecessary trailing slashes from srcdir.
1209# Double slashes in file names in object file debugging info
1210# mess up M-x gdb in Emacs.
1211case $srcdir in
1212*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213esac
1214for ac_var in $ac_precious_vars; do
1215  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216  eval ac_env_${ac_var}_value=\$${ac_var}
1217  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1219done
1220
1221#
1222# Report the --help message.
1223#
1224if test "$ac_init_help" = "long"; then
1225  # Omit some internal or obsolete options to make the list less imposing.
1226  # This message is too long to be a string in the A/UX 3.1 sh.
1227  cat <<_ACEOF
1228\`configure' configures ThirdPartyGlpk trunk to adapt to many kinds of systems.
1229
1230Usage: $0 [OPTION]... [VAR=VALUE]...
1231
1232To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233VAR=VALUE.  See below for descriptions of some of the useful variables.
1234
1235Defaults for the options are specified in brackets.
1236
1237Configuration:
1238  -h, --help              display this help and exit
1239      --help=short        display options specific to this package
1240      --help=recursive    display the short help of all the included packages
1241  -V, --version           display version information and exit
1242  -q, --quiet, --silent   do not print \`checking ...' messages
1243      --cache-file=FILE   cache test results in FILE [disabled]
1244  -C, --config-cache      alias for \`--cache-file=config.cache'
1245  -n, --no-create         do not create output files
1246      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1247
1248Installation directories:
1249  --prefix=PREFIX         install architecture-independent files in PREFIX
1250                          [$ac_default_prefix]
1251  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1252                          [PREFIX]
1253
1254By default, \`make install' will install all the files in
1255\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1256an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257for instance \`--prefix=\$HOME'.
1258
1259For better control, use the options below.
1260
1261Fine tuning of the installation directories:
1262  --bindir=DIR            user executables [EPREFIX/bin]
1263  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1264  --libexecdir=DIR        program executables [EPREFIX/libexec]
1265  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1266  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1267  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1268  --libdir=DIR            object code libraries [EPREFIX/lib]
1269  --includedir=DIR        C header files [PREFIX/include]
1270  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1271  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1272  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1273  --infodir=DIR           info documentation [DATAROOTDIR/info]
1274  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1275  --mandir=DIR            man documentation [DATAROOTDIR/man]
1276  --docdir=DIR            documentation root [DATAROOTDIR/doc/thirdpartyglpk]
1277  --htmldir=DIR           html documentation [DOCDIR]
1278  --dvidir=DIR            dvi documentation [DOCDIR]
1279  --pdfdir=DIR            pdf documentation [DOCDIR]
1280  --psdir=DIR             ps documentation [DOCDIR]
1281_ACEOF
1282
1283  cat <<\_ACEOF
1284
1285Program names:
1286  --program-prefix=PREFIX            prepend PREFIX to installed program names
1287  --program-suffix=SUFFIX            append SUFFIX to installed program names
1288  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1289
1290System types:
1291  --build=BUILD     configure for building on BUILD [guessed]
1292  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1293_ACEOF
1294fi
1295
1296if test -n "$ac_init_help"; then
1297  case $ac_init_help in
1298     short | recursive ) echo "Configuration of ThirdPartyGlpk trunk:";;
1299   esac
1300  cat <<\_ACEOF
1301
1302Optional Features:
1303  --disable-option-checking  ignore unrecognized --enable/--with options
1304  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1305  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1306  --enable-msvc           look for and allow only Intel/Microsoft compilers on
1307                          MinGW/MSys/Cygwin
1308  --enable-debug          build debugging symbols and turn off compiler
1309                          optimization
1310  --enable-silent-rules   less verbose build output (undo: "make V=1")
1311  --disable-silent-rules  verbose build output (undo: "make V=0")
1312  --enable-maintainer-mode
1313                          enable make rules and dependencies not useful (and
1314                          sometimes confusing) to the casual installer
1315
1316Report bugs to <http://projects.coin-or.org/BuildTools/newticket>.
1317ThirdPartyGlpk home page: <http://projects.coin-or.org/BuildTools/browser/ThirdParty/Glpk>.
1318_ACEOF
1319ac_status=$?
1320fi
1321
1322if test "$ac_init_help" = "recursive"; then
1323  # If there are subdirs, report their specific --help.
1324  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1325    test -d "$ac_dir" ||
1326      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1327      continue
1328    ac_builddir=.
1329
1330case "$ac_dir" in
1331.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332*)
1333  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1334  # A ".." for each directory in $ac_dir_suffix.
1335  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1336  case $ac_top_builddir_sub in
1337  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1339  esac ;;
1340esac
1341ac_abs_top_builddir=$ac_pwd
1342ac_abs_builddir=$ac_pwd$ac_dir_suffix
1343# for backward compatibility:
1344ac_top_builddir=$ac_top_build_prefix
1345
1346case $srcdir in
1347  .)  # We are building in place.
1348    ac_srcdir=.
1349    ac_top_srcdir=$ac_top_builddir_sub
1350    ac_abs_top_srcdir=$ac_pwd ;;
1351  [\\/]* | ?:[\\/]* )  # Absolute name.
1352    ac_srcdir=$srcdir$ac_dir_suffix;
1353    ac_top_srcdir=$srcdir
1354    ac_abs_top_srcdir=$srcdir ;;
1355  *) # Relative name.
1356    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1357    ac_top_srcdir=$ac_top_build_prefix$srcdir
1358    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359esac
1360ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361
1362    cd "$ac_dir" || { ac_status=$?; continue; }
1363    # Check for guested configure.
1364    if test -f "$ac_srcdir/configure.gnu"; then
1365      echo &&
1366      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1367    elif test -f "$ac_srcdir/configure"; then
1368      echo &&
1369      $SHELL "$ac_srcdir/configure" --help=recursive
1370    else
1371      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372    fi || ac_status=$?
1373    cd "$ac_pwd" || { ac_status=$?; break; }
1374  done
1375fi
1376
1377test -n "$ac_init_help" && exit $ac_status
1378if $ac_init_version; then
1379  cat <<\_ACEOF
1380ThirdPartyGlpk configure trunk
1381generated by GNU Autoconf 2.69
1382
1383Copyright (C) 2012 Free Software Foundation, Inc.
1384This configure script is free software; the Free Software Foundation
1385gives unlimited permission to copy, distribute and modify it.
1386
1387
1388Copyright 2007-2010 Stefan Vigerske and others.
1389All Rights Reserved.
1390This file is part of the open source package ThirdParty/Glpk which is
1391distributed under the Eclipse Public License.
1392_ACEOF
1393  exit
1394fi
1395
1396## ------------------------ ##
1397## Autoconf initialization. ##
1398## ------------------------ ##
1399cat >config.log <<_ACEOF
1400This file contains any messages produced by compilers while
1401running configure, to aid debugging if configure makes a mistake.
1402
1403It was created by ThirdPartyGlpk $as_me trunk, which was
1404generated by GNU Autoconf 2.69.  Invocation command line was
1405
1406  $ $0 $@
1407
1408_ACEOF
1409exec 5>>config.log
1410{
1411cat <<_ASUNAME
1412## --------- ##
1413## Platform. ##
1414## --------- ##
1415
1416hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1417uname -m = `(uname -m) 2>/dev/null || echo unknown`
1418uname -r = `(uname -r) 2>/dev/null || echo unknown`
1419uname -s = `(uname -s) 2>/dev/null || echo unknown`
1420uname -v = `(uname -v) 2>/dev/null || echo unknown`
1421
1422/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1423/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1424
1425/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1426/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1427/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1428/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1429/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1430/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1431/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1432
1433_ASUNAME
1434
1435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436for as_dir in $PATH
1437do
1438  IFS=$as_save_IFS
1439  test -z "$as_dir" && as_dir=.
1440    $as_echo "PATH: $as_dir"
1441  done
1442IFS=$as_save_IFS
1443
1444} >&5
1445
1446cat >&5 <<_ACEOF
1447
1448
1449## ----------- ##
1450## Core tests. ##
1451## ----------- ##
1452
1453_ACEOF
1454
1455
1456# Keep a trace of the command line.
1457# Strip out --no-create and --no-recursion so they do not pile up.
1458# Strip out --silent because we don't want to record it for future runs.
1459# Also quote any args containing shell meta-characters.
1460# Make two passes to allow for proper duplicate-argument suppression.
1461ac_configure_args=
1462ac_configure_args0=
1463ac_configure_args1=
1464ac_must_keep_next=false
1465for ac_pass in 1 2
1466do
1467  for ac_arg
1468  do
1469    case $ac_arg in
1470    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1471    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1472    | -silent | --silent | --silen | --sile | --sil)
1473      continue ;;
1474    *\'*)
1475      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1476    esac
1477    case $ac_pass in
1478    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1479    2)
1480      as_fn_append ac_configure_args1 " '$ac_arg'"
1481      if test $ac_must_keep_next = true; then
1482        ac_must_keep_next=false # Got value, back to normal.
1483      else
1484        case $ac_arg in
1485          *=* | --config-cache | -C | -disable-* | --disable-* \
1486          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1487          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1488          | -with-* | --with-* | -without-* | --without-* | --x)
1489            case "$ac_configure_args0 " in
1490              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1491            esac
1492            ;;
1493          -* ) ac_must_keep_next=true ;;
1494        esac
1495      fi
1496      as_fn_append ac_configure_args " '$ac_arg'"
1497      ;;
1498    esac
1499  done
1500done
1501{ ac_configure_args0=; unset ac_configure_args0;}
1502{ ac_configure_args1=; unset ac_configure_args1;}
1503
1504# When interrupted or exit'd, cleanup temporary files, and complete
1505# config.log.  We remove comments because anyway the quotes in there
1506# would cause problems or look ugly.
1507# WARNING: Use '\'' to represent an apostrophe within the trap.
1508# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1509trap 'exit_status=$?
1510  # Save into config.log some information that might help in debugging.
1511  {
1512    echo
1513
1514    $as_echo "## ---------------- ##
1515## Cache variables. ##
1516## ---------------- ##"
1517    echo
1518    # The following way of writing the cache mishandles newlines in values,
1519(
1520  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1521    eval ac_val=\$$ac_var
1522    case $ac_val in #(
1523    *${as_nl}*)
1524      case $ac_var in #(
1525      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1526$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1527      esac
1528      case $ac_var in #(
1529      _ | IFS | as_nl) ;; #(
1530      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1531      *) { eval $ac_var=; unset $ac_var;} ;;
1532      esac ;;
1533    esac
1534  done
1535  (set) 2>&1 |
1536    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1537    *${as_nl}ac_space=\ *)
1538      sed -n \
1539        "s/'\''/'\''\\\\'\'''\''/g;
1540          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1541      ;; #(
1542    *)
1543      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1544      ;;
1545    esac |
1546    sort
1547)
1548    echo
1549
1550    $as_echo "## ----------------- ##
1551## Output variables. ##
1552## ----------------- ##"
1553    echo
1554    for ac_var in $ac_subst_vars
1555    do
1556      eval ac_val=\$$ac_var
1557      case $ac_val in
1558      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559      esac
1560      $as_echo "$ac_var='\''$ac_val'\''"
1561    done | sort
1562    echo
1563
1564    if test -n "$ac_subst_files"; then
1565      $as_echo "## ------------------- ##
1566## File substitutions. ##
1567## ------------------- ##"
1568      echo
1569      for ac_var in $ac_subst_files
1570      do
1571        eval ac_val=\$$ac_var
1572        case $ac_val in
1573        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574        esac
1575        $as_echo "$ac_var='\''$ac_val'\''"
1576      done | sort
1577      echo
1578    fi
1579
1580    if test -s confdefs.h; then
1581      $as_echo "## ----------- ##
1582## confdefs.h. ##
1583## ----------- ##"
1584      echo
1585      cat confdefs.h
1586      echo
1587    fi
1588    test "$ac_signal" != 0 &&
1589      $as_echo "$as_me: caught signal $ac_signal"
1590    $as_echo "$as_me: exit $exit_status"
1591  } >&5
1592  rm -f core *.core core.conftest.* &&
1593    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1594    exit $exit_status
1595' 0
1596for ac_signal in 1 2 13 15; do
1597  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1598done
1599ac_signal=0
1600
1601# confdefs.h avoids OS command line length limits that DEFS can exceed.
1602rm -f -r conftest* confdefs.h
1603
1604$as_echo "/* confdefs.h */" > confdefs.h
1605
1606# Predefined preprocessor variables.
1607
1608cat >>confdefs.h <<_ACEOF
1609#define PACKAGE_NAME "$PACKAGE_NAME"
1610_ACEOF
1611
1612cat >>confdefs.h <<_ACEOF
1613#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1614_ACEOF
1615
1616cat >>confdefs.h <<_ACEOF
1617#define PACKAGE_VERSION "$PACKAGE_VERSION"
1618_ACEOF
1619
1620cat >>confdefs.h <<_ACEOF
1621#define PACKAGE_STRING "$PACKAGE_STRING"
1622_ACEOF
1623
1624cat >>confdefs.h <<_ACEOF
1625#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1626_ACEOF
1627
1628cat >>confdefs.h <<_ACEOF
1629#define PACKAGE_URL "$PACKAGE_URL"
1630_ACEOF
1631
1632
1633# Let the site file select an alternate cache file if it wants to.
1634# Prefer an explicitly selected file to automatically selected ones.
1635ac_site_file1=NONE
1636ac_site_file2=NONE
1637if test -n "$CONFIG_SITE"; then
1638  # We do not want a PATH search for config.site.
1639  case $CONFIG_SITE in #((
1640    -*)  ac_site_file1=./$CONFIG_SITE;;
1641    */*) ac_site_file1=$CONFIG_SITE;;
1642    *)   ac_site_file1=./$CONFIG_SITE;;
1643  esac
1644elif test "x$prefix" != xNONE; then
1645  ac_site_file1=$prefix/share/config.site
1646  ac_site_file2=$prefix/etc/config.site
1647else
1648  ac_site_file1=$ac_default_prefix/share/config.site
1649  ac_site_file2=$ac_default_prefix/etc/config.site
1650fi
1651for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1652do
1653  test "x$ac_site_file" = xNONE && continue
1654  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1655    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1656$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1657    sed 's/^/| /' "$ac_site_file" >&5
1658    . "$ac_site_file" \
1659      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1660$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1661as_fn_error $? "failed to load site script $ac_site_file
1662See \`config.log' for more details" "$LINENO" 5; }
1663  fi
1664done
1665
1666if test -r "$cache_file"; then
1667  # Some versions of bash will fail to source /dev/null (special files
1668  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1669  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1670    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1671$as_echo "$as_me: loading cache $cache_file" >&6;}
1672    case $cache_file in
1673      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1674      *)                      . "./$cache_file";;
1675    esac
1676  fi
1677else
1678  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1679$as_echo "$as_me: creating cache $cache_file" >&6;}
1680  >$cache_file
1681fi
1682
1683# Check that the precious variables saved in the cache have kept the same
1684# value.
1685ac_cache_corrupted=false
1686for ac_var in $ac_precious_vars; do
1687  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1688  eval ac_new_set=\$ac_env_${ac_var}_set
1689  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1690  eval ac_new_val=\$ac_env_${ac_var}_value
1691  case $ac_old_set,$ac_new_set in
1692    set,)
1693      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1694$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1695      ac_cache_corrupted=: ;;
1696    ,set)
1697      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1698$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1699      ac_cache_corrupted=: ;;
1700    ,);;
1701    *)
1702      if test "x$ac_old_val" != "x$ac_new_val"; then
1703        # differences in whitespace do not lead to failure.
1704        ac_old_val_w=`echo x $ac_old_val`
1705        ac_new_val_w=`echo x $ac_new_val`
1706        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1707          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1708$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1709          ac_cache_corrupted=:
1710        else
1711          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1712$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1713          eval $ac_var=\$ac_old_val
1714        fi
1715        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1716$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1717        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1718$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1719      fi;;
1720  esac
1721  # Pass precious variables to config.status.
1722  if test "$ac_new_set" = set; then
1723    case $ac_new_val in
1724    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1725    *) ac_arg=$ac_var=$ac_new_val ;;
1726    esac
1727    case " $ac_configure_args " in
1728      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1729      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1730    esac
1731  fi
1732done
1733if $ac_cache_corrupted; then
1734  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1736  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1737$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1738  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1739fi
1740## -------------------- ##
1741## Main body of script. ##
1742## -------------------- ##
1743
1744ac_ext=c
1745ac_cpp='$CPP $CPPFLAGS'
1746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1748ac_compiler_gnu=$ac_cv_c_compiler_gnu
1749
1750
1751
1752
1753
1754# List one file in the package so that the configure script can test whether
1755# the package is actually there.
1756
1757
1758
1759# Do some generic initialization work.
1760
1761ac_aux_dir=
1762for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1763  if test -f "$ac_dir/install-sh"; then
1764    ac_aux_dir=$ac_dir
1765    ac_install_sh="$ac_aux_dir/install-sh -c"
1766    break
1767  elif test -f "$ac_dir/install.sh"; then
1768    ac_aux_dir=$ac_dir
1769    ac_install_sh="$ac_aux_dir/install.sh -c"
1770    break
1771  elif test -f "$ac_dir/shtool"; then
1772    ac_aux_dir=$ac_dir
1773    ac_install_sh="$ac_aux_dir/shtool install -c"
1774    break
1775  fi
1776done
1777if test -z "$ac_aux_dir"; then
1778  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1779fi
1780
1781# These three variables are undocumented and unsupported,
1782# and are intended to be withdrawn in a future Autoconf release.
1783# They can cause serious problems if a builder's source tree is in a directory
1784# whose full name contains unusual characters.
1785ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1786ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1787ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1788
1789
1790# Make sure we can run config.sub.
1791$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1792  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1793
1794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1795$as_echo_n "checking build system type... " >&6; }
1796if ${ac_cv_build+:} false; then :
1797  $as_echo_n "(cached) " >&6
1798else
1799  ac_build_alias=$build_alias
1800test "x$ac_build_alias" = x &&
1801  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1802test "x$ac_build_alias" = x &&
1803  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1804ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1805  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1806
1807fi
1808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1809$as_echo "$ac_cv_build" >&6; }
1810case $ac_cv_build in
1811*-*-*) ;;
1812*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1813esac
1814build=$ac_cv_build
1815ac_save_IFS=$IFS; IFS='-'
1816set x $ac_cv_build
1817shift
1818build_cpu=$1
1819build_vendor=$2
1820shift; shift
1821# Remember, the first character of IFS is used to create $*,
1822# except with old shells:
1823build_os=$*
1824IFS=$ac_save_IFS
1825case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1826
1827
1828
1829
1830
1831  # Check whether --enable-msvc was given.
1832if test "${enable_msvc+set}" = set; then :
1833  enableval=$enable_msvc; enable_msvc=$enableval
1834else
1835  enable_msvc=no
1836     case $build in
1837       *-mingw* | *-cygwin* | *-msys* )
1838         for ac_prog in gcc clang icl cl
1839do
1840  # Extract the first word of "$ac_prog", so it can be a program name with args.
1841set dummy $ac_prog; ac_word=$2
1842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1843$as_echo_n "checking for $ac_word... " >&6; }
1844if ${ac_cv_prog_CC+:} false; then :
1845  $as_echo_n "(cached) " >&6
1846else
1847  if test -n "$CC"; then
1848  ac_cv_prog_CC="$CC" # Let the user override the test.
1849else
1850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851for as_dir in $PATH
1852do
1853  IFS=$as_save_IFS
1854  test -z "$as_dir" && as_dir=.
1855    for ac_exec_ext in '' $ac_executable_extensions; do
1856  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1857    ac_cv_prog_CC="$ac_prog"
1858    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1859    break 2
1860  fi
1861done
1862  done
1863IFS=$as_save_IFS
1864
1865fi
1866fi
1867CC=$ac_cv_prog_CC
1868if test -n "$CC"; then
1869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1870$as_echo "$CC" >&6; }
1871else
1872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1873$as_echo "no" >&6; }
1874fi
1875
1876
1877  test -n "$CC" && break
1878done
1879
1880         case "$CC" in *cl ) enable_msvc=yes ;; esac
1881       ;;
1882     esac
1883fi
1884
1885
1886
1887  # We want --enable-msvc setup and checked
1888
1889
1890  # Check whether --enable-debug was given.
1891if test "${enable_debug+set}" = set; then :
1892  enableval=$enable_debug; enable_debug=$enableval
1893else
1894  enable_debug=no
1895fi
1896
1897
1898# This macro should run before the compiler checks (doesn't seem to be
1899# sufficient for CFLAGS)
1900
1901
1902
1903
1904
1905
1906# change default compiler flags
1907# - debugging enabled: enable debug symbols (-g/-Z7)
1908# - debugging disabled: disable debug code (-DNDEBUG); enable (more) optimization (-O2)
1909# - enable exceptions for (i)cl
1910
1911  if test "$enable_debug" = yes ; then
1912    if test "$enable_msvc" = yes ; then
1913      : ${FFLAGS:="-nologo -fpp -Z7 -MDd"}
1914      : ${FCFLAGS:="-nologo -fpp -Z7 -MDd"}
1915      : ${CFLAGS:="-nologo -Z7 -MDd"}
1916      : ${CXXFLAGS:="-nologo -EHs -Z7 -MDd"}
1917      : ${AR:="lib"}
1918      : ${AR_FLAGS:="-nologo -out:"}
1919    else
1920      : ${FFLAGS:="-g"}
1921      : ${FCFLAGS:="-g"}
1922      : ${CFLAGS:="-g"}
1923      : ${CXXFLAGS:="-g"}
1924    fi
1925  else
1926    if test "$enable_msvc" = yes ; then
1927      : ${FFLAGS:="-nologo -fpp -O2 -MD"}
1928      : ${FCFLAGS:="-nologo -fpp -O2 -MD"}
1929      : ${CFLAGS:="-nologo -DNDEBUG -O2 -MD"}
1930      : ${CXXFLAGS:="-nologo -EHs -DNDEBUG -O2 -MD"}
1931      : ${AR:="lib"}
1932      : ${AR_FLAGS:="-nologo -out:"}
1933    else
1934      : ${FFLAGS:="-O2"}
1935      : ${FCFLAGS:="-O2"}
1936      : ${CFLAGS:="-O2 -DNDEBUG"}
1937      : ${CXXFLAGS:="-O2 -DNDEBUG"}
1938    fi
1939  fi
1940
1941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1942$as_echo_n "checking host system type... " >&6; }
1943if ${ac_cv_host+:} false; then :
1944  $as_echo_n "(cached) " >&6
1945else
1946  if test "x$host_alias" = x; then
1947  ac_cv_host=$ac_cv_build
1948else
1949  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1950    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1951fi
1952
1953fi
1954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1955$as_echo "$ac_cv_host" >&6; }
1956case $ac_cv_host in
1957*-*-*) ;;
1958*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1959esac
1960host=$ac_cv_host
1961ac_save_IFS=$IFS; IFS='-'
1962set x $ac_cv_host
1963shift
1964host_cpu=$1
1965host_vendor=$2
1966shift; shift
1967# Remember, the first character of IFS is used to create $*,
1968# except with old shells:
1969host_os=$*
1970IFS=$ac_save_IFS
1971case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1972
1973
1974am__api_version='1.16'
1975
1976# Find a good install program.  We prefer a C program (faster),
1977# so one script is as good as another.  But avoid the broken or
1978# incompatible versions:
1979# SysV /etc/install, /usr/sbin/install
1980# SunOS /usr/etc/install
1981# IRIX /sbin/install
1982# AIX /bin/install
1983# AmigaOS /C/install, which installs bootblocks on floppy discs
1984# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1985# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1986# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1987# OS/2's system install, which has a completely different semantic
1988# ./install, which can be erroneously created by make from ./install.sh.
1989# Reject install programs that cannot install multiple files.
1990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1991$as_echo_n "checking for a BSD-compatible install... " >&6; }
1992if test -z "$INSTALL"; then
1993if ${ac_cv_path_install+:} false; then :
1994  $as_echo_n "(cached) " >&6
1995else
1996  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997for as_dir in $PATH
1998do
1999  IFS=$as_save_IFS
2000  test -z "$as_dir" && as_dir=.
2001    # Account for people who put trailing slashes in PATH elements.
2002case $as_dir/ in #((
2003  ./ | .// | /[cC]/* | \
2004  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2005  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2006  /usr/ucb/* ) ;;
2007  *)
2008    # OSF1 and SCO ODT 3.0 have their own names for install.
2009    # Don't use installbsd from OSF since it installs stuff as root
2010    # by default.
2011    for ac_prog in ginstall scoinst install; do
2012      for ac_exec_ext in '' $ac_executable_extensions; do
2013        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2014          if test $ac_prog = install &&
2015            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2016            # AIX install.  It has an incompatible calling convention.
2017            :
2018          elif test $ac_prog = install &&
2019            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2020            # program-specific install script used by HP pwplus--don't use.
2021            :
2022          else
2023            rm -rf conftest.one conftest.two conftest.dir
2024            echo one > conftest.one
2025            echo two > conftest.two
2026            mkdir conftest.dir
2027            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2028              test -s conftest.one && test -s conftest.two &&
2029              test -s conftest.dir/conftest.one &&
2030              test -s conftest.dir/conftest.two
2031            then
2032              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2033              break 3
2034            fi
2035          fi
2036        fi
2037      done
2038    done
2039    ;;
2040esac
2041
2042  done
2043IFS=$as_save_IFS
2044
2045rm -rf conftest.one conftest.two conftest.dir
2046
2047fi
2048  if test "${ac_cv_path_install+set}" = set; then
2049    INSTALL=$ac_cv_path_install
2050  else
2051    # As a last resort, use the slow shell script.  Don't cache a
2052    # value for INSTALL within a source directory, because that will
2053    # break other packages using the cache if that directory is
2054    # removed, or if the value is a relative name.
2055    INSTALL=$ac_install_sh
2056  fi
2057fi
2058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2059$as_echo "$INSTALL" >&6; }
2060
2061# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2062# It thinks the first close brace ends the variable substitution.
2063test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2064
2065test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2066
2067test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2068
2069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2070$as_echo_n "checking whether build environment is sane... " >&6; }
2071# Reject unsafe characters in $srcdir or the absolute working directory
2072# name.  Accept space and tab only in the latter.
2073am_lf='
2074'
2075case `pwd` in
2076  *[\\\"\#\$\&\'\`$am_lf]*)
2077    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2078esac
2079case $srcdir in
2080  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2081    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2082esac
2083
2084# Do 'set' in a subshell so we don't clobber the current shell's
2085# arguments.  Must try -L first in case configure is actually a
2086# symlink; some systems play weird games with the mod time of symlinks
2087# (eg FreeBSD returns the mod time of the symlink's containing
2088# directory).
2089if (
2090   am_has_slept=no
2091   for am_try in 1 2; do
2092     echo "timestamp, slept: $am_has_slept" > conftest.file
2093     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2094     if test "$*" = "X"; then
2095        # -L didn't work.
2096        set X `ls -t "$srcdir/configure" conftest.file`
2097     fi
2098     if test "$*" != "X $srcdir/configure conftest.file" \
2099        && test "$*" != "X conftest.file $srcdir/configure"; then
2100
2101        # If neither matched, then we have a broken ls.  This can happen
2102        # if, for instance, CONFIG_SHELL is bash and it inherits a
2103        # broken ls alias from the environment.  This has actually
2104        # happened.  Such a system could not be considered "sane".
2105        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2106  alias in your environment" "$LINENO" 5
2107     fi
2108     if test "$2" = conftest.file || test $am_try -eq 2; then
2109       break
2110     fi
2111     # Just in case.
2112     sleep 1
2113     am_has_slept=yes
2114   done
2115   test "$2" = conftest.file
2116   )
2117then
2118   # Ok.
2119   :
2120else
2121   as_fn_error $? "newly created file is older than distributed files!
2122Check your system clock" "$LINENO" 5
2123fi
2124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2125$as_echo "yes" >&6; }
2126# If we didn't sleep, we still need to ensure time stamps of config.status and
2127# generated files are strictly newer.
2128am_sleep_pid=
2129if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2130  ( sleep 1 ) &
2131  am_sleep_pid=$!
2132fi
2133
2134rm -f conftest.file
2135
2136test "$program_prefix" != NONE &&
2137  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2138# Use a double $ so make ignores it.
2139test "$program_suffix" != NONE &&
2140  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2141# Double any \ or $.
2142# By default was `s,x,x', remove it if useless.
2143ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2144program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2145
2146# Expand $ac_aux_dir to an absolute path.
2147am_aux_dir=`cd "$ac_aux_dir" && pwd`
2148
2149if test x"${MISSING+set}" != xset; then
2150  case $am_aux_dir in
2151  *\ * | *\     *)
2152    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2153  *)
2154    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2155  esac
2156fi
2157# Use eval to expand $SHELL
2158if eval "$MISSING --is-lightweight"; then
2159  am_missing_run="$MISSING "
2160else
2161  am_missing_run=
2162  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2163$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2164fi
2165
2166if test x"${install_sh+set}" != xset; then
2167  case $am_aux_dir in
2168  *\ * | *\     *)
2169    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2170  *)
2171    install_sh="\${SHELL} $am_aux_dir/install-sh"
2172  esac
2173fi
2174
2175# Installed binaries are usually stripped using 'strip' when the user
2176# run "make install-strip".  However 'strip' might not be the right
2177# tool to use in cross-compilation environments, therefore Automake
2178# will honor the 'STRIP' environment variable to overrule this program.
2179if test "$cross_compiling" != no; then
2180  if test -n "$ac_tool_prefix"; then
2181  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2182set dummy ${ac_tool_prefix}strip; ac_word=$2
2183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2184$as_echo_n "checking for $ac_word... " >&6; }
2185if ${ac_cv_prog_STRIP+:} false; then :
2186  $as_echo_n "(cached) " >&6
2187else
2188  if test -n "$STRIP"; then
2189  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2190else
2191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192for as_dir in $PATH
2193do
2194  IFS=$as_save_IFS
2195  test -z "$as_dir" && as_dir=.
2196    for ac_exec_ext in '' $ac_executable_extensions; do
2197  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2198    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2199    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2200    break 2
2201  fi
2202done
2203  done
2204IFS=$as_save_IFS
2205
2206fi
2207fi
2208STRIP=$ac_cv_prog_STRIP
2209if test -n "$STRIP"; then
2210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2211$as_echo "$STRIP" >&6; }
2212else
2213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2214$as_echo "no" >&6; }
2215fi
2216
2217
2218fi
2219if test -z "$ac_cv_prog_STRIP"; then
2220  ac_ct_STRIP=$STRIP
2221  # Extract the first word of "strip", so it can be a program name with args.
2222set dummy strip; ac_word=$2
2223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224$as_echo_n "checking for $ac_word... " >&6; }
2225if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2226  $as_echo_n "(cached) " >&6
2227else
2228  if test -n "$ac_ct_STRIP"; then
2229  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2230else
2231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232for as_dir in $PATH
2233do
2234  IFS=$as_save_IFS
2235  test -z "$as_dir" && as_dir=.
2236    for ac_exec_ext in '' $ac_executable_extensions; do
2237  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2238    ac_cv_prog_ac_ct_STRIP="strip"
2239    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240    break 2
2241  fi
2242done
2243  done
2244IFS=$as_save_IFS
2245
2246fi
2247fi
2248ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2249if test -n "$ac_ct_STRIP"; then
2250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2251$as_echo "$ac_ct_STRIP" >&6; }
2252else
2253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254$as_echo "no" >&6; }
2255fi
2256
2257  if test "x$ac_ct_STRIP" = x; then
2258    STRIP=":"
2259  else
2260    case $cross_compiling:$ac_tool_warned in
2261yes:)
2262{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2263$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2264ac_tool_warned=yes ;;
2265esac
2266    STRIP=$ac_ct_STRIP
2267  fi
2268else
2269  STRIP="$ac_cv_prog_STRIP"
2270fi
2271
2272fi
2273INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2274
2275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2276$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2277if test -z "$MKDIR_P"; then
2278  if ${ac_cv_path_mkdir+:} false; then :
2279  $as_echo_n "(cached) " >&6
2280else
2281  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2283do
2284  IFS=$as_save_IFS
2285  test -z "$as_dir" && as_dir=.
2286    for ac_prog in mkdir gmkdir; do
2287         for ac_exec_ext in '' $ac_executable_extensions; do
2288           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2289           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2290             'mkdir (GNU coreutils) '* | \
2291             'mkdir (coreutils) '* | \
2292             'mkdir (fileutils) '4.1*)
2293               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2294               break 3;;
2295           esac
2296         done
2297       done
2298  done
2299IFS=$as_save_IFS
2300
2301fi
2302
2303  test -d ./--version && rmdir ./--version
2304  if test "${ac_cv_path_mkdir+set}" = set; then
2305    MKDIR_P="$ac_cv_path_mkdir -p"
2306  else
2307    # As a last resort, use the slow shell script.  Don't cache a
2308    # value for MKDIR_P within a source directory, because that will
2309    # break other packages using the cache if that directory is
2310    # removed, or if the value is a relative name.
2311    MKDIR_P="$ac_install_sh -d"
2312  fi
2313fi
2314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2315$as_echo "$MKDIR_P" >&6; }
2316
2317for ac_prog in gawk mawk nawk awk
2318do
2319  # Extract the first word of "$ac_prog", so it can be a program name with args.
2320set dummy $ac_prog; ac_word=$2
2321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2322$as_echo_n "checking for $ac_word... " >&6; }
2323if ${ac_cv_prog_AWK+:} false; then :
2324  $as_echo_n "(cached) " >&6
2325else
2326  if test -n "$AWK"; then
2327  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2328else
2329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330for as_dir in $PATH
2331do
2332  IFS=$as_save_IFS
2333  test -z "$as_dir" && as_dir=.
2334    for ac_exec_ext in '' $ac_executable_extensions; do
2335  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336    ac_cv_prog_AWK="$ac_prog"
2337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2338    break 2
2339  fi
2340done
2341  done
2342IFS=$as_save_IFS
2343
2344fi
2345fi
2346AWK=$ac_cv_prog_AWK
2347if test -n "$AWK"; then
2348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2349$as_echo "$AWK" >&6; }
2350else
2351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2352$as_echo "no" >&6; }
2353fi
2354
2355
2356  test -n "$AWK" && break
2357done
2358
2359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2360$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2361set x ${MAKE-make}
2362ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2363if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2364  $as_echo_n "(cached) " >&6
2365else
2366  cat >conftest.make <<\_ACEOF
2367SHELL = /bin/sh
2368all:
2369        @echo '@@@%%%=$(MAKE)=@@@%%%'
2370_ACEOF
2371# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2372case `${MAKE-make} -f conftest.make 2>/dev/null` in
2373  *@@@%%%=?*=@@@%%%*)
2374    eval ac_cv_prog_make_${ac_make}_set=yes;;
2375  *)
2376    eval ac_cv_prog_make_${ac_make}_set=no;;
2377esac
2378rm -f conftest.make
2379fi
2380if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2382$as_echo "yes" >&6; }
2383  SET_MAKE=
2384else
2385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2386$as_echo "no" >&6; }
2387  SET_MAKE="MAKE=${MAKE-make}"
2388fi
2389
2390rm -rf .tst 2>/dev/null
2391mkdir .tst 2>/dev/null
2392if test -d .tst; then
2393  am__leading_dot=.
2394else
2395  am__leading_dot=_
2396fi
2397rmdir .tst 2>/dev/null
2398
2399
2400# Enforce the required autoconf version
2401
2402
2403
2404# Set the project's version numbers
2405
2406
2407  # break up package version number in major.minor.release
2408  # AC_PACKAGE_VERSION is defined by AC_INIT
2409
2410
2411
2412
2413  # ac-define AC_PACKAGE_VERSION macros, use 9999 for missing values
2414
2415cat >>confdefs.h <<_ACEOF
2416#define GLPK_VERSION "trunk"
2417_ACEOF
2418
2419
2420cat >>confdefs.h <<_ACEOF
2421#define GLPK_VERSION_MAJOR 9999
2422_ACEOF
2423
2424
2425cat >>confdefs.h <<_ACEOF
2426#define GLPK_VERSION_MINOR 9999
2427_ACEOF
2428
2429
2430cat >>confdefs.h <<_ACEOF
2431#define GLPK_VERSION_RELEASE 9999
2432_ACEOF
2433
2434
2435
2436
2437
2438
2439
2440# A useful makefile conditional that is always false
2441
2442   if false; then
2443  ALWAYS_FALSE_TRUE=
2444  ALWAYS_FALSE_FALSE='#'
2445else
2446  ALWAYS_FALSE_TRUE='#'
2447  ALWAYS_FALSE_FALSE=
2448fi
2449
2450
2451# Change the default compiler flags. This needs to run before
2452# AC_CANONICAL_BUILD.
2453
2454
2455
2456# Get the build and host types
2457
2458
2459
2460
2461# libtool has some magic for host_os and build_os being mingw, but doesn't know about msys
2462
2463  if test $host_os = msys ; then
2464    host_os=mingw
2465    host=`echo $host | sed -e 's/msys/mingw/'`
2466  fi
2467
2468  if test $build_os = msys ; then
2469    build_os=mingw
2470    build=`echo $build | sed -e 's/msys/mingw/'`
2471  fi
2472
2473# Make silent build rules the default (https://www.gnu.org/software/automake/
2474# manual/html_node/Automake-Silent-Rules.html). Run before AM_INIT_AUTOMAKE,
2475# which will AC_REQUIRE it anyway.
2476
2477  # Check whether --enable-silent-rules was given.
2478if test "${enable_silent_rules+set}" = set; then :
2479  enableval=$enable_silent_rules;
2480fi
2481
2482case $enable_silent_rules in # (((
2483  yes) AM_DEFAULT_VERBOSITY=0;;
2484   no) AM_DEFAULT_VERBOSITY=1;;
2485    *) AM_DEFAULT_VERBOSITY=0;;
2486esac
2487am_make=${MAKE-make}
2488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2489$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2490if ${am_cv_make_support_nested_variables+:} false; then :
2491  $as_echo_n "(cached) " >&6
2492else
2493  if $as_echo 'TRUE=$(BAR$(V))
2494BAR0=false
2495BAR1=true
2496V=1
2497am__doit:
2498        @$(TRUE)
2499.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2500  am_cv_make_support_nested_variables=yes
2501else
2502  am_cv_make_support_nested_variables=no
2503fi
2504fi
2505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2506$as_echo "$am_cv_make_support_nested_variables" >&6; }
2507if test $am_cv_make_support_nested_variables = yes; then
2508    AM_V='$(V)'
2509  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2510else
2511  AM_V=$AM_DEFAULT_VERBOSITY
2512  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2513fi
2514AM_BACKSLASH='\'
2515
2516
2517# Initialize automake
2518# - don't AC_DEFINE PACKAGE or VERSION (but there're still defined as shell
2519#   variables in configure, and as make variables).
2520# - disable dist target
2521# - enable all automake warnings
2522
2523  if test "`cd $srcdir && pwd`" != "`pwd`"; then
2524  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2525  # is not polluted with repeated "-I."
2526  am__isrc=' -I$(srcdir)'
2527  # test to see if srcdir already configured
2528  if test -f $srcdir/config.status; then
2529    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2530  fi
2531fi
2532
2533# test whether we have cygpath
2534if test -z "$CYGPATH_W"; then
2535  if (cygpath --version) >/dev/null 2>/dev/null; then
2536    CYGPATH_W='cygpath -w'
2537  else
2538    CYGPATH_W=echo
2539  fi
2540fi
2541
2542
2543# Define the identity of the package.
2544 PACKAGE='thirdpartyglpk'
2545 VERSION='trunk'
2546
2547
2548# Some tools Automake needs.
2549
2550ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2551
2552
2553AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2554
2555
2556AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2557
2558
2559AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2560
2561
2562MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2563
2564# For better backward compatibility.  To be removed once Automake 1.9.x
2565# dies out for good.  For more background, see:
2566# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2567# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2568mkdir_p='$(MKDIR_P)'
2569
2570# We need awk for the "check" target (and possibly the TAP driver).  The
2571# system "awk" is bad on some platforms.
2572# Always define AMTAR for backward compatibility.  Yes, it's still used
2573# in the wild :-(  We should find a proper way to deprecate it ...
2574AMTAR='$${TAR-tar}'
2575
2576
2577# We'll loop over all known methods to create a tar archive until one works.
2578_am_tools='gnutar  pax cpio none'
2579
2580am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2581
2582
2583
2584
2585
2586
2587# POSIX will say in a future version that running "rm -f" with no argument
2588# is OK; and we want to be able to make that assumption in our Makefile
2589# recipes.  So use an aggressive probe to check that the usage we want is
2590# actually supported "in the wild" to an acceptable degree.
2591# See automake bug#10828.
2592# To make any issue more visible, cause the running configure to be aborted
2593# by default if the 'rm' program in use doesn't match our expectations; the
2594# user can still override this though.
2595if rm -f && rm -fr && rm -rf; then : OK; else
2596  cat >&2 <<'END'
2597Oops!
2598
2599Your 'rm' program seems unable to run without file operands specified
2600on the command line, even when the '-f' option is present.  This is contrary
2601to the behaviour of most rm programs out there, and not conforming with
2602the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2603
2604Please tell bug-automake@gnu.org about your system, including the value
2605of your $PATH and any error possibly output before this message.  This
2606can help us improve future automake versions.
2607
2608END
2609  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2610    echo 'Configuration will proceed anyway, since you have set the' >&2
2611    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2612    echo >&2
2613  else
2614    cat >&2 <<'END'
2615Aborting the configuration process, to ensure you take notice of the issue.
2616
2617You can download and install GNU coreutils to get an 'rm' implementation
2618that behaves properly: <https://www.gnu.org/software/coreutils/>.
2619
2620If you want to complete the configuration process using your problematic
2621'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2622to "yes", and re-run configure.
2623
2624END
2625    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2626  fi
2627fi
2628
2629
2630# Disable automatic rebuild of configure/Makefile. Use run_autotools.
2631
2632
2633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2634$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2635    # Check whether --enable-maintainer-mode was given.
2636if test "${enable_maintainer_mode+set}" = set; then :
2637  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2638else
2639  USE_MAINTAINER_MODE=no
2640fi
2641
2642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2643$as_echo "$USE_MAINTAINER_MODE" >&6; }
2644   if test $USE_MAINTAINER_MODE = yes; then
2645  MAINTAINER_MODE_TRUE=
2646  MAINTAINER_MODE_FALSE='#'
2647else
2648  MAINTAINER_MODE_TRUE='#'
2649  MAINTAINER_MODE_FALSE=
2650fi
2651
2652  MAINT=$MAINTAINER_MODE_TRUE
2653
2654
2655
2656# Figure out the path where libraries are installed.
2657# Unless the user specifies --prefix, prefix is set to NONE until the
2658# end of configuration, at which point it will be set to $ac_default_prefix.
2659# Unless the user specifies --exec-prefix, exec-prefix is set to NONE until
2660# the end of configuration, at which point it's set to '${prefix}'.
2661# Sheesh.  So do the expansion, then back it out.
2662  save_prefix=$prefix
2663  save_exec_prefix=$exec_prefix
2664  if test "x$prefix" = xNONE ; then
2665    prefix=$ac_default_prefix
2666  fi
2667  if test "x$exec_prefix" = xNONE ; then
2668    exec_prefix=$prefix
2669  fi
2670  expanded_libdir=$libdir
2671  while expr "$expanded_libdir" : '.*$.*' >/dev/null 2>&1 ; do
2672    eval expanded_libdir=$expanded_libdir
2673  done
2674  prefix=$save_prefix
2675  exec_prefix=$save_exec_prefix
2676
2677
2678#############################################################################
2679#                         Standard build tool stuff                         #
2680#############################################################################
2681
2682# Make it appear as if --includedir was part of the command line, so that
2683# glpk's install will put glpk.h in the proper place. Suppress reentrancy.
2684
2685ac_configure_args="$ac_configure_args --includedir=\\\${prefix}/include/coin-or/glpk"
2686ac_configure_args="$ac_configure_args --enable-reentrant=no"
2687
2688# Invoke glpk's native configuration
2689
2690
2691
2692subdirs="$subdirs glpk"
2693
2694
2695# Finish up
2696
2697ac_config_files="$ac_config_files Makefile coinglpk.pc"
2698
2699
2700
2701  cat >confcache <<\_ACEOF
2702# This file is a shell script that caches the results of configure
2703# tests run on this system so they can be shared between configure
2704# scripts and configure runs, see configure's option --config-cache.
2705# It is not useful on other systems.  If it contains results you don't
2706# want to keep, you may remove or edit it.
2707#
2708# config.status only pays attention to the cache file if you give it
2709# the --recheck option to rerun configure.
2710#
2711# `ac_cv_env_foo' variables (set or unset) will be overridden when
2712# loading this file, other *unset* `ac_cv_foo' will be assigned the
2713# following values.
2714
2715_ACEOF
2716
2717# The following way of writing the cache mishandles newlines in values,
2718# but we know of no workaround that is simple, portable, and efficient.
2719# So, we kill variables containing newlines.
2720# Ultrix sh set writes to stderr and can't be redirected directly,
2721# and sets the high bit in the cache file unless we assign to the vars.
2722(
2723  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2724    eval ac_val=\$$ac_var
2725    case $ac_val in #(
2726    *${as_nl}*)
2727      case $ac_var in #(
2728      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2729$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2730      esac
2731      case $ac_var in #(
2732      _ | IFS | as_nl) ;; #(
2733      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2734      *) { eval $ac_var=; unset $ac_var;} ;;
2735      esac ;;
2736    esac
2737  done
2738
2739  (set) 2>&1 |
2740    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2741    *${as_nl}ac_space=\ *)
2742      # `set' does not quote correctly, so add quotes: double-quote
2743      # substitution turns \\\\ into \\, and sed turns \\ into \.
2744      sed -n \
2745        "s/'/'\\\\''/g;
2746          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2747      ;; #(
2748    *)
2749      # `set' quotes correctly as required by POSIX, so do not add quotes.
2750      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2751      ;;
2752    esac |
2753    sort
2754) |
2755  sed '
2756     /^ac_cv_env_/b end
2757     t clear
2758     :clear
2759     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2760     t end
2761     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2762     :end' >>confcache
2763if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2764  if test -w "$cache_file"; then
2765    if test "x$cache_file" != "x/dev/null"; then
2766      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2767$as_echo "$as_me: updating cache $cache_file" >&6;}
2768      if test ! -f "$cache_file" || test -h "$cache_file"; then
2769        cat confcache >"$cache_file"
2770      else
2771        case $cache_file in #(
2772        */* | ?:*)
2773          mv -f confcache "$cache_file"$$ &&
2774          mv -f "$cache_file"$$ "$cache_file" ;; #(
2775        *)
2776          mv -f confcache "$cache_file" ;;
2777        esac
2778      fi
2779    fi
2780  else
2781    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2782$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2783  fi
2784fi
2785rm -f confcache
2786
2787test "x$prefix" = xNONE && prefix=$ac_default_prefix
2788# Let make expand exec_prefix.
2789test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2790
2791# Transform confdefs.h into DEFS.
2792# Protect against shell expansion while executing Makefile rules.
2793# Protect against Makefile macro expansion.
2794#
2795# If the first sed substitution is executed (which looks for macros that
2796# take arguments), then branch to the quote section.  Otherwise,
2797# look for a macro that doesn't take arguments.
2798ac_script='
2799:mline
2800/\\$/{
2801 N
2802 s,\\\n,,
2803 b mline
2804}
2805t clear
2806:clear
2807s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2808t quote
2809s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2810t quote
2811b any
2812:quote
2813s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2814s/\[/\\&/g
2815s/\]/\\&/g
2816s/\$/$$/g
2817H
2818:any
2819${
2820        g
2821        s/^\n//
2822        s/\n/ /g
2823        p
2824}
2825'
2826DEFS=`sed -n "$ac_script" confdefs.h`
2827
2828
2829ac_libobjs=
2830ac_ltlibobjs=
2831U=
2832for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2833  # 1. Remove the extension, and $U if already installed.
2834  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2835  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2836  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2837  #    will be set to the directory where LIBOBJS objects are built.
2838  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2839  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2840done
2841LIBOBJS=$ac_libobjs
2842
2843LTLIBOBJS=$ac_ltlibobjs
2844
2845
2846if test -z "${ALWAYS_FALSE_TRUE}" && test -z "${ALWAYS_FALSE_FALSE}"; then
2847  as_fn_error $? "conditional \"ALWAYS_FALSE\" was never defined.
2848Usually this means the macro was only invoked conditionally." "$LINENO" 5
2849fi
2850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2851$as_echo_n "checking that generated files are newer than configure... " >&6; }
2852   if test -n "$am_sleep_pid"; then
2853     # Hide warnings about reused PIDs.
2854     wait $am_sleep_pid 2>/dev/null
2855   fi
2856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2857$as_echo "done" >&6; }
2858
2859if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2860  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2861Usually this means the macro was only invoked conditionally." "$LINENO" 5
2862fi
2863
2864: "${CONFIG_STATUS=./config.status}"
2865ac_write_fail=0
2866ac_clean_files_save=$ac_clean_files
2867ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2868{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2869$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2870as_write_fail=0
2871cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2872#! $SHELL
2873# Generated by $as_me.
2874# Run this file to recreate the current configuration.
2875# Compiler output produced by configure, useful for debugging
2876# configure, is in config.log if it exists.
2877
2878debug=false
2879ac_cs_recheck=false
2880ac_cs_silent=false
2881
2882SHELL=\${CONFIG_SHELL-$SHELL}
2883export SHELL
2884_ASEOF
2885cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2886## -------------------- ##
2887## M4sh Initialization. ##
2888## -------------------- ##
2889
2890# Be more Bourne compatible
2891DUALCASE=1; export DUALCASE # for MKS sh
2892if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2893  emulate sh
2894  NULLCMD=:
2895  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2896  # is contrary to our usage.  Disable this feature.
2897  alias -g '${1+"$@"}'='"$@"'
2898  setopt NO_GLOB_SUBST
2899else
2900  case `(set -o) 2>/dev/null` in #(
2901  *posix*) :
2902    set -o posix ;; #(
2903  *) :
2904     ;;
2905esac
2906fi
2907
2908
2909as_nl='
2910'
2911export as_nl
2912# Printing a long string crashes Solaris 7 /usr/bin/printf.
2913as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2914as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2915as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2916# Prefer a ksh shell builtin over an external printf program on Solaris,
2917# but without wasting forks for bash or zsh.
2918if test -z "$BASH_VERSION$ZSH_VERSION" \
2919    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2920  as_echo='print -r --'
2921  as_echo_n='print -rn --'
2922elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2923  as_echo='printf %s\n'
2924  as_echo_n='printf %s'
2925else
2926  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2927    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2928    as_echo_n='/usr/ucb/echo -n'
2929  else
2930    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2931    as_echo_n_body='eval
2932      arg=$1;
2933      case $arg in #(
2934      *"$as_nl"*)
2935        expr "X$arg" : "X\\(.*\\)$as_nl";
2936        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2937      esac;
2938      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2939    '
2940    export as_echo_n_body
2941    as_echo_n='sh -c $as_echo_n_body as_echo'
2942  fi
2943  export as_echo_body
2944  as_echo='sh -c $as_echo_body as_echo'
2945fi
2946
2947# The user is always right.
2948if test "${PATH_SEPARATOR+set}" != set; then
2949  PATH_SEPARATOR=:
2950  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2951    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2952      PATH_SEPARATOR=';'
2953  }
2954fi
2955
2956
2957# IFS
2958# We need space, tab and new line, in precisely that order.  Quoting is
2959# there to prevent editors from complaining about space-tab.
2960# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2961# splitting by setting IFS to empty value.)
2962IFS=" ""        $as_nl"
2963
2964# Find who we are.  Look in the path if we contain no directory separator.
2965as_myself=
2966case $0 in #((
2967  *[\\/]* ) as_myself=$0 ;;
2968  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969for as_dir in $PATH
2970do
2971  IFS=$as_save_IFS
2972  test -z "$as_dir" && as_dir=.
2973    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2974  done
2975IFS=$as_save_IFS
2976
2977     ;;
2978esac
2979# We did not find ourselves, most probably we were run as `sh COMMAND'
2980# in which case we are not to be found in the path.
2981if test "x$as_myself" = x; then
2982  as_myself=$0
2983fi
2984if test ! -f "$as_myself"; then
2985  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2986  exit 1
2987fi
2988
2989# Unset variables that we do not need and which cause bugs (e.g. in
2990# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2991# suppresses any "Segmentation fault" message there.  '((' could
2992# trigger a bug in pdksh 5.2.14.
2993for as_var in BASH_ENV ENV MAIL MAILPATH
2994do eval test x\${$as_var+set} = xset \
2995  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2996done
2997PS1='$ '
2998PS2='> '
2999PS4='+ '
3000
3001# NLS nuisances.
3002LC_ALL=C
3003export LC_ALL
3004LANGUAGE=C
3005export LANGUAGE
3006
3007# CDPATH.
3008(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3009
3010
3011# as_fn_error STATUS ERROR [LINENO LOG_FD]
3012# ----------------------------------------
3013# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3014# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3015# script with STATUS, using 1 if that was 0.
3016as_fn_error ()
3017{
3018  as_status=$1; test $as_status -eq 0 && as_status=1
3019  if test "$4"; then
3020    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3022  fi
3023  $as_echo "$as_me: error: $2" >&2
3024  as_fn_exit $as_status
3025} # as_fn_error
3026
3027
3028# as_fn_set_status STATUS
3029# -----------------------
3030# Set $? to STATUS, without forking.
3031as_fn_set_status ()
3032{
3033  return $1
3034} # as_fn_set_status
3035
3036# as_fn_exit STATUS
3037# -----------------
3038# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3039as_fn_exit ()
3040{
3041  set +e
3042  as_fn_set_status $1
3043  exit $1
3044} # as_fn_exit
3045
3046# as_fn_unset VAR
3047# ---------------
3048# Portably unset VAR.
3049as_fn_unset ()
3050{
3051  { eval $1=; unset $1;}
3052}
3053as_unset=as_fn_unset
3054# as_fn_append VAR VALUE
3055# ----------------------
3056# Append the text in VALUE to the end of the definition contained in VAR. Take
3057# advantage of any shell optimizations that allow amortized linear growth over
3058# repeated appends, instead of the typical quadratic growth present in naive
3059# implementations.
3060if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3061  eval 'as_fn_append ()
3062  {
3063    eval $1+=\$2
3064  }'
3065else
3066  as_fn_append ()
3067  {
3068    eval $1=\$$1\$2
3069  }
3070fi # as_fn_append
3071
3072# as_fn_arith ARG...
3073# ------------------
3074# Perform arithmetic evaluation on the ARGs, and store the result in the
3075# global $as_val. Take advantage of shells that can avoid forks. The arguments
3076# must be portable across $(()) and expr.
3077if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3078  eval 'as_fn_arith ()
3079  {
3080    as_val=$(( $* ))
3081  }'
3082else
3083  as_fn_arith ()
3084  {
3085    as_val=`expr "$@" || test $? -eq 1`
3086  }
3087fi # as_fn_arith
3088
3089
3090if expr a : '\(a\)' >/dev/null 2>&1 &&
3091   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3092  as_expr=expr
3093else
3094  as_expr=false
3095fi
3096
3097if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3098  as_basename=basename
3099else
3100  as_basename=false
3101fi
3102
3103if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3104  as_dirname=dirname
3105else
3106  as_dirname=false
3107fi
3108
3109as_me=`$as_basename -- "$0" ||
3110$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3111         X"$0" : 'X\(//\)$' \| \
3112         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3113$as_echo X/"$0" |
3114    sed '/^.*\/\([^/][^/]*\)\/*$/{
3115            s//\1/
3116            q
3117          }
3118          /^X\/\(\/\/\)$/{
3119            s//\1/
3120            q
3121          }
3122          /^X\/\(\/\).*/{
3123            s//\1/
3124            q
3125          }
3126          s/.*/./; q'`
3127
3128# Avoid depending upon Character Ranges.
3129as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3130as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3131as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3132as_cr_digits='0123456789'
3133as_cr_alnum=$as_cr_Letters$as_cr_digits
3134
3135ECHO_C= ECHO_N= ECHO_T=
3136case `echo -n x` in #(((((
3137-n*)
3138  case `echo 'xy\c'` in
3139  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3140  xy)  ECHO_C='\c';;
3141  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3142       ECHO_T=' ';;
3143  esac;;
3144*)
3145  ECHO_N='-n';;
3146esac
3147
3148rm -f conf$$ conf$$.exe conf$$.file
3149if test -d conf$$.dir; then
3150  rm -f conf$$.dir/conf$$.file
3151else
3152  rm -f conf$$.dir
3153  mkdir conf$$.dir 2>/dev/null
3154fi
3155if (echo >conf$$.file) 2>/dev/null; then
3156  if ln -s conf$$.file conf$$ 2>/dev/null; then
3157    as_ln_s='ln -s'
3158    # ... but there are two gotchas:
3159    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3160    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3161    # In both cases, we have to default to `cp -pR'.
3162    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3163      as_ln_s='cp -pR'
3164  elif ln conf$$.file conf$$ 2>/dev/null; then
3165    as_ln_s=ln
3166  else
3167    as_ln_s='cp -pR'
3168  fi
3169else
3170  as_ln_s='cp -pR'
3171fi
3172rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3173rmdir conf$$.dir 2>/dev/null
3174
3175
3176# as_fn_mkdir_p
3177# -------------
3178# Create "$as_dir" as a directory, including parents if necessary.
3179as_fn_mkdir_p ()
3180{
3181
3182  case $as_dir in #(
3183  -*) as_dir=./$as_dir;;
3184  esac
3185  test -d "$as_dir" || eval $as_mkdir_p || {
3186    as_dirs=
3187    while :; do
3188      case $as_dir in #(
3189      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3190      *) as_qdir=$as_dir;;
3191      esac
3192      as_dirs="'$as_qdir' $as_dirs"
3193      as_dir=`$as_dirname -- "$as_dir" ||
3194$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3195         X"$as_dir" : 'X\(//\)[^/]' \| \
3196         X"$as_dir" : 'X\(//\)$' \| \
3197         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3198$as_echo X"$as_dir" |
3199    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3200            s//\1/
3201            q
3202          }
3203          /^X\(\/\/\)[^/].*/{
3204            s//\1/
3205            q
3206          }
3207          /^X\(\/\/\)$/{
3208            s//\1/
3209            q
3210          }
3211          /^X\(\/\).*/{
3212            s//\1/
3213            q
3214          }
3215          s/.*/./; q'`
3216      test -d "$as_dir" && break
3217    done
3218    test -z "$as_dirs" || eval "mkdir $as_dirs"
3219  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3220
3221
3222} # as_fn_mkdir_p
3223if mkdir -p . 2>/dev/null; then
3224  as_mkdir_p='mkdir -p "$as_dir"'
3225else
3226  test -d ./-p && rmdir ./-p
3227  as_mkdir_p=false
3228fi
3229
3230
3231# as_fn_executable_p FILE
3232# -----------------------
3233# Test if FILE is an executable regular file.
3234as_fn_executable_p ()
3235{
3236  test -f "$1" && test -x "$1"
3237} # as_fn_executable_p
3238as_test_x='test -x'
3239as_executable_p=as_fn_executable_p
3240
3241# Sed expression to map a string onto a valid CPP name.
3242as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3243
3244# Sed expression to map a string onto a valid variable name.
3245as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3246
3247
3248exec 6>&1
3249## ----------------------------------- ##
3250## Main body of $CONFIG_STATUS script. ##
3251## ----------------------------------- ##
3252_ASEOF
3253test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3254
3255cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3256# Save the log message, to keep $0 and so on meaningful, and to
3257# report actual input values of CONFIG_FILES etc. instead of their
3258# values after options handling.
3259ac_log="
3260This file was extended by ThirdPartyGlpk $as_me trunk, which was
3261generated by GNU Autoconf 2.69.  Invocation command line was
3262
3263  CONFIG_FILES    = $CONFIG_FILES
3264  CONFIG_HEADERS  = $CONFIG_HEADERS
3265  CONFIG_LINKS    = $CONFIG_LINKS
3266  CONFIG_COMMANDS = $CONFIG_COMMANDS
3267  $ $0 $@
3268
3269on `(hostname || uname -n) 2>/dev/null | sed 1q`
3270"
3271
3272_ACEOF
3273
3274case $ac_config_files in *"
3275"*) set x $ac_config_files; shift; ac_config_files=$*;;
3276esac
3277
3278
3279
3280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3281# Files that config.status was made for.
3282config_files="$ac_config_files"
3283
3284_ACEOF
3285
3286cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3287ac_cs_usage="\
3288\`$as_me' instantiates files and other configuration actions
3289from templates according to the current configuration.  Unless the files
3290and actions are specified as TAGs, all are instantiated by default.
3291
3292Usage: $0 [OPTION]... [TAG]...
3293
3294  -h, --help       print this help, then exit
3295  -V, --version    print version number and configuration settings, then exit
3296      --config     print configuration, then exit
3297  -q, --quiet, --silent
3298                   do not print progress messages
3299  -d, --debug      don't remove temporary files
3300      --recheck    update $as_me by reconfiguring in the same conditions
3301      --file=FILE[:TEMPLATE]
3302                   instantiate the configuration file FILE
3303
3304Configuration files:
3305$config_files
3306
3307Report bugs to <http://projects.coin-or.org/BuildTools/newticket>.
3308ThirdPartyGlpk home page: <http://projects.coin-or.org/BuildTools/browser/ThirdParty/Glpk>."
3309
3310_ACEOF
3311cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3312ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3313ac_cs_version="\\
3314ThirdPartyGlpk config.status trunk
3315configured by $0, generated by GNU Autoconf 2.69,
3316  with options \\"\$ac_cs_config\\"
3317
3318Copyright (C) 2012 Free Software Foundation, Inc.
3319This config.status script is free software; the Free Software Foundation
3320gives unlimited permission to copy, distribute and modify it."
3321
3322ac_pwd='$ac_pwd'
3323srcdir='$srcdir'
3324INSTALL='$INSTALL'
3325MKDIR_P='$MKDIR_P'
3326AWK='$AWK'
3327test -n "\$AWK" || AWK=awk
3328_ACEOF
3329
3330cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3331# The default lists apply if the user does not specify any file.
3332ac_need_defaults=:
3333while test $# != 0
3334do
3335  case $1 in
3336  --*=?*)
3337    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3338    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3339    ac_shift=:
3340    ;;
3341  --*=)
3342    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3343    ac_optarg=
3344    ac_shift=:
3345    ;;
3346  *)
3347    ac_option=$1
3348    ac_optarg=$2
3349    ac_shift=shift
3350    ;;
3351  esac
3352
3353  case $ac_option in
3354  # Handling of the options.
3355  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3356    ac_cs_recheck=: ;;
3357  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3358    $as_echo "$ac_cs_version"; exit ;;
3359  --config | --confi | --conf | --con | --co | --c )
3360    $as_echo "$ac_cs_config"; exit ;;
3361  --debug | --debu | --deb | --de | --d | -d )
3362    debug=: ;;
3363  --file | --fil | --fi | --f )
3364    $ac_shift
3365    case $ac_optarg in
3366    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3367    '') as_fn_error $? "missing file argument" ;;
3368    esac
3369    as_fn_append CONFIG_FILES " '$ac_optarg'"
3370    ac_need_defaults=false;;
3371  --he | --h |  --help | --hel | -h )
3372    $as_echo "$ac_cs_usage"; exit ;;
3373  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3374  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3375    ac_cs_silent=: ;;
3376
3377  # This is an error.
3378  -*) as_fn_error $? "unrecognized option: \`$1'
3379Try \`$0 --help' for more information." ;;
3380
3381  *) as_fn_append ac_config_targets " $1"
3382     ac_need_defaults=false ;;
3383
3384  esac
3385  shift
3386done
3387
3388ac_configure_extra_args=
3389
3390if $ac_cs_silent; then
3391  exec 6>/dev/null
3392  ac_configure_extra_args="$ac_configure_extra_args --silent"
3393fi
3394
3395_ACEOF
3396cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3397if \$ac_cs_recheck; then
3398  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3399  shift
3400  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3401  CONFIG_SHELL='$SHELL'
3402  export CONFIG_SHELL
3403  exec "\$@"
3404fi
3405
3406_ACEOF
3407cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3408exec 5>>config.log
3409{
3410  echo
3411  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3412## Running $as_me. ##
3413_ASBOX
3414  $as_echo "$ac_log"
3415} >&5
3416
3417_ACEOF
3418cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3419_ACEOF
3420
3421cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3422
3423# Handling of arguments.
3424for ac_config_target in $ac_config_targets
3425do
3426  case $ac_config_target in
3427    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3428    "coinglpk.pc") CONFIG_FILES="$CONFIG_FILES coinglpk.pc" ;;
3429
3430  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3431  esac
3432done
3433
3434
3435# If the user did not use the arguments to specify the items to instantiate,
3436# then the envvar interface is used.  Set only those that are not.
3437# We use the long form for the default assignment because of an extremely
3438# bizarre bug on SunOS 4.1.3.
3439if $ac_need_defaults; then
3440  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3441fi
3442
3443# Have a temporary directory for convenience.  Make it in the build tree
3444# simply because there is no reason against having it here, and in addition,
3445# creating and moving files from /tmp can sometimes cause problems.
3446# Hook for its removal unless debugging.
3447# Note that there is a small window in which the directory will not be cleaned:
3448# after its creation but before its name has been assigned to `$tmp'.
3449$debug ||
3450{
3451  tmp= ac_tmp=
3452  trap 'exit_status=$?
3453  : "${ac_tmp:=$tmp}"
3454  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3455' 0
3456  trap 'as_fn_exit 1' 1 2 13 15
3457}
3458# Create a (secure) tmp directory for tmp files.
3459
3460{
3461  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3462  test -d "$tmp"
3463}  ||
3464{
3465  tmp=./conf$$-$RANDOM
3466  (umask 077 && mkdir "$tmp")
3467} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3468ac_tmp=$tmp
3469
3470# Set up the scripts for CONFIG_FILES section.
3471# No need to generate them if there are no CONFIG_FILES.
3472# This happens for instance with `./config.status config.h'.
3473if test -n "$CONFIG_FILES"; then
3474
3475
3476ac_cr=`echo X | tr X '\015'`
3477# On cygwin, bash can eat \r inside `` if the user requested igncr.
3478# But we know of no other shell where ac_cr would be empty at this
3479# point, so we can use a bashism as a fallback.
3480if test "x$ac_cr" = x; then
3481  eval ac_cr=\$\'\\r\'
3482fi
3483ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3484if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3485  ac_cs_awk_cr='\\r'
3486else
3487  ac_cs_awk_cr=$ac_cr
3488fi
3489
3490echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3491_ACEOF
3492
3493
3494{
3495  echo "cat >conf$$subs.awk <<_ACEOF" &&
3496  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3497  echo "_ACEOF"
3498} >conf$$subs.sh ||
3499  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3500ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3501ac_delim='%!_!# '
3502for ac_last_try in false false false false false :; do
3503  . ./conf$$subs.sh ||
3504    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3505
3506  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3507  if test $ac_delim_n = $ac_delim_num; then
3508    break
3509  elif $ac_last_try; then
3510    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3511  else
3512    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3513  fi
3514done
3515rm -f conf$$subs.sh
3516
3517cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3518cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3519_ACEOF
3520sed -n '
3521h
3522s/^/S["/; s/!.*/"]=/
3523p
3524g
3525s/^[^!]*!//
3526:repl
3527t repl
3528s/'"$ac_delim"'$//
3529t delim
3530:nl
3531h
3532s/\(.\{148\}\)..*/\1/
3533t more1
3534s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3535p
3536n
3537b repl
3538:more1
3539s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3540p
3541g
3542s/.\{148\}//
3543t nl
3544:delim
3545h
3546s/\(.\{148\}\)..*/\1/
3547t more2
3548s/["\\]/\\&/g; s/^/"/; s/$/"/
3549p
3550b
3551:more2
3552s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3553p
3554g
3555s/.\{148\}//
3556t delim
3557' <conf$$subs.awk | sed '
3558/^[^""]/{
3559  N
3560  s/\n//
3561}
3562' >>$CONFIG_STATUS || ac_write_fail=1
3563rm -f conf$$subs.awk
3564cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3565_ACAWK
3566cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3567  for (key in S) S_is_set[key] = 1
3568  FS = ""
3569
3570}
3571{
3572  line = $ 0
3573  nfields = split(line, field, "@")
3574  substed = 0
3575  len = length(field[1])
3576  for (i = 2; i < nfields; i++) {
3577    key = field[i]
3578    keylen = length(key)
3579    if (S_is_set[key]) {
3580      value = S[key]
3581      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3582      len += length(value) + length(field[++i])
3583      substed = 1
3584    } else
3585      len += 1 + keylen
3586  }
3587
3588  print line
3589}
3590
3591_ACAWK
3592_ACEOF
3593cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3594if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3595  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3596else
3597  cat
3598fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3599  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3600_ACEOF
3601
3602# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3603# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3604# trailing colons and then remove the whole line if VPATH becomes empty
3605# (actually we leave an empty line to preserve line numbers).
3606if test "x$srcdir" = x.; then
3607  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
3608h
3609s///
3610s/^/:/
3611s/[      ]*$/:/
3612s/:\$(srcdir):/:/g
3613s/:\${srcdir}:/:/g
3614s/:@srcdir@:/:/g
3615s/^:*//
3616s/:*$//
3617x
3618s/\(=[   ]*\).*/\1/
3619G
3620s/\n//
3621s/^[^=]*=[       ]*$//
3622}'
3623fi
3624
3625cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3626fi # test -n "$CONFIG_FILES"
3627
3628
3629eval set X "  :F $CONFIG_FILES      "
3630shift
3631for ac_tag
3632do
3633  case $ac_tag in
3634  :[FHLC]) ac_mode=$ac_tag; continue;;
3635  esac
3636  case $ac_mode$ac_tag in
3637  :[FHL]*:*);;
3638  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3639  :[FH]-) ac_tag=-:-;;
3640  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3641  esac
3642  ac_save_IFS=$IFS
3643  IFS=:
3644  set x $ac_tag
3645  IFS=$ac_save_IFS
3646  shift
3647  ac_file=$1
3648  shift
3649
3650  case $ac_mode in
3651  :L) ac_source=$1;;
3652  :[FH])
3653    ac_file_inputs=
3654    for ac_f
3655    do
3656      case $ac_f in
3657      -) ac_f="$ac_tmp/stdin";;
3658      *) # Look for the file first in the build tree, then in the source tree
3659         # (if the path is not absolute).  The absolute path cannot be DOS-style,
3660         # because $ac_f cannot contain `:'.
3661         test -f "$ac_f" ||
3662           case $ac_f in
3663           [\\/$]*) false;;
3664           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3665           esac ||
3666           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3667      esac
3668      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3669      as_fn_append ac_file_inputs " '$ac_f'"
3670    done
3671
3672    # Let's still pretend it is `configure' which instantiates (i.e., don't
3673    # use $as_me), people would be surprised to read:
3674    #    /* config.h.  Generated by config.status.  */
3675    configure_input='Generated from '`
3676          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3677        `' by configure.'
3678    if test x"$ac_file" != x-; then
3679      configure_input="$ac_file.  $configure_input"
3680      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3681$as_echo "$as_me: creating $ac_file" >&6;}
3682    fi
3683    # Neutralize special characters interpreted by sed in replacement strings.
3684    case $configure_input in #(
3685    *\&* | *\|* | *\\* )
3686       ac_sed_conf_input=`$as_echo "$configure_input" |
3687       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3688    *) ac_sed_conf_input=$configure_input;;
3689    esac
3690
3691    case $ac_tag in
3692    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3693      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3694    esac
3695    ;;
3696  esac
3697
3698  ac_dir=`$as_dirname -- "$ac_file" ||
3699$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3700         X"$ac_file" : 'X\(//\)[^/]' \| \
3701         X"$ac_file" : 'X\(//\)$' \| \
3702         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3703$as_echo X"$ac_file" |
3704    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3705            s//\1/
3706            q
3707          }
3708          /^X\(\/\/\)[^/].*/{
3709            s//\1/
3710            q
3711          }
3712          /^X\(\/\/\)$/{
3713            s//\1/
3714            q
3715          }
3716          /^X\(\/\).*/{
3717            s//\1/
3718            q
3719          }
3720          s/.*/./; q'`
3721  as_dir="$ac_dir"; as_fn_mkdir_p
3722  ac_builddir=.
3723
3724case "$ac_dir" in
3725.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3726*)
3727  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3728  # A ".." for each directory in $ac_dir_suffix.
3729  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3730  case $ac_top_builddir_sub in
3731  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3732  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3733  esac ;;
3734esac
3735ac_abs_top_builddir=$ac_pwd
3736ac_abs_builddir=$ac_pwd$ac_dir_suffix
3737# for backward compatibility:
3738ac_top_builddir=$ac_top_build_prefix
3739
3740case $srcdir in
3741  .)  # We are building in place.
3742    ac_srcdir=.
3743    ac_top_srcdir=$ac_top_builddir_sub
3744    ac_abs_top_srcdir=$ac_pwd ;;
3745  [\\/]* | ?:[\\/]* )  # Absolute name.
3746    ac_srcdir=$srcdir$ac_dir_suffix;
3747    ac_top_srcdir=$srcdir
3748    ac_abs_top_srcdir=$srcdir ;;
3749  *) # Relative name.
3750    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3751    ac_top_srcdir=$ac_top_build_prefix$srcdir
3752    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3753esac
3754ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3755
3756
3757  case $ac_mode in
3758  :F)
3759  #
3760  # CONFIG_FILE
3761  #
3762
3763  case $INSTALL in
3764  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3765  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3766  esac
3767  ac_MKDIR_P=$MKDIR_P
3768  case $MKDIR_P in
3769  [\\/$]* | ?:[\\/]* ) ;;
3770  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3771  esac
3772_ACEOF
3773
3774cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3775# If the template does not know about datarootdir, expand it.
3776# FIXME: This hack should be removed a few years after 2.60.
3777ac_datarootdir_hack=; ac_datarootdir_seen=
3778ac_sed_dataroot='
3779/datarootdir/ {
3780  p
3781  q
3782}
3783/@datadir@/p
3784/@docdir@/p
3785/@infodir@/p
3786/@localedir@/p
3787/@mandir@/p'
3788case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3789*datarootdir*) ac_datarootdir_seen=yes;;
3790*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3791  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3792$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3793_ACEOF
3794cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3795  ac_datarootdir_hack='
3796  s&@datadir@&$datadir&g
3797  s&@docdir@&$docdir&g
3798  s&@infodir@&$infodir&g
3799  s&@localedir@&$localedir&g
3800  s&@mandir@&$mandir&g
3801  s&\\\${datarootdir}&$datarootdir&g' ;;
3802esac
3803_ACEOF
3804
3805# Neutralize VPATH when `$srcdir' = `.'.
3806# Shell code in configure.ac might set extrasub.
3807# FIXME: do we really want to maintain this feature?
3808cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3809ac_sed_extra="$ac_vpsub
3810$extrasub
3811_ACEOF
3812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3813:t
3814/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3815s|@configure_input@|$ac_sed_conf_input|;t t
3816s&@top_builddir@&$ac_top_builddir_sub&;t t
3817s&@top_build_prefix@&$ac_top_build_prefix&;t t
3818s&@srcdir@&$ac_srcdir&;t t
3819s&@abs_srcdir@&$ac_abs_srcdir&;t t
3820s&@top_srcdir@&$ac_top_srcdir&;t t
3821s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3822s&@builddir@&$ac_builddir&;t t
3823s&@abs_builddir@&$ac_abs_builddir&;t t
3824s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3825s&@INSTALL@&$ac_INSTALL&;t t
3826s&@MKDIR_P@&$ac_MKDIR_P&;t t
3827$ac_datarootdir_hack
3828"
3829eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3830  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3831
3832test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3833  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3834  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
3835      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3836  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3837which seems to be undefined.  Please make sure it is defined" >&5
3838$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3839which seems to be undefined.  Please make sure it is defined" >&2;}
3840
3841  rm -f "$ac_tmp/stdin"
3842  case $ac_file in
3843  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3844  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3845  esac \
3846  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3847 ;;
3848
3849
3850
3851  esac
3852
3853done # for ac_tag
3854
3855
3856as_fn_exit 0
3857_ACEOF
3858ac_clean_files=$ac_clean_files_save
3859
3860test $ac_write_fail = 0 ||
3861  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3862
3863
3864# configure is writing to config.log, and then calls config.status.
3865# config.status does its own redirection, appending to config.log.
3866# Unfortunately, on DOS this fails, as config.log is still kept open
3867# by configure, so config.status won't be able to write to it; its
3868# output is simply discarded.  So we exec the FD to /dev/null,
3869# effectively closing config.log, so it can be properly (re)opened and
3870# appended to by config.status.  When coming back to configure, we
3871# need to make the FD available again.
3872if test "$no_create" != yes; then
3873  ac_cs_success=:
3874  ac_config_status_args=
3875  test "$silent" = yes &&
3876    ac_config_status_args="$ac_config_status_args --quiet"
3877  exec 5>/dev/null
3878  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3879  exec 5>>config.log
3880  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3881  # would make configure fail if this is the last instruction.
3882  $ac_cs_success || as_fn_exit 1
3883fi
3884
3885#
3886# CONFIG_SUBDIRS section.
3887#
3888if test "$no_recursion" != yes; then
3889
3890  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3891  # so they do not pile up.
3892  ac_sub_configure_args=
3893  ac_prev=
3894  eval "set x $ac_configure_args"
3895  shift
3896  for ac_arg
3897  do
3898    if test -n "$ac_prev"; then
3899      ac_prev=
3900      continue
3901    fi
3902    case $ac_arg in
3903    -cache-file | --cache-file | --cache-fil | --cache-fi \
3904    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3905      ac_prev=cache_file ;;
3906    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3907    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3908    | --c=*)
3909      ;;
3910    --config-cache | -C)
3911      ;;
3912    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3913      ac_prev=srcdir ;;
3914    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3915      ;;
3916    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3917      ac_prev=prefix ;;
3918    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3919      ;;
3920    --disable-option-checking)
3921      ;;
3922    *)
3923      case $ac_arg in
3924      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3925      esac
3926      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3927    esac
3928  done
3929
3930  # Always prepend --prefix to ensure using the same prefix
3931  # in subdir configurations.
3932  ac_arg="--prefix=$prefix"
3933  case $ac_arg in
3934  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3935  esac
3936  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3937
3938  # Pass --silent
3939  if test "$silent" = yes; then
3940    ac_sub_configure_args="--silent $ac_sub_configure_args"
3941  fi
3942
3943  # Always prepend --disable-option-checking to silence warnings, since
3944  # different subdirs can have different --enable and --with options.
3945  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3946
3947  ac_popdir=`pwd`
3948  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3949
3950    # Do not complain, so a configure script can configure whichever
3951    # parts of a large source tree are present.
3952    test -d "$srcdir/$ac_dir" || continue
3953
3954    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3955    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3956    $as_echo "$ac_msg" >&6
3957    as_dir="$ac_dir"; as_fn_mkdir_p
3958    ac_builddir=.
3959
3960case "$ac_dir" in
3961.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3962*)
3963  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3964  # A ".." for each directory in $ac_dir_suffix.
3965  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3966  case $ac_top_builddir_sub in
3967  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3968  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3969  esac ;;
3970esac
3971ac_abs_top_builddir=$ac_pwd
3972ac_abs_builddir=$ac_pwd$ac_dir_suffix
3973# for backward compatibility:
3974ac_top_builddir=$ac_top_build_prefix
3975
3976case $srcdir in
3977  .)  # We are building in place.
3978    ac_srcdir=.
3979    ac_top_srcdir=$ac_top_builddir_sub
3980    ac_abs_top_srcdir=$ac_pwd ;;
3981  [\\/]* | ?:[\\/]* )  # Absolute name.
3982    ac_srcdir=$srcdir$ac_dir_suffix;
3983    ac_top_srcdir=$srcdir
3984    ac_abs_top_srcdir=$srcdir ;;
3985  *) # Relative name.
3986    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3987    ac_top_srcdir=$ac_top_build_prefix$srcdir
3988    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3989esac
3990ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3991
3992
3993    cd "$ac_dir"
3994
3995    # Check for guested configure; otherwise get Cygnus style configure.
3996    if test -f "$ac_srcdir/configure.gnu"; then
3997      ac_sub_configure=$ac_srcdir/configure.gnu
3998    elif test -f "$ac_srcdir/configure"; then
3999      ac_sub_configure=$ac_srcdir/configure
4000    elif test -f "$ac_srcdir/configure.in"; then
4001      # This should be Cygnus configure.
4002      ac_sub_configure=$ac_aux_dir/configure
4003    else
4004      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4005$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4006      ac_sub_configure=
4007    fi
4008
4009    # The recursion is here.
4010    if test -n "$ac_sub_configure"; then
4011      # Make the cache file name correct relative to the subdirectory.
4012      case $cache_file in
4013      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4014      *) # Relative name.
4015        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
4016      esac
4017
4018      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4019$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4020      # The eval makes quoting arguments work.
4021      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4022           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4023        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4024    fi
4025
4026    cd "$ac_popdir"
4027  done
4028fi
4029if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4030  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4031$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4032fi
4033
4034
4035  #AC_MSG_NOTICE([In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting])
4036  { $as_echo "$as_me:${as_lineno-$LINENO}: Configuration of $PACKAGE_NAME successful" >&5
4037$as_echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
4038
Note: See TracBrowser for help on using the repository browser.