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
1026 for ac_prog
in bison
1028 # Extract the first word of "$ac_prog", so it can be a program name with args.
1029 set dummy
$ac_prog; ac_word
=$2
1030 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1031 echo "configure:1032: checking for $ac_word" >&5
1032 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1033 echo $ac_n "(cached) $ac_c" 1>&6
1035 if test -n "$BISON"; then
1036 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
1038 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1039 for ac_dir
in $PATH; do
1040 test -z "$ac_dir" && ac_dir
=.
1041 if test -f $ac_dir/$ac_word; then
1042 ac_cv_prog_BISON
="$ac_prog"
1049 BISON
="$ac_cv_prog_BISON"
1050 if test -n "$BISON"; then
1051 echo "$ac_t""$BISON" 1>&6
1053 echo "$ac_t""no" 1>&6
1056 test -n "$BISON" && break
1058 test -n "$BISON" || BISON
="error"
1062 # Extract the first word of "$ac_prog", so it can be a program name with args.
1063 set dummy
$ac_prog; ac_word
=$2
1064 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1065 echo "configure:1066: checking for $ac_word" >&5
1066 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1067 echo $ac_n "(cached) $ac_c" 1>&6
1069 if test -n "$FLEX"; then
1070 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
1072 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1073 for ac_dir
in $PATH; do
1074 test -z "$ac_dir" && ac_dir
=.
1075 if test -f $ac_dir/$ac_word; then
1076 ac_cv_prog_FLEX
="$ac_prog"
1083 FLEX
="$ac_cv_prog_FLEX"
1084 if test -n "$FLEX"; then
1085 echo "$ac_t""$FLEX" 1>&6
1087 echo "$ac_t""no" 1>&6
1090 test -n "$FLEX" && break
1092 test -n "$FLEX" || FLEX
="error"
1096 # Extract the first word of "$ac_prog", so it can be a program name with args.
1097 set dummy
$ac_prog; ac_word
=$2
1098 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1099 echo "configure:1100: checking for $ac_word" >&5
1100 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
1101 echo $ac_n "(cached) $ac_c" 1>&6
1103 if test -n "$MAKE"; then
1104 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
1106 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1107 for ac_dir
in $PATH; do
1108 test -z "$ac_dir" && ac_dir
=.
1109 if test -f $ac_dir/$ac_word; then
1110 ac_cv_prog_MAKE
="$ac_prog"
1117 MAKE
="$ac_cv_prog_MAKE"
1118 if test -n "$MAKE"; then
1119 echo "$ac_t""$MAKE" 1>&6
1121 echo "$ac_t""no" 1>&6
1124 test -n "$MAKE" && break
1126 test -n "$MAKE" || MAKE
="error"
1128 # Extract the first word of "perl", so it can be a program name with args.
1129 set dummy perl
; ac_word
=$2
1130 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1131 echo "configure:1132: checking for $ac_word" >&5
1132 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
1133 echo $ac_n "(cached) $ac_c" 1>&6
1137 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
1140 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1141 for ac_dir
in $PATH; do
1142 test -z "$ac_dir" && ac_dir
=.
1143 if test -f $ac_dir/$ac_word; then
1144 ac_cv_path_PERL
="$ac_dir/$ac_word"
1149 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="error"
1153 PERL
="$ac_cv_path_PERL"
1154 if test -n "$PERL"; then
1155 echo "$ac_t""$PERL" 1>&6
1157 echo "$ac_t""no" 1>&6
1160 for ac_prog
in pod2man
1162 # Extract the first word of "$ac_prog", so it can be a program name with args.
1163 set dummy
$ac_prog; ac_word
=$2
1164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1165 echo "configure:1166: checking for $ac_word" >&5
1166 if eval "test \"`echo '$''{'ac_cv_prog_PODMAN'+set}'`\" = set"; then
1167 echo $ac_n "(cached) $ac_c" 1>&6
1169 if test -n "$PODMAN"; then
1170 ac_cv_prog_PODMAN
="$PODMAN" # Let the user override the test.
1172 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1173 for ac_dir
in $PATH; do
1174 test -z "$ac_dir" && ac_dir
=.
1175 if test -f $ac_dir/$ac_word; then
1176 ac_cv_prog_PODMAN
="$ac_prog"
1183 PODMAN
="$ac_cv_prog_PODMAN"
1184 if test -n "$PODMAN"; then
1185 echo "$ac_t""$PODMAN" 1>&6
1187 echo "$ac_t""no" 1>&6
1190 test -n "$PODMAN" && break
1192 test -n "$PODMAN" || PODMAN
="error"
1196 if test "x$TEXPREFIX" = xauto
; then
1200 echo $ac_n "checking TeX/MF root dir directory""... $ac_c" 1>&6
1201 echo "configure:1202: checking TeX/MF root dir directory" >&5
1203 find_root_prefix
="$prefix"
1206 test "x$find_root_prefix" = xNONE
&& find_root_prefix
="$ac_default_prefix"
1208 for postfix
in "/lib/tex/" "/lib/texmf" "/lib" "/tex" "/texmf"; do
1209 find_texprefix
="$find_root_prefix$postfix"
1210 if test -d $find_texprefix; then
1211 find_texpostfix
=$postfix
1216 if test "x$find_texpostfix" = x
; then
1217 find_texpostfix
='/lib/texmf/tex'
1219 echo "configure: warning: Cannot determine the TeX-directory. Please use --enable-tex-prefix" 1>&2
1224 find_texprefix
="$find_root_prefix/$find_texpostfix"
1226 # only assign if variablename not empty
1227 if test x
!= "xTEXPREFIX"; then
1228 TEXPREFIX
='${prefix}'/"$find_texpostfix"
1230 echo "$ac_t""$find_texprefix" 1>&6
1234 find_texprefix
=$TEXPREFIX
1237 if test "x$MFDIR" = xauto
; then
1241 echo $ac_n "checking MF input directory""... $ac_c" 1>&6
1242 echo "configure:1243: checking MF input directory" >&5
1243 find_dirdir
=`(cd $find_texprefix;
1244 $FIND ./ -type d -a -name source -print |sort|head -1|sed 's#^\./##')`
1247 if test "x$find_dirdir" = x
; then
1248 find_dirdir
="/source";
1250 echo "configure: warning: Cannot determine MF input subdirectory. Please set from command-line" 1>&2
1256 echo "$ac_t""$find_texprefix/$find_dirdir" 1>&6
1258 MFDIR
="$TEXPREFIX/$MFDIR"
1262 if test "x$TEXDIR" = xauto
; then
1266 echo $ac_n "checking TeX input directory""... $ac_c" 1>&6
1267 echo "configure:1268: checking TeX input directory" >&5
1268 find_dirdir
=`(cd $find_texprefix;
1269 $FIND ./ -type d -a -name tex -print |sort|head -1|sed 's#^\./##')`
1272 if test "x$find_dirdir" = x
; then
1275 echo "configure: warning: Cannot determine TeX input subdirectory. Please set from command-line" 1>&2
1281 echo "$ac_t""$find_texprefix/$find_dirdir" 1>&6
1283 TEXDIR
="$TEXPREFIX/$TEXDIR"
1292 if test $MAKE = "error"
1295 echo "configure: warning: can't find GNU make. You should install GNU make" 1>&2
1301 if test $BISON = "error"
1304 echo "configure: warning: can't find bison. Please install Bison" 1>&2
1310 if test $PERL = "error"
1313 echo "configure: warning: can't find perl. You should install Perl" 1>&2
1319 if test $PODMAN = "error"
1322 echo "configure: warning: can't find pod. You should install Perl" 1>&2
1328 if test $FLEX = "error"
1331 echo "configure: warning: can't find flex. Please install Flex" 1>&2
1338 if test $MAKE != "error" ; then
1339 $MAKE -v|
grep GNU
> /dev
/null
1343 echo "configure: warning: Please install *GNU* make" 1>&2
1349 if test $BISON != "error"; then
1350 bison_version
=`$BISON --version| sed 's/^.*version 1.//g' `
1351 if test $bison_version -lt 25; then
1353 echo "configure: warning: Your bison is too old (1.$bison_version). Please install 1.25" 1>&2
1359 if $CXX --version |
grep '2\.7' > /dev
/null
1364 echo "configure: warning: can't find g++ 2.7" 1>&2
1369 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1370 echo "configure:1371: checking how to run the C++ preprocessor" >&5
1371 if test -z "$CXXCPP"; then
1372 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1373 echo $ac_n "(cached) $ac_c" 1>&6
1376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1377 ac_cpp
='$CXXCPP $CPPFLAGS'
1378 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1379 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1380 cross_compiling
=$ac_cv_prog_cxx_cross
1381 CXXCPP
="${CXX-g++} -E"
1382 cat > conftest.
$ac_ext <<EOF
1383 #line 1384 "configure"
1384 #include "confdefs.h"
1387 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1388 { (eval echo configure
:1389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1389 ac_err
=`grep -v '^ *+' conftest.out`
1390 if test -z "$ac_err"; then
1394 echo "configure: failed program was:" >&5
1395 cat conftest.
$ac_ext >&5
1400 ac_cv_prog_CXXCPP
="$CXXCPP"
1403 CXXCPP
="$ac_cv_prog_CXXCPP"
1404 echo "$ac_t""$CXXCPP" 1>&6
1406 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1407 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1408 echo "configure:1409: checking for FlexLexer.h" >&5
1409 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1410 echo $ac_n "(cached) $ac_c" 1>&6
1412 cat > conftest.
$ac_ext <<EOF
1413 #line 1414 "configure"
1414 #include "confdefs.h"
1415 #include <FlexLexer.h>
1417 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1418 { (eval echo configure
:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1419 ac_err
=`grep -v '^ *+' conftest.out`
1420 if test -z "$ac_err"; then
1422 eval "ac_cv_header_$ac_safe=yes"
1425 echo "configure: failed program was:" >&5
1426 cat conftest.
$ac_ext >&5
1428 eval "ac_cv_header_$ac_safe=no"
1432 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1433 echo "$ac_t""yes" 1>&6
1436 echo "$ac_t""no" 1>&6
1438 echo "configure: warning: can't find flex header. Please install Flex headers correctly" 1>&2
1444 for a
in `find . -type d -and -not -name 'out*' -print`; do
1445 if test ! -d $a/$OUTDIR_NAME; then
1446 mkdir
$a/$OUTDIR_NAME
1455 cat > confcache
<<\EOF
1456 # This file is a shell script that caches the results of configure
1457 # tests run on this system so they can be shared between configure
1458 # scripts and configure runs. It is not useful on other systems.
1459 # If it contains results you don't want to keep, you may remove or edit it.
1461 # By default, configure uses ./config.cache as the cache file,
1462 # creating it if it does not exist already. You can give configure
1463 # the --cache-file=FILE option to use a different cache file; that is
1464 # what configure does when it calls configure scripts in
1465 # subdirectories, so they share the cache.
1466 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1467 # config.status only pays attention to the cache file if you give it the
1468 # --recheck option to rerun configure.
1471 # The following way of writing the cache mishandles newlines in values,
1472 # but we know of no workaround that is simple, portable, and efficient.
1473 # So, don't put newlines in cache variables' values.
1474 # Ultrix sh set writes to stderr and can't be redirected directly,
1475 # and sets the high bit in the cache file unless we assign to the vars.
1477 case `(ac_space=' '; set) 2>&1` in
1479 # `set' does not quote correctly, so add quotes (double-quote substitution
1480 # turns \\\\ into \\, and sed turns \\ into \).
1482 -e "s/'/'\\\\''/g" \
1483 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1486 # `set' quotes correctly as required by POSIX, so do not add quotes.
1487 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1490 if cmp -s $cache_file confcache
; then
1493 if test -w $cache_file; then
1494 echo "updating cache $cache_file"
1495 cat confcache
> $cache_file
1497 echo "not updating unwritable cache $cache_file"
1502 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1504 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1505 # Let make expand exec_prefix.
1506 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1508 # Any assignment to VPATH causes Sun make to only execute
1509 # the first set of double-colon rules, so remove it if not needed.
1510 # If there is a colon in the path, we need to keep it.
1511 if test "x$srcdir" = x.
; then
1512 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1515 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1517 # Transform confdefs.h into DEFS.
1518 # Protect against shell expansion while executing Makefile rules.
1519 # Protect against Makefile macro expansion.
1520 cat > conftest.defs
<<\EOF
1521 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1522 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1527 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
1531 # Without the "./", some shells look in PATH for config.status.
1532 : ${CONFIG_STATUS=./config.status}
1534 echo creating $CONFIG_STATUS
1535 rm -f $CONFIG_STATUS
1536 cat > $CONFIG_STATUS <<EOF
1538 # Generated automatically by configure.
1539 # Run this file to recreate the current configuration.
1540 # This directory was configured as follows,
1541 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
1543 # $0 $ac_configure_args
1545 # Compiler output produced by configure, useful for debugging
1546 # configure, is in ./config.log if it exists.
1548 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1551 case "\$ac_option" in
1552 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1553 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1554 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1555 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1556 echo "$CONFIG_STATUS generated by autoconf version 2.12"
1558 -help | --help | --hel | --he | --h)
1559 echo "\$ac_cs_usage"; exit 0 ;;
1560 *) echo "\$ac_cs_usage"; exit 1 ;;
1564 ac_given_srcdir=$srcdir
1565 ac_given_INSTALL="$INSTALL"
1567 trap 'rm -fr `echo "make/$OUTDIR_NAME/Configure_variables.make:make/Configure_variables.make.in
1568 Makefile:make/Toplevel.make.in" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1570 cat >> $CONFIG_STATUS <<EOF
1572 # Protect against being on the right side of a sed subst in config.status.
1573 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1574 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1577 s%@CFLAGS@%$CFLAGS%g
1578 s%@CPPFLAGS@%$CPPFLAGS%g
1579 s%@CXXFLAGS@%$CXXFLAGS%g
1581 s%@LDFLAGS@%$LDFLAGS%g
1583 s%@exec_prefix@%$exec_prefix%g
1584 s%@prefix@%$prefix%g
1585 s%@program_transform_name@%$program_transform_name%g
1586 s%@bindir@%$bindir%g
1587 s%@sbindir@%$sbindir%g
1588 s%@libexecdir@%$libexecdir%g
1589 s%@datadir@%$datadir%g
1590 s%@sysconfdir@%$sysconfdir%g
1591 s%@sharedstatedir@%$sharedstatedir%g
1592 s%@localstatedir@%$localstatedir%g
1593 s%@libdir@%$libdir%g
1594 s%@includedir@%$includedir%g
1595 s%@oldincludedir@%$oldincludedir%g
1596 s%@infodir@%$infodir%g
1597 s%@mandir@%$mandir%g
1599 s%@RANLIB@%$RANLIB%g
1600 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1601 s%@INSTALL_DATA@%$INSTALL_DATA%g
1604 s%@OUTDIR_NAME@%$OUTDIR_NAME%g
1605 s%@ICFLAGS@%$ICFLAGS%g
1606 s%@ILDFLAGS@%$ILDFLAGS%g
1607 s%@DEFINES@%$DEFINES%g
1608 s%@COMPILEINFO@%$COMPILEINFO%g
1609 s%@AUTOHEADER@%$AUTOHEADER%g
1615 s%@TEXPREFIX@%$TEXPREFIX%g
1616 s%@TEXDIR@%$TEXDIR%g
1618 s%@DIR_DATADIR@%$DIR_DATADIR%g
1619 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
1621 s%@PODMAN@%$PODMAN%g
1622 s%@CXXCPP@%$CXXCPP%g
1623 s%@subdirs@%$subdirs%g
1628 cat >> $CONFIG_STATUS <<\EOF
1630 # Split the substitutions into bite-sized pieces for seds with
1631 # small command number limits, like on Digital OSF/1 and HP-UX.
1632 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1633 ac_file=1 # Number of current file.
1634 ac_beg=1 # First line for current file.
1635 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1638 while $ac_more_lines; do
1639 if test $ac_beg -gt 1; then
1640 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1642 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1644 if test ! -s conftest.s$ac_file; then
1646 rm -f conftest.s$ac_file
1648 if test -z "$ac_sed_cmds"; then
1649 ac_sed_cmds="sed -f conftest.s$ac_file"
1651 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1653 ac_file=`expr $ac_file + 1`
1655 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1658 if test -z "$ac_sed_cmds"; then
1663 cat >> $CONFIG_STATUS <<EOF
1665 CONFIG_FILES=\${CONFIG_FILES-"make/$OUTDIR_NAME/Configure_variables.make:make/Configure_variables.make.in
1666 Makefile:make/Toplevel.make.in"}
1668 cat >> $CONFIG_STATUS <<\EOF
1669 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1670 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1672 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
1673 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
1674 *) ac_file_in="${ac_file}.in" ;;
1677 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1679 # Remove last slash and all that follows it. Not all systems have dirname.
1680 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
1681 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1682 # The file is in a subdirectory.
1683 test ! -d "$ac_dir" && mkdir "$ac_dir"
1684 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
1685 # A "../" for each directory in $ac_dir_suffix.
1686 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
1688 ac_dir_suffix= ac_dots=
1691 case "$ac_given_srcdir" in
1693 if test -z "$ac_dots"; then top_srcdir=.
1694 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
1695 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1697 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1698 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1701 case "$ac_given_INSTALL" in
1702 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1703 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1706 echo creating "$ac_file"
1708 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
1710 *Makefile*) ac_comsub="1i\\
1711 # $configure_input" ;;
1715 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1717 s%@configure_input@%$configure_input%g
1718 s%@srcdir@%$srcdir%g
1719 s%@top_srcdir@%$top_srcdir%g
1720 s%@INSTALL@%$INSTALL%g
1721 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1726 cat >> $CONFIG_STATUS <<EOF
1729 cat >> $CONFIG_STATUS <<\EOF
1733 chmod +x $CONFIG_STATUS
1734 rm -fr confdefs* $ac_clean_files
1735 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1737 if test "$no_recursion" != yes; then
1739 # Remove --cache-file and --srcdir arguments so they do not pile up.
1740 ac_sub_configure_args=
1742 for ac_arg in $ac_configure_args; do
1743 if test -n "$ac_prev"; then
1748 -cache-file | --cache-file | --cache-fil | --cache-fi \
1749 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1750 ac_prev=cache_file ;;
1751 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1752 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1754 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1756 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1758 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
1762 for ac_config_dir in flower; do
1764 # Do not complain, so a configure script can configure whichever
1765 # parts of a large source tree are present.
1766 if test ! -d $srcdir/$ac_config_dir; then
1770 echo configuring in $ac_config_dir
1775 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
1777 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
1785 # A "../" for each directory in /$ac_config_dir.
1786 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
1789 .) # No --srcdir option. We are building in place.
1790 ac_sub_srcdir=$srcdir ;;
1791 /*) # Absolute path.
1792 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
1794 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
1797 # Check for guested configure; otherwise get Cygnus style configure.
1798 if test -f $ac_sub_srcdir/configure; then
1799 ac_sub_configure=$ac_sub_srcdir/configure
1800 elif test -f $ac_sub_srcdir/configure.in; then
1801 ac_sub_configure=$ac_configure
1803 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
1807 # The recursion is here.
1808 if test -n "$ac_sub_configure"; then
1810 # Make the cache file name correct relative to the subdirectory.
1811 case "$cache_file" in
1812 /*) ac_sub_cache_file=$cache_file ;;
1814 ac_sub_cache_file="$ac_dots$cache_file" ;;
1816 case "$ac_given_INSTALL" in
1817 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1818 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1821 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
1822 # The eval makes quoting arguments work.
1823 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
1826 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
1835 touch make/$OUTDIR_NAME/Site.make
1838 For making everything, do:
1842 or if you used --outdir=blabla
1844 make OUTDIR_NAME=blabla
1846 If you want to make site-wide extensions to the makefiles, please use
1848 make/$OUTDIR_NAME/Site.make
1852 if test x$warn_b = "xyes" ; then
1855 **************************************************
1856 Warning: configure encountered warnings or errors.
1857 Please try to resolve these, and rerun configure
1858 before sending a bugreport.
1859 If you cannot resolve some warnings, the make
1860 process may still be succesful, but be warned.
1861 **************************************************