1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for lpsolve 5.5.2.3.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization.  ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14  emulate sh
15  NULLCMD=:
16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17  # is contrary to our usage.  Disable this feature.
18  alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20  set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26  as_unset=unset
27else
28  as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42  LC_TELEPHONE LC_TIME
43do
44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45    eval $as_var=C; export $as_var
46  else
47    $as_unset $as_var
48  fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53  as_expr=expr
54else
55  as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59  as_basename=basename
60else
61  as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68	 X"$0" : 'X\(//\)$' \| \
69	 X"$0" : 'X\(/\)$' \| \
70	 .     : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
74  	  /^X\/\(\/\).*/{ s//\1/; q; }
75  	  s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88  echo "#! /bin/sh" >conf$$.sh
89  echo  "exit 0"   >>conf$$.sh
90  chmod +x conf$$.sh
91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92    PATH_SEPARATOR=';'
93  else
94    PATH_SEPARATOR=:
95  fi
96  rm -f conf$$.sh
97fi
98
99
100  as_lineno_1=$LINENO
101  as_lineno_2=$LINENO
102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103  test "x$as_lineno_1" != "x$as_lineno_2" &&
104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105  # Find who we are.  Look in the path if we contain no path at all
106  # relative or not.
107  case $0 in
108    *[\\/]* ) as_myself=$0 ;;
109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112  IFS=$as_save_IFS
113  test -z "$as_dir" && as_dir=.
114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117       ;;
118  esac
119  # We did not find ourselves, most probably we were run as `sh COMMAND'
120  # in which case we are not to be found in the path.
121  if test "x$as_myself" = x; then
122    as_myself=$0
123  fi
124  if test ! -f "$as_myself"; then
125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126   { (exit 1); exit 1; }; }
127  fi
128  case $CONFIG_SHELL in
129  '')
130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133  IFS=$as_save_IFS
134  test -z "$as_dir" && as_dir=.
135  for as_base in sh bash ksh sh5; do
136	 case $as_dir in
137	 /*)
138	   if ("$as_dir/$as_base" -c '
139  as_lineno_1=$LINENO
140  as_lineno_2=$LINENO
141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142  test "x$as_lineno_1" != "x$as_lineno_2" &&
143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146	     CONFIG_SHELL=$as_dir/$as_base
147	     export CONFIG_SHELL
148	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149	   fi;;
150	 esac
151       done
152done
153;;
154  esac
155
156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157  # uniformly replaced by the line number.  The first 'sed' inserts a
158  # line-number line before each line; the second 'sed' does the real
159  # work.  The second script uses 'N' to pair each line-number line
160  # with the numbered line, and appends trailing '-' during
161  # substitution so that $LINENO is not a special case at line end.
162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164  sed '=' <$as_myself |
165    sed '
166      N
167      s,$,-,
168      : loop
169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170      t loop
171      s,-$,,
172      s,^['$as_cr_digits']*\n,,
173    ' >$as_me.lineno &&
174  chmod +x $as_me.lineno ||
175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176   { (exit 1); exit 1; }; }
177
178  # Don't try to exec as it changes $[0], causing all sort of problems
179  # (the dirname of $[0] is not the place where we might find the
180  # original and so on.  Autoconf is especially sensible to this).
181  . ./$as_me.lineno
182  # Exit status is that of the last command.
183  exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188  *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T='	' ;;
190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195  as_expr=expr
196else
197  as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203  # We could just check for DJGPP; but this test a) works b) is more generic
204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205  if test -f conf$$.exe; then
206    # Don't use ln at all; we don't have any links
207    as_ln_s='cp -p'
208  else
209    as_ln_s='ln -s'
210  fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212  as_ln_s=ln
213else
214  as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219  as_mkdir_p=:
220else
221  test -d ./-p && rmdir ./-p
222  as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" 	$as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete.  It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME='lpsolve'
269PACKAGE_TARNAME='lpsolve'
270PACKAGE_VERSION='5.5.2.3'
271PACKAGE_STRING='lpsolve 5.5.2.3'
272PACKAGE_BUGREPORT=''
273
274ac_unique_file="lp_simplex.c"
275ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os SO CCSHARED DEF SHARED_LIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
276ac_subst_files=''
277
278# Initialize some variables set by options.
279ac_init_help=
280ac_init_version=false
281# The variables have the same names as the options, with
282# dashes changed to underlines.
283cache_file=/dev/null
284exec_prefix=NONE
285no_create=
286no_recursion=
287prefix=NONE
288program_prefix=NONE
289program_suffix=NONE
290program_transform_name=s,x,x,
291silent=
292site=
293srcdir=
294verbose=
295x_includes=NONE
296x_libraries=NONE
297
298# Installation directory options.
299# These are left unexpanded so users can "make install exec_prefix=/foo"
300# and all the variables that are supposed to be based on exec_prefix
301# by default will actually change.
302# Use braces instead of parens because sh, perl, etc. also accept them.
303bindir='${exec_prefix}/bin'
304sbindir='${exec_prefix}/sbin'
305libexecdir='${exec_prefix}/libexec'
306datadir='${prefix}/share'
307sysconfdir='${prefix}/etc'
308sharedstatedir='${prefix}/com'
309localstatedir='${prefix}/var'
310libdir='${exec_prefix}/lib'
311includedir='${prefix}/include'
312oldincludedir='/usr/include'
313infodir='${prefix}/info'
314mandir='${prefix}/man'
315
316ac_prev=
317for ac_option
318do
319  # If the previous option needs an argument, assign it.
320  if test -n "$ac_prev"; then
321    eval "$ac_prev=\$ac_option"
322    ac_prev=
323    continue
324  fi
325
326  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328  # Accept the important Cygnus configure options, so we can diagnose typos.
329
330  case $ac_option in
331
332  -bindir | --bindir | --bindi | --bind | --bin | --bi)
333    ac_prev=bindir ;;
334  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335    bindir=$ac_optarg ;;
336
337  -build | --build | --buil | --bui | --bu)
338    ac_prev=build_alias ;;
339  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340    build_alias=$ac_optarg ;;
341
342  -cache-file | --cache-file | --cache-fil | --cache-fi \
343  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344    ac_prev=cache_file ;;
345  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347    cache_file=$ac_optarg ;;
348
349  --config-cache | -C)
350    cache_file=config.cache ;;
351
352  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353    ac_prev=datadir ;;
354  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355  | --da=*)
356    datadir=$ac_optarg ;;
357
358  -disable-* | --disable-*)
359    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360    # Reject names that are not valid shell variable names.
361    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363   { (exit 1); exit 1; }; }
364    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365    eval "enable_$ac_feature=no" ;;
366
367  -enable-* | --enable-*)
368    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369    # Reject names that are not valid shell variable names.
370    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372   { (exit 1); exit 1; }; }
373    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374    case $ac_option in
375      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376      *) ac_optarg=yes ;;
377    esac
378    eval "enable_$ac_feature='$ac_optarg'" ;;
379
380  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382  | --exec | --exe | --ex)
383    ac_prev=exec_prefix ;;
384  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386  | --exec=* | --exe=* | --ex=*)
387    exec_prefix=$ac_optarg ;;
388
389  -gas | --gas | --ga | --g)
390    # Obsolete; use --with-gas.
391    with_gas=yes ;;
392
393  -help | --help | --hel | --he | -h)
394    ac_init_help=long ;;
395  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396    ac_init_help=recursive ;;
397  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398    ac_init_help=short ;;
399
400  -host | --host | --hos | --ho)
401    ac_prev=host_alias ;;
402  -host=* | --host=* | --hos=* | --ho=*)
403    host_alias=$ac_optarg ;;
404
405  -includedir | --includedir | --includedi | --included | --include \
406  | --includ | --inclu | --incl | --inc)
407    ac_prev=includedir ;;
408  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409  | --includ=* | --inclu=* | --incl=* | --inc=*)
410    includedir=$ac_optarg ;;
411
412  -infodir | --infodir | --infodi | --infod | --info | --inf)
413    ac_prev=infodir ;;
414  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415    infodir=$ac_optarg ;;
416
417  -libdir | --libdir | --libdi | --libd)
418    ac_prev=libdir ;;
419  -libdir=* | --libdir=* | --libdi=* | --libd=*)
420    libdir=$ac_optarg ;;
421
422  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423  | --libexe | --libex | --libe)
424    ac_prev=libexecdir ;;
425  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426  | --libexe=* | --libex=* | --libe=*)
427    libexecdir=$ac_optarg ;;
428
429  -localstatedir | --localstatedir | --localstatedi | --localstated \
430  | --localstate | --localstat | --localsta | --localst \
431  | --locals | --local | --loca | --loc | --lo)
432    ac_prev=localstatedir ;;
433  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436    localstatedir=$ac_optarg ;;
437
438  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439    ac_prev=mandir ;;
440  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441    mandir=$ac_optarg ;;
442
443  -nfp | --nfp | --nf)
444    # Obsolete; use --without-fp.
445    with_fp=no ;;
446
447  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448  | --no-cr | --no-c | -n)
449    no_create=yes ;;
450
451  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453    no_recursion=yes ;;
454
455  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457  | --oldin | --oldi | --old | --ol | --o)
458    ac_prev=oldincludedir ;;
459  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462    oldincludedir=$ac_optarg ;;
463
464  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465    ac_prev=prefix ;;
466  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467    prefix=$ac_optarg ;;
468
469  -program-prefix | --program-prefix | --program-prefi | --program-pref \
470  | --program-pre | --program-pr | --program-p)
471    ac_prev=program_prefix ;;
472  -program-prefix=* | --program-prefix=* | --program-prefi=* \
473  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474    program_prefix=$ac_optarg ;;
475
476  -program-suffix | --program-suffix | --program-suffi | --program-suff \
477  | --program-suf | --program-su | --program-s)
478    ac_prev=program_suffix ;;
479  -program-suffix=* | --program-suffix=* | --program-suffi=* \
480  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481    program_suffix=$ac_optarg ;;
482
483  -program-transform-name | --program-transform-name \
484  | --program-transform-nam | --program-transform-na \
485  | --program-transform-n | --program-transform- \
486  | --program-transform | --program-transfor \
487  | --program-transfo | --program-transf \
488  | --program-trans | --program-tran \
489  | --progr-tra | --program-tr | --program-t)
490    ac_prev=program_transform_name ;;
491  -program-transform-name=* | --program-transform-name=* \
492  | --program-transform-nam=* | --program-transform-na=* \
493  | --program-transform-n=* | --program-transform-=* \
494  | --program-transform=* | --program-transfor=* \
495  | --program-transfo=* | --program-transf=* \
496  | --program-trans=* | --program-tran=* \
497  | --progr-tra=* | --program-tr=* | --program-t=*)
498    program_transform_name=$ac_optarg ;;
499
500  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501  | -silent | --silent | --silen | --sile | --sil)
502    silent=yes ;;
503
504  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505    ac_prev=sbindir ;;
506  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507  | --sbi=* | --sb=*)
508    sbindir=$ac_optarg ;;
509
510  -sharedstatedir | --sharedstatedir | --sharedstatedi \
511  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512  | --sharedst | --shareds | --shared | --share | --shar \
513  | --sha | --sh)
514    ac_prev=sharedstatedir ;;
515  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518  | --sha=* | --sh=*)
519    sharedstatedir=$ac_optarg ;;
520
521  -site | --site | --sit)
522    ac_prev=site ;;
523  -site=* | --site=* | --sit=*)
524    site=$ac_optarg ;;
525
526  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527    ac_prev=srcdir ;;
528  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529    srcdir=$ac_optarg ;;
530
531  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532  | --syscon | --sysco | --sysc | --sys | --sy)
533    ac_prev=sysconfdir ;;
534  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536    sysconfdir=$ac_optarg ;;
537
538  -target | --target | --targe | --targ | --tar | --ta | --t)
539    ac_prev=target_alias ;;
540  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541    target_alias=$ac_optarg ;;
542
543  -v | -verbose | --verbose | --verbos | --verbo | --verb)
544    verbose=yes ;;
545
546  -version | --version | --versio | --versi | --vers | -V)
547    ac_init_version=: ;;
548
549  -with-* | --with-*)
550    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551    # Reject names that are not valid shell variable names.
552    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553      { echo "$as_me: error: invalid package name: $ac_package" >&2
554   { (exit 1); exit 1; }; }
555    ac_package=`echo $ac_package| sed 's/-/_/g'`
556    case $ac_option in
557      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558      *) ac_optarg=yes ;;
559    esac
560    eval "with_$ac_package='$ac_optarg'" ;;
561
562  -without-* | --without-*)
563    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564    # Reject names that are not valid shell variable names.
565    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566      { echo "$as_me: error: invalid package name: $ac_package" >&2
567   { (exit 1); exit 1; }; }
568    ac_package=`echo $ac_package | sed 's/-/_/g'`
569    eval "with_$ac_package=no" ;;
570
571  --x)
572    # Obsolete; use --with-x.
573    with_x=yes ;;
574
575  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576  | --x-incl | --x-inc | --x-in | --x-i)
577    ac_prev=x_includes ;;
578  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580    x_includes=$ac_optarg ;;
581
582  -x-libraries | --x-libraries | --x-librarie | --x-librari \
583  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584    ac_prev=x_libraries ;;
585  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587    x_libraries=$ac_optarg ;;
588
589  -*) { echo "$as_me: error: unrecognized option: $ac_option
590Try \`$0 --help' for more information." >&2
591   { (exit 1); exit 1; }; }
592    ;;
593
594  *=*)
595    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596    # Reject names that are not valid shell variable names.
597    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599   { (exit 1); exit 1; }; }
600    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601    eval "$ac_envvar='$ac_optarg'"
602    export $ac_envvar ;;
603
604  *)
605    # FIXME: should be removed in autoconf 3.0.
606    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610    ;;
611
612  esac
613done
614
615if test -n "$ac_prev"; then
616  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617  { echo "$as_me: error: missing argument to $ac_option" >&2
618   { (exit 1); exit 1; }; }
619fi
620
621# Be sure to have absolute paths.
622for ac_var in exec_prefix prefix
623do
624  eval ac_val=$`echo $ac_var`
625  case $ac_val in
626    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628   { (exit 1); exit 1; }; };;
629  esac
630done
631
632# Be sure to have absolute paths.
633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634	      localstatedir libdir includedir oldincludedir infodir mandir
635do
636  eval ac_val=$`echo $ac_var`
637  case $ac_val in
638    [\\/$]* | ?:[\\/]* ) ;;
639    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640   { (exit 1); exit 1; }; };;
641  esac
642done
643
644# There might be people who depend on the old broken behavior: `$host'
645# used to hold the argument of --host etc.
646# FIXME: To remove some day.
647build=$build_alias
648host=$host_alias
649target=$target_alias
650
651# FIXME: To remove some day.
652if test "x$host_alias" != x; then
653  if test "x$build_alias" = x; then
654    cross_compiling=maybe
655    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656    If a cross compiler is detected then cross compile mode will be used." >&2
657  elif test "x$build_alias" != "x$host_alias"; then
658    cross_compiling=yes
659  fi
660fi
661
662ac_tool_prefix=
663test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665test "$silent" = yes && exec 6>/dev/null
666
667
668# Find the source files, if location was not specified.
669if test -z "$srcdir"; then
670  ac_srcdir_defaulted=yes
671  # Try the directory containing this script, then its parent.
672  ac_confdir=`(dirname "$0") 2>/dev/null ||
673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674	 X"$0" : 'X\(//\)[^/]' \| \
675	 X"$0" : 'X\(//\)$' \| \
676	 X"$0" : 'X\(/\)' \| \
677	 .     : '\(.\)' 2>/dev/null ||
678echo X"$0" |
679    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681  	  /^X\(\/\/\)$/{ s//\1/; q; }
682  	  /^X\(\/\).*/{ s//\1/; q; }
683  	  s/.*/./; q'`
684  srcdir=$ac_confdir
685  if test ! -r $srcdir/$ac_unique_file; then
686    srcdir=..
687  fi
688else
689  ac_srcdir_defaulted=no
690fi
691if test ! -r $srcdir/$ac_unique_file; then
692  if test "$ac_srcdir_defaulted" = yes; then
693    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694   { (exit 1); exit 1; }; }
695  else
696    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697   { (exit 1); exit 1; }; }
698  fi
699fi
700(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702   { (exit 1); exit 1; }; }
703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704ac_env_build_alias_set=${build_alias+set}
705ac_env_build_alias_value=$build_alias
706ac_cv_env_build_alias_set=${build_alias+set}
707ac_cv_env_build_alias_value=$build_alias
708ac_env_host_alias_set=${host_alias+set}
709ac_env_host_alias_value=$host_alias
710ac_cv_env_host_alias_set=${host_alias+set}
711ac_cv_env_host_alias_value=$host_alias
712ac_env_target_alias_set=${target_alias+set}
713ac_env_target_alias_value=$target_alias
714ac_cv_env_target_alias_set=${target_alias+set}
715ac_cv_env_target_alias_value=$target_alias
716ac_env_CC_set=${CC+set}
717ac_env_CC_value=$CC
718ac_cv_env_CC_set=${CC+set}
719ac_cv_env_CC_value=$CC
720ac_env_CFLAGS_set=${CFLAGS+set}
721ac_env_CFLAGS_value=$CFLAGS
722ac_cv_env_CFLAGS_set=${CFLAGS+set}
723ac_cv_env_CFLAGS_value=$CFLAGS
724ac_env_LDFLAGS_set=${LDFLAGS+set}
725ac_env_LDFLAGS_value=$LDFLAGS
726ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727ac_cv_env_LDFLAGS_value=$LDFLAGS
728ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729ac_env_CPPFLAGS_value=$CPPFLAGS
730ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
733#
734# Report the --help message.
735#
736if test "$ac_init_help" = "long"; then
737  # Omit some internal or obsolete options to make the list less imposing.
738  # This message is too long to be a string in the A/UX 3.1 sh.
739  cat <<_ACEOF
740\`configure' configures lpsolve 5.5.2.3 to adapt to many kinds of systems.
741
742Usage: $0 [OPTION]... [VAR=VALUE]...
743
744To assign environment variables (e.g., CC, CFLAGS...), specify them as
745VAR=VALUE.  See below for descriptions of some of the useful variables.
746
747Defaults for the options are specified in brackets.
748
749Configuration:
750  -h, --help              display this help and exit
751      --help=short        display options specific to this package
752      --help=recursive    display the short help of all the included packages
753  -V, --version           display version information and exit
754  -q, --quiet, --silent   do not print \`checking...' messages
755      --cache-file=FILE   cache test results in FILE [disabled]
756  -C, --config-cache      alias for \`--cache-file=config.cache'
757  -n, --no-create         do not create output files
758      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
759
760_ACEOF
761
762  cat <<_ACEOF
763Installation directories:
764  --prefix=PREFIX         install architecture-independent files in PREFIX
765			  [$ac_default_prefix]
766  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
767			  [PREFIX]
768
769By default, \`make install' will install all the files in
770\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
771an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772for instance \`--prefix=\$HOME'.
773
774For better control, use the options below.
775
776Fine tuning of the installation directories:
777  --bindir=DIR           user executables [EPREFIX/bin]
778  --sbindir=DIR          system admin executables [EPREFIX/sbin]
779  --libexecdir=DIR       program executables [EPREFIX/libexec]
780  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
781  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
782  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
783  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
784  --libdir=DIR           object code libraries [EPREFIX/lib]
785  --includedir=DIR       C header files [PREFIX/include]
786  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
787  --infodir=DIR          info documentation [PREFIX/info]
788  --mandir=DIR           man documentation [PREFIX/man]
789_ACEOF
790
791  cat <<\_ACEOF
792
793System types:
794  --build=BUILD     configure for building on BUILD [guessed]
795  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
796_ACEOF
797fi
798
799if test -n "$ac_init_help"; then
800  case $ac_init_help in
801     short | recursive ) echo "Configuration of lpsolve 5.5.2.3:";;
802   esac
803  cat <<\_ACEOF
804
805Some influential environment variables:
806  CC          C compiler command
807  CFLAGS      C compiler flags
808  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
809              nonstandard directory <lib dir>
810  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
811              headers in a nonstandard directory <include dir>
812
813Use these variables to override the choices made by `configure' or to help
814it to find libraries and programs with nonstandard names/locations.
815
816_ACEOF
817fi
818
819if test "$ac_init_help" = "recursive"; then
820  # If there are subdirs, report their specific --help.
821  ac_popdir=`pwd`
822  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
823    test -d $ac_dir || continue
824    ac_builddir=.
825
826if test "$ac_dir" != .; then
827  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
828  # A "../" for each directory in $ac_dir_suffix.
829  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
830else
831  ac_dir_suffix= ac_top_builddir=
832fi
833
834case $srcdir in
835  .)  # No --srcdir option.  We are building in place.
836    ac_srcdir=.
837    if test -z "$ac_top_builddir"; then
838       ac_top_srcdir=.
839    else
840       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
841    fi ;;
842  [\\/]* | ?:[\\/]* )  # Absolute path.
843    ac_srcdir=$srcdir$ac_dir_suffix;
844    ac_top_srcdir=$srcdir ;;
845  *) # Relative path.
846    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
847    ac_top_srcdir=$ac_top_builddir$srcdir ;;
848esac
849
850# Do not use `cd foo && pwd` to compute absolute paths, because
851# the directories may not exist.
852case `pwd` in
853.) ac_abs_builddir="$ac_dir";;
854*)
855  case "$ac_dir" in
856  .) ac_abs_builddir=`pwd`;;
857  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
858  *) ac_abs_builddir=`pwd`/"$ac_dir";;
859  esac;;
860esac
861case $ac_abs_builddir in
862.) ac_abs_top_builddir=${ac_top_builddir}.;;
863*)
864  case ${ac_top_builddir}. in
865  .) ac_abs_top_builddir=$ac_abs_builddir;;
866  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
867  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
868  esac;;
869esac
870case $ac_abs_builddir in
871.) ac_abs_srcdir=$ac_srcdir;;
872*)
873  case $ac_srcdir in
874  .) ac_abs_srcdir=$ac_abs_builddir;;
875  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
876  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
877  esac;;
878esac
879case $ac_abs_builddir in
880.) ac_abs_top_srcdir=$ac_top_srcdir;;
881*)
882  case $ac_top_srcdir in
883  .) ac_abs_top_srcdir=$ac_abs_builddir;;
884  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
885  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
886  esac;;
887esac
888
889    cd $ac_dir
890    # Check for guested configure; otherwise get Cygnus style configure.
891    if test -f $ac_srcdir/configure.gnu; then
892      echo
893      $SHELL $ac_srcdir/configure.gnu  --help=recursive
894    elif test -f $ac_srcdir/configure; then
895      echo
896      $SHELL $ac_srcdir/configure  --help=recursive
897    elif test -f $ac_srcdir/configure.ac ||
898	   test -f $ac_srcdir/configure.in; then
899      echo
900      $ac_configure --help
901    else
902      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
903    fi
904    cd $ac_popdir
905  done
906fi
907
908test -n "$ac_init_help" && exit 0
909if $ac_init_version; then
910  cat <<\_ACEOF
911lpsolve configure 5.5.2.3
912generated by GNU Autoconf 2.59
913
914Copyright (C) 2003 Free Software Foundation, Inc.
915This configure script is free software; the Free Software Foundation
916gives unlimited permission to copy, distribute and modify it.
917_ACEOF
918  exit 0
919fi
920exec 5>config.log
921cat >&5 <<_ACEOF
922This file contains any messages produced by compilers while
923running configure, to aid debugging if configure makes a mistake.
924
925It was created by lpsolve $as_me 5.5.2.3, which was
926generated by GNU Autoconf 2.59.  Invocation command line was
927
928  $ $0 $@
929
930_ACEOF
931{
932cat <<_ASUNAME
933## --------- ##
934## Platform. ##
935## --------- ##
936
937hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
938uname -m = `(uname -m) 2>/dev/null || echo unknown`
939uname -r = `(uname -r) 2>/dev/null || echo unknown`
940uname -s = `(uname -s) 2>/dev/null || echo unknown`
941uname -v = `(uname -v) 2>/dev/null || echo unknown`
942
943/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
944/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
945
946/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
947/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
948/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
949hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
950/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
951/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
952/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
953
954_ASUNAME
955
956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
957for as_dir in $PATH
958do
959  IFS=$as_save_IFS
960  test -z "$as_dir" && as_dir=.
961  echo "PATH: $as_dir"
962done
963
964} >&5
965
966cat >&5 <<_ACEOF
967
968
969## ----------- ##
970## Core tests. ##
971## ----------- ##
972
973_ACEOF
974
975
976# Keep a trace of the command line.
977# Strip out --no-create and --no-recursion so they do not pile up.
978# Strip out --silent because we don't want to record it for future runs.
979# Also quote any args containing shell meta-characters.
980# Make two passes to allow for proper duplicate-argument suppression.
981ac_configure_args=
982ac_configure_args0=
983ac_configure_args1=
984ac_sep=
985ac_must_keep_next=false
986for ac_pass in 1 2
987do
988  for ac_arg
989  do
990    case $ac_arg in
991    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
992    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
993    | -silent | --silent | --silen | --sile | --sil)
994      continue ;;
995    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
996      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
997    esac
998    case $ac_pass in
999    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1000    2)
1001      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1002      if test $ac_must_keep_next = true; then
1003	ac_must_keep_next=false # Got value, back to normal.
1004      else
1005	case $ac_arg in
1006	  *=* | --config-cache | -C | -disable-* | --disable-* \
1007	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1008	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1009	  | -with-* | --with-* | -without-* | --without-* | --x)
1010	    case "$ac_configure_args0 " in
1011	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1012	    esac
1013	    ;;
1014	  -* ) ac_must_keep_next=true ;;
1015	esac
1016      fi
1017      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1018      # Get rid of the leading space.
1019      ac_sep=" "
1020      ;;
1021    esac
1022  done
1023done
1024$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1025$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1026
1027# When interrupted or exit'd, cleanup temporary files, and complete
1028# config.log.  We remove comments because anyway the quotes in there
1029# would cause problems or look ugly.
1030# WARNING: Be sure not to use single quotes in there, as some shells,
1031# such as our DU 5.0 friend, will then `close' the trap.
1032trap 'exit_status=$?
1033  # Save into config.log some information that might help in debugging.
1034  {
1035    echo
1036
1037    cat <<\_ASBOX
1038## ---------------- ##
1039## Cache variables. ##
1040## ---------------- ##
1041_ASBOX
1042    echo
1043    # The following way of writing the cache mishandles newlines in values,
1044{
1045  (set) 2>&1 |
1046    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1047    *ac_space=\ *)
1048      sed -n \
1049	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1050	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1051      ;;
1052    *)
1053      sed -n \
1054	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1055      ;;
1056    esac;
1057}
1058    echo
1059
1060    cat <<\_ASBOX
1061## ----------------- ##
1062## Output variables. ##
1063## ----------------- ##
1064_ASBOX
1065    echo
1066    for ac_var in $ac_subst_vars
1067    do
1068      eval ac_val=$`echo $ac_var`
1069      echo "$ac_var='"'"'$ac_val'"'"'"
1070    done | sort
1071    echo
1072
1073    if test -n "$ac_subst_files"; then
1074      cat <<\_ASBOX
1075## ------------- ##
1076## Output files. ##
1077## ------------- ##
1078_ASBOX
1079      echo
1080      for ac_var in $ac_subst_files
1081      do
1082	eval ac_val=$`echo $ac_var`
1083	echo "$ac_var='"'"'$ac_val'"'"'"
1084      done | sort
1085      echo
1086    fi
1087
1088    if test -s confdefs.h; then
1089      cat <<\_ASBOX
1090## ----------- ##
1091## confdefs.h. ##
1092## ----------- ##
1093_ASBOX
1094      echo
1095      sed "/^$/d" confdefs.h | sort
1096      echo
1097    fi
1098    test "$ac_signal" != 0 &&
1099      echo "$as_me: caught signal $ac_signal"
1100    echo "$as_me: exit $exit_status"
1101  } >&5
1102  rm -f core *.core &&
1103  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1104    exit $exit_status
1105     ' 0
1106for ac_signal in 1 2 13 15; do
1107  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1108done
1109ac_signal=0
1110
1111# confdefs.h avoids OS command line length limits that DEFS can exceed.
1112rm -rf conftest* confdefs.h
1113# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1114echo >confdefs.h
1115
1116# Predefined preprocessor variables.
1117
1118cat >>confdefs.h <<_ACEOF
1119#define PACKAGE_NAME "$PACKAGE_NAME"
1120_ACEOF
1121
1122
1123cat >>confdefs.h <<_ACEOF
1124#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1125_ACEOF
1126
1127
1128cat >>confdefs.h <<_ACEOF
1129#define PACKAGE_VERSION "$PACKAGE_VERSION"
1130_ACEOF
1131
1132
1133cat >>confdefs.h <<_ACEOF
1134#define PACKAGE_STRING "$PACKAGE_STRING"
1135_ACEOF
1136
1137
1138cat >>confdefs.h <<_ACEOF
1139#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1140_ACEOF
1141
1142
1143# Let the site file select an alternate cache file if it wants to.
1144# Prefer explicitly selected file to automatically selected ones.
1145if test -z "$CONFIG_SITE"; then
1146  if test "x$prefix" != xNONE; then
1147    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1148  else
1149    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1150  fi
1151fi
1152for ac_site_file in $CONFIG_SITE; do
1153  if test -r "$ac_site_file"; then
1154    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1155echo "$as_me: loading site script $ac_site_file" >&6;}
1156    sed 's/^/| /' "$ac_site_file" >&5
1157    . "$ac_site_file"
1158  fi
1159done
1160
1161if test -r "$cache_file"; then
1162  # Some versions of bash will fail to source /dev/null (special
1163  # files actually), so we avoid doing that.
1164  if test -f "$cache_file"; then
1165    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1166echo "$as_me: loading cache $cache_file" >&6;}
1167    case $cache_file in
1168      [\\/]* | ?:[\\/]* ) . $cache_file;;
1169      *)                      . ./$cache_file;;
1170    esac
1171  fi
1172else
1173  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1174echo "$as_me: creating cache $cache_file" >&6;}
1175  >$cache_file
1176fi
1177
1178# Check that the precious variables saved in the cache have kept the same
1179# value.
1180ac_cache_corrupted=false
1181for ac_var in `(set) 2>&1 |
1182	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1183  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1184  eval ac_new_set=\$ac_env_${ac_var}_set
1185  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1186  eval ac_new_val="\$ac_env_${ac_var}_value"
1187  case $ac_old_set,$ac_new_set in
1188    set,)
1189      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1190echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1191      ac_cache_corrupted=: ;;
1192    ,set)
1193      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1194echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1195      ac_cache_corrupted=: ;;
1196    ,);;
1197    *)
1198      if test "x$ac_old_val" != "x$ac_new_val"; then
1199	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1200echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1201	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1202echo "$as_me:   former value:  $ac_old_val" >&2;}
1203	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1204echo "$as_me:   current value: $ac_new_val" >&2;}
1205	ac_cache_corrupted=:
1206      fi;;
1207  esac
1208  # Pass precious variables to config.status.
1209  if test "$ac_new_set" = set; then
1210    case $ac_new_val in
1211    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1212      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1213    *) ac_arg=$ac_var=$ac_new_val ;;
1214    esac
1215    case " $ac_configure_args " in
1216      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1217      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1218    esac
1219  fi
1220done
1221if $ac_cache_corrupted; then
1222  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1223echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1224  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1225echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1226   { (exit 1); exit 1; }; }
1227fi
1228
1229ac_ext=c
1230ac_cpp='$CPP $CPPFLAGS'
1231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1233ac_compiler_gnu=$ac_cv_c_compiler_gnu
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262ac_aux_dir=
1263for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1264  if test -f $ac_dir/install-sh; then
1265    ac_aux_dir=$ac_dir
1266    ac_install_sh="$ac_aux_dir/install-sh -c"
1267    break
1268  elif test -f $ac_dir/install.sh; then
1269    ac_aux_dir=$ac_dir
1270    ac_install_sh="$ac_aux_dir/install.sh -c"
1271    break
1272  elif test -f $ac_dir/shtool; then
1273    ac_aux_dir=$ac_dir
1274    ac_install_sh="$ac_aux_dir/shtool install -c"
1275    break
1276  fi
1277done
1278if test -z "$ac_aux_dir"; then
1279  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1280echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1281   { (exit 1); exit 1; }; }
1282fi
1283ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1284ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1285ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1286
1287# Make sure we can run config.sub.
1288$ac_config_sub sun4 >/dev/null 2>&1 ||
1289  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1290echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1291   { (exit 1); exit 1; }; }
1292
1293echo "$as_me:$LINENO: checking build system type" >&5
1294echo $ECHO_N "checking build system type... $ECHO_C" >&6
1295if test "${ac_cv_build+set}" = set; then
1296  echo $ECHO_N "(cached) $ECHO_C" >&6
1297else
1298  ac_cv_build_alias=$build_alias
1299test -z "$ac_cv_build_alias" &&
1300  ac_cv_build_alias=`$ac_config_guess`
1301test -z "$ac_cv_build_alias" &&
1302  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1303echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1304   { (exit 1); exit 1; }; }
1305ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1306  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1307echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1308   { (exit 1); exit 1; }; }
1309
1310fi
1311echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1312echo "${ECHO_T}$ac_cv_build" >&6
1313build=$ac_cv_build
1314build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1315build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1316build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1317
1318
1319echo "$as_me:$LINENO: checking host system type" >&5
1320echo $ECHO_N "checking host system type... $ECHO_C" >&6
1321if test "${ac_cv_host+set}" = set; then
1322  echo $ECHO_N "(cached) $ECHO_C" >&6
1323else
1324  ac_cv_host_alias=$host_alias
1325test -z "$ac_cv_host_alias" &&
1326  ac_cv_host_alias=$ac_cv_build_alias
1327ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1328  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1329echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1330   { (exit 1); exit 1; }; }
1331
1332fi
1333echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1334echo "${ECHO_T}$ac_cv_host" >&6
1335host=$ac_cv_host
1336host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1337host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1338host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1339
1340
1341
1342SHARED_LIB=liblpsolve55.so
1343SO=.so
1344case $host_os in
1345  hp*|HP*)
1346    DEF=-ldld
1347    case `uname -m` in
1348      ia64) SO=.so;;
1349      *)    SO=.sl;;
1350    esac
1351    if test "$GCC" = yes;
1352      then CCSHARED="-fPIC";
1353      else CCSHARED="+z";
1354    fi;;
1355  CYGWIN*)
1356    SO=.dll;;
1357  linux)
1358    CCSHARED="-fPIC";;
1359  apple-darwin)
1360    DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME -Wno-long-double
1361    ;;
1362  OpenUNIX*|UnixWare*)
1363    DEF='-dy -DNOLONGLONG'
1364    if test "$GCC" = "yes"
1365      then CCSHARED="-fPIC"
1366      else CCSHARED="-K PIC"
1367    fi;;
1368  SCO_SV*)
1369    DEF='-dy -DNOLONGLONG'
1370    if test "$GCC" = "yes"
1371      then CCSHARED="-fPIC"
1372      else CCSHARED="-Kpic -belf"
1373    fi;;
1374 *)
1375esac
1376
1377
1378
1379
1380
1381
1382ac_ext=c
1383ac_cpp='$CPP $CPPFLAGS'
1384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1386ac_compiler_gnu=$ac_cv_c_compiler_gnu
1387if test -n "$ac_tool_prefix"; then
1388  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1389set dummy ${ac_tool_prefix}gcc; ac_word=$2
1390echo "$as_me:$LINENO: checking for $ac_word" >&5
1391echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1392if test "${ac_cv_prog_CC+set}" = set; then
1393  echo $ECHO_N "(cached) $ECHO_C" >&6
1394else
1395  if test -n "$CC"; then
1396  ac_cv_prog_CC="$CC" # Let the user override the test.
1397else
1398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399for as_dir in $PATH
1400do
1401  IFS=$as_save_IFS
1402  test -z "$as_dir" && as_dir=.
1403  for ac_exec_ext in '' $ac_executable_extensions; do
1404  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1405    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1406    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1407    break 2
1408  fi
1409done
1410done
1411
1412fi
1413fi
1414CC=$ac_cv_prog_CC
1415if test -n "$CC"; then
1416  echo "$as_me:$LINENO: result: $CC" >&5
1417echo "${ECHO_T}$CC" >&6
1418else
1419  echo "$as_me:$LINENO: result: no" >&5
1420echo "${ECHO_T}no" >&6
1421fi
1422
1423fi
1424if test -z "$ac_cv_prog_CC"; then
1425  ac_ct_CC=$CC
1426  # Extract the first word of "gcc", so it can be a program name with args.
1427set dummy gcc; ac_word=$2
1428echo "$as_me:$LINENO: checking for $ac_word" >&5
1429echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1430if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1431  echo $ECHO_N "(cached) $ECHO_C" >&6
1432else
1433  if test -n "$ac_ct_CC"; then
1434  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1435else
1436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437for as_dir in $PATH
1438do
1439  IFS=$as_save_IFS
1440  test -z "$as_dir" && as_dir=.
1441  for ac_exec_ext in '' $ac_executable_extensions; do
1442  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1443    ac_cv_prog_ac_ct_CC="gcc"
1444    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1445    break 2
1446  fi
1447done
1448done
1449
1450fi
1451fi
1452ac_ct_CC=$ac_cv_prog_ac_ct_CC
1453if test -n "$ac_ct_CC"; then
1454  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1455echo "${ECHO_T}$ac_ct_CC" >&6
1456else
1457  echo "$as_me:$LINENO: result: no" >&5
1458echo "${ECHO_T}no" >&6
1459fi
1460
1461  CC=$ac_ct_CC
1462else
1463  CC="$ac_cv_prog_CC"
1464fi
1465
1466if test -z "$CC"; then
1467  if test -n "$ac_tool_prefix"; then
1468  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1469set dummy ${ac_tool_prefix}cc; ac_word=$2
1470echo "$as_me:$LINENO: checking for $ac_word" >&5
1471echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1472if test "${ac_cv_prog_CC+set}" = set; then
1473  echo $ECHO_N "(cached) $ECHO_C" >&6
1474else
1475  if test -n "$CC"; then
1476  ac_cv_prog_CC="$CC" # Let the user override the test.
1477else
1478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1479for as_dir in $PATH
1480do
1481  IFS=$as_save_IFS
1482  test -z "$as_dir" && as_dir=.
1483  for ac_exec_ext in '' $ac_executable_extensions; do
1484  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1485    ac_cv_prog_CC="${ac_tool_prefix}cc"
1486    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1487    break 2
1488  fi
1489done
1490done
1491
1492fi
1493fi
1494CC=$ac_cv_prog_CC
1495if test -n "$CC"; then
1496  echo "$as_me:$LINENO: result: $CC" >&5
1497echo "${ECHO_T}$CC" >&6
1498else
1499  echo "$as_me:$LINENO: result: no" >&5
1500echo "${ECHO_T}no" >&6
1501fi
1502
1503fi
1504if test -z "$ac_cv_prog_CC"; then
1505  ac_ct_CC=$CC
1506  # Extract the first word of "cc", so it can be a program name with args.
1507set dummy cc; ac_word=$2
1508echo "$as_me:$LINENO: checking for $ac_word" >&5
1509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1510if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1511  echo $ECHO_N "(cached) $ECHO_C" >&6
1512else
1513  if test -n "$ac_ct_CC"; then
1514  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1515else
1516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1517for as_dir in $PATH
1518do
1519  IFS=$as_save_IFS
1520  test -z "$as_dir" && as_dir=.
1521  for ac_exec_ext in '' $ac_executable_extensions; do
1522  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1523    ac_cv_prog_ac_ct_CC="cc"
1524    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1525    break 2
1526  fi
1527done
1528done
1529
1530fi
1531fi
1532ac_ct_CC=$ac_cv_prog_ac_ct_CC
1533if test -n "$ac_ct_CC"; then
1534  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1535echo "${ECHO_T}$ac_ct_CC" >&6
1536else
1537  echo "$as_me:$LINENO: result: no" >&5
1538echo "${ECHO_T}no" >&6
1539fi
1540
1541  CC=$ac_ct_CC
1542else
1543  CC="$ac_cv_prog_CC"
1544fi
1545
1546fi
1547if test -z "$CC"; then
1548  # Extract the first word of "cc", so it can be a program name with args.
1549set dummy cc; ac_word=$2
1550echo "$as_me:$LINENO: checking for $ac_word" >&5
1551echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552if test "${ac_cv_prog_CC+set}" = set; then
1553  echo $ECHO_N "(cached) $ECHO_C" >&6
1554else
1555  if test -n "$CC"; then
1556  ac_cv_prog_CC="$CC" # Let the user override the test.
1557else
1558  ac_prog_rejected=no
1559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560for as_dir in $PATH
1561do
1562  IFS=$as_save_IFS
1563  test -z "$as_dir" && as_dir=.
1564  for ac_exec_ext in '' $ac_executable_extensions; do
1565  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1567       ac_prog_rejected=yes
1568       continue
1569     fi
1570    ac_cv_prog_CC="cc"
1571    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1572    break 2
1573  fi
1574done
1575done
1576
1577if test $ac_prog_rejected = yes; then
1578  # We found a bogon in the path, so make sure we never use it.
1579  set dummy $ac_cv_prog_CC
1580  shift
1581  if test $# != 0; then
1582    # We chose a different compiler from the bogus one.
1583    # However, it has the same basename, so the bogon will be chosen
1584    # first if we set CC to just the basename; use the full file name.
1585    shift
1586    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1587  fi
1588fi
1589fi
1590fi
1591CC=$ac_cv_prog_CC
1592if test -n "$CC"; then
1593  echo "$as_me:$LINENO: result: $CC" >&5
1594echo "${ECHO_T}$CC" >&6
1595else
1596  echo "$as_me:$LINENO: result: no" >&5
1597echo "${ECHO_T}no" >&6
1598fi
1599
1600fi
1601if test -z "$CC"; then
1602  if test -n "$ac_tool_prefix"; then
1603  for ac_prog in cl
1604  do
1605    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1606set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1607echo "$as_me:$LINENO: checking for $ac_word" >&5
1608echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609if test "${ac_cv_prog_CC+set}" = set; then
1610  echo $ECHO_N "(cached) $ECHO_C" >&6
1611else
1612  if test -n "$CC"; then
1613  ac_cv_prog_CC="$CC" # Let the user override the test.
1614else
1615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616for as_dir in $PATH
1617do
1618  IFS=$as_save_IFS
1619  test -z "$as_dir" && as_dir=.
1620  for ac_exec_ext in '' $ac_executable_extensions; do
1621  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1623    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624    break 2
1625  fi
1626done
1627done
1628
1629fi
1630fi
1631CC=$ac_cv_prog_CC
1632if test -n "$CC"; then
1633  echo "$as_me:$LINENO: result: $CC" >&5
1634echo "${ECHO_T}$CC" >&6
1635else
1636  echo "$as_me:$LINENO: result: no" >&5
1637echo "${ECHO_T}no" >&6
1638fi
1639
1640    test -n "$CC" && break
1641  done
1642fi
1643if test -z "$CC"; then
1644  ac_ct_CC=$CC
1645  for ac_prog in cl
1646do
1647  # Extract the first word of "$ac_prog", so it can be a program name with args.
1648set dummy $ac_prog; ac_word=$2
1649echo "$as_me:$LINENO: checking for $ac_word" >&5
1650echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652  echo $ECHO_N "(cached) $ECHO_C" >&6
1653else
1654  if test -n "$ac_ct_CC"; then
1655  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1656else
1657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1658for as_dir in $PATH
1659do
1660  IFS=$as_save_IFS
1661  test -z "$as_dir" && as_dir=.
1662  for ac_exec_ext in '' $ac_executable_extensions; do
1663  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664    ac_cv_prog_ac_ct_CC="$ac_prog"
1665    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1666    break 2
1667  fi
1668done
1669done
1670
1671fi
1672fi
1673ac_ct_CC=$ac_cv_prog_ac_ct_CC
1674if test -n "$ac_ct_CC"; then
1675  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676echo "${ECHO_T}$ac_ct_CC" >&6
1677else
1678  echo "$as_me:$LINENO: result: no" >&5
1679echo "${ECHO_T}no" >&6
1680fi
1681
1682  test -n "$ac_ct_CC" && break
1683done
1684
1685  CC=$ac_ct_CC
1686fi
1687
1688fi
1689
1690
1691test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1692See \`config.log' for more details." >&5
1693echo "$as_me: error: no acceptable C compiler found in \$PATH
1694See \`config.log' for more details." >&2;}
1695   { (exit 1); exit 1; }; }
1696
1697# Provide some information about the compiler.
1698echo "$as_me:$LINENO:" \
1699     "checking for C compiler version" >&5
1700ac_compiler=`set X $ac_compile; echo $2`
1701{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1702  (eval $ac_compiler --version </dev/null >&5) 2>&5
1703  ac_status=$?
1704  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1705  (exit $ac_status); }
1706{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1707  (eval $ac_compiler -v </dev/null >&5) 2>&5
1708  ac_status=$?
1709  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1710  (exit $ac_status); }
1711{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1712  (eval $ac_compiler -V </dev/null >&5) 2>&5
1713  ac_status=$?
1714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1715  (exit $ac_status); }
1716
1717cat >conftest.$ac_ext <<_ACEOF
1718/* confdefs.h.  */
1719_ACEOF
1720cat confdefs.h >>conftest.$ac_ext
1721cat >>conftest.$ac_ext <<_ACEOF
1722/* end confdefs.h.  */
1723
1724int
1725main ()
1726{
1727
1728  ;
1729  return 0;
1730}
1731_ACEOF
1732ac_clean_files_save=$ac_clean_files
1733ac_clean_files="$ac_clean_files a.out a.exe b.out"
1734# Try to create an executable without -o first, disregard a.out.
1735# It will help us diagnose broken compilers, and finding out an intuition
1736# of exeext.
1737echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1738echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1739ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1740if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1741  (eval $ac_link_default) 2>&5
1742  ac_status=$?
1743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1744  (exit $ac_status); }; then
1745  # Find the output, starting from the most likely.  This scheme is
1746# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1747# resort.
1748
1749# Be careful to initialize this variable, since it used to be cached.
1750# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1751ac_cv_exeext=
1752# b.out is created by i960 compilers.
1753for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1754do
1755  test -f "$ac_file" || continue
1756  case $ac_file in
1757    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1758	;;
1759    conftest.$ac_ext )
1760	# This is the source file.
1761	;;
1762    [ab].out )
1763	# We found the default executable, but exeext='' is most
1764	# certainly right.
1765	break;;
1766    *.* )
1767	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1768	# FIXME: I believe we export ac_cv_exeext for Libtool,
1769	# but it would be cool to find out if it's true.  Does anybody
1770	# maintain Libtool? --akim.
1771	export ac_cv_exeext
1772	break;;
1773    * )
1774	break;;
1775  esac
1776done
1777else
1778  echo "$as_me: failed program was:" >&5
1779sed 's/^/| /' conftest.$ac_ext >&5
1780
1781{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1782See \`config.log' for more details." >&5
1783echo "$as_me: error: C compiler cannot create executables
1784See \`config.log' for more details." >&2;}
1785   { (exit 77); exit 77; }; }
1786fi
1787
1788ac_exeext=$ac_cv_exeext
1789echo "$as_me:$LINENO: result: $ac_file" >&5
1790echo "${ECHO_T}$ac_file" >&6
1791
1792# Check the compiler produces executables we can run.  If not, either
1793# the compiler is broken, or we cross compile.
1794echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1795echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1796# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1797# If not cross compiling, check that we can run a simple program.
1798if test "$cross_compiling" != yes; then
1799  if { ac_try='./$ac_file'
1800  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1801  (eval $ac_try) 2>&5
1802  ac_status=$?
1803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804  (exit $ac_status); }; }; then
1805    cross_compiling=no
1806  else
1807    if test "$cross_compiling" = maybe; then
1808	cross_compiling=yes
1809    else
1810	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1811If you meant to cross compile, use \`--host'.
1812See \`config.log' for more details." >&5
1813echo "$as_me: error: cannot run C compiled programs.
1814If you meant to cross compile, use \`--host'.
1815See \`config.log' for more details." >&2;}
1816   { (exit 1); exit 1; }; }
1817    fi
1818  fi
1819fi
1820echo "$as_me:$LINENO: result: yes" >&5
1821echo "${ECHO_T}yes" >&6
1822
1823rm -f a.out a.exe conftest$ac_cv_exeext b.out
1824ac_clean_files=$ac_clean_files_save
1825# Check the compiler produces executables we can run.  If not, either
1826# the compiler is broken, or we cross compile.
1827echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1828echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1829echo "$as_me:$LINENO: result: $cross_compiling" >&5
1830echo "${ECHO_T}$cross_compiling" >&6
1831
1832echo "$as_me:$LINENO: checking for suffix of executables" >&5
1833echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1834if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1835  (eval $ac_link) 2>&5
1836  ac_status=$?
1837  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838  (exit $ac_status); }; then
1839  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1840# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1841# work properly (i.e., refer to `conftest.exe'), while it won't with
1842# `rm'.
1843for ac_file in conftest.exe conftest conftest.*; do
1844  test -f "$ac_file" || continue
1845  case $ac_file in
1846    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1847    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1848	  export ac_cv_exeext
1849	  break;;
1850    * ) break;;
1851  esac
1852done
1853else
1854  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1855See \`config.log' for more details." >&5
1856echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1857See \`config.log' for more details." >&2;}
1858   { (exit 1); exit 1; }; }
1859fi
1860
1861rm -f conftest$ac_cv_exeext
1862echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1863echo "${ECHO_T}$ac_cv_exeext" >&6
1864
1865rm -f conftest.$ac_ext
1866EXEEXT=$ac_cv_exeext
1867ac_exeext=$EXEEXT
1868echo "$as_me:$LINENO: checking for suffix of object files" >&5
1869echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1870if test "${ac_cv_objext+set}" = set; then
1871  echo $ECHO_N "(cached) $ECHO_C" >&6
1872else
1873  cat >conftest.$ac_ext <<_ACEOF
1874/* confdefs.h.  */
1875_ACEOF
1876cat confdefs.h >>conftest.$ac_ext
1877cat >>conftest.$ac_ext <<_ACEOF
1878/* end confdefs.h.  */
1879
1880int
1881main ()
1882{
1883
1884  ;
1885  return 0;
1886}
1887_ACEOF
1888rm -f conftest.o conftest.obj
1889if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1890  (eval $ac_compile) 2>&5
1891  ac_status=$?
1892  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1893  (exit $ac_status); }; then
1894  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1895  case $ac_file in
1896    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1897    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1898       break;;
1899  esac
1900done
1901else
1902  echo "$as_me: failed program was:" >&5
1903sed 's/^/| /' conftest.$ac_ext >&5
1904
1905{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1906See \`config.log' for more details." >&5
1907echo "$as_me: error: cannot compute suffix of object files: cannot compile
1908See \`config.log' for more details." >&2;}
1909   { (exit 1); exit 1; }; }
1910fi
1911
1912rm -f conftest.$ac_cv_objext conftest.$ac_ext
1913fi
1914echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1915echo "${ECHO_T}$ac_cv_objext" >&6
1916OBJEXT=$ac_cv_objext
1917ac_objext=$OBJEXT
1918echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1919echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1920if test "${ac_cv_c_compiler_gnu+set}" = set; then
1921  echo $ECHO_N "(cached) $ECHO_C" >&6
1922else
1923  cat >conftest.$ac_ext <<_ACEOF
1924/* confdefs.h.  */
1925_ACEOF
1926cat confdefs.h >>conftest.$ac_ext
1927cat >>conftest.$ac_ext <<_ACEOF
1928/* end confdefs.h.  */
1929
1930int
1931main ()
1932{
1933#ifndef __GNUC__
1934       choke me
1935#endif
1936
1937  ;
1938  return 0;
1939}
1940_ACEOF
1941rm -f conftest.$ac_objext
1942if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1943  (eval $ac_compile) 2>conftest.er1
1944  ac_status=$?
1945  grep -v '^ *+' conftest.er1 >conftest.err
1946  rm -f conftest.er1
1947  cat conftest.err >&5
1948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949  (exit $ac_status); } &&
1950	 { ac_try='test -z "$ac_c_werror_flag"
1951			 || test ! -s conftest.err'
1952  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953  (eval $ac_try) 2>&5
1954  ac_status=$?
1955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956  (exit $ac_status); }; } &&
1957	 { ac_try='test -s conftest.$ac_objext'
1958  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1959  (eval $ac_try) 2>&5
1960  ac_status=$?
1961  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962  (exit $ac_status); }; }; then
1963  ac_compiler_gnu=yes
1964else
1965  echo "$as_me: failed program was:" >&5
1966sed 's/^/| /' conftest.$ac_ext >&5
1967
1968ac_compiler_gnu=no
1969fi
1970rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1971ac_cv_c_compiler_gnu=$ac_compiler_gnu
1972
1973fi
1974echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1975echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1976GCC=`test $ac_compiler_gnu = yes && echo yes`
1977ac_test_CFLAGS=${CFLAGS+set}
1978ac_save_CFLAGS=$CFLAGS
1979CFLAGS="-g"
1980echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1981echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1982if test "${ac_cv_prog_cc_g+set}" = set; then
1983  echo $ECHO_N "(cached) $ECHO_C" >&6
1984else
1985  cat >conftest.$ac_ext <<_ACEOF
1986/* confdefs.h.  */
1987_ACEOF
1988cat confdefs.h >>conftest.$ac_ext
1989cat >>conftest.$ac_ext <<_ACEOF
1990/* end confdefs.h.  */
1991
1992int
1993main ()
1994{
1995
1996  ;
1997  return 0;
1998}
1999_ACEOF
2000rm -f conftest.$ac_objext
2001if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2002  (eval $ac_compile) 2>conftest.er1
2003  ac_status=$?
2004  grep -v '^ *+' conftest.er1 >conftest.err
2005  rm -f conftest.er1
2006  cat conftest.err >&5
2007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008  (exit $ac_status); } &&
2009	 { ac_try='test -z "$ac_c_werror_flag"
2010			 || test ! -s conftest.err'
2011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012  (eval $ac_try) 2>&5
2013  ac_status=$?
2014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015  (exit $ac_status); }; } &&
2016	 { ac_try='test -s conftest.$ac_objext'
2017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2018  (eval $ac_try) 2>&5
2019  ac_status=$?
2020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021  (exit $ac_status); }; }; then
2022  ac_cv_prog_cc_g=yes
2023else
2024  echo "$as_me: failed program was:" >&5
2025sed 's/^/| /' conftest.$ac_ext >&5
2026
2027ac_cv_prog_cc_g=no
2028fi
2029rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2030fi
2031echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2032echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2033if test "$ac_test_CFLAGS" = set; then
2034  CFLAGS=$ac_save_CFLAGS
2035elif test $ac_cv_prog_cc_g = yes; then
2036  if test "$GCC" = yes; then
2037    CFLAGS="-g -O2"
2038  else
2039    CFLAGS="-g"
2040  fi
2041else
2042  if test "$GCC" = yes; then
2043    CFLAGS="-O2"
2044  else
2045    CFLAGS=
2046  fi
2047fi
2048echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2049echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2050if test "${ac_cv_prog_cc_stdc+set}" = set; then
2051  echo $ECHO_N "(cached) $ECHO_C" >&6
2052else
2053  ac_cv_prog_cc_stdc=no
2054ac_save_CC=$CC
2055cat >conftest.$ac_ext <<_ACEOF
2056/* confdefs.h.  */
2057_ACEOF
2058cat confdefs.h >>conftest.$ac_ext
2059cat >>conftest.$ac_ext <<_ACEOF
2060/* end confdefs.h.  */
2061#include <stdarg.h>
2062#include <stdio.h>
2063#include <sys/types.h>
2064#include <sys/stat.h>
2065/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2066struct buf { int x; };
2067FILE * (*rcsopen) (struct buf *, struct stat *, int);
2068static char *e (p, i)
2069     char **p;
2070     int i;
2071{
2072  return p[i];
2073}
2074static char *f (char * (*g) (char **, int), char **p, ...)
2075{
2076  char *s;
2077  va_list v;
2078  va_start (v,p);
2079  s = g (p, va_arg (v,int));
2080  va_end (v);
2081  return s;
2082}
2083
2084/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2085   function prototypes and stuff, but not '\xHH' hex character constants.
2086   These don't provoke an error unfortunately, instead are silently treated
2087   as 'x'.  The following induces an error, until -std1 is added to get
2088   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2089   array size at least.  It's necessary to write '\x00'==0 to get something
2090   that's true only with -std1.  */
2091int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2092
2093int test (int i, double x);
2094struct s1 {int (*f) (int a);};
2095struct s2 {int (*f) (double a);};
2096int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2097int argc;
2098char **argv;
2099int
2100main ()
2101{
2102return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2103  ;
2104  return 0;
2105}
2106_ACEOF
2107# Don't try gcc -ansi; that turns off useful extensions and
2108# breaks some systems' header files.
2109# AIX			-qlanglvl=ansi
2110# Ultrix and OSF/1	-std1
2111# HP-UX 10.20 and later	-Ae
2112# HP-UX older versions	-Aa -D_HPUX_SOURCE
2113# SVR4			-Xc -D__EXTENSIONS__
2114for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2115do
2116  CC="$ac_save_CC $ac_arg"
2117  rm -f conftest.$ac_objext
2118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2119  (eval $ac_compile) 2>conftest.er1
2120  ac_status=$?
2121  grep -v '^ *+' conftest.er1 >conftest.err
2122  rm -f conftest.er1
2123  cat conftest.err >&5
2124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125  (exit $ac_status); } &&
2126	 { ac_try='test -z "$ac_c_werror_flag"
2127			 || test ! -s conftest.err'
2128  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129  (eval $ac_try) 2>&5
2130  ac_status=$?
2131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132  (exit $ac_status); }; } &&
2133	 { ac_try='test -s conftest.$ac_objext'
2134  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2135  (eval $ac_try) 2>&5
2136  ac_status=$?
2137  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2138  (exit $ac_status); }; }; then
2139  ac_cv_prog_cc_stdc=$ac_arg
2140break
2141else
2142  echo "$as_me: failed program was:" >&5
2143sed 's/^/| /' conftest.$ac_ext >&5
2144
2145fi
2146rm -f conftest.err conftest.$ac_objext
2147done
2148rm -f conftest.$ac_ext conftest.$ac_objext
2149CC=$ac_save_CC
2150
2151fi
2152
2153case "x$ac_cv_prog_cc_stdc" in
2154  x|xno)
2155    echo "$as_me:$LINENO: result: none needed" >&5
2156echo "${ECHO_T}none needed" >&6 ;;
2157  *)
2158    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2159echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2160    CC="$CC $ac_cv_prog_cc_stdc" ;;
2161esac
2162
2163# Some people use a C++ compiler to compile C.  Since we use `exit',
2164# in C++ we need to declare it.  In case someone uses the same compiler
2165# for both compiling C and C++ we need to have the C++ compiler decide
2166# the declaration of exit, since it's the most demanding environment.
2167cat >conftest.$ac_ext <<_ACEOF
2168#ifndef __cplusplus
2169  choke me
2170#endif
2171_ACEOF
2172rm -f conftest.$ac_objext
2173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2174  (eval $ac_compile) 2>conftest.er1
2175  ac_status=$?
2176  grep -v '^ *+' conftest.er1 >conftest.err
2177  rm -f conftest.er1
2178  cat conftest.err >&5
2179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180  (exit $ac_status); } &&
2181	 { ac_try='test -z "$ac_c_werror_flag"
2182			 || test ! -s conftest.err'
2183  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184  (eval $ac_try) 2>&5
2185  ac_status=$?
2186  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187  (exit $ac_status); }; } &&
2188	 { ac_try='test -s conftest.$ac_objext'
2189  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190  (eval $ac_try) 2>&5
2191  ac_status=$?
2192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193  (exit $ac_status); }; }; then
2194  for ac_declaration in \
2195   '' \
2196   'extern "C" void std::exit (int) throw (); using std::exit;' \
2197   'extern "C" void std::exit (int); using std::exit;' \
2198   'extern "C" void exit (int) throw ();' \
2199   'extern "C" void exit (int);' \
2200   'void exit (int);'
2201do
2202  cat >conftest.$ac_ext <<_ACEOF
2203/* confdefs.h.  */
2204_ACEOF
2205cat confdefs.h >>conftest.$ac_ext
2206cat >>conftest.$ac_ext <<_ACEOF
2207/* end confdefs.h.  */
2208$ac_declaration
2209#include <stdlib.h>
2210int
2211main ()
2212{
2213exit (42);
2214  ;
2215  return 0;
2216}
2217_ACEOF
2218rm -f conftest.$ac_objext
2219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220  (eval $ac_compile) 2>conftest.er1
2221  ac_status=$?
2222  grep -v '^ *+' conftest.er1 >conftest.err
2223  rm -f conftest.er1
2224  cat conftest.err >&5
2225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226  (exit $ac_status); } &&
2227	 { ac_try='test -z "$ac_c_werror_flag"
2228			 || test ! -s conftest.err'
2229  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230  (eval $ac_try) 2>&5
2231  ac_status=$?
2232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233  (exit $ac_status); }; } &&
2234	 { ac_try='test -s conftest.$ac_objext'
2235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236  (eval $ac_try) 2>&5
2237  ac_status=$?
2238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239  (exit $ac_status); }; }; then
2240  :
2241else
2242  echo "$as_me: failed program was:" >&5
2243sed 's/^/| /' conftest.$ac_ext >&5
2244
2245continue
2246fi
2247rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2248  cat >conftest.$ac_ext <<_ACEOF
2249/* confdefs.h.  */
2250_ACEOF
2251cat confdefs.h >>conftest.$ac_ext
2252cat >>conftest.$ac_ext <<_ACEOF
2253/* end confdefs.h.  */
2254$ac_declaration
2255int
2256main ()
2257{
2258exit (42);
2259  ;
2260  return 0;
2261}
2262_ACEOF
2263rm -f conftest.$ac_objext
2264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2265  (eval $ac_compile) 2>conftest.er1
2266  ac_status=$?
2267  grep -v '^ *+' conftest.er1 >conftest.err
2268  rm -f conftest.er1
2269  cat conftest.err >&5
2270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271  (exit $ac_status); } &&
2272	 { ac_try='test -z "$ac_c_werror_flag"
2273			 || test ! -s conftest.err'
2274  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275  (eval $ac_try) 2>&5
2276  ac_status=$?
2277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278  (exit $ac_status); }; } &&
2279	 { ac_try='test -s conftest.$ac_objext'
2280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281  (eval $ac_try) 2>&5
2282  ac_status=$?
2283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284  (exit $ac_status); }; }; then
2285  break
2286else
2287  echo "$as_me: failed program was:" >&5
2288sed 's/^/| /' conftest.$ac_ext >&5
2289
2290fi
2291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2292done
2293rm -f conftest*
2294if test -n "$ac_declaration"; then
2295  echo '#ifdef __cplusplus' >>confdefs.h
2296  echo $ac_declaration      >>confdefs.h
2297  echo '#endif'             >>confdefs.h
2298fi
2299
2300else
2301  echo "$as_me: failed program was:" >&5
2302sed 's/^/| /' conftest.$ac_ext >&5
2303
2304fi
2305rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2306ac_ext=c
2307ac_cpp='$CPP $CPPFLAGS'
2308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311
2312if test "x$GCC" != "xyes"
2313then
2314  echo "*** non GNU CC compiler detected."
2315  echo "*** This package has not been tested very well with non GNU compilers"
2316fi
2317
2318# Find a good install program.  We prefer a C program (faster),
2319# so one script is as good as another.  But avoid the broken or
2320# incompatible versions:
2321# SysV /etc/install, /usr/sbin/install
2322# SunOS /usr/etc/install
2323# IRIX /sbin/install
2324# AIX /bin/install
2325# AmigaOS /C/install, which installs bootblocks on floppy discs
2326# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2327# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2328# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2329# OS/2's system install, which has a completely different semantic
2330# ./install, which can be erroneously created by make from ./install.sh.
2331echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2332echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2333if test -z "$INSTALL"; then
2334if test "${ac_cv_path_install+set}" = set; then
2335  echo $ECHO_N "(cached) $ECHO_C" >&6
2336else
2337  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338for as_dir in $PATH
2339do
2340  IFS=$as_save_IFS
2341  test -z "$as_dir" && as_dir=.
2342  # Account for people who put trailing slashes in PATH elements.
2343case $as_dir/ in
2344  ./ | .// | /cC/* | \
2345  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2347  /usr/ucb/* ) ;;
2348  *)
2349    # OSF1 and SCO ODT 3.0 have their own names for install.
2350    # Don't use installbsd from OSF since it installs stuff as root
2351    # by default.
2352    for ac_prog in ginstall scoinst install; do
2353      for ac_exec_ext in '' $ac_executable_extensions; do
2354	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2355	  if test $ac_prog = install &&
2356	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2357	    # AIX install.  It has an incompatible calling convention.
2358	    :
2359	  elif test $ac_prog = install &&
2360	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361	    # program-specific install script used by HP pwplus--don't use.
2362	    :
2363	  else
2364	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2365	    break 3
2366	  fi
2367	fi
2368      done
2369    done
2370    ;;
2371esac
2372done
2373
2374
2375fi
2376  if test "${ac_cv_path_install+set}" = set; then
2377    INSTALL=$ac_cv_path_install
2378  else
2379    # As a last resort, use the slow shell script.  We don't cache a
2380    # path for INSTALL within a source directory, because that will
2381    # break other packages using the cache if that directory is
2382    # removed, or if the path is relative.
2383    INSTALL=$ac_install_sh
2384  fi
2385fi
2386echo "$as_me:$LINENO: result: $INSTALL" >&5
2387echo "${ECHO_T}$INSTALL" >&6
2388
2389# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2390# It thinks the first close brace ends the variable substitution.
2391test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2392
2393test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2394
2395test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2396
2397          ac_config_files="$ac_config_files Makefile"
2398
2399cat >confcache <<\_ACEOF
2400# This file is a shell script that caches the results of configure
2401# tests run on this system so they can be shared between configure
2402# scripts and configure runs, see configure's option --config-cache.
2403# It is not useful on other systems.  If it contains results you don't
2404# want to keep, you may remove or edit it.
2405#
2406# config.status only pays attention to the cache file if you give it
2407# the --recheck option to rerun configure.
2408#
2409# `ac_cv_env_foo' variables (set or unset) will be overridden when
2410# loading this file, other *unset* `ac_cv_foo' will be assigned the
2411# following values.
2412
2413_ACEOF
2414
2415# The following way of writing the cache mishandles newlines in values,
2416# but we know of no workaround that is simple, portable, and efficient.
2417# So, don't put newlines in cache variables' values.
2418# Ultrix sh set writes to stderr and can't be redirected directly,
2419# and sets the high bit in the cache file unless we assign to the vars.
2420{
2421  (set) 2>&1 |
2422    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2423    *ac_space=\ *)
2424      # `set' does not quote correctly, so add quotes (double-quote
2425      # substitution turns \\\\ into \\, and sed turns \\ into \).
2426      sed -n \
2427	"s/'/'\\\\''/g;
2428	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2429      ;;
2430    *)
2431      # `set' quotes correctly as required by POSIX, so do not add quotes.
2432      sed -n \
2433	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2434      ;;
2435    esac;
2436} |
2437  sed '
2438     t clear
2439     : clear
2440     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2441     t end
2442     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2443     : end' >>confcache
2444if diff $cache_file confcache >/dev/null 2>&1; then :; else
2445  if test -w $cache_file; then
2446    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2447    cat confcache >$cache_file
2448  else
2449    echo "not updating unwritable cache $cache_file"
2450  fi
2451fi
2452rm -f confcache
2453
2454test "x$prefix" = xNONE && prefix=$ac_default_prefix
2455# Let make expand exec_prefix.
2456test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2457
2458# VPATH may cause trouble with some makes, so we remove $(srcdir),
2459# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2460# trailing colons and then remove the whole line if VPATH becomes empty
2461# (actually we leave an empty line to preserve line numbers).
2462if test "x$srcdir" = x.; then
2463  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
2464s/:*\$(srcdir):*/:/;
2465s/:*\${srcdir}:*/:/;
2466s/:*@srcdir@:*/:/;
2467s/^\([^=]*=[	 ]*\):*/\1/;
2468s/:*$//;
2469s/^[^=]*=[	 ]*$//;
2470}'
2471fi
2472
2473# Transform confdefs.h into DEFS.
2474# Protect against shell expansion while executing Makefile rules.
2475# Protect against Makefile macro expansion.
2476#
2477# If the first sed substitution is executed (which looks for macros that
2478# take arguments), then we branch to the quote section.  Otherwise,
2479# look for a macro that doesn't take arguments.
2480cat >confdef2opt.sed <<\_ACEOF
2481t clear
2482: clear
2483s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
2484t quote
2485s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
2486t quote
2487d
2488: quote
2489s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
2490s,\[,\\&,g
2491s,\],\\&,g
2492s,\$,$$,g
2493p
2494_ACEOF
2495# We use echo to avoid assuming a particular line-breaking character.
2496# The extra dot is to prevent the shell from consuming trailing
2497# line-breaks from the sub-command output.  A line-break within
2498# single-quotes doesn't work because, if this script is created in a
2499# platform that uses two characters for line-breaks (e.g., DOS), tr
2500# would break.
2501ac_LF_and_DOT=`echo; echo .`
2502DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2503rm -f confdef2opt.sed
2504
2505
2506ac_libobjs=
2507ac_ltlibobjs=
2508for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2509  # 1. Remove the extension, and $U if already installed.
2510  ac_i=`echo "$ac_i" |
2511	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2512  # 2. Add them.
2513  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2514  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2515done
2516LIBOBJS=$ac_libobjs
2517
2518LTLIBOBJS=$ac_ltlibobjs
2519
2520
2521
2522: ${CONFIG_STATUS=./config.status}
2523ac_clean_files_save=$ac_clean_files
2524ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2525{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2526echo "$as_me: creating $CONFIG_STATUS" >&6;}
2527cat >$CONFIG_STATUS <<_ACEOF
2528#! $SHELL
2529# Generated by $as_me.
2530# Run this file to recreate the current configuration.
2531# Compiler output produced by configure, useful for debugging
2532# configure, is in config.log if it exists.
2533
2534debug=false
2535ac_cs_recheck=false
2536ac_cs_silent=false
2537SHELL=\${CONFIG_SHELL-$SHELL}
2538_ACEOF
2539
2540cat >>$CONFIG_STATUS <<\_ACEOF
2541## --------------------- ##
2542## M4sh Initialization.  ##
2543## --------------------- ##
2544
2545# Be Bourne compatible
2546if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2547  emulate sh
2548  NULLCMD=:
2549  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2550  # is contrary to our usage.  Disable this feature.
2551  alias -g '${1+"$@"}'='"$@"'
2552elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2553  set -o posix
2554fi
2555DUALCASE=1; export DUALCASE # for MKS sh
2556
2557# Support unset when possible.
2558if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2559  as_unset=unset
2560else
2561  as_unset=false
2562fi
2563
2564
2565# Work around bugs in pre-3.0 UWIN ksh.
2566$as_unset ENV MAIL MAILPATH
2567PS1='$ '
2568PS2='> '
2569PS4='+ '
2570
2571# NLS nuisances.
2572for as_var in \
2573  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2574  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2575  LC_TELEPHONE LC_TIME
2576do
2577  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2578    eval $as_var=C; export $as_var
2579  else
2580    $as_unset $as_var
2581  fi
2582done
2583
2584# Required to use basename.
2585if expr a : '\(a\)' >/dev/null 2>&1; then
2586  as_expr=expr
2587else
2588  as_expr=false
2589fi
2590
2591if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2592  as_basename=basename
2593else
2594  as_basename=false
2595fi
2596
2597
2598# Name of the executable.
2599as_me=`$as_basename "$0" ||
2600$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2601	 X"$0" : 'X\(//\)$' \| \
2602	 X"$0" : 'X\(/\)$' \| \
2603	 .     : '\(.\)' 2>/dev/null ||
2604echo X/"$0" |
2605    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2606  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
2607  	  /^X\/\(\/\).*/{ s//\1/; q; }
2608  	  s/.*/./; q'`
2609
2610
2611# PATH needs CR, and LINENO needs CR and PATH.
2612# Avoid depending upon Character Ranges.
2613as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2614as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2615as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2616as_cr_digits='0123456789'
2617as_cr_alnum=$as_cr_Letters$as_cr_digits
2618
2619# The user is always right.
2620if test "${PATH_SEPARATOR+set}" != set; then
2621  echo "#! /bin/sh" >conf$$.sh
2622  echo  "exit 0"   >>conf$$.sh
2623  chmod +x conf$$.sh
2624  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2625    PATH_SEPARATOR=';'
2626  else
2627    PATH_SEPARATOR=:
2628  fi
2629  rm -f conf$$.sh
2630fi
2631
2632
2633  as_lineno_1=$LINENO
2634  as_lineno_2=$LINENO
2635  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2636  test "x$as_lineno_1" != "x$as_lineno_2" &&
2637  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2638  # Find who we are.  Look in the path if we contain no path at all
2639  # relative or not.
2640  case $0 in
2641    *[\\/]* ) as_myself=$0 ;;
2642    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643for as_dir in $PATH
2644do
2645  IFS=$as_save_IFS
2646  test -z "$as_dir" && as_dir=.
2647  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2648done
2649
2650       ;;
2651  esac
2652  # We did not find ourselves, most probably we were run as `sh COMMAND'
2653  # in which case we are not to be found in the path.
2654  if test "x$as_myself" = x; then
2655    as_myself=$0
2656  fi
2657  if test ! -f "$as_myself"; then
2658    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2659echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2660   { (exit 1); exit 1; }; }
2661  fi
2662  case $CONFIG_SHELL in
2663  '')
2664    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2666do
2667  IFS=$as_save_IFS
2668  test -z "$as_dir" && as_dir=.
2669  for as_base in sh bash ksh sh5; do
2670	 case $as_dir in
2671	 /*)
2672	   if ("$as_dir/$as_base" -c '
2673  as_lineno_1=$LINENO
2674  as_lineno_2=$LINENO
2675  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2676  test "x$as_lineno_1" != "x$as_lineno_2" &&
2677  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2678	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2679	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2680	     CONFIG_SHELL=$as_dir/$as_base
2681	     export CONFIG_SHELL
2682	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2683	   fi;;
2684	 esac
2685       done
2686done
2687;;
2688  esac
2689
2690  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2691  # uniformly replaced by the line number.  The first 'sed' inserts a
2692  # line-number line before each line; the second 'sed' does the real
2693  # work.  The second script uses 'N' to pair each line-number line
2694  # with the numbered line, and appends trailing '-' during
2695  # substitution so that $LINENO is not a special case at line end.
2696  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2697  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2698  sed '=' <$as_myself |
2699    sed '
2700      N
2701      s,$,-,
2702      : loop
2703      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2704      t loop
2705      s,-$,,
2706      s,^['$as_cr_digits']*\n,,
2707    ' >$as_me.lineno &&
2708  chmod +x $as_me.lineno ||
2709    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2710echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2711   { (exit 1); exit 1; }; }
2712
2713  # Don't try to exec as it changes $[0], causing all sort of problems
2714  # (the dirname of $[0] is not the place where we might find the
2715  # original and so on.  Autoconf is especially sensible to this).
2716  . ./$as_me.lineno
2717  # Exit status is that of the last command.
2718  exit
2719}
2720
2721
2722case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2723  *c*,-n*) ECHO_N= ECHO_C='
2724' ECHO_T='	' ;;
2725  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2726  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2727esac
2728
2729if expr a : '\(a\)' >/dev/null 2>&1; then
2730  as_expr=expr
2731else
2732  as_expr=false
2733fi
2734
2735rm -f conf$$ conf$$.exe conf$$.file
2736echo >conf$$.file
2737if ln -s conf$$.file conf$$ 2>/dev/null; then
2738  # We could just check for DJGPP; but this test a) works b) is more generic
2739  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2740  if test -f conf$$.exe; then
2741    # Don't use ln at all; we don't have any links
2742    as_ln_s='cp -p'
2743  else
2744    as_ln_s='ln -s'
2745  fi
2746elif ln conf$$.file conf$$ 2>/dev/null; then
2747  as_ln_s=ln
2748else
2749  as_ln_s='cp -p'
2750fi
2751rm -f conf$$ conf$$.exe conf$$.file
2752
2753if mkdir -p . 2>/dev/null; then
2754  as_mkdir_p=:
2755else
2756  test -d ./-p && rmdir ./-p
2757  as_mkdir_p=false
2758fi
2759
2760as_executable_p="test -f"
2761
2762# Sed expression to map a string onto a valid CPP name.
2763as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2764
2765# Sed expression to map a string onto a valid variable name.
2766as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2767
2768
2769# IFS
2770# We need space, tab and new line, in precisely that order.
2771as_nl='
2772'
2773IFS=" 	$as_nl"
2774
2775# CDPATH.
2776$as_unset CDPATH
2777
2778exec 6>&1
2779
2780# Open the log real soon, to keep \$[0] and so on meaningful, and to
2781# report actual input values of CONFIG_FILES etc. instead of their
2782# values after options handling.  Logging --version etc. is OK.
2783exec 5>>config.log
2784{
2785  echo
2786  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2787## Running $as_me. ##
2788_ASBOX
2789} >&5
2790cat >&5 <<_CSEOF
2791
2792This file was extended by lpsolve $as_me 5.5.2.3, which was
2793generated by GNU Autoconf 2.59.  Invocation command line was
2794
2795  CONFIG_FILES    = $CONFIG_FILES
2796  CONFIG_HEADERS  = $CONFIG_HEADERS
2797  CONFIG_LINKS    = $CONFIG_LINKS
2798  CONFIG_COMMANDS = $CONFIG_COMMANDS
2799  $ $0 $@
2800
2801_CSEOF
2802echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2803echo >&5
2804_ACEOF
2805
2806# Files that config.status was made for.
2807if test -n "$ac_config_files"; then
2808  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2809fi
2810
2811if test -n "$ac_config_headers"; then
2812  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2813fi
2814
2815if test -n "$ac_config_links"; then
2816  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2817fi
2818
2819if test -n "$ac_config_commands"; then
2820  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2821fi
2822
2823cat >>$CONFIG_STATUS <<\_ACEOF
2824
2825ac_cs_usage="\
2826\`$as_me' instantiates files from templates according to the
2827current configuration.
2828
2829Usage: $0 [OPTIONS] [FILE]...
2830
2831  -h, --help       print this help, then exit
2832  -V, --version    print version number, then exit
2833  -q, --quiet      do not print progress messages
2834  -d, --debug      don't remove temporary files
2835      --recheck    update $as_me by reconfiguring in the same conditions
2836  --file=FILE[:TEMPLATE]
2837		   instantiate the configuration file FILE
2838
2839Configuration files:
2840$config_files
2841
2842Report bugs to <bug-autoconf@gnu.org>."
2843_ACEOF
2844
2845cat >>$CONFIG_STATUS <<_ACEOF
2846ac_cs_version="\\
2847lpsolve config.status 5.5.2.3
2848configured by $0, generated by GNU Autoconf 2.59,
2849  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2850
2851Copyright (C) 2003 Free Software Foundation, Inc.
2852This config.status script is free software; the Free Software Foundation
2853gives unlimited permission to copy, distribute and modify it."
2854srcdir=$srcdir
2855INSTALL="$INSTALL"
2856_ACEOF
2857
2858cat >>$CONFIG_STATUS <<\_ACEOF
2859# If no file are specified by the user, then we need to provide default
2860# value.  By we need to know if files were specified by the user.
2861ac_need_defaults=:
2862while test $# != 0
2863do
2864  case $1 in
2865  --*=*)
2866    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2867    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2868    ac_shift=:
2869    ;;
2870  -*)
2871    ac_option=$1
2872    ac_optarg=$2
2873    ac_shift=shift
2874    ;;
2875  *) # This is not an option, so the user has probably given explicit
2876     # arguments.
2877     ac_option=$1
2878     ac_need_defaults=false;;
2879  esac
2880
2881  case $ac_option in
2882  # Handling of the options.
2883_ACEOF
2884cat >>$CONFIG_STATUS <<\_ACEOF
2885  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2886    ac_cs_recheck=: ;;
2887  --version | --vers* | -V )
2888    echo "$ac_cs_version"; exit 0 ;;
2889  --he | --h)
2890    # Conflict between --help and --header
2891    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2892Try \`$0 --help' for more information." >&5
2893echo "$as_me: error: ambiguous option: $1
2894Try \`$0 --help' for more information." >&2;}
2895   { (exit 1); exit 1; }; };;
2896  --help | --hel | -h )
2897    echo "$ac_cs_usage"; exit 0 ;;
2898  --debug | --d* | -d )
2899    debug=: ;;
2900  --file | --fil | --fi | --f )
2901    $ac_shift
2902    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2903    ac_need_defaults=false;;
2904  --header | --heade | --head | --hea )
2905    $ac_shift
2906    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2907    ac_need_defaults=false;;
2908  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2909  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2910    ac_cs_silent=: ;;
2911
2912  # This is an error.
2913  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2914Try \`$0 --help' for more information." >&5
2915echo "$as_me: error: unrecognized option: $1
2916Try \`$0 --help' for more information." >&2;}
2917   { (exit 1); exit 1; }; } ;;
2918
2919  *) ac_config_targets="$ac_config_targets $1" ;;
2920
2921  esac
2922  shift
2923done
2924
2925ac_configure_extra_args=
2926
2927if $ac_cs_silent; then
2928  exec 6>/dev/null
2929  ac_configure_extra_args="$ac_configure_extra_args --silent"
2930fi
2931
2932_ACEOF
2933cat >>$CONFIG_STATUS <<_ACEOF
2934if \$ac_cs_recheck; then
2935  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2936  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2937fi
2938
2939_ACEOF
2940
2941
2942
2943
2944
2945cat >>$CONFIG_STATUS <<\_ACEOF
2946for ac_config_target in $ac_config_targets
2947do
2948  case "$ac_config_target" in
2949  # Handling of arguments.
2950  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2951  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2952echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2953   { (exit 1); exit 1; }; };;
2954  esac
2955done
2956
2957# If the user did not use the arguments to specify the items to instantiate,
2958# then the envvar interface is used.  Set only those that are not.
2959# We use the long form for the default assignment because of an extremely
2960# bizarre bug on SunOS 4.1.3.
2961if $ac_need_defaults; then
2962  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2963fi
2964
2965# Have a temporary directory for convenience.  Make it in the build tree
2966# simply because there is no reason to put it here, and in addition,
2967# creating and moving files from /tmp can sometimes cause problems.
2968# Create a temporary directory, and hook for its removal unless debugging.
2969$debug ||
2970{
2971  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2972  trap '{ (exit 1); exit 1; }' 1 2 13 15
2973}
2974
2975# Create a (secure) tmp directory for tmp files.
2976
2977{
2978  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2979  test -n "$tmp" && test -d "$tmp"
2980}  ||
2981{
2982  tmp=./confstat$$-$RANDOM
2983  (umask 077 && mkdir $tmp)
2984} ||
2985{
2986   echo "$me: cannot create a temporary directory in ." >&2
2987   { (exit 1); exit 1; }
2988}
2989
2990_ACEOF
2991
2992cat >>$CONFIG_STATUS <<_ACEOF
2993
2994#
2995# CONFIG_FILES section.
2996#
2997
2998# No need to generate the scripts if there are no CONFIG_FILES.
2999# This happens for instance when ./config.status config.h
3000if test -n "\$CONFIG_FILES"; then
3001  # Protect against being on the right side of a sed subst in config.status.
3002  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3003   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3004s,@SHELL@,$SHELL,;t t
3005s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3006s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3007s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3008s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3009s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3010s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3011s,@exec_prefix@,$exec_prefix,;t t
3012s,@prefix@,$prefix,;t t
3013s,@program_transform_name@,$program_transform_name,;t t
3014s,@bindir@,$bindir,;t t
3015s,@sbindir@,$sbindir,;t t
3016s,@libexecdir@,$libexecdir,;t t
3017s,@datadir@,$datadir,;t t
3018s,@sysconfdir@,$sysconfdir,;t t
3019s,@sharedstatedir@,$sharedstatedir,;t t
3020s,@localstatedir@,$localstatedir,;t t
3021s,@libdir@,$libdir,;t t
3022s,@includedir@,$includedir,;t t
3023s,@oldincludedir@,$oldincludedir,;t t
3024s,@infodir@,$infodir,;t t
3025s,@mandir@,$mandir,;t t
3026s,@build_alias@,$build_alias,;t t
3027s,@host_alias@,$host_alias,;t t
3028s,@target_alias@,$target_alias,;t t
3029s,@DEFS@,$DEFS,;t t
3030s,@ECHO_C@,$ECHO_C,;t t
3031s,@ECHO_N@,$ECHO_N,;t t
3032s,@ECHO_T@,$ECHO_T,;t t
3033s,@LIBS@,$LIBS,;t t
3034s,@build@,$build,;t t
3035s,@build_cpu@,$build_cpu,;t t
3036s,@build_vendor@,$build_vendor,;t t
3037s,@build_os@,$build_os,;t t
3038s,@host@,$host,;t t
3039s,@host_cpu@,$host_cpu,;t t
3040s,@host_vendor@,$host_vendor,;t t
3041s,@host_os@,$host_os,;t t
3042s,@SO@,$SO,;t t
3043s,@CCSHARED@,$CCSHARED,;t t
3044s,@DEF@,$DEF,;t t
3045s,@SHARED_LIB@,$SHARED_LIB,;t t
3046s,@CC@,$CC,;t t
3047s,@CFLAGS@,$CFLAGS,;t t
3048s,@LDFLAGS@,$LDFLAGS,;t t
3049s,@CPPFLAGS@,$CPPFLAGS,;t t
3050s,@ac_ct_CC@,$ac_ct_CC,;t t
3051s,@EXEEXT@,$EXEEXT,;t t
3052s,@OBJEXT@,$OBJEXT,;t t
3053s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3054s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3055s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3056s,@LIBOBJS@,$LIBOBJS,;t t
3057s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3058CEOF
3059
3060_ACEOF
3061
3062  cat >>$CONFIG_STATUS <<\_ACEOF
3063  # Split the substitutions into bite-sized pieces for seds with
3064  # small command number limits, like on Digital OSF/1 and HP-UX.
3065  ac_max_sed_lines=48
3066  ac_sed_frag=1 # Number of current file.
3067  ac_beg=1 # First line for current file.
3068  ac_end=$ac_max_sed_lines # Line after last line for current file.
3069  ac_more_lines=:
3070  ac_sed_cmds=
3071  while $ac_more_lines; do
3072    if test $ac_beg -gt 1; then
3073      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3074    else
3075      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3076    fi
3077    if test ! -s $tmp/subs.frag; then
3078      ac_more_lines=false
3079    else
3080      # The purpose of the label and of the branching condition is to
3081      # speed up the sed processing (if there are no `@' at all, there
3082      # is no need to browse any of the substitutions).
3083      # These are the two extra sed commands mentioned above.
3084      (echo ':t
3085  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3086      if test -z "$ac_sed_cmds"; then
3087	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3088      else
3089	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3090      fi
3091      ac_sed_frag=`expr $ac_sed_frag + 1`
3092      ac_beg=$ac_end
3093      ac_end=`expr $ac_end + $ac_max_sed_lines`
3094    fi
3095  done
3096  if test -z "$ac_sed_cmds"; then
3097    ac_sed_cmds=cat
3098  fi
3099fi # test -n "$CONFIG_FILES"
3100
3101_ACEOF
3102cat >>$CONFIG_STATUS <<\_ACEOF
3103for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3104  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3105  case $ac_file in
3106  - | *:- | *:-:* ) # input from stdin
3107	cat >$tmp/stdin
3108	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3109	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3110  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3111	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3112  * )   ac_file_in=$ac_file.in ;;
3113  esac
3114
3115  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3116  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3117$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3118	 X"$ac_file" : 'X\(//\)[^/]' \| \
3119	 X"$ac_file" : 'X\(//\)$' \| \
3120	 X"$ac_file" : 'X\(/\)' \| \
3121	 .     : '\(.\)' 2>/dev/null ||
3122echo X"$ac_file" |
3123    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3124  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3125  	  /^X\(\/\/\)$/{ s//\1/; q; }
3126  	  /^X\(\/\).*/{ s//\1/; q; }
3127  	  s/.*/./; q'`
3128  { if $as_mkdir_p; then
3129    mkdir -p "$ac_dir"
3130  else
3131    as_dir="$ac_dir"
3132    as_dirs=
3133    while test ! -d "$as_dir"; do
3134      as_dirs="$as_dir $as_dirs"
3135      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3136$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3137	 X"$as_dir" : 'X\(//\)[^/]' \| \
3138	 X"$as_dir" : 'X\(//\)$' \| \
3139	 X"$as_dir" : 'X\(/\)' \| \
3140	 .     : '\(.\)' 2>/dev/null ||
3141echo X"$as_dir" |
3142    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3143  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3144  	  /^X\(\/\/\)$/{ s//\1/; q; }
3145  	  /^X\(\/\).*/{ s//\1/; q; }
3146  	  s/.*/./; q'`
3147    done
3148    test ! -n "$as_dirs" || mkdir $as_dirs
3149  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3150echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3151   { (exit 1); exit 1; }; }; }
3152
3153  ac_builddir=.
3154
3155if test "$ac_dir" != .; then
3156  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3157  # A "../" for each directory in $ac_dir_suffix.
3158  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3159else
3160  ac_dir_suffix= ac_top_builddir=
3161fi
3162
3163case $srcdir in
3164  .)  # No --srcdir option.  We are building in place.
3165    ac_srcdir=.
3166    if test -z "$ac_top_builddir"; then
3167       ac_top_srcdir=.
3168    else
3169       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3170    fi ;;
3171  [\\/]* | ?:[\\/]* )  # Absolute path.
3172    ac_srcdir=$srcdir$ac_dir_suffix;
3173    ac_top_srcdir=$srcdir ;;
3174  *) # Relative path.
3175    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3176    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3177esac
3178
3179# Do not use `cd foo && pwd` to compute absolute paths, because
3180# the directories may not exist.
3181case `pwd` in
3182.) ac_abs_builddir="$ac_dir";;
3183*)
3184  case "$ac_dir" in
3185  .) ac_abs_builddir=`pwd`;;
3186  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3187  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3188  esac;;
3189esac
3190case $ac_abs_builddir in
3191.) ac_abs_top_builddir=${ac_top_builddir}.;;
3192*)
3193  case ${ac_top_builddir}. in
3194  .) ac_abs_top_builddir=$ac_abs_builddir;;
3195  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3196  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3197  esac;;
3198esac
3199case $ac_abs_builddir in
3200.) ac_abs_srcdir=$ac_srcdir;;
3201*)
3202  case $ac_srcdir in
3203  .) ac_abs_srcdir=$ac_abs_builddir;;
3204  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3205  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3206  esac;;
3207esac
3208case $ac_abs_builddir in
3209.) ac_abs_top_srcdir=$ac_top_srcdir;;
3210*)
3211  case $ac_top_srcdir in
3212  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3213  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3214  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3215  esac;;
3216esac
3217
3218
3219  case $INSTALL in
3220  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3221  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3222  esac
3223
3224  if test x"$ac_file" != x-; then
3225    { echo "$as_me:$LINENO: creating $ac_file" >&5
3226echo "$as_me: creating $ac_file" >&6;}
3227    rm -f "$ac_file"
3228  fi
3229  # Let's still pretend it is `configure' which instantiates (i.e., don't
3230  # use $as_me), people would be surprised to read:
3231  #    /* config.h.  Generated by config.status.  */
3232  if test x"$ac_file" = x-; then
3233    configure_input=
3234  else
3235    configure_input="$ac_file.  "
3236  fi
3237  configure_input=$configure_input"Generated from `echo $ac_file_in |
3238				     sed 's,.*/,,'` by configure."
3239
3240  # First look for the input files in the build tree, otherwise in the
3241  # src tree.
3242  ac_file_inputs=`IFS=:
3243    for f in $ac_file_in; do
3244      case $f in
3245      -) echo $tmp/stdin ;;
3246      [\\/$]*)
3247	 # Absolute (can't be DOS-style, as IFS=:)
3248	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3249echo "$as_me: error: cannot find input file: $f" >&2;}
3250   { (exit 1); exit 1; }; }
3251	 echo "$f";;
3252      *) # Relative
3253	 if test -f "$f"; then
3254	   # Build tree
3255	   echo "$f"
3256	 elif test -f "$srcdir/$f"; then
3257	   # Source tree
3258	   echo "$srcdir/$f"
3259	 else
3260	   # /dev/null tree
3261	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3262echo "$as_me: error: cannot find input file: $f" >&2;}
3263   { (exit 1); exit 1; }; }
3264	 fi;;
3265      esac
3266    done` || { (exit 1); exit 1; }
3267_ACEOF
3268cat >>$CONFIG_STATUS <<_ACEOF
3269  sed "$ac_vpsub
3270$extrasub
3271_ACEOF
3272cat >>$CONFIG_STATUS <<\_ACEOF
3273:t
3274/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3275s,@configure_input@,$configure_input,;t t
3276s,@srcdir@,$ac_srcdir,;t t
3277s,@abs_srcdir@,$ac_abs_srcdir,;t t
3278s,@top_srcdir@,$ac_top_srcdir,;t t
3279s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3280s,@builddir@,$ac_builddir,;t t
3281s,@abs_builddir@,$ac_abs_builddir,;t t
3282s,@top_builddir@,$ac_top_builddir,;t t
3283s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3284s,@INSTALL@,$ac_INSTALL,;t t
3285" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3286  rm -f $tmp/stdin
3287  if test x"$ac_file" != x-; then
3288    mv $tmp/out $ac_file
3289  else
3290    cat $tmp/out
3291    rm -f $tmp/out
3292  fi
3293
3294done
3295_ACEOF
3296
3297cat >>$CONFIG_STATUS <<\_ACEOF
3298
3299{ (exit 0); exit 0; }
3300_ACEOF
3301chmod +x $CONFIG_STATUS
3302ac_clean_files=$ac_clean_files_save
3303
3304
3305# configure is writing to config.log, and then calls config.status.
3306# config.status does its own redirection, appending to config.log.
3307# Unfortunately, on DOS this fails, as config.log is still kept open
3308# by configure, so config.status won't be able to write to it; its
3309# output is simply discarded.  So we exec the FD to /dev/null,
3310# effectively closing config.log, so it can be properly (re)opened and
3311# appended to by config.status.  When coming back to configure, we
3312# need to make the FD available again.
3313if test "$no_create" != yes; then
3314  ac_cs_success=:
3315  ac_config_status_args=
3316  test "$silent" = yes &&
3317    ac_config_status_args="$ac_config_status_args --quiet"
3318  exec 5>/dev/null
3319  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3320  exec 5>>config.log
3321  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3322  # would make configure fail if this is the last instruction.
3323  $ac_cs_success || { (exit 1); exit 1; }
3324fi
3325
3326