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 set debug printing"
17 disable-checking set runtime checks"
19 disable-debug set debug info"
21 enable-optimise use maximal speed optimisations"
23 enable-profiling compile with gprof support"
25 texprefix=DIR set the tex-directory to put the lilypond subdir in."
27 # Initialize some variables set by options.
28 # The variables have the same names as the options, with
29 # dashes changed to underlines.
31 cache_file
=.
/config.cache
40 program_transform_name
=s
,x
,x
,
48 bindir
='${exec_prefix}/bin'
49 sbindir
='${exec_prefix}/sbin'
50 libexecdir
='${exec_prefix}/libexec'
51 datadir
='${prefix}/share'
52 sysconfdir
='${prefix}/etc'
53 sharedstatedir
='${prefix}/com'
54 localstatedir
='${prefix}/var'
55 libdir
='${exec_prefix}/lib'
56 includedir
='${prefix}/include'
57 oldincludedir
='/usr/include'
58 infodir
='${prefix}/info'
59 mandir
='${prefix}/man'
61 # Initialize some other variables.
64 # Maximum number of lines to put in a shell here document.
71 # If the previous option needs an argument, assign it.
72 if test -n "$ac_prev"; then
73 eval "$ac_prev=\$ac_option"
79 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
83 # Accept the important Cygnus configure options, so we can diagnose typos.
87 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
89 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
90 bindir
="$ac_optarg" ;;
92 -build |
--build |
--buil |
--bui |
--bu)
94 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
97 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
98 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
100 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
101 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
102 cache_file
="$ac_optarg" ;;
104 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
106 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
108 datadir
="$ac_optarg" ;;
110 -disable-* |
--disable-*)
111 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
112 # Reject names that are not valid shell variable names.
113 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
114 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
116 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
117 eval "enable_${ac_feature}=no" ;;
119 -enable-* |
--enable-*)
120 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
121 # Reject names that are not valid shell variable names.
122 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
123 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
125 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
130 eval "enable_${ac_feature}='$ac_optarg'" ;;
132 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
133 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
134 |
--exec |
--exe |
--ex)
135 ac_prev
=exec_prefix
;;
136 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
137 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
138 |
--exec=* |
--exe=* |
--ex=*)
139 exec_prefix
="$ac_optarg" ;;
141 -gas |
--gas |
--ga |
--g)
142 # Obsolete; use --with-gas.
145 -help |
--help |
--hel |
--he)
146 # Omit some internal or obsolete options to make the list less imposing.
147 # This message is too long to be a string in the A/UX 3.1 sh.
149 Usage: configure [options] [host]
150 Options: [defaults in brackets after descriptions]
152 --cache-file=FILE cache test results in FILE
153 --help print this message
154 --no-create do not create output files
155 --quiet, --silent do not print \`checking...' messages
156 --version print the version of autoconf that created configure
157 Directory and file names:
158 --prefix=PREFIX install architecture-independent files in PREFIX
160 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
162 --bindir=DIR user executables in DIR [EPREFIX/bin]
163 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
164 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
165 --datadir=DIR read-only architecture-independent data in DIR
167 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
168 --sharedstatedir=DIR modifiable architecture-independent data in DIR
170 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
171 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
172 --includedir=DIR C header files in DIR [PREFIX/include]
173 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
174 --infodir=DIR info documentation in DIR [PREFIX/info]
175 --mandir=DIR man documentation in DIR [PREFIX/man]
176 --srcdir=DIR find the sources in DIR [configure dir or ..]
177 --program-prefix=PREFIX prepend PREFIX to installed program names
178 --program-suffix=SUFFIX append SUFFIX to installed program names
179 --program-transform-name=PROGRAM
180 run sed PROGRAM on installed program names
184 --build=BUILD configure for building on BUILD [BUILD=HOST]
185 --host=HOST configure for HOST [guessed]
186 --target=TARGET configure for TARGET [TARGET=HOST]
187 Features and packages:
188 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
189 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
190 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
191 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
192 --x-includes=DIR X include files are in DIR
193 --x-libraries=DIR X library files are in DIR
195 if test -n "$ac_help"; then
196 echo "--enable and --with options recognized:$ac_help"
200 -host |
--host |
--hos |
--ho)
202 -host=* |
--host=* |
--hos=* |
--ho=*)
205 -includedir |
--includedir |
--includedi |
--included |
--include \
206 |
--includ |
--inclu |
--incl |
--inc)
207 ac_prev
=includedir
;;
208 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
209 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
210 includedir
="$ac_optarg" ;;
212 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
214 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
215 infodir
="$ac_optarg" ;;
217 -libdir |
--libdir |
--libdi |
--libd)
219 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
220 libdir
="$ac_optarg" ;;
222 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
223 |
--libexe |
--libex |
--libe)
224 ac_prev
=libexecdir
;;
225 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
226 |
--libexe=* |
--libex=* |
--libe=*)
227 libexecdir
="$ac_optarg" ;;
229 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
230 |
--localstate |
--localstat |
--localsta |
--localst \
231 |
--locals |
--local |
--loca |
--loc |
--lo)
232 ac_prev
=localstatedir
;;
233 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
234 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
235 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
236 localstatedir
="$ac_optarg" ;;
238 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
240 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
241 mandir
="$ac_optarg" ;;
244 # Obsolete; use --without-fp.
247 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
251 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
252 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
255 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
256 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
257 |
--oldin |
--oldi |
--old |
--ol |
--o)
258 ac_prev
=oldincludedir
;;
259 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
260 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
261 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
262 oldincludedir
="$ac_optarg" ;;
264 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
266 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
267 prefix
="$ac_optarg" ;;
269 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
270 |
--program-pre |
--program-pr |
--program-p)
271 ac_prev
=program_prefix
;;
272 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
273 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
274 program_prefix
="$ac_optarg" ;;
276 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
277 |
--program-suf |
--program-su |
--program-s)
278 ac_prev
=program_suffix
;;
279 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
280 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
281 program_suffix
="$ac_optarg" ;;
283 -program-transform-name |
--program-transform-name \
284 |
--program-transform-nam |
--program-transform-na \
285 |
--program-transform-n |
--program-transform- \
286 |
--program-transform |
--program-transfor \
287 |
--program-transfo |
--program-transf \
288 |
--program-trans |
--program-tran \
289 |
--progr-tra |
--program-tr |
--program-t)
290 ac_prev
=program_transform_name
;;
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 program_transform_name
="$ac_optarg" ;;
300 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
301 |
-silent |
--silent |
--silen |
--sile |
--sil)
304 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
306 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
308 sbindir
="$ac_optarg" ;;
310 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
311 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
312 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
314 ac_prev
=sharedstatedir
;;
315 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
316 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
317 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
319 sharedstatedir
="$ac_optarg" ;;
321 -site |
--site |
--sit)
323 -site=* |
--site=* |
--sit=*)
326 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
328 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
329 srcdir
="$ac_optarg" ;;
331 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
332 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
333 ac_prev
=sysconfdir
;;
334 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
335 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
336 sysconfdir
="$ac_optarg" ;;
338 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
340 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
341 target
="$ac_optarg" ;;
343 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
346 -version |
--version |
--versio |
--versi |
--vers)
347 echo "configure generated by autoconf version 2.12"
351 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
352 # Reject names that are not valid shell variable names.
353 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
354 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
356 ac_package
=`echo $ac_package| sed 's/-/_/g'`
361 eval "with_${ac_package}='$ac_optarg'" ;;
363 -without-* |
--without-*)
364 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
365 # Reject names that are not valid shell variable names.
366 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
367 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
369 ac_package
=`echo $ac_package| sed 's/-/_/g'`
370 eval "with_${ac_package}=no" ;;
373 # Obsolete; use --with-x.
376 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
377 |
--x-incl |
--x-inc |
--x-in |
--x-i)
378 ac_prev
=x_includes
;;
379 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
380 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
381 x_includes
="$ac_optarg" ;;
383 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
384 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
385 ac_prev
=x_libraries
;;
386 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
387 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
388 x_libraries
="$ac_optarg" ;;
390 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
394 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
395 echo "configure: warning: $ac_option: invalid host type" 1>&2
397 if test "x$nonopt" != xNONE
; then
398 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
406 if test -n "$ac_prev"; then
407 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
410 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
412 # File descriptor usage:
415 # 2 errors and warnings
416 # 3 some systems may open it to /dev/tty
417 # 4 used on the Kubota Titan
418 # 6 checking for... messages and results
419 # 5 compiler messages saved in config.log
420 if test "$silent" = yes; then
428 This file contains any messages produced by compilers while
429 running configure, to aid debugging if configure makes a mistake.
432 # Strip out --no-create and --no-recursion so they do not pile up.
433 # Also quote any args containing shell metacharacters.
438 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
439 |
--no-cr |
--no-c) ;;
440 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
441 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
442 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
443 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
444 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
449 # Only set these to C if already set. These must not be set unconditionally
450 # because not all systems understand e.g. LANG=C (notably SCO).
451 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
452 # Non-C LC_CTYPE values break the ctype check.
453 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
454 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
455 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
456 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
458 # confdefs.h avoids OS command line length limits that DEFS can exceed.
459 rm -rf conftest
* confdefs.h
460 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
463 # A filename unique to this package, relative to the directory that
464 # configure is in, which we can look for to find out if srcdir is correct.
465 ac_unique_file
=flower
/choleski.cc
467 # Find the source files, if location was not specified.
468 if test -z "$srcdir"; then
469 ac_srcdir_defaulted
=yes
470 # Try the directory containing this script, then its parent.
472 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
473 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
475 if test ! -r $srcdir/$ac_unique_file; then
479 ac_srcdir_defaulted
=no
481 if test ! -r $srcdir/$ac_unique_file; then
482 if test "$ac_srcdir_defaulted" = yes; then
483 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
485 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
488 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
490 # Prefer explicitly selected file to automatically selected ones.
491 if test -z "$CONFIG_SITE"; then
492 if test "x$prefix" != xNONE
; then
493 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
495 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
498 for ac_site_file
in $CONFIG_SITE; do
499 if test -r "$ac_site_file"; then
500 echo "loading site script $ac_site_file"
505 if test -r "$cache_file"; then
506 echo "loading cache $cache_file"
509 echo "creating cache $cache_file"
514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
515 ac_cpp
='$CPP $CPPFLAGS'
516 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
517 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
518 cross_compiling
=$ac_cv_prog_cc_cross
520 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
521 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
522 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
529 ac_n
= ac_c
='\c' ac_t
=
536 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
537 ac_cpp
='$CXXCPP $CPPFLAGS'
538 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
539 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
540 cross_compiling
=$ac_cv_prog_cxx_cross
543 # Check whether --enable-printing or --disable-printing was given.
544 if test "${enable_printing+set}" = set; then
545 enableval
="$enable_printing"
548 DEFINES
="$DEFINES -DNPRINT=1"
551 # Check whether --enable-checking or --disable-checking was given.
552 if test "${enable_checking+set}" = set; then
553 enableval
="$enable_checking"
554 DEFINES
="$DEFINES -DNDEBUG=1"
557 # Check whether --enable-debug or --disable-debug was given.
558 if test "${enable_debug+set}" = set; then
559 enableval
="$enable_debug"
562 DEFINES
="$DEFINES -g"
565 # Check whether --enable-optimise or --disable-optimise was given.
566 if test "${enable_optimise+set}" = set; then
567 enableval
="$enable_optimise"
568 DEFINES
="$DEFINES -O2 -DSTRING_UTILS_INLINED"
571 # Check whether --enable-profiling or --disable-profiling was given.
572 if test "${enable_profiling+set}" = set; then
573 enableval
="$enable_profiling"
574 DEFINES
="$DEFINES -pg"
577 # Check whether --enable-texprefix or --disable-texprefix was given.
578 if test "${enable_texprefix+set}" = set; then
579 enableval
="$enable_texprefix"
586 AUTOHEADER
="This file was automatically generated by configure"
587 CXXFLAGS
=${CXXFLAGS:-""} # we don't want -g -O junk
588 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
590 # Extract the first word of "$ac_prog", so it can be a program name with args.
591 set dummy
$ac_prog; ac_word
=$2
592 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
593 echo "configure:594: checking for $ac_word" >&5
594 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
595 echo $ac_n "(cached) $ac_c" 1>&6
597 if test -n "$CXX"; then
598 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
600 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
601 for ac_dir
in $PATH; do
602 test -z "$ac_dir" && ac_dir
=.
603 if test -f $ac_dir/$ac_word; then
604 ac_cv_prog_CXX
="$ac_prog"
611 CXX
="$ac_cv_prog_CXX"
612 if test -n "$CXX"; then
613 echo "$ac_t""$CXX" 1>&6
615 echo "$ac_t""no" 1>&6
618 test -n "$CXX" && break
620 test -n "$CXX" || CXX
="gcc"
623 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
624 echo "configure:625: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
628 ac_cpp
='$CXXCPP $CPPFLAGS'
629 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
630 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
631 cross_compiling
=$ac_cv_prog_cxx_cross
633 cat > conftest.
$ac_ext <<EOF
634 #line 635 "configure"
635 #include "confdefs.h"
638 if { (eval echo configure
:639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
639 ac_cv_prog_cxx_works
=yes
640 # If we can't run a trivial program, we are probably using a cross compiler.
641 if (.
/conftest
; exit) 2>/dev
/null
; then
642 ac_cv_prog_cxx_cross
=no
644 ac_cv_prog_cxx_cross
=yes
647 echo "configure: failed program was:" >&5
648 cat conftest.
$ac_ext >&5
649 ac_cv_prog_cxx_works
=no
653 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
654 if test $ac_cv_prog_cxx_works = no
; then
655 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
657 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
658 echo "configure:659: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
659 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
660 cross_compiling
=$ac_cv_prog_cxx_cross
662 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
663 echo "configure:664: checking whether we are using GNU C++" >&5
664 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
665 echo $ac_n "(cached) $ac_c" 1>&6
667 cat > conftest.C
<<EOF
672 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
679 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
681 if test $ac_cv_prog_gxx = yes; then
683 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
684 ac_save_CXXFLAGS
="$CXXFLAGS"
686 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
687 echo "configure:688: checking whether ${CXX-g++} accepts -g" >&5
688 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
689 echo $ac_n "(cached) $ac_c" 1>&6
691 echo 'void f(){}' > conftest.cc
692 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
701 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
702 if test "$ac_test_CXXFLAGS" = set; then
703 CXXFLAGS
="$ac_save_CXXFLAGS"
704 elif test $ac_cv_prog_cxx_g = yes; then
711 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
714 # Extract the first word of "ranlib", so it can be a program name with args.
715 set dummy ranlib
; ac_word
=$2
716 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
717 echo "configure:718: checking for $ac_word" >&5
718 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
719 echo $ac_n "(cached) $ac_c" 1>&6
721 if test -n "$RANLIB"; then
722 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
724 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
725 for ac_dir
in $PATH; do
726 test -z "$ac_dir" && ac_dir
=.
727 if test -f $ac_dir/$ac_word; then
728 ac_cv_prog_RANLIB
="ranlib"
733 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
736 RANLIB
="$ac_cv_prog_RANLIB"
737 if test -n "$RANLIB"; then
738 echo "$ac_t""$RANLIB" 1>&6
740 echo "$ac_t""no" 1>&6
744 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
745 if test -f $ac_dir/install-sh
; then
747 ac_install_sh
="$ac_aux_dir/install-sh -c"
749 elif test -f $ac_dir/install.sh
; then
751 ac_install_sh
="$ac_aux_dir/install.sh -c"
755 if test -z "$ac_aux_dir"; then
756 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
758 ac_config_guess
=$ac_aux_dir/config.guess
759 ac_config_sub
=$ac_aux_dir/config.sub
760 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
762 # Find a good install program. We prefer a C program (faster),
763 # so one script is as good as another. But avoid the broken or
764 # incompatible versions:
765 # SysV /etc/install, /usr/sbin/install
766 # SunOS /usr/etc/install
769 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
770 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
771 # ./install, which can be erroneously created by make from ./install.sh.
772 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
773 echo "configure:774: checking for a BSD compatible install" >&5
774 if test -z "$INSTALL"; then
775 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
776 echo $ac_n "(cached) $ac_c" 1>&6
778 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
779 for ac_dir
in $PATH; do
780 # Account for people who put trailing slashes in PATH elements.
782 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
784 # OSF1 and SCO ODT 3.0 have their own names for install.
785 for ac_prog
in ginstall installbsd scoinst
install; do
786 if test -f $ac_dir/$ac_prog; then
787 if test $ac_prog = install &&
788 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
789 # AIX install. It has an incompatible calling convention.
790 # OSF/1 installbsd also uses dspmsg, but is usable.
793 ac_cv_path_install
="$ac_dir/$ac_prog -c"
804 if test "${ac_cv_path_install+set}" = set; then
805 INSTALL
="$ac_cv_path_install"
807 # As a last resort, use the slow shell script. We don't cache a
808 # path for INSTALL within a source directory, because that will
809 # break other packages using the cache if that directory is
810 # removed, or if the path is relative.
811 INSTALL
="$ac_install_sh"
814 echo "$ac_t""$INSTALL" 1>&6
816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
817 # It thinks the first close brace ends the variable substitution.
818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
820 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
824 # Extract the first word of "$ac_prog", so it can be a program name with args.
825 set dummy
$ac_prog; ac_word
=$2
826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
827 echo "configure:828: checking for $ac_word" >&5
828 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
829 echo $ac_n "(cached) $ac_c" 1>&6
831 if test -n "$FIND"; then
832 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
834 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
835 for ac_dir
in $PATH; do
836 test -z "$ac_dir" && ac_dir
=.
837 if test -f $ac_dir/$ac_word; then
838 ac_cv_prog_FIND
="$ac_prog"
845 FIND
="$ac_cv_prog_FIND"
846 if test -n "$FIND"; then
847 echo "$ac_t""$FIND" 1>&6
849 echo "$ac_t""no" 1>&6
852 test -n "$FIND" && break
854 test -n "$FIND" || FIND
="error"
857 if test FIND
= error
; then
858 echo "configure: warning: Couldn't find \`find'. Please use --enable-texprefix" 1>&2
871 # Extract the first word of "$ac_prog", so it can be a program name with args.
872 set dummy
$ac_prog; ac_word
=$2
873 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
874 echo "configure:875: checking for $ac_word" >&5
875 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
876 echo $ac_n "(cached) $ac_c" 1>&6
878 if test -n "$BISON"; then
879 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
881 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
882 for ac_dir
in $PATH; do
883 test -z "$ac_dir" && ac_dir
=.
884 if test -f $ac_dir/$ac_word; then
885 ac_cv_prog_BISON
="$ac_prog"
892 BISON
="$ac_cv_prog_BISON"
893 if test -n "$BISON"; then
894 echo "$ac_t""$BISON" 1>&6
896 echo "$ac_t""no" 1>&6
899 test -n "$BISON" && break
901 test -n "$BISON" || BISON
="error"
905 # Extract the first word of "$ac_prog", so it can be a program name with args.
906 set dummy
$ac_prog; ac_word
=$2
907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
908 echo "configure:909: checking for $ac_word" >&5
909 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
910 echo $ac_n "(cached) $ac_c" 1>&6
912 if test -n "$FLEX"; then
913 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
915 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
916 for ac_dir
in $PATH; do
917 test -z "$ac_dir" && ac_dir
=.
918 if test -f $ac_dir/$ac_word; then
919 ac_cv_prog_FLEX
="$ac_prog"
926 FLEX
="$ac_cv_prog_FLEX"
927 if test -n "$FLEX"; then
928 echo "$ac_t""$FLEX" 1>&6
930 echo "$ac_t""no" 1>&6
933 test -n "$FLEX" && break
935 test -n "$FLEX" || FLEX
="error"
939 # Extract the first word of "$ac_prog", so it can be a program name with args.
940 set dummy
$ac_prog; ac_word
=$2
941 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
942 echo "configure:943: checking for $ac_word" >&5
943 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
944 echo $ac_n "(cached) $ac_c" 1>&6
946 if test -n "$MAKE"; then
947 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
949 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
950 for ac_dir
in $PATH; do
951 test -z "$ac_dir" && ac_dir
=.
952 if test -f $ac_dir/$ac_word; then
953 ac_cv_prog_MAKE
="$ac_prog"
960 MAKE
="$ac_cv_prog_MAKE"
961 if test -n "$MAKE"; then
962 echo "$ac_t""$MAKE" 1>&6
964 echo "$ac_t""no" 1>&6
967 test -n "$MAKE" && break
969 test -n "$MAKE" || MAKE
="error"
971 for ac_prog
in pod2man
973 # Extract the first word of "$ac_prog", so it can be a program name with args.
974 set dummy
$ac_prog; ac_word
=$2
975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
976 echo "configure:977: checking for $ac_word" >&5
977 if eval "test \"`echo '$''{'ac_cv_prog_PODMAN'+set}'`\" = set"; then
978 echo $ac_n "(cached) $ac_c" 1>&6
980 if test -n "$PODMAN"; then
981 ac_cv_prog_PODMAN
="$PODMAN" # Let the user override the test.
983 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
984 for ac_dir
in $PATH; do
985 test -z "$ac_dir" && ac_dir
=.
986 if test -f $ac_dir/$ac_word; then
987 ac_cv_prog_PODMAN
="$ac_prog"
994 PODMAN
="$ac_cv_prog_PODMAN"
995 if test -n "$PODMAN"; then
996 echo "$ac_t""$PODMAN" 1>&6
998 echo "$ac_t""no" 1>&6
1001 test -n "$PODMAN" && break
1003 test -n "$PODMAN" || PODMAN
="error"
1006 if test $TEXPREFIX = auto
; then
1009 # do something sensible if root hasn't specced dir yet attempts install
1011 echo $ac_n "checking TeX installation directory""... $ac_c" 1>&6
1012 echo "configure:1013: checking TeX installation directory" >&5
1014 ac_tmp_prefix
=$prefix
1015 test "x$ac_tmp_prefix" = xNONE
&& ac_tmp_prefix
=$ac_default_prefix
1017 for texdir
in $ac_tmp_prefix $ac_tmp_prefix/lib
; do
1018 if test -d $texdir/texmf
; then
1019 TEXTOP
=$texdir/texmf
1022 if test -d $texdir/tex
; then
1028 TEXPREFIX
=$ac_tmp_prefix/lib
/texmf
/tex
1029 if test x
= "x$TEXTOP"; then
1030 echo "configure: warning: Cannot determine a tex-directory. Please use --enable-texprefix" 1>&2
1032 TEXPREFIX
=`$FIND $TEXTOP -type d -a -name tex -print |sort|head -1`
1036 echo "$ac_t""$TEXPREFIX" 1>&6
1040 if test $MAKE = "error"
1042 { echo "configure: error: Please install GNU make" 1>&2; exit 1; }
1044 $MAKE -v|
grep -q GNU
1047 echo "configure: warning: Please install *GNU* make" 1>&2
1052 if test $BISON = "error"
1054 echo "configure: warning: can't find bison. Please install Bison (1.24 or better)" 1>&2
1057 if test $PODMAN = "error"
1059 echo "configure: warning: can't find pod. You should install Perl (version 5 or better)" 1>&2
1062 if test $FLEX = "error"
1064 echo "configure: warning: can't find flex. Please install Flex (2.5 or better)" 1>&2
1067 if $CXX --version |
grep -q '2\.7'
1071 echo "configure: warning: can't find g++ 2.7" 1>&2
1074 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1075 echo "configure:1076: checking how to run the C++ preprocessor" >&5
1076 if test -z "$CXXCPP"; then
1077 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1078 echo $ac_n "(cached) $ac_c" 1>&6
1081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1082 ac_cpp
='$CXXCPP $CPPFLAGS'
1083 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1084 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1085 cross_compiling
=$ac_cv_prog_cxx_cross
1086 CXXCPP
="${CXX-g++} -E"
1087 cat > conftest.
$ac_ext <<EOF
1088 #line 1089 "configure"
1089 #include "confdefs.h"
1092 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1093 { (eval echo configure
:1094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1094 ac_err
=`grep -v '^ *+' conftest.out`
1095 if test -z "$ac_err"; then
1099 echo "configure: failed program was:" >&5
1100 cat conftest.
$ac_ext >&5
1105 ac_cv_prog_CXXCPP
="$CXXCPP"
1108 CXXCPP
="$ac_cv_prog_CXXCPP"
1109 echo "$ac_t""$CXXCPP" 1>&6
1111 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1112 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1113 echo "configure:1114: checking for FlexLexer.h" >&5
1114 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1115 echo $ac_n "(cached) $ac_c" 1>&6
1117 cat > conftest.
$ac_ext <<EOF
1118 #line 1119 "configure"
1119 #include "confdefs.h"
1120 #include <FlexLexer.h>
1122 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1123 { (eval echo configure
:1124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1124 ac_err
=`grep -v '^ *+' conftest.out`
1125 if test -z "$ac_err"; then
1127 eval "ac_cv_header_$ac_safe=yes"
1130 echo "configure: failed program was:" >&5
1131 cat conftest.
$ac_ext >&5
1133 eval "ac_cv_header_$ac_safe=no"
1137 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1138 echo "$ac_t""yes" 1>&6
1141 echo "$ac_t""no" 1>&6
1142 { echo "configure: error: can't find flex header. Please install Flex headers correctly" 1>&2; exit 1; }
1148 cat > confcache
<<\EOF
1149 # This file is a shell script that caches the results of configure
1150 # tests run on this system so they can be shared between configure
1151 # scripts and configure runs. It is not useful on other systems.
1152 # If it contains results you don't want to keep, you may remove or edit it.
1154 # By default, configure uses ./config.cache as the cache file,
1155 # creating it if it does not exist already. You can give configure
1156 # the --cache-file=FILE option to use a different cache file; that is
1157 # what configure does when it calls configure scripts in
1158 # subdirectories, so they share the cache.
1159 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1160 # config.status only pays attention to the cache file if you give it the
1161 # --recheck option to rerun configure.
1164 # The following way of writing the cache mishandles newlines in values,
1165 # but we know of no workaround that is simple, portable, and efficient.
1166 # So, don't put newlines in cache variables' values.
1167 # Ultrix sh set writes to stderr and can't be redirected directly,
1168 # and sets the high bit in the cache file unless we assign to the vars.
1170 case `(ac_space=' '; set) 2>&1` in
1172 # `set' does not quote correctly, so add quotes (double-quote substitution
1173 # turns \\\\ into \\, and sed turns \\ into \).
1175 -e "s/'/'\\\\''/g" \
1176 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1179 # `set' quotes correctly as required by POSIX, so do not add quotes.
1180 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1183 if cmp -s $cache_file confcache
; then
1186 if test -w $cache_file; then
1187 echo "updating cache $cache_file"
1188 cat confcache
> $cache_file
1190 echo "not updating unwritable cache $cache_file"
1195 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1197 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1198 # Let make expand exec_prefix.
1199 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1201 # Any assignment to VPATH causes Sun make to only execute
1202 # the first set of double-colon rules, so remove it if not needed.
1203 # If there is a colon in the path, we need to keep it.
1204 if test "x$srcdir" = x.
; then
1205 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1208 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1210 # Transform confdefs.h into DEFS.
1211 # Protect against shell expansion while executing Makefile rules.
1212 # Protect against Makefile macro expansion.
1213 cat > conftest.defs
<<\EOF
1214 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1215 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1220 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
1224 # Without the "./", some shells look in PATH for config.status.
1225 : ${CONFIG_STATUS=./config.status}
1227 echo creating $CONFIG_STATUS
1228 rm -f $CONFIG_STATUS
1229 cat > $CONFIG_STATUS <<EOF
1231 # Generated automatically by configure.
1232 # Run this file to recreate the current configuration.
1233 # This directory was configured as follows,
1234 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
1236 # $0 $ac_configure_args
1238 # Compiler output produced by configure, useful for debugging
1239 # configure, is in ./config.log if it exists.
1241 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1244 case "\$ac_option" in
1245 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1246 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1247 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1248 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1249 echo "$CONFIG_STATUS generated by autoconf version 2.12"
1251 -help | --help | --hel | --he | --h)
1252 echo "\$ac_cs_usage"; exit 0 ;;
1253 *) echo "\$ac_cs_usage"; exit 1 ;;
1257 ac_given_srcdir=$srcdir
1258 ac_given_INSTALL="$INSTALL"
1260 trap 'rm -fr `echo "make/out/Configure_variables.make:make/Configure_variables.make.in" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1262 cat >> $CONFIG_STATUS <<EOF
1264 # Protect against being on the right side of a sed subst in config.status.
1265 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1266 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1269 s%@CFLAGS@%$CFLAGS%g
1270 s%@CPPFLAGS@%$CPPFLAGS%g
1271 s%@CXXFLAGS@%$CXXFLAGS%g
1273 s%@LDFLAGS@%$LDFLAGS%g
1275 s%@exec_prefix@%$exec_prefix%g
1276 s%@prefix@%$prefix%g
1277 s%@program_transform_name@%$program_transform_name%g
1278 s%@bindir@%$bindir%g
1279 s%@sbindir@%$sbindir%g
1280 s%@libexecdir@%$libexecdir%g
1281 s%@datadir@%$datadir%g
1282 s%@sysconfdir@%$sysconfdir%g
1283 s%@sharedstatedir@%$sharedstatedir%g
1284 s%@localstatedir@%$localstatedir%g
1285 s%@libdir@%$libdir%g
1286 s%@includedir@%$includedir%g
1287 s%@oldincludedir@%$oldincludedir%g
1288 s%@infodir@%$infodir%g
1289 s%@mandir@%$mandir%g
1291 s%@RANLIB@%$RANLIB%g
1292 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1293 s%@INSTALL_DATA@%$INSTALL_DATA%g
1295 s%@DEFINES@%$DEFINES%g
1296 s%@COMPILEINFO@%$COMPILEINFO%g
1297 s%@AUTOHEADER@%$AUTOHEADER%g
1300 s%@TEXPREFIX@%$TEXPREFIX%g
1302 s%@PODMAN@%$PODMAN%g
1303 s%@CXXCPP@%$CXXCPP%g
1304 s%@subdirs@%$subdirs%g
1309 cat >> $CONFIG_STATUS <<\EOF
1311 # Split the substitutions into bite-sized pieces for seds with
1312 # small command number limits, like on Digital OSF/1 and HP-UX.
1313 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1314 ac_file=1 # Number of current file.
1315 ac_beg=1 # First line for current file.
1316 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1319 while $ac_more_lines; do
1320 if test $ac_beg -gt 1; then
1321 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1323 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1325 if test ! -s conftest.s$ac_file; then
1327 rm -f conftest.s$ac_file
1329 if test -z "$ac_sed_cmds"; then
1330 ac_sed_cmds="sed -f conftest.s$ac_file"
1332 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1334 ac_file=`expr $ac_file + 1`
1336 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1339 if test -z "$ac_sed_cmds"; then
1344 cat >> $CONFIG_STATUS <<EOF
1346 CONFIG_FILES=\${CONFIG_FILES-"make/out/Configure_variables.make:make/Configure_variables.make.in"}
1348 cat >> $CONFIG_STATUS <<\EOF
1349 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1350 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1352 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
1353 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
1354 *) ac_file_in="${ac_file}.in" ;;
1357 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1359 # Remove last slash and all that follows it. Not all systems have dirname.
1360 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
1361 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1362 # The file is in a subdirectory.
1363 test ! -d "$ac_dir" && mkdir "$ac_dir"
1364 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
1365 # A "../" for each directory in $ac_dir_suffix.
1366 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
1368 ac_dir_suffix= ac_dots=
1371 case "$ac_given_srcdir" in
1373 if test -z "$ac_dots"; then top_srcdir=.
1374 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
1375 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1377 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1378 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1381 case "$ac_given_INSTALL" in
1382 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1383 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1386 echo creating "$ac_file"
1388 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
1390 *Makefile*) ac_comsub="1i\\
1391 # $configure_input" ;;
1395 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1397 s%@configure_input@%$configure_input%g
1398 s%@srcdir@%$srcdir%g
1399 s%@top_srcdir@%$top_srcdir%g
1400 s%@INSTALL@%$INSTALL%g
1401 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1406 cat >> $CONFIG_STATUS <<EOF
1409 cat >> $CONFIG_STATUS <<\EOF
1413 chmod +x $CONFIG_STATUS
1414 rm -fr confdefs* $ac_clean_files
1415 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1417 if test "$no_recursion" != yes; then
1419 # Remove --cache-file and --srcdir arguments so they do not pile up.
1420 ac_sub_configure_args=
1422 for ac_arg in $ac_configure_args; do
1423 if test -n "$ac_prev"; then
1428 -cache-file | --cache-file | --cache-fil | --cache-fi \
1429 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1430 ac_prev=cache_file ;;
1431 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1432 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1434 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1436 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1438 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
1442 for ac_config_dir in flower; do
1444 # Do not complain, so a configure script can configure whichever
1445 # parts of a large source tree are present.
1446 if test ! -d $srcdir/$ac_config_dir; then
1450 echo configuring in $ac_config_dir
1455 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
1457 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
1465 # A "../" for each directory in /$ac_config_dir.
1466 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
1469 .) # No --srcdir option. We are building in place.
1470 ac_sub_srcdir=$srcdir ;;
1471 /*) # Absolute path.
1472 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
1474 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
1477 # Check for guested configure; otherwise get Cygnus style configure.
1478 if test -f $ac_sub_srcdir/configure; then
1479 ac_sub_configure=$ac_sub_srcdir/configure
1480 elif test -f $ac_sub_srcdir/configure.in; then
1481 ac_sub_configure=$ac_configure
1483 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
1487 # The recursion is here.
1488 if test -n "$ac_sub_configure"; then
1490 # Make the cache file name correct relative to the subdirectory.
1491 case "$cache_file" in
1492 /*) ac_sub_cache_file=$cache_file ;;
1494 ac_sub_cache_file="$ac_dots$cache_file" ;;
1496 case "$ac_given_INSTALL" in
1497 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1498 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1501 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
1502 # The eval makes quoting arguments work.
1503 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
1506 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
1517 eval "DIR_DATADIR=$datadir"
1518 DIR_DATADIR="$DIR_DATADIR/lilypond"
1519 echo $ac_n "checking ""... $ac_c" 1>&6
1520 echo "configure:1521: checking " >&5
1522 cat << EOF > lib/out/config.hh
1524 /* automatically generated by configure */
1525 /* include this file only once! */
1527 #define DIR_DATADIR "$DIR_DATADIR"
1531 CXX="$ac_cv_prog_CXX" bin/make_version >> lib/out/config.hh
1533 touch make/out/Site.make
1536 (cd mi2mu; CXX="$ac_cv_prog_CXX" ../bin/make_version > out/version.hh
1539 sed 's/TOPLEVEL_//g' < .version > lily/.version
1540 (cd lily; CXX="$ac_cv_prog_CXX" ../bin/make_version > out/version.hh
1546 Finished configuring. For making everything, do:
1550 If you only want help on the make targets, do a