3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 enable-printing turn on debug printing"
17 enable-checking set runtime checks (assert calls). Default: on"
19 enable-debugging set debug info. Default: on"
21 enable-optimise use maximal speed optimisations. Default: off"
23 enable-profiling compile with gprof support. Default: off"
25 mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
27 tex-prefix=DIR set the tex-directory to find TeX subdirectories. (default: PREFIX)"
29 tex-dir=DIR set the directory to put LilyPond TeX files in. "
31 mf-dir=DIR set the directory to put LilyPond MetaFont files in. (obsolete)"
33 out-dir set the directory for machine generated files. Default out or out-HOST"
35 # Initialize some variables set by options.
36 # The variables have the same names as the options, with
37 # dashes changed to underlines.
39 cache_file
=.
/config.cache
48 program_transform_name
=s
,x
,x
,
56 bindir
='${exec_prefix}/bin'
57 sbindir
='${exec_prefix}/sbin'
58 libexecdir
='${exec_prefix}/libexec'
59 datadir
='${prefix}/share'
60 sysconfdir
='${prefix}/etc'
61 sharedstatedir
='${prefix}/com'
62 localstatedir
='${prefix}/var'
63 libdir
='${exec_prefix}/lib'
64 includedir
='${prefix}/include'
65 oldincludedir
='/usr/include'
66 infodir
='${prefix}/info'
67 mandir
='${prefix}/man'
69 # Initialize some other variables.
72 # Maximum number of lines to put in a shell here document.
79 # If the previous option needs an argument, assign it.
80 if test -n "$ac_prev"; then
81 eval "$ac_prev=\$ac_option"
87 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
91 # Accept the important Cygnus configure options, so we can diagnose typos.
95 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
97 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
98 bindir
="$ac_optarg" ;;
100 -build |
--build |
--buil |
--bui |
--bu)
102 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
103 build
="$ac_optarg" ;;
105 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
106 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
107 ac_prev
=cache_file
;;
108 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
109 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
110 cache_file
="$ac_optarg" ;;
112 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
114 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
116 datadir
="$ac_optarg" ;;
118 -disable-* |
--disable-*)
119 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
120 # Reject names that are not valid shell variable names.
121 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
122 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
124 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
125 eval "enable_${ac_feature}=no" ;;
127 -enable-* |
--enable-*)
128 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
129 # Reject names that are not valid shell variable names.
130 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
131 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
133 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
138 eval "enable_${ac_feature}='$ac_optarg'" ;;
140 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
141 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
142 |
--exec |
--exe |
--ex)
143 ac_prev
=exec_prefix
;;
144 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
145 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
146 |
--exec=* |
--exe=* |
--ex=*)
147 exec_prefix
="$ac_optarg" ;;
149 -gas |
--gas |
--ga |
--g)
150 # Obsolete; use --with-gas.
153 -help |
--help |
--hel |
--he)
154 # Omit some internal or obsolete options to make the list less imposing.
155 # This message is too long to be a string in the A/UX 3.1 sh.
157 Usage: configure [options] [host]
158 Options: [defaults in brackets after descriptions]
160 --cache-file=FILE cache test results in FILE
161 --help print this message
162 --no-create do not create output files
163 --quiet, --silent do not print \`checking...' messages
164 --version print the version of autoconf that created configure
165 Directory and file names:
166 --prefix=PREFIX install architecture-independent files in PREFIX
168 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
170 --bindir=DIR user executables in DIR [EPREFIX/bin]
171 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
172 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
173 --datadir=DIR read-only architecture-independent data in DIR
175 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
176 --sharedstatedir=DIR modifiable architecture-independent data in DIR
178 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
179 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
180 --includedir=DIR C header files in DIR [PREFIX/include]
181 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
182 --infodir=DIR info documentation in DIR [PREFIX/info]
183 --mandir=DIR man documentation in DIR [PREFIX/man]
184 --srcdir=DIR find the sources in DIR [configure dir or ..]
185 --program-prefix=PREFIX prepend PREFIX to installed program names
186 --program-suffix=SUFFIX append SUFFIX to installed program names
187 --program-transform-name=PROGRAM
188 run sed PROGRAM on installed program names
192 --build=BUILD configure for building on BUILD [BUILD=HOST]
193 --host=HOST configure for HOST [guessed]
194 --target=TARGET configure for TARGET [TARGET=HOST]
195 Features and packages:
196 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
197 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
198 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
199 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
200 --x-includes=DIR X include files are in DIR
201 --x-libraries=DIR X library files are in DIR
203 if test -n "$ac_help"; then
204 echo "--enable and --with options recognized:$ac_help"
208 -host |
--host |
--hos |
--ho)
210 -host=* |
--host=* |
--hos=* |
--ho=*)
213 -includedir |
--includedir |
--includedi |
--included |
--include \
214 |
--includ |
--inclu |
--incl |
--inc)
215 ac_prev
=includedir
;;
216 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
217 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
218 includedir
="$ac_optarg" ;;
220 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
222 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
223 infodir
="$ac_optarg" ;;
225 -libdir |
--libdir |
--libdi |
--libd)
227 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
228 libdir
="$ac_optarg" ;;
230 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
231 |
--libexe |
--libex |
--libe)
232 ac_prev
=libexecdir
;;
233 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
234 |
--libexe=* |
--libex=* |
--libe=*)
235 libexecdir
="$ac_optarg" ;;
237 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
238 |
--localstate |
--localstat |
--localsta |
--localst \
239 |
--locals |
--local |
--loca |
--loc |
--lo)
240 ac_prev
=localstatedir
;;
241 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
242 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
243 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
244 localstatedir
="$ac_optarg" ;;
246 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
248 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
249 mandir
="$ac_optarg" ;;
252 # Obsolete; use --without-fp.
255 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
259 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
260 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
263 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
264 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
265 |
--oldin |
--oldi |
--old |
--ol |
--o)
266 ac_prev
=oldincludedir
;;
267 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
268 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
269 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
270 oldincludedir
="$ac_optarg" ;;
272 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
274 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
275 prefix
="$ac_optarg" ;;
277 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
278 |
--program-pre |
--program-pr |
--program-p)
279 ac_prev
=program_prefix
;;
280 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
281 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
282 program_prefix
="$ac_optarg" ;;
284 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
285 |
--program-suf |
--program-su |
--program-s)
286 ac_prev
=program_suffix
;;
287 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
288 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
289 program_suffix
="$ac_optarg" ;;
291 -program-transform-name |
--program-transform-name \
292 |
--program-transform-nam |
--program-transform-na \
293 |
--program-transform-n |
--program-transform- \
294 |
--program-transform |
--program-transfor \
295 |
--program-transfo |
--program-transf \
296 |
--program-trans |
--program-tran \
297 |
--progr-tra |
--program-tr |
--program-t)
298 ac_prev
=program_transform_name
;;
299 -program-transform-name=* |
--program-transform-name=* \
300 |
--program-transform-nam=* |
--program-transform-na=* \
301 |
--program-transform-n=* |
--program-transform-=* \
302 |
--program-transform=* |
--program-transfor=* \
303 |
--program-transfo=* |
--program-transf=* \
304 |
--program-trans=* |
--program-tran=* \
305 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
306 program_transform_name
="$ac_optarg" ;;
308 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
309 |
-silent |
--silent |
--silen |
--sile |
--sil)
312 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
314 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
316 sbindir
="$ac_optarg" ;;
318 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
319 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
320 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
322 ac_prev
=sharedstatedir
;;
323 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
324 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
325 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
327 sharedstatedir
="$ac_optarg" ;;
329 -site |
--site |
--sit)
331 -site=* |
--site=* |
--sit=*)
334 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
336 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
337 srcdir
="$ac_optarg" ;;
339 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
340 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
341 ac_prev
=sysconfdir
;;
342 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
343 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
344 sysconfdir
="$ac_optarg" ;;
346 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
348 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
349 target
="$ac_optarg" ;;
351 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
354 -version |
--version |
--versio |
--versi |
--vers)
355 echo "configure generated by autoconf version 2.12"
359 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
360 # Reject names that are not valid shell variable names.
361 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
362 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
364 ac_package
=`echo $ac_package| sed 's/-/_/g'`
369 eval "with_${ac_package}='$ac_optarg'" ;;
371 -without-* |
--without-*)
372 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
373 # Reject names that are not valid shell variable names.
374 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
375 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
377 ac_package
=`echo $ac_package| sed 's/-/_/g'`
378 eval "with_${ac_package}=no" ;;
381 # Obsolete; use --with-x.
384 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
385 |
--x-incl |
--x-inc |
--x-in |
--x-i)
386 ac_prev
=x_includes
;;
387 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
388 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
389 x_includes
="$ac_optarg" ;;
391 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
392 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
393 ac_prev
=x_libraries
;;
394 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
395 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
396 x_libraries
="$ac_optarg" ;;
398 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
402 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
403 echo "configure: warning: $ac_option: invalid host type" 1>&2
405 if test "x$nonopt" != xNONE
; then
406 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
414 if test -n "$ac_prev"; then
415 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
418 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
420 # File descriptor usage:
423 # 2 errors and warnings
424 # 3 some systems may open it to /dev/tty
425 # 4 used on the Kubota Titan
426 # 6 checking for... messages and results
427 # 5 compiler messages saved in config.log
428 if test "$silent" = yes; then
436 This file contains any messages produced by compilers while
437 running configure, to aid debugging if configure makes a mistake.
440 # Strip out --no-create and --no-recursion so they do not pile up.
441 # Also quote any args containing shell metacharacters.
446 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
447 |
--no-cr |
--no-c) ;;
448 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
449 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
450 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
451 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
452 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
457 # Only set these to C if already set. These must not be set unconditionally
458 # because not all systems understand e.g. LANG=C (notably SCO).
459 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
460 # Non-C LC_CTYPE values break the ctype check.
461 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
462 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
463 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
464 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
466 # confdefs.h avoids OS command line length limits that DEFS can exceed.
467 rm -rf conftest
* confdefs.h
468 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
471 # A filename unique to this package, relative to the directory that
472 # configure is in, which we can look for to find out if srcdir is correct.
473 ac_unique_file
=flower
/choleski.cc
475 # Find the source files, if location was not specified.
476 if test -z "$srcdir"; then
477 ac_srcdir_defaulted
=yes
478 # Try the directory containing this script, then its parent.
480 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
481 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
483 if test ! -r $srcdir/$ac_unique_file; then
487 ac_srcdir_defaulted
=no
489 if test ! -r $srcdir/$ac_unique_file; then
490 if test "$ac_srcdir_defaulted" = yes; then
491 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
493 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
496 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
498 # Prefer explicitly selected file to automatically selected ones.
499 if test -z "$CONFIG_SITE"; then
500 if test "x$prefix" != xNONE
; then
501 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
503 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
506 for ac_site_file
in $CONFIG_SITE; do
507 if test -r "$ac_site_file"; then
508 echo "loading site script $ac_site_file"
513 if test -r "$cache_file"; then
514 echo "loading cache $cache_file"
517 echo "creating cache $cache_file"
522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
523 ac_cpp
='$CPP $CPPFLAGS'
524 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
525 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
526 cross_compiling
=$ac_cv_prog_cc_cross
528 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
529 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
530 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
537 ac_n
= ac_c
='\c' ac_t
=
543 if test x
$srcdir != x.
; then
544 echo Please
look in the INSTALL instructions
for
545 echo directions
for multi-architecture building
548 echo "configure: warning: This package does not support --srcdir!" 1>&2
553 # if given here, these vars are initted at the checking point.
554 if test x
$host = xNONE
; then
555 OUTDIR_NAME
=${OUTDIR_NAME-"out"}
557 OUTDIR_NAME
=${OUTDIR_NAME-"out-$host"}
567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
568 ac_cpp
='$CXXCPP $CPPFLAGS'
569 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
570 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
571 cross_compiling
=$ac_cv_prog_cxx_cross
574 # Check whether --enable-printing or --disable-printing was given.
575 if test "${enable_printing+set}" = set; then
576 enableval
="$enable_printing"
577 printing_b
=$enableval
582 # Check whether --enable-checking or --disable-checking was given.
583 if test "${enable_checking+set}" = set; then
584 enableval
="$enable_checking"
585 checking_b
=$enableval
589 # Check whether --enable-debugging or --disable-debugging was given.
590 if test "${enable_debugging+set}" = set; then
591 enableval
="$enable_debugging"
596 # Check whether --enable-optimise or --disable-optimise was given.
597 if test "${enable_optimise+set}" = set; then
598 enableval
="$enable_optimise"
599 optimise_b
=$enableval
603 # Check whether --enable-profiling or --disable-profiling was given.
604 if test "${enable_profiling+set}" = set; then
605 enableval
="$enable_profiling"
610 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
611 if test "${enable_mingw_prefix+set}" = set; then
612 enableval
="$enable_mingw_prefix"
613 MINGWPREFIX
=$enableval
619 # Check whether --enable-tex-prefix or --disable-tex-prefix was given.
620 if test "${enable_tex_prefix+set}" = set; then
621 enableval
="$enable_tex_prefix"
628 # Check whether --enable-tex-dir or --disable-tex-dir was given.
629 if test "${enable_tex_dir+set}" = set; then
630 enableval
="$enable_tex_dir"
637 # Check whether --enable-mf-dir or --disable-mf-dir was given.
638 if test "${enable_mf_dir+set}" = set; then
639 enableval
="$enable_mf_dir"
646 # Check whether --enable-out-dir or --disable-out-dir was given.
647 if test "${enable_out_dir+set}" = set; then
648 enableval
="$enable_out_dir"
649 OUTDIR_NAME
=$enableval
654 if test $profile_b = yes; then
656 DEFINES
="$DEFINES -pg"
659 if test $printing_b = no
; then
660 DEFINES
="$DEFINES -DNPRINT=1"
663 if test $debug_b = yes; then
664 DEFINES
="$DEFINES -g"
666 if test $checking_b = no
; then
667 DEFINES
="$DEFINES -DNDEBUG=1"
670 # however, C++ support in mingw32 v 0.1.4 is still flaky
671 if test x
$MINGWPREFIX != xno
; then
672 ICFLAGS
="-I$MINGWPREFIX/include"
673 ILDFLAGS
="-$MINGWPREFIX/lib"
676 if test $optimise_b = yes; then
677 DEFINES
="$DEFINES -O2 -DSTRING_UTILS_INLINED"
680 if test "x$OSTYPE" = "xWindows_NT"; then
681 LN
=cp # hard link does not work under cygnus-nt (yet?)
688 AUTOHEADER
="This file was automatically generated by configure"
689 CPPFLAGS
=${CPPFLAGS:-""} # we don't want -g -O junk
690 CXXFLAGS
=${CXXFLAGS:-""} # we don't want -g -O junk
692 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
694 # Extract the first word of "$ac_prog", so it can be a program name with args.
695 set dummy
$ac_prog; ac_word
=$2
696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
697 echo "configure:698: checking for $ac_word" >&5
698 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
699 echo $ac_n "(cached) $ac_c" 1>&6
701 if test -n "$CXX"; then
702 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
704 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
705 for ac_dir
in $PATH; do
706 test -z "$ac_dir" && ac_dir
=.
707 if test -f $ac_dir/$ac_word; then
708 ac_cv_prog_CXX
="$ac_prog"
715 CXX
="$ac_cv_prog_CXX"
716 if test -n "$CXX"; then
717 echo "$ac_t""$CXX" 1>&6
719 echo "$ac_t""no" 1>&6
722 test -n "$CXX" && break
724 test -n "$CXX" || CXX
="gcc"
727 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
728 echo "configure:729: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
732 ac_cpp
='$CXXCPP $CPPFLAGS'
733 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
734 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
735 cross_compiling
=$ac_cv_prog_cxx_cross
737 cat > conftest.
$ac_ext <<EOF
738 #line 739 "configure"
739 #include "confdefs.h"
742 if { (eval echo configure
:743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
743 ac_cv_prog_cxx_works
=yes
744 # If we can't run a trivial program, we are probably using a cross compiler.
745 if (.
/conftest
; exit) 2>/dev
/null
; then
746 ac_cv_prog_cxx_cross
=no
748 ac_cv_prog_cxx_cross
=yes
751 echo "configure: failed program was:" >&5
752 cat conftest.
$ac_ext >&5
753 ac_cv_prog_cxx_works
=no
757 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
758 if test $ac_cv_prog_cxx_works = no
; then
759 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
761 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
762 echo "configure:763: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
763 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
764 cross_compiling
=$ac_cv_prog_cxx_cross
766 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
767 echo "configure:768: checking whether we are using GNU C++" >&5
768 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
769 echo $ac_n "(cached) $ac_c" 1>&6
771 cat > conftest.C
<<EOF
776 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
783 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
785 if test $ac_cv_prog_gxx = yes; then
787 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
788 ac_save_CXXFLAGS
="$CXXFLAGS"
790 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
791 echo "configure:792: checking whether ${CXX-g++} accepts -g" >&5
792 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
793 echo $ac_n "(cached) $ac_c" 1>&6
795 echo 'void f(){}' > conftest.cc
796 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
805 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
806 if test "$ac_test_CXXFLAGS" = set; then
807 CXXFLAGS
="$ac_save_CXXFLAGS"
808 elif test $ac_cv_prog_cxx_g = yes; then
815 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
818 # Extract the first word of "ranlib", so it can be a program name with args.
819 set dummy ranlib
; ac_word
=$2
820 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
821 echo "configure:822: checking for $ac_word" >&5
822 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
823 echo $ac_n "(cached) $ac_c" 1>&6
825 if test -n "$RANLIB"; then
826 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
828 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
829 for ac_dir
in $PATH; do
830 test -z "$ac_dir" && ac_dir
=.
831 if test -f $ac_dir/$ac_word; then
832 ac_cv_prog_RANLIB
="ranlib"
837 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
840 RANLIB
="$ac_cv_prog_RANLIB"
841 if test -n "$RANLIB"; then
842 echo "$ac_t""$RANLIB" 1>&6
844 echo "$ac_t""no" 1>&6
848 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
849 if test -f $ac_dir/install-sh
; then
851 ac_install_sh
="$ac_aux_dir/install-sh -c"
853 elif test -f $ac_dir/install.sh
; then
855 ac_install_sh
="$ac_aux_dir/install.sh -c"
859 if test -z "$ac_aux_dir"; then
860 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
862 ac_config_guess
=$ac_aux_dir/config.guess
863 ac_config_sub
=$ac_aux_dir/config.sub
864 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
866 # Find a good install program. We prefer a C program (faster),
867 # so one script is as good as another. But avoid the broken or
868 # incompatible versions:
869 # SysV /etc/install, /usr/sbin/install
870 # SunOS /usr/etc/install
873 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
874 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
875 # ./install, which can be erroneously created by make from ./install.sh.
876 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
877 echo "configure:878: checking for a BSD compatible install" >&5
878 if test -z "$INSTALL"; then
879 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
880 echo $ac_n "(cached) $ac_c" 1>&6
882 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
883 for ac_dir
in $PATH; do
884 # Account for people who put trailing slashes in PATH elements.
886 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
888 # OSF1 and SCO ODT 3.0 have their own names for install.
889 for ac_prog
in ginstall installbsd scoinst
install; do
890 if test -f $ac_dir/$ac_prog; then
891 if test $ac_prog = install &&
892 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
893 # AIX install. It has an incompatible calling convention.
894 # OSF/1 installbsd also uses dspmsg, but is usable.
897 ac_cv_path_install
="$ac_dir/$ac_prog -c"
908 if test "${ac_cv_path_install+set}" = set; then
909 INSTALL
="$ac_cv_path_install"
911 # As a last resort, use the slow shell script. We don't cache a
912 # path for INSTALL within a source directory, because that will
913 # break other packages using the cache if that directory is
914 # removed, or if the path is relative.
915 INSTALL
="$ac_install_sh"
918 echo "$ac_t""$INSTALL" 1>&6
920 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
921 # It thinks the first close brace ends the variable substitution.
922 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
924 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
928 # Extract the first word of "$ac_prog", so it can be a program name with args.
929 set dummy
$ac_prog; ac_word
=$2
930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
931 echo "configure:932: checking for $ac_word" >&5
932 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
933 echo $ac_n "(cached) $ac_c" 1>&6
935 if test -n "$TAR"; then
936 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
938 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
939 for ac_dir
in $PATH; do
940 test -z "$ac_dir" && ac_dir
=.
941 if test -f $ac_dir/$ac_word; then
942 ac_cv_prog_TAR
="$ac_prog"
949 TAR
="$ac_cv_prog_TAR"
950 if test -n "$TAR"; then
951 echo "$ac_t""$TAR" 1>&6
953 echo "$ac_t""no" 1>&6
956 test -n "$TAR" && break
958 test -n "$TAR" || TAR
="error"
962 # Extract the first word of "$ac_prog", so it can be a program name with args.
963 set dummy
$ac_prog; ac_word
=$2
964 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
965 echo "configure:966: checking for $ac_word" >&5
966 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
967 echo $ac_n "(cached) $ac_c" 1>&6
969 if test -n "$FIND"; then
970 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
972 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
973 for ac_dir
in $PATH; do
974 test -z "$ac_dir" && ac_dir
=.
975 if test -f $ac_dir/$ac_word; then
976 ac_cv_prog_FIND
="$ac_prog"
983 FIND
="$ac_cv_prog_FIND"
984 if test -n "$FIND"; then
985 echo "$ac_t""$FIND" 1>&6
987 echo "$ac_t""no" 1>&6
990 test -n "$FIND" && break
992 test -n "$FIND" || FIND
="error"
996 if test $FIND = "error"
999 echo "configure: warning: can't find \`find\'. Please use --enable-tex-dir. " 1>&2
1027 for ac_prog
in bison
1029 # Extract the first word of "$ac_prog", so it can be a program name with args.
1030 set dummy
$ac_prog; ac_word
=$2
1031 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1032 echo "configure:1033: checking for $ac_word" >&5
1033 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1034 echo $ac_n "(cached) $ac_c" 1>&6
1036 if test -n "$BISON"; then
1037 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
1039 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1040 for ac_dir
in $PATH; do
1041 test -z "$ac_dir" && ac_dir
=.
1042 if test -f $ac_dir/$ac_word; then
1043 ac_cv_prog_BISON
="$ac_prog"
1050 BISON
="$ac_cv_prog_BISON"
1051 if test -n "$BISON"; then
1052 echo "$ac_t""$BISON" 1>&6
1054 echo "$ac_t""no" 1>&6
1057 test -n "$BISON" && break
1059 test -n "$BISON" || BISON
="error"
1063 # Extract the first word of "$ac_prog", so it can be a program name with args.
1064 set dummy
$ac_prog; ac_word
=$2
1065 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1066 echo "configure:1067: checking for $ac_word" >&5
1067 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1068 echo $ac_n "(cached) $ac_c" 1>&6
1070 if test -n "$FLEX"; then
1071 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
1073 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1074 for ac_dir
in $PATH; do
1075 test -z "$ac_dir" && ac_dir
=.
1076 if test -f $ac_dir/$ac_word; then
1077 ac_cv_prog_FLEX
="$ac_prog"
1084 FLEX
="$ac_cv_prog_FLEX"
1085 if test -n "$FLEX"; then
1086 echo "$ac_t""$FLEX" 1>&6
1088 echo "$ac_t""no" 1>&6
1091 test -n "$FLEX" && break
1093 test -n "$FLEX" || FLEX
="error"
1097 # Extract the first word of "$ac_prog", so it can be a program name with args.
1098 set dummy
$ac_prog; ac_word
=$2
1099 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1100 echo "configure:1101: checking for $ac_word" >&5
1101 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
1102 echo $ac_n "(cached) $ac_c" 1>&6
1104 if test -n "$MAKE"; then
1105 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
1107 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1108 for ac_dir
in $PATH; do
1109 test -z "$ac_dir" && ac_dir
=.
1110 if test -f $ac_dir/$ac_word; then
1111 ac_cv_prog_MAKE
="$ac_prog"
1118 MAKE
="$ac_cv_prog_MAKE"
1119 if test -n "$MAKE"; then
1120 echo "$ac_t""$MAKE" 1>&6
1122 echo "$ac_t""no" 1>&6
1125 test -n "$MAKE" && break
1127 test -n "$MAKE" || MAKE
="error"
1129 # Extract the first word of "perl", so it can be a program name with args.
1130 set dummy perl
; ac_word
=$2
1131 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1132 echo "configure:1133: checking for $ac_word" >&5
1133 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
1134 echo $ac_n "(cached) $ac_c" 1>&6
1138 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
1141 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1142 for ac_dir
in $PATH; do
1143 test -z "$ac_dir" && ac_dir
=.
1144 if test -f $ac_dir/$ac_word; then
1145 ac_cv_path_PERL
="$ac_dir/$ac_word"
1150 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="error"
1154 PERL
="$ac_cv_path_PERL"
1155 if test -n "$PERL"; then
1156 echo "$ac_t""$PERL" 1>&6
1158 echo "$ac_t""no" 1>&6
1161 # Extract the first word of "python", so it can be a program name with args.
1162 set dummy python
; ac_word
=$2
1163 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1164 echo "configure:1165: checking for $ac_word" >&5
1165 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
1166 echo $ac_n "(cached) $ac_c" 1>&6
1170 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
1173 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1174 for ac_dir
in $PATH; do
1175 test -z "$ac_dir" && ac_dir
=.
1176 if test -f $ac_dir/$ac_word; then
1177 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
1182 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="error"
1186 PYTHON
="$ac_cv_path_PYTHON"
1187 if test -n "$PYTHON"; then
1188 echo "$ac_t""$PYTHON" 1>&6
1190 echo "$ac_t""no" 1>&6
1193 for ac_prog
in pod2man
1195 # Extract the first word of "$ac_prog", so it can be a program name with args.
1196 set dummy
$ac_prog; ac_word
=$2
1197 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1198 echo "configure:1199: checking for $ac_word" >&5
1199 if eval "test \"`echo '$''{'ac_cv_prog_PODMAN'+set}'`\" = set"; then
1200 echo $ac_n "(cached) $ac_c" 1>&6
1202 if test -n "$PODMAN"; then
1203 ac_cv_prog_PODMAN
="$PODMAN" # Let the user override the test.
1205 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1206 for ac_dir
in $PATH; do
1207 test -z "$ac_dir" && ac_dir
=.
1208 if test -f $ac_dir/$ac_word; then
1209 ac_cv_prog_PODMAN
="$ac_prog"
1216 PODMAN
="$ac_cv_prog_PODMAN"
1217 if test -n "$PODMAN"; then
1218 echo "$ac_t""$PODMAN" 1>&6
1220 echo "$ac_t""no" 1>&6
1223 test -n "$PODMAN" && break
1225 test -n "$PODMAN" || PODMAN
="error"
1229 if test "x$TEXPREFIX" = xauto
; then
1233 echo $ac_n "checking TeX/MF root dir directory""... $ac_c" 1>&6
1234 echo "configure:1235: checking TeX/MF root dir directory" >&5
1236 find_root_prefix
="$prefix"
1239 test "x$find_root_prefix" = xNONE
&& find_root_prefix
="$ac_default_prefix"
1241 for postfix
in "/lib/tex/" "/lib/texmf" "/lib" "/tex" "/texmf"; do
1242 find_texprefix
="$find_root_prefix$postfix"
1243 if test -d $find_texprefix; then
1244 find_texpostfix
=$postfix
1249 if test "x$find_texpostfix" = x
; then
1250 find_texpostfix
='/lib/texmf/tex'
1252 echo "configure: warning: Cannot determine the TeX-directory. Please use --enable-tex-prefix" 1>&2
1257 find_texprefix
="$find_root_prefix/$find_texpostfix"
1259 # only assign if variablename not empty
1260 if test x
!= "xTEXPREFIX"; then
1261 TEXPREFIX
='${prefix}'/"$find_texpostfix"
1263 echo "$ac_t""$find_texprefix" 1>&6
1267 find_texprefix
=$TEXPREFIX
1270 if test "x$MFDIR" = xauto
; then
1274 echo $ac_n "checking MF input directory""... $ac_c" 1>&6
1275 echo "configure:1276: checking MF input directory" >&5
1276 find_dirdir
=`(cd $find_texprefix;
1277 $FIND ./ -type d -a -name source -print |sort|head -1|sed 's#^\./##')`
1280 if test "x$find_dirdir" = x
; then
1281 find_dirdir
="/source";
1283 echo "configure: warning: Cannot determine MF input subdirectory. Please set from command-line" 1>&2
1289 echo "$ac_t""$find_texprefix/$find_dirdir" 1>&6
1291 MFDIR
="$TEXPREFIX/$MFDIR"
1295 if test "x$TEXDIR" = xauto
; then
1299 echo $ac_n "checking TeX input directory""... $ac_c" 1>&6
1300 echo "configure:1301: checking TeX input directory" >&5
1301 find_dirdir
=`(cd $find_texprefix;
1302 $FIND ./ -type d -a -name tex -print |sort|head -1|sed 's#^\./##')`
1305 if test "x$find_dirdir" = x
; then
1308 echo "configure: warning: Cannot determine TeX input subdirectory. Please set from command-line" 1>&2
1314 echo "$ac_t""$find_texprefix/$find_dirdir" 1>&6
1316 TEXDIR
="$TEXPREFIX/$TEXDIR"
1325 if test $MAKE = "error"
1328 echo "configure: warning: can't find GNU make. You should install GNU make" 1>&2
1334 if test $BISON = "error"
1337 echo "configure: warning: can't find bison. Please install Bison" 1>&2
1343 if test $PERL = "error"
1346 echo "configure: warning: can't find perl. You should install Perl" 1>&2
1352 if test $PYTHON = "error"
1355 echo "configure: warning: can't find python. You should install Python" 1>&2
1361 if test $PODMAN = "error"
1364 echo "configure: warning: can't find pod. You should install Perl" 1>&2
1370 if test $FLEX = "error"
1373 echo "configure: warning: can't find flex. Please install Flex" 1>&2
1380 if test $MAKE != "error" ; then
1381 $MAKE -v|
grep GNU
> /dev
/null
1385 echo "configure: warning: Please install *GNU* make" 1>&2
1391 if test $BISON != "error"; then
1392 bison_version
=`$BISON --version| sed 's/^.*version 1.//g' `
1393 if test $bison_version -lt 25; then
1395 echo "configure: warning: Your bison is too old (1.$bison_version). Please install 1.25" 1>&2
1401 if $CXX --version |
grep '2\.7' > /dev
/null
1406 echo "configure: warning: can't find g++ 2.7" 1>&2
1411 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1412 echo "configure:1413: checking how to run the C++ preprocessor" >&5
1413 if test -z "$CXXCPP"; then
1414 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1415 echo $ac_n "(cached) $ac_c" 1>&6
1418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1419 ac_cpp
='$CXXCPP $CPPFLAGS'
1420 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1421 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1422 cross_compiling
=$ac_cv_prog_cxx_cross
1423 CXXCPP
="${CXX-g++} -E"
1424 cat > conftest.
$ac_ext <<EOF
1425 #line 1426 "configure"
1426 #include "confdefs.h"
1429 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1430 { (eval echo configure
:1431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1431 ac_err
=`grep -v '^ *+' conftest.out`
1432 if test -z "$ac_err"; then
1436 echo "configure: failed program was:" >&5
1437 cat conftest.
$ac_ext >&5
1442 ac_cv_prog_CXXCPP
="$CXXCPP"
1445 CXXCPP
="$ac_cv_prog_CXXCPP"
1446 echo "$ac_t""$CXXCPP" 1>&6
1448 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1449 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1450 echo "configure:1451: checking for FlexLexer.h" >&5
1451 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1452 echo $ac_n "(cached) $ac_c" 1>&6
1454 cat > conftest.
$ac_ext <<EOF
1455 #line 1456 "configure"
1456 #include "confdefs.h"
1457 #include <FlexLexer.h>
1459 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1460 { (eval echo configure
:1461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1461 ac_err
=`grep -v '^ *+' conftest.out`
1462 if test -z "$ac_err"; then
1464 eval "ac_cv_header_$ac_safe=yes"
1467 echo "configure: failed program was:" >&5
1468 cat conftest.
$ac_ext >&5
1470 eval "ac_cv_header_$ac_safe=no"
1474 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1475 echo "$ac_t""yes" 1>&6
1478 echo "$ac_t""no" 1>&6
1480 echo "configure: warning: can't find flex header. Please install Flex headers correctly" 1>&2
1486 for a
in `find . -type d -and -not -name 'out*' -print`; do
1487 if test ! -d $a/$OUTDIR_NAME; then
1488 mkdir
$a/$OUTDIR_NAME
1497 cat > confcache
<<\EOF
1498 # This file is a shell script that caches the results of configure
1499 # tests run on this system so they can be shared between configure
1500 # scripts and configure runs. It is not useful on other systems.
1501 # If it contains results you don't want to keep, you may remove or edit it.
1503 # By default, configure uses ./config.cache as the cache file,
1504 # creating it if it does not exist already. You can give configure
1505 # the --cache-file=FILE option to use a different cache file; that is
1506 # what configure does when it calls configure scripts in
1507 # subdirectories, so they share the cache.
1508 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1509 # config.status only pays attention to the cache file if you give it the
1510 # --recheck option to rerun configure.
1513 # The following way of writing the cache mishandles newlines in values,
1514 # but we know of no workaround that is simple, portable, and efficient.
1515 # So, don't put newlines in cache variables' values.
1516 # Ultrix sh set writes to stderr and can't be redirected directly,
1517 # and sets the high bit in the cache file unless we assign to the vars.
1519 case `(ac_space=' '; set) 2>&1` in
1521 # `set' does not quote correctly, so add quotes (double-quote substitution
1522 # turns \\\\ into \\, and sed turns \\ into \).
1524 -e "s/'/'\\\\''/g" \
1525 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1528 # `set' quotes correctly as required by POSIX, so do not add quotes.
1529 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1532 if cmp -s $cache_file confcache
; then
1535 if test -w $cache_file; then
1536 echo "updating cache $cache_file"
1537 cat confcache
> $cache_file
1539 echo "not updating unwritable cache $cache_file"
1544 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1546 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1547 # Let make expand exec_prefix.
1548 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1550 # Any assignment to VPATH causes Sun make to only execute
1551 # the first set of double-colon rules, so remove it if not needed.
1552 # If there is a colon in the path, we need to keep it.
1553 if test "x$srcdir" = x.
; then
1554 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1557 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1559 # Transform confdefs.h into DEFS.
1560 # Protect against shell expansion while executing Makefile rules.
1561 # Protect against Makefile macro expansion.
1562 cat > conftest.defs
<<\EOF
1563 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1564 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1569 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
1573 # Without the "./", some shells look in PATH for config.status.
1574 : ${CONFIG_STATUS=./config.status}
1576 echo creating $CONFIG_STATUS
1577 rm -f $CONFIG_STATUS
1578 cat > $CONFIG_STATUS <<EOF
1580 # Generated automatically by configure.
1581 # Run this file to recreate the current configuration.
1582 # This directory was configured as follows,
1583 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
1585 # $0 $ac_configure_args
1587 # Compiler output produced by configure, useful for debugging
1588 # configure, is in ./config.log if it exists.
1590 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1593 case "\$ac_option" in
1594 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1595 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1596 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1597 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1598 echo "$CONFIG_STATUS generated by autoconf version 2.12"
1600 -help | --help | --hel | --he | --h)
1601 echo "\$ac_cs_usage"; exit 0 ;;
1602 *) echo "\$ac_cs_usage"; exit 1 ;;
1606 ac_given_srcdir=$srcdir
1607 ac_given_INSTALL="$INSTALL"
1609 trap 'rm -fr `echo "make/$OUTDIR_NAME/Configure_variables.make:make/Configure_variables.make.in
1610 Makefile:make/Toplevel.make.in" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1612 cat >> $CONFIG_STATUS <<EOF
1614 # Protect against being on the right side of a sed subst in config.status.
1615 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1616 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1619 s%@CFLAGS@%$CFLAGS%g
1620 s%@CPPFLAGS@%$CPPFLAGS%g
1621 s%@CXXFLAGS@%$CXXFLAGS%g
1623 s%@LDFLAGS@%$LDFLAGS%g
1625 s%@exec_prefix@%$exec_prefix%g
1626 s%@prefix@%$prefix%g
1627 s%@program_transform_name@%$program_transform_name%g
1628 s%@bindir@%$bindir%g
1629 s%@sbindir@%$sbindir%g
1630 s%@libexecdir@%$libexecdir%g
1631 s%@datadir@%$datadir%g
1632 s%@sysconfdir@%$sysconfdir%g
1633 s%@sharedstatedir@%$sharedstatedir%g
1634 s%@localstatedir@%$localstatedir%g
1635 s%@libdir@%$libdir%g
1636 s%@includedir@%$includedir%g
1637 s%@oldincludedir@%$oldincludedir%g
1638 s%@infodir@%$infodir%g
1639 s%@mandir@%$mandir%g
1641 s%@RANLIB@%$RANLIB%g
1642 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1643 s%@INSTALL_DATA@%$INSTALL_DATA%g
1646 s%@OUTDIR_NAME@%$OUTDIR_NAME%g
1647 s%@ICFLAGS@%$ICFLAGS%g
1648 s%@ILDFLAGS@%$ILDFLAGS%g
1649 s%@DEFINES@%$DEFINES%g
1650 s%@COMPILEINFO@%$COMPILEINFO%g
1651 s%@AUTOHEADER@%$AUTOHEADER%g
1656 s%@PYTHON@%$PYTHON%g
1658 s%@TEXPREFIX@%$TEXPREFIX%g
1659 s%@TEXDIR@%$TEXDIR%g
1661 s%@DIR_DATADIR@%$DIR_DATADIR%g
1662 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
1664 s%@PODMAN@%$PODMAN%g
1665 s%@CXXCPP@%$CXXCPP%g
1666 s%@subdirs@%$subdirs%g
1671 cat >> $CONFIG_STATUS <<\EOF
1673 # Split the substitutions into bite-sized pieces for seds with
1674 # small command number limits, like on Digital OSF/1 and HP-UX.
1675 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1676 ac_file=1 # Number of current file.
1677 ac_beg=1 # First line for current file.
1678 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1681 while $ac_more_lines; do
1682 if test $ac_beg -gt 1; then
1683 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1685 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1687 if test ! -s conftest.s$ac_file; then
1689 rm -f conftest.s$ac_file
1691 if test -z "$ac_sed_cmds"; then
1692 ac_sed_cmds="sed -f conftest.s$ac_file"
1694 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1696 ac_file=`expr $ac_file + 1`
1698 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1701 if test -z "$ac_sed_cmds"; then
1706 cat >> $CONFIG_STATUS <<EOF
1708 CONFIG_FILES=\${CONFIG_FILES-"make/$OUTDIR_NAME/Configure_variables.make:make/Configure_variables.make.in
1709 Makefile:make/Toplevel.make.in"}
1711 cat >> $CONFIG_STATUS <<\EOF
1712 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1713 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1715 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
1716 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
1717 *) ac_file_in="${ac_file}.in" ;;
1720 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1722 # Remove last slash and all that follows it. Not all systems have dirname.
1723 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
1724 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1725 # The file is in a subdirectory.
1726 test ! -d "$ac_dir" && mkdir "$ac_dir"
1727 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
1728 # A "../" for each directory in $ac_dir_suffix.
1729 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
1731 ac_dir_suffix= ac_dots=
1734 case "$ac_given_srcdir" in
1736 if test -z "$ac_dots"; then top_srcdir=.
1737 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
1738 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1740 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1741 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1744 case "$ac_given_INSTALL" in
1745 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1746 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1749 echo creating "$ac_file"
1751 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
1753 *Makefile*) ac_comsub="1i\\
1754 # $configure_input" ;;
1758 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1760 s%@configure_input@%$configure_input%g
1761 s%@srcdir@%$srcdir%g
1762 s%@top_srcdir@%$top_srcdir%g
1763 s%@INSTALL@%$INSTALL%g
1764 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1769 cat >> $CONFIG_STATUS <<EOF
1772 cat >> $CONFIG_STATUS <<\EOF
1776 chmod +x $CONFIG_STATUS
1777 rm -fr confdefs* $ac_clean_files
1778 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1780 if test "$no_recursion" != yes; then
1782 # Remove --cache-file and --srcdir arguments so they do not pile up.
1783 ac_sub_configure_args=
1785 for ac_arg in $ac_configure_args; do
1786 if test -n "$ac_prev"; then
1791 -cache-file | --cache-file | --cache-fil | --cache-fi \
1792 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1793 ac_prev=cache_file ;;
1794 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1795 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1797 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1799 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1801 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
1805 for ac_config_dir in flower; do
1807 # Do not complain, so a configure script can configure whichever
1808 # parts of a large source tree are present.
1809 if test ! -d $srcdir/$ac_config_dir; then
1813 echo configuring in $ac_config_dir
1818 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
1820 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
1828 # A "../" for each directory in /$ac_config_dir.
1829 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
1832 .) # No --srcdir option. We are building in place.
1833 ac_sub_srcdir=$srcdir ;;
1834 /*) # Absolute path.
1835 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
1837 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
1840 # Check for guested configure; otherwise get Cygnus style configure.
1841 if test -f $ac_sub_srcdir/configure; then
1842 ac_sub_configure=$ac_sub_srcdir/configure
1843 elif test -f $ac_sub_srcdir/configure.in; then
1844 ac_sub_configure=$ac_configure
1846 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
1850 # The recursion is here.
1851 if test -n "$ac_sub_configure"; then
1853 # Make the cache file name correct relative to the subdirectory.
1854 case "$cache_file" in
1855 /*) ac_sub_cache_file=$cache_file ;;
1857 ac_sub_cache_file="$ac_dots$cache_file" ;;
1859 case "$ac_given_INSTALL" in
1860 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1861 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1864 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
1865 # The eval makes quoting arguments work.
1866 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
1869 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
1878 touch make/$OUTDIR_NAME/Site.make
1881 For making everything, do:
1885 or if you used --outdir=blabla
1887 make OUTDIR_NAME=blabla
1889 If you want to make site-wide extensions to the makefiles, please use
1891 make/$OUTDIR_NAME/Site.make
1895 if test x$warn_b = "xyes" ; then
1898 **************************************************
1899 Warning: configure encountered warnings or errors.
1900 Please try to resolve these, and rerun configure
1901 before sending a bugreport.
1902 If you cannot resolve some warnings, the make
1903 process may still be succesful, but be warned.
1904 **************************************************