Lines Matching +full:conf +full:- +full:cmd +full:- +full:dat
3 # Guess values for system-dependent variables and create Makefiles.
6 # Copyright 2003-2022,2023 Thomas E. Dickey
26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 set -o posix
42 rm -f conf$$ conf$$.exe conf$$.file
43 echo >conf$$.file
44 if ln -s conf$$.file conf$$ 2>/dev/null; then
47 if test -f conf$$.exe; then
49 as_ln_s='cp -p'
51 as_ln_s='ln -s'
53 elif ln conf$$.file conf$$ 2>/dev/null; then
56 as_ln_s='cp -p'
58 rm -f conf$$ conf$$.exe conf$$.file
60 as_executable_p="test -f"
91 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
103 SHELL=${CONFIG_SHELL-/bin/sh}
199 if test -n "$ac_prev"; then
211 -bindir | --bindir | --bindi | --bind | --bin | --bi)
213 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
216 -build | --build | --buil | --bui | --bu)
218 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
221 -cache-file | --cache-file | --cache-fil | --cache-fi \
222 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
224 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
225 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
228 --config-cache | -C)
231 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
233 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
234 | --da=*)
237 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
238 | --dataroo | --dataro | --datar)
240 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
241 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
244 -disable-* | --disable-*)
245 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
247 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
250 ac_feature=`echo "$ac_feature" | sed 's/-/_/g'`
253 -enable-* | --enable-*)
254 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
256 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
259 ac_feature=`echo "$ac_feature" | sed 's/-/_/g'`
266 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
267 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
268 | --exec | --exe | --ex)
270 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
271 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
272 | --exec=* | --exe=* | --ex=*)
275 -gas | --gas | --ga | --g)
276 # Obsolete; use --with-gas.
279 -help | --help | --hel | --he | -h)
281 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
283 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
286 -host | --host | --hos | --ho)
288 -host=* | --host=* | --hos=* | --ho=*)
291 -includedir | --includedir | --includedi | --included | --include \
292 | --includ | --inclu | --incl | --inc)
294 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
295 | --includ=* | --inclu=* | --incl=* | --inc=*)
298 -infodir | --infodir | --infodi | --infod | --info | --inf)
300 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
303 -libdir | --libdir | --libdi | --libd)
305 -libdir=* | --libdir=* | --libdi=* | --libd=*)
308 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
309 | --libexe | --libex | --libe)
311 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
312 | --libexe=* | --libex=* | --libe=*)
315 -localstatedir | --localstatedir | --localstatedi | --localstated \
316 | --localstate | --localstat | --localsta | --localst \
317 | --locals | --local | --loca | --loc | --lo)
319 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
320 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
321 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
324 -runstatedir | --runstatedir | --runstatedi | --runstated \
325 | --runstate | --runstat | --runsta | --runst \
326 | --runs | --run | --ru)
328 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
329 | --runstate=* | --runstat=* | --runsta=* | --runst=* \
330 | --runs=* | --run=* | --ru=*)
333 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
335 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
338 -nfp | --nfp | --nf)
339 # Obsolete; use --without-fp.
342 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
343 | --no-cr | --no-c)
346 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
347 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
350 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
351 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
352 | --oldin | --oldi | --old | --ol | --o)
354 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
355 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
356 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
359 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
361 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
364 -program-prefix | --program-prefix | --program-prefi | --program-pref \
365 | --program-pre | --program-pr | --program-p)
367 -program-prefix=* | --program-prefix=* | --program-prefi=* \
368 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
371 -program-suffix | --program-suffix | --program-suffi | --program-suff \
372 | --program-suf | --program-su | --program-s)
374 -program-suffix=* | --program-suffix=* | --program-suffi=* \
375 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
378 -program-transform-name | --program-transform-name \
379 | --program-transform-nam | --program-transform-na \
380 | --program-transform-n | --program-transform- \
381 | --program-transform | --program-transfor \
382 | --program-transfo | --program-transf \
383 | --program-trans | --program-tran \
384 | --progr-tra | --program-tr | --program-t)
386 -program-transform-name=* | --program-transform-name=* \
387 | --program-transform-nam=* | --program-transform-na=* \
388 | --program-transform-n=* | --program-transform-=* \
389 | --program-transform=* | --program-transfor=* \
390 | --program-transfo=* | --program-transf=* \
391 | --program-trans=* | --program-tran=* \
392 | --progr-tra=* | --program-tr=* | --program-t=*)
395 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
396 | -silent | --silent | --silen | --sile | --sil)
399 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
401 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
402 | --sbi=* | --sb=*)
405 -sharedstatedir | --sharedstatedir | --sharedstatedi \
406 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
407 | --sharedst | --shareds | --shared | --share | --shar \
408 | --sha | --sh)
410 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
411 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
412 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
413 | --sha=* | --sh=*)
416 -site | --site | --sit)
418 -site=* | --site=* | --sit=*)
421 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
423 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
426 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
427 | --syscon | --sysco | --sysc | --sys | --sy)
429 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
430 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
433 -target | --target | --targe | --targ | --tar | --ta | --t)
435 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
438 -v | -verbose | --verbose | --verbos | --verbo | --verb)
441 -version | --version | --versio | --versi | --vers | -V)
444 -with-* | --with-*)
445 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
447 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
450 ac_package=`echo "$ac_package" | sed 's/-/_/g'`
457 -without-* | --without-*)
458 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
460 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
463 ac_package=`echo "$ac_package" | sed 's/-/_/g'`
466 --x)
467 # Obsolete; use --with-x.
470 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
471 | --x-incl | --x-inc | --x-in | --x-i)
473 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
474 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
477 -x-libraries | --x-libraries | --x-librarie | --x-librari \
478 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
480 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
481 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
484 -*) { echo "$as_me: error: unrecognized option: $ac_option
485 Try \`$0 --help' for more information." >&2
501 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
502 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
510 if test -n "$ac_prev"; then
511 ac_option=--`echo "$ac_prev" | sed 's/_/-/g'`
522 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
534 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
540 # used to hold the argument of --host etc.
549 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
557 test -n "$host_alias" && ac_tool_prefix=$host_alias-
562 if test -z "$srcdir"; then
569 if test ! -r "$srcdir/$ac_unique_file"; then
575 if test ! -r "$srcdir/$ac_unique_file"; then
631 # Report the --help message.
647 -h, --help display this help and exit
648 --help=short display options specific to this package
649 --help=recursive display the short help of all the included packages
650 -V, --version display version information and exit
651 -q, --quiet, --silent do not print \`checking...' messages
652 --cache-file=FILE cache test results in FILE [disabled]
653 -C, --config-cache alias for \`--cache-file=config.cache'
654 -n, --no-create do not create output files
655 --srcdir=DIR find the sources in DIR [configure dir or \`..']
661 --prefix=PREFIX install architecture-independent files in PREFIX
663 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
668 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
669 for instance \`--prefix=\$HOME'.
674 --bindir=DIR user executables [EPREFIX/bin]
675 --sbindir=DIR system admin executables [EPREFIX/sbin]
676 --libexecdir=DIR program executables [EPREFIX/libexec]
677 --datarootdir=DIR read-only architecture-independent data [PREFIX/share]
678 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
679 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
680 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
681 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
682 --runstatedir=DIR extra definition of runtime data [LOCALSTATEDIR/run]
683 --libdir=DIR object code libraries [EPREFIX/lib]
684 --includedir=DIR C header files [PREFIX/include]
685 --oldincludedir=DIR C header files for non-gcc [/usr/include]
686 --infodir=DIR info documentation [DATAROOTDIR/info]
687 --mandir=DIR man documentation [DATAROOTDIR/man]
693 --program-prefix=PREFIX prepend PREFIX to installed program names
694 --program-suffix=SUFFIX append SUFFIX to installed program names
695 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
698 --build=BUILD configure for building on BUILD [guessed]
699 --host=HOST build programs to run on HOST [BUILD]
700 --target=TARGET configure for building compilers for TARGET [HOST]
704 if test -n "$ac_init_help"; then
709 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
710 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
713 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
714 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
716 --with-rel-version=XXX override derived release version
717 --with-abi-version=XXX override derived ABI version
718 --with-system-type=XXX test: override derived host system-type
719 --with-abi-altered=XXX override visible ABI version, for packaging
720 --without-ada suppress check for Ada compiler, don't build demo
721 --without-cxx do not adjust ncurses bool to match C++
722 --without-cxx-binding do not build C++ binding and demo
723 --disable-db-install suppress install of terminal database
724 --without-manpages suppress install of manpages
725 --without-progs suppress build/install with programs (e.g., tic)
726 --without-tests suppress build/install with test-programs
727 --without-curses-h install curses.h as ncurses.h only
728 --with-config-suffix=X name ncurses*X-config file with X
729 --with-pkg-config[=CMD] enable/disable use of pkg-config and its name CMD
730 --with-pkg-config-libdir[=XXX] use given directory for installing pc-files
731 --enable-pc-files generate and install .pc files for pkg-config
732 --with-pc-suffix[=XXX] suffix pkg-config files with XXX
733 --enable-mixed-case tic should assume mixed-case filenames
734 --with-install-prefix=DESTDIR use DESTDIR as installation directory prefix
735 Build-Tools Needed to Compile Temporary Applications for Cross-compiling:
736 --with-build-cc=XXX the build C compiler ($BUILD_CC)
737 --with-build-cpp=XXX the build C preprocessor ($BUILD_CPP)
738 --with-build-cflags=XXX the build C compiler-flags ($BUILD_CFLAGS)
739 --with-build-cppflags=XXX the build C preprocessor-flags ($BUILD_CPPFLAGS)
740 --with-build-ldflags=XXX the build linker-flags ($BUILD_LDFLAGS)
741 --with-build-libs=XXX the build libraries (${BUILD_LIBS})
743 --disable-libtool-version enable to use libtool's incompatible naming scheme
744 --with-libtool generate libraries with libtool
745 --with-shared generate shared-libraries
746 --with-normal generate normal-libraries (default)
747 --with-debug generate debug-libraries (default)
748 --with-profile generate profile-libraries
749 --with-cxx-shared generate C++ shared-libraries
750 --with-lib-prefix override library-prefix
751 --with-termlib generate separate terminfo library
752 --with-ticlib generate separate tic library
753 --enable-rpath use rpath option when generating shared libraries
754 --disable-relink relink shared libraries during install
755 --with-shlib-version[={rel|abi}] use release or ABI version in shared library file names
756 --with-libtool-opts[=XXX] give libtool additional options XXX
757 --with-export-syms[=SYM-FILE] limit symbols exported by libtool to those listed in SYM-FILE
758 --with-versioned-syms[=MAP-FILE] version ELF shared library symbols per MAP-FILE
759 --with-gpm use Alessandro Rubini's GPM library
760 --without-dlsym do not use dlsym() to load GPM dynamically
761 --with-pcre2 use PCRE2 for regular-expressions
762 --with-sysmouse use sysmouse (FreeBSD console)
763 --disable-lib-suffixes disable library suffixes
764 --disable-rpath-hack don't add rpath options for additional libraries
765 --disable-pkg-ldflags disable extra LDFLAGS for package-scripts
766 Fine-Tuning Your Configuration:
767 --with-extra-suffix[=X] append extra suffix X to header/library paths
768 --disable-overwrite put headers in subdir, omit link to -lcurses
769 --disable-database do not use terminfo, only fallbacks/termcap
770 --with-database=XXX specify terminfo source to install
771 --with-hashed-db specify hashed-database library
772 --with-fallbacks=XXX specify list of fallback terminal descriptions
773 --with-tic-path=XXX specify path of tic for fallbacks
774 --with-infocmp-path=XXX specify path of infocmp for fallbacks
775 --without-xterm-new specify if xterm terminfo should be old version
776 --with-xterm-kbs[=XXX] specify if xterm backspace sends BS or DEL
777 --with-terminfo-dirs=XXX specify list of terminfo directories (default: DATADIR/terminfo)
778 --with-default-terminfo-dir=DIR default terminfo directory (default: DATADIR/terminfo)
779 --disable-big-core assume machine has little memory
780 --disable-big-strings assume compiler has only standard-size strings
781 --enable-termcap compile in termcap fallback support
782 …--with-termpath=XXX specify list of termcap files (default: /etc/termcap:/usr/share/misc/termc…
783 --enable-getcap fast termcap load, no xrefs to terminfo
784 --enable-getcap-cache cache translated termcaps in ~/.terminfo
785 --disable-home-terminfo drop ~/.terminfo from terminfo search-path
786 --disable-root-environ restrict root use of ncurses environment variables
787 --disable-root-access restrict file-access when running setuid
788 --disable-setuid-environ restrict setuid use of ncurses environment variables
789 --enable-symlinks make tic use symbolic links not hard links
790 --enable-broken_linker compile with broken-linker support code
791 --enable-bsdpad recognize BSD-style prefix padding
792 --disable-widec compile without wide character and UTF-8 support
793 --disable-lp64 allow chtype to be long (ignore _LP64)
794 --disable-largefile omit support for large files
795 --disable-tparm-varargs compile tparm() without varargs interface
796 --disable-tic-depends link tic library without explicit dependency on ncurses library
797 --enable-wattr-macros enable wattr* macros
798 --with-x11-rgb=FILE obtain X11 color definitions from FILE (default: EPREFIX/lib/X11/rgb.txt)
799 --with-bool=TYPE fall back to TYPE for curses 'bool' typedef
800 --with-caps=alt compile with alternate Caps file
801 --with-chtype=TYPE override type of chtype
802 --with-ospeed=TYPE override type of ospeed variable
803 --with-mmask-t=TYPE override type of mmask_t
804 --with-ccharw-max=XXX override size CCHARW_MAX
805 --enable-signed-char use signed chars for Boolean array in term.h
806 --with-tparm-arg=TYPE override parameter type of tparm
807 --with-rcs-ids compile-in RCS identifiers
809 --with-manpage-format specify manpage-format: gzip/compress/bzip2/xz,
812 --with-manpage-renames specify manpage-renaming
813 --with-manpage-aliases specify manpage-aliases using .so
814 --with-manpage-symlinks specify manpage-aliases using symlinks
815 --with-manpage-tbl specify manpage processing with tbl
817 --disable-ext-funcs disable function-extensions
818 --enable-sp-funcs enable SCREEN-extensions
819 --enable-term-driver enable terminal-driver
820 --enable-const compile with extra/non-standard const
821 --enable-ext-colors compile for 256-color support
822 --enable-ext-mouse compile for extended mouse-encoding
823 --enable-ext-putwin compile with extended putwin/screendump
824 --enable-no-padding compile with $NCURSES_NO_PADDING code
825 --enable-sigwinch compile with SIGWINCH handler
826 --enable-tcap-names compile with user-definable terminal capabilities
828 --with-pthread use POSIX thread library
829 --enable-pthreads-eintr enable EINTR in wgetch with pthreads
830 --enable-weak-symbols enable weak-symbols for pthreads
831 --enable-reentrant compile with reentrant code
832 --disable-opaque-curses do not make WINDOW, etc., structures opaque
833 --disable-opaque-form do not make form library structures opaque
834 --disable-opaque-menu do not make menu library structures opaque
835 --disable-opaque-panel do not make panel library structures opaque
836 --with-wrap-prefix=XXX override prefix used for public variables
838 --without-develop disable development options
839 --enable-check-size compile-in code to detect screensize of serial terminals
840 --enable-hard-tabs compile with hard-tabs code
841 --enable-xmc-glitch compile with support for xmc (magic-cookie)
843 --disable-assumed-color do not assume anything about default-colors
844 --disable-hashmap compile without hashmap scrolling-optimization
845 --enable-colorfgbg compile-in experimental $COLORFGBG code
846 --enable-fvisibility compile with -fvisibility=hidden
847 --enable-interop compile-in interop bindings
848 --enable-safe-sprintf compile with experimental safe-sprintf code
849 --disable-scroll-hints compile without scroll-hints code
850 --enable-wgetch-events compile with wgetch-events code
851 --enable-exp-win32 compile with experimental-Windows driver
853 --disable-echo do not display "compiling" commands
854 --disable-stripping do not strip (debug info) installed executables
855 --with-strip-program=XX specify program to use when stripping in install
856 --enable-warnings test: turn on gcc compiler warnings
857 --enable-stdnoreturn enable C11 _Noreturn feature for diagnostics
858 --enable-string-hacks work around bogus compiler/loader warnings
859 --enable-assertions test: turn on generation of assertion code
860 --with-dmalloc test: use Gray Watson's dmalloc library
861 --with-dbmalloc test: use Conor Cahill's dbmalloc library
862 --with-valgrind test: use valgrind
863 --disable-leaks test: free permanent memory, analyze leaks
864 --enable-expanded test: generate functions for certain macros
865 --disable-macros test: use functions rather than macros
866 --with-trace test: add trace() function to all models of ncurses
867 --disable-gnat-projects test: disable GNAT projects even if usable
869 --with-ada-compiler[=CMD] use CMD as Ada95 compiler (default: gnatmake)
870 --with-ada-include=DIR find Ada95 includes in DIR (default: PREFIX/share/ada/adainclude)
871 --with-ada-objects=DIR find Ada95 objects in DIR (default: PREFIX/lib/ada/adalib)
872 --with-ada-sharedlib build Ada95 shared library; requires GNAT project support
873 --with-ada-libname[=XXX] use XXX as Ada95 library name
875 --with-form-libname[=XXX] override ifelse(,,form,) basename of library
876 --with-menu-libname[=XXX] override ifelse(,,menu,) basename of library
877 --with-panel-libname[=XXX] override ifelse(,,panel,) basename of library
878 --with-cxx-libname[=XXX] override ifelse(ncurses++,,cxx,ncurses++) basename of library
883 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
885 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
899 # If there are subdirs, report their specific --help.
908 .) # No --srcdir option. We are building in place.
917 if test -f "$ac_sub_srcdir/configure.gnu"; then
919 $SHELL "$ac_sub_srcdir/configure.gnu" --help=recursive
920 elif test -f "$ac_sub_srcdir/configure"; then
922 $SHELL "$ac_sub_srcdir/configure" --help=recursive
923 elif test -f "$ac_sub_srcdir/configure.ac" ||
924 test -f "$ac_sub_srcdir/configure.in"; then
926 "$ac_configure" --help
934 test -n "$ac_init_help" && exit 0
938 Copyright 2003-2022,2023 Thomas E. Dickey
959 ## ---------- ##
961 ## ---------- ##
963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
986 ## ------------ ##
988 ## ------------ ##
993 # Strip out --no-create and --no-recursion so they do not pile up.
994 # Also quote any args containing shell meta-characters.
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c) ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1020 echo "## ----------------- ##" >&5
1022 echo "## ----------------- ##" >&5
1029 sed -n \
1034 sed -n \
1040 if test -s conftest.log; then
1042 echo "## ------------ ##" >&5
1044 echo "## ------------ ##" >&5
1052 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1061 rm -rf conftest* confdefs.h
1067 if test -z "$CONFIG_SITE"; then
1075 if test -r "$ac_site_file"; then
1083 if test -r "$cache_file"; then
1086 if test -f "$cache_file"; then
1104 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1153 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
1154 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
1158 case `echo "testing\c" 2>/dev/null; echo 1,2,3`,`echo -n testing 2>/dev/null; echo 1,2,3` in
1159 *c*,-n*) ECHO_N=
1160 ECHO_C= # newlines do not sed ;-) only broken shells would use this case anyway
1163 *c*,* ) ECHO_N=-n
1185 rm -f conftest.sh
1200 if test -n "$GREP"; then
1207 test -z "$ac_dir" && ac_dir=.
1217 if test -n "$GREP"; then
1225 test -n "$GREP" && break
1227 test -n "$GREP" || GREP=": "
1234 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
1235 then ac_cv_path_EGREP="$GREP -E"
1255 test -z "$ac_dir" && ac_dir=.
1268 if test -n "$EGREP"; then
1276 test -n "$EGREP" && break
1278 test -n "$EGREP" || EGREP=": "
1289 NCURSES_MAJOR="`${EGREP-egrep} '^NCURSES_MAJOR[ ]*=' "$srcdir/dist.mk" | sed -e 's/^[^0-9]*//'`"
1290 NCURSES_MINOR="`${EGREP-egrep} '^NCURSES_MINOR[ ]*=' "$srcdir/dist.mk" | sed -e 's/^[^0-9]*//'`"
1291 NCURSES_PATCH="`${EGREP-egrep} '^NCURSES_PATCH[ ]*=' "$srcdir/dist.mk" | sed -e 's/^[^0-9]*//'`"
1299 if test -f "$srcdir/VERSION" ; then
1304 cf_field1=`sed -e '2,$d' "$srcdir/VERSION" |cut -f1`
1305 cf_field2=`sed -e '2,$d' "$srcdir/VERSION" |cut -f2`
1306 cf_field3=`sed -e '2,$d' "$srcdir/VERSION" |cut -f3`
1311 VERSION_MAJOR=`echo "$cf_field2" | sed -e 's/\..*//'`
1312 test -z "$VERSION_MAJOR" && { { echo "$as_me:1312: error: missing major-version" >&5
1313 echo "$as_me: error: missing major-version" >&2;}
1316 VERSION_MINOR=`echo "$cf_field2" | sed -e 's/^[^.]*\.//' -e 's/-.*//'`
1317 test -z "$VERSION_MINOR" && { { echo "$as_me:1317: error: missing minor-version" >&5
1318 echo "$as_me: error: missing minor-version" >&2;}
1326 VERSION_PATCH=`echo "$cf_field3" | sed -e 's/^[^-]*-//'`
1329 { { echo "$as_me:1329: error: missing patch-date $VERSION_PATCH" >&5
1330 echo "$as_me: error: missing patch-date $VERSION_PATCH" >&2;}
1333 (.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])
1336 { { echo "$as_me:1336: error: illegal patch-date $VERSION_PATCH" >&5
1337 echo "$as_me: error: illegal patch-date $VERSION_PATCH" >&2;}
1350 test -n "$verbose" && echo " ABI VERSION $VERSION" 1>&6
1352 echo "${as_me:-configure}:1352: testing ABI VERSION $VERSION ..." 1>&5
1354 test -n "$verbose" && echo " VERSION_MAJOR $VERSION_MAJOR" 1>&6
1356 echo "${as_me:-configure}:1356: testing VERSION_MAJOR $VERSION_MAJOR ..." 1>&5
1358 test -n "$verbose" && echo " VERSION_MINOR $VERSION_MINOR" 1>&6
1360 echo "${as_me:-configure}:1360: testing VERSION_MINOR $VERSION_MINOR ..." 1>&5
1362 test -n "$verbose" && echo " VERSION_PATCH $VERSION_PATCH" 1>&6
1364 echo "${as_me:-configure}:1364: testing VERSION_PATCH $VERSION_PATCH ..." 1>&5
1373 cf_PACKAGE=`echo "$cf_PACKAGE" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
1383 test -z "$cf_cv_rel_version" && cf_cv_rel_version=0.0
1385 # Check whether --with-rel-version or --without-rel-version was given.
1393 NCURSES_MAJOR=`echo "$cf_cv_rel_version" | sed -e 's/\..*//'`
1394 NCURSES_MINOR=`echo "$cf_cv_rel_version" | sed -e 's/^[^.]*//' -e 's/^\.//' -e 's/\..*//'`
1395 test -n "NCURSES_MINOR" || NCURSES_MINOR=0
1397 if test -n "$NCURSES_MAJOR" ; then
1398 case `echo "$NCURSES_MAJOR" | sed -e 's/^[0-9]*$/0/g'` in
1402 { { echo "$as_me:1402: error: Release major-version is not a number: $NCURSES_MAJOR" >&5
1403 echo "$as_me: error: Release major-version is not a number: $NCURSES_MAJOR" >&2;}
1408 { { echo "$as_me:1408: error: Release major-version value is empty" >&5
1409 echo "$as_me: error: Release major-version value is empty" >&2;}
1413 if test -n "$NCURSES_MINOR" ; then
1414 case `echo "$NCURSES_MINOR" | sed -e 's/^[0-9]*$/0/g'` in
1418 { { echo "$as_me:1418: error: Release minor-version is not a number: $NCURSES_MINOR" >&5
1419 echo "$as_me: error: Release minor-version is not a number: $NCURSES_MINOR" >&2;}
1424 { { echo "$as_me:1424: error: Release minor-version value is empty" >&5
1425 echo "$as_me: error: Release minor-version value is empty" >&2;}
1429 test -z "$cf_cv_abi_version" && cf_cv_abi_version=0
1431 # Check whether --with-abi-version or --without-abi-version was given.
1451 if test -n "$cf_cv_abi_version" ; then
1452 case `echo "$cf_cv_abi_version" | sed -e 's/^[0-9]*$/0/g'` in
1480 if test -f "$ac_dir/install-sh"; then
1482 ac_install_sh="$ac_aux_dir/install-sh -c"
1484 elif test -f "$ac_dir/install.sh"; then
1486 ac_install_sh="$ac_aux_dir/install.sh -c"
1488 elif test -f "$ac_dir/shtool"; then
1490 ac_install_sh="$ac_aux_dir/shtool install -c"
1494 if test -z "$ac_aux_dir"; then
1495 …{ { echo "$as_me:1495: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/.…
1496 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1515 test -z "$ac_cv_build_alias" &&
1517 test -z "$ac_cv_build_alias" &&
1530 build_cpu=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1531 build_vendor=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1532 build_os=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1540 test -z "$ac_cv_host_alias" &&
1551 host_cpu=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1552 host_vendor=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1553 host_os=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1555 if test -f "$srcdir/config.guess" || test -f "$ac_aux_dir/config.guess" ; then
1573 target_cpu=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1574 target_vendor=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1575 target_os=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1579 test -n "$target_alias" &&
1582 program_prefix=${target_alias}-
1585 system_name="`(uname -s -r) 2>/dev/null`"
1586 if test -z "$system_name" ; then
1590 test -n "$system_name" &&
1601 test -z "$system_name" && system_name="$cf_cv_system_name"
1602 test -n "$cf_cv_system_name" && echo "$as_me:1602: result: Configuring for $cf_cv_system_name" >&5
1613 # Check whether --with-system-type or --without-system-type was given.
1623 ### Save the given $CFLAGS to allow user-override.
1626 ### Default install-location
1632 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
1633 then ac_cv_path_FGREP="$GREP -F"
1653 test -z "$ac_dir" && ac_dir=.
1666 if test -n "$FGREP"; then
1674 test -n "$FGREP" && break
1676 test -n "$FGREP" || FGREP=": "
1691 # non-vendor systems don't have a conflict
1692 (openbsd*|freebsd*|mirbsd*|linux*|cygwin*|msys*|k*bsd*-gnu|mingw*)
1703 echo "$as_me:1703: checking for default include-directory" >&5
1704 echo $ECHO_N "checking for default include-directory... $ECHO_C" >&6
1705 test -n "$verbose" && echo 1>&6
1717 if test -f "$cf_dir/curses.h" ; then
1718 if ( ${FGREP-fgrep} NCURSES_VERSION "$cf_dir/curses.h" >/dev/null 2>&1 ) ; then
1720 test -n "$verbose" && echo $ECHO_N " found " 1>&6
1724 test -n "$verbose" && echo " tested $cf_dir" 1>&6
1776 # also: remove the wgetch-events feature in ABI 7
1782 # Check whether --with-abi-altered or --without-abi-altered was given.
1786 if test -n "$withval" ; then
1787 case `echo "$withval" | sed -e 's/^[0-9]*$/0/g'` in
1813 # Check whether --with-ada or --without-ada was given.
1830 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
1831 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
1834 if test -n "$ac_tool_prefix"; then
1844 if test -n "$CC"; then
1851 test -z "$ac_dir" && ac_dir=.
1861 if test -n "$CC"; then
1869 test -n "$CC" && break
1872 if test -z "$CC"; then
1883 if test -n "$ac_ct_CC"; then
1890 test -z "$ac_dir" && ac_dir=.
1900 if test -n "$ac_ct_CC"; then
1908 test -n "$ac_ct_CC" && break
1914 test -z "$CC" && { { echo "$as_me:1914: error: no acceptable cc found in \$PATH" >&5
1922 { (eval echo "$as_me:1922: \"$ac_compiler --version </dev/null >&5\"") >&5
1923 (eval $ac_compiler --version </dev/null >&5) 2>&5
1927 { (eval echo "$as_me:1927: \"$ac_compiler -v </dev/null >&5\"") >&5
1928 (eval $ac_compiler -v </dev/null >&5) 2>&5
1932 { (eval echo "$as_me:1932: \"$ac_compiler -V </dev/null >&5\"") >&5
1933 (eval $ac_compiler -V </dev/null >&5) 2>&5
1952 # Try to create an executable without -o first, disregard a.out.
1957 ac_link_default=`echo "$ac_link" | sed 's/ -o *"conftest[^"]*"//'`
1975 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2012 If you meant to cross compile, use \`--host'." >&5
2014 If you meant to cross compile, use \`--host'." >&2;}
2022 rm -f a.out a.exe "conftest$ac_cv_exeext"
2057 rm -f "conftest$ac_cv_exeext"
2061 rm -f "conftest.$ac_ext"
2081 rm -f conftest.o conftest.obj
2102 rm -f "conftest.$ac_cv_objext" "conftest.$ac_ext"
2128 rm -f "conftest.$ac_objext"
2134 { ac_try='test -s "conftest.$ac_objext"'
2146 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
2155 CFLAGS="-g"
2156 echo "$as_me:2156: checking whether $CC accepts -g" >&5
2157 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2173 rm -f "conftest.$ac_objext"
2179 { ac_try='test -s "conftest.$ac_objext"'
2191 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
2199 CFLAGS="-g -O2"
2201 CFLAGS="-g"
2205 CFLAGS="-O2"
2219 rm -f "conftest.$ac_objext"
2225 { ac_try='test -s "conftest.$ac_objext"'
2253 rm -f "conftest.$ac_objext"
2259 { ac_try='test -s "conftest.$ac_objext"'
2271 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
2284 rm -f "conftest.$ac_objext"
2290 { ac_try='test -s "conftest.$ac_objext"'
2301 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
2303 rm -rf conftest*
2304 if test -n "$ac_declaration"; then
2314 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
2318 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
2326 …GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^[^(]*([^)][^)]*) //' -e 's/^[^0-9…
2327 test -z "$GCC_VERSION" && GCC_VERSION=unknown
2340 CFLAGS="$CFLAGS -no-gcc"
2358 rm -f "conftest.$ac_objext"
2364 { ac_try='test -s "conftest.$ac_objext"'
2371 cf_save_CFLAGS="$cf_save_CFLAGS -we147"
2377 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
2408 rm -f "conftest.$ac_objext"
2414 { ac_try='test -s "conftest.$ac_objext"'
2426 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
2436 (c[1-9][0-9]|*/c[1-9][0-9])
2439 CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`"
2446 …G_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^…
2447 test -z "$CLANG_VERSION" && CLANG_VERSION=unknown
2452 -Qunused-arguments \
2453 -Wno-error=implicit-function-declaration
2473 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
2479 { ac_try='test -s "conftest$ac_exeext"'
2493 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
2498 test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6
2500 echo "${as_me:-configure}:2500: testing adding option $cf_clang_opt ..." 1>&5
2502 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
2523 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2553 # Don't try gcc -ansi; that turns off useful extensions and
2555 # AIX -qlanglvl=ansi
2556 # Ultrix and OSF/1 -std1
2557 # HP-UX 10.20 and later -Ae
2558 # HP-UX older versions -Aa -D_HPUX_SOURCE
2559 # SVR4 -Xc -D__EXTENSIONS__
2560 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2563 rm -f "conftest.$ac_objext"
2569 { ac_try='test -s "conftest.$ac_objext"'
2581 rm -f "conftest.$ac_objext"
2583 rm -f "conftest.$ac_ext" "conftest.$ac_objext"
2604 (*-[IUD]*)
2624 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
2626 (-D*)
2627 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
2630 && test -z "${cf_tst_cflags}" \
2635 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2641 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2653 (-D*)
2654 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
2657 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
2658 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
2663 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
2671 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
2679 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2682 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
2685 && test -z "${cf_tst_cflags}" \
2691 if test -n "$cf_new_cflags" ; then
2693 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
2698 if test -n "$cf_new_cppflags" ; then
2700 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
2705 if test -n "$cf_new_extra_cppflags" ; then
2707 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
2723 (*[\ \ ]-*)
2729 cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'`
2730 cf_flags=`echo "$CC" | sed -e "s%^$cf_prog%%"`
2735 (x-[IUDfgOW]*)
2747 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
2749 (-D*)
2750 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
2753 && test -z "${cf_tst_cflags}" \
2758 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2764 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2776 (-D*)
2777 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
2780 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
2781 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
2786 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
2794 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
2802 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2805 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
2808 && test -z "${cf_tst_cflags}" \
2814 if test -n "$cf_new_cflags" ; then
2816 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
2821 if test -n "$cf_new_cppflags" ; then
2823 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
2828 if test -n "$cf_new_extra_cppflags" ; then
2830 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
2841 test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6
2843 echo "${as_me:-configure}:2843: testing resulting CC: '$CC' ..." 1>&5
2845 test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6
2847 echo "${as_me:-configure}:2847: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5
2849 test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6
2851 echo "${as_me:-configure}:2851: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
2863 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
2869 if test -n "$CPP" && test -d "$CPP"; then
2872 if test -z "$CPP"; then
2877 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2883 # with a fresh cross-compiler works.
2884 # On the NeXT, cc -E runs the code through the compiler's parser,
2895 $EGREP -v '^ *\+' conftest.er1 >conftest.err
2896 rm -f conftest.er1
2900 if test -s conftest.err; then
2908 if test -z "$ac_cpp_err"; then
2916 rm -f conftest.err "conftest.$ac_ext"
2918 # OK, works on sane cases. Now check whether non-existent headers
2928 $EGREP -v '^ *\+' conftest.er1 >conftest.err
2929 rm -f conftest.er1
2933 if test -s conftest.err; then
2941 if test -z "$ac_cpp_err"; then
2951 rm -f conftest.err "conftest.$ac_ext"
2955 rm -f conftest.err "conftest.$ac_ext"
2974 # with a fresh cross-compiler works.
2975 # On the NeXT, cc -E runs the code through the compiler's parser,
2986 $EGREP -v '^ *\+' conftest.er1 >conftest.err
2987 rm -f conftest.er1
2991 if test -s conftest.err; then
2999 if test -z "$ac_cpp_err"; then
3007 rm -f conftest.err "conftest.$ac_ext"
3009 # OK, works on sane cases. Now check whether non-existent headers
3019 $EGREP -v '^ *\+' conftest.er1 >conftest.err
3020 rm -f conftest.er1
3024 if test -s conftest.err; then
3032 if test -z "$ac_cpp_err"; then
3042 rm -f conftest.err "conftest.$ac_ext"
3046 rm -f conftest.err "conftest.$ac_ext"
3057 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
3058 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
3063 echo "$as_me:3063: checking whether $CC needs -traditional" >&5
3064 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3081 rm -rf conftest*
3094 rm -rf conftest*
3101 CC="$CC -traditional"
3105 echo "$as_me:3105: checking whether $CC understands -c and -o together" >&5
3106 echo $ECHO_N "checking whether $CC understands -c and -o together... $ECHO_C" >&6
3114 ${cf_cv_main_return:-return}(0);
3118 # existing .o file with -o, though they will create one.
3119 ac_try='$CC $CFLAGS $CPPFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3125 test -f conftest2.$ac_objext && { (eval echo "$as_me:3125: \"$ac_try\"") >&5
3135 rm -rf ./conftest*
3151 test -z "$LDCONFIG" && LDCONFIG="/sbin/ldconfig -R"
3170 test -z "$ac_dir" && ac_dir=.
3183 if test -n "$LDCONFIG"; then
3198 # Check whether --with-cxx or --without-cxx was given.
3214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
3215 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
3218 if test -n "$ac_tool_prefix"; then
3228 if test -n "$CXX"; then
3235 test -z "$ac_dir" && ac_dir=.
3245 if test -n "$CXX"; then
3253 test -n "$CXX" && break
3256 if test -z "$CXX"; then
3267 if test -n "$ac_ct_CXX"; then
3274 test -z "$ac_dir" && ac_dir=.
3284 if test -n "$ac_ct_CXX"; then
3292 test -n "$ac_ct_CXX" && break
3294 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3303 { (eval echo "$as_me:3303: \"$ac_compiler --version </dev/null >&5\"") >&5
3304 (eval $ac_compiler --version </dev/null >&5) 2>&5
3308 { (eval echo "$as_me:3308: \"$ac_compiler -v </dev/null >&5\"") >&5
3309 (eval $ac_compiler -v </dev/null >&5) 2>&5
3313 { (eval echo "$as_me:3313: \"$ac_compiler -V </dev/null >&5\"") >&5
3314 (eval $ac_compiler -V </dev/null >&5) 2>&5
3339 rm -f "conftest.$ac_objext"
3345 { ac_try='test -s "conftest.$ac_objext"'
3357 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
3366 CXXFLAGS="-g"
3367 echo "$as_me:3367: checking whether $CXX accepts -g" >&5
3368 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3384 rm -f "conftest.$ac_objext"
3390 { ac_try='test -s "conftest.$ac_objext"'
3402 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
3410 CXXFLAGS="-g -O2"
3412 CXXFLAGS="-g"
3416 CXXFLAGS="-O2"
3443 rm -f "conftest.$ac_objext"
3449 { ac_try='test -s "conftest.$ac_objext"'
3461 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
3474 rm -f "conftest.$ac_objext"
3480 { ac_try='test -s "conftest.$ac_objext"'
3491 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
3493 rm -rf conftest*
3494 if test -n "$ac_declaration"; then
3502 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
3503 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
3509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
3510 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
3517 # cross-compiling (20140913 -TD)
3523 CPPFLAGS="$CPPFLAGS -I${cf_includedir}"
3542 rm -f "conftest.$ac_objext"
3548 { ac_try='test -s "conftest.$ac_objext"'
3560 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
3567 { echo "$as_me:3567: WARNING: Ignore $CXX, since it cannot compile hello-world." >&5
3568 echo "$as_me: WARNING: Ignore $CXX, since it cannot compile hello-world." >&2;}
3574 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
3575 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
3597 test -z "$ac_dir" && ac_dir=.
3610 if test -n "$CXX"; then
3630 echo "$as_me:3630: checking version of ${CXX:-g++}" >&5
3631 echo $ECHO_N "checking version of ${CXX:-g++}... $ECHO_C" >&6
3632 …GXX_VERSION="`${CXX:-g++} --version 2>/dev/null | sed -e '2,$d' -e 's/^[^(]*([^)][^)]*) //' -e 's/…
3633 if test -z "$GXX_VERSION"
3643 ([1-9][0-9].*)
3645 (1.*|2.[0-6]*)
3654 # Check whether --with-cxx-binding or --without-cxx-binding was given.
3672 # Check whether --enable-db-install or --disable-db-install was given.
3685 # Check whether --with-manpages or --without-manpages was given.
3698 # Check whether --with-progs or --without-progs was given.
3708 echo "$as_me:3708: checking if you want to build test-programs" >&5
3709 echo $ECHO_N "checking if you want to build test-programs... $ECHO_C" >&6
3711 # Check whether --with-tests or --without-tests was given.
3724 # Check whether --with-curses-h or --without-curses-h was given.
3748 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3760 if test -n "$AWK"; then
3767 test -z "$ac_dir" && ac_dir=.
3777 if test -n "$AWK"; then
3785 test -n "$AWK" && break
3788 test -z "$AWK" && { { echo "$as_me:3788: error: No awk program found" >&5
3800 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3806 if test -z "$INSTALL"; then
3830 # program-specific install script used by HP pwplus--don't use.
3833 ac_cv_path_install="$ac_dir/$ac_prog -c"
3856 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3858 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3860 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3862 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3868 cf_dir=`echo "$INSTALL" | sed -e 's%/[^/]*$%%'`
3869 test -z "$cf_dir" && cf_dir=.
3870 INSTALL="`cd \"$cf_dir\" && pwd`"/"`echo "$INSTALL" | sed -e 's%^.*/%%'`"
3883 if test -n "$LINT"; then
3890 test -z "$ac_dir" && ac_dir=.
3900 if test -n "$LINT"; then
3908 test -n "$LINT" && break
3913 test -z "$LINT_OPTS" && LINT_OPTS="--enable=all"
3917 echo "$as_me:3917: checking whether ln -s works" >&5
3918 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3920 if test "$LN_S" = "ln -s"; then
3928 echo "$as_me:3928: checking if $LN_S -f options work" >&5
3929 echo $ECHO_N "checking if $LN_S -f options work... $ECHO_C" >&6
3931 rm -f conf$$.src conf$$dst
3932 echo >conf$$.dst
3933 echo first >conf$$.src
3934 if $LN_S -f conf$$.src conf$$.dst 2>/dev/null; then
3939 rm -f conf$$.dst conf$$src
3943 test "$cf_prog_ln_sf" = yes && LN_S="$LN_S -f"
3961 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3967 test -d "$ac_dir" || continue
3968 test -w "$ac_dir" || continue # It is less confusing to not echo anything here.
3976 if test ! -f "$ac_tf1" || test "$ac_val" != 1; then
3978 rm -rf "$ac_xdir" 2>/dev/null
3981 rm -rf "$ac_xdir" 2>/dev/null
3994 # Provide for renaming "ncurses5-config" to "ncurses5X-config", etc., in case
3998 # Check whether --with-config-suffix or --without-config-suffix was given.
4003 { echo "$as_me:4003: WARNING: expected a value for config-suffix option" >&5
4004 echo "$as_me: WARNING: expected a value for config-suffix option" >&2;}
4011 # If we find pkg-config, check if we should install the ".pc" files.
4013 echo "$as_me:4013: checking if you want to use pkg-config" >&5
4014 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
4016 # Check whether --with-pkg-config or --without-pkg-config was given.
4032 if test -n "$ac_tool_prefix"; then
4033 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4034 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4049 test -z "$ac_dir" && ac_dir=.
4062 if test -n "$PKG_CONFIG"; then
4071 if test -z "$ac_cv_path_PKG_CONFIG"; then
4073 # Extract the first word of "pkg-config", so it can be a program name with args.
4074 set dummy pkg-config; ac_word=$2
4089 test -z "$ac_dir" && ac_dir=.
4097 test -z "$ac_cv_path_ac_pt_PKG_CONFIG" && ac_cv_path_ac_pt_PKG_CONFIG="none"
4103 if test -n "$ac_pt_PKG_CONFIG"; then
4122 test -z "$PKG_CONFIG" && PKG_CONFIG=none
4136 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
4142 PKG_CONFIG=`echo "$PKG_CONFIG" | sed -e s%NONE%$cf_path_syntax%`
4147 PKG_CONFIG=`echo "$PKG_CONFIG" | sed -e s%NONE%$cf_path_syntax%`
4157 { echo "$as_me:4157: WARNING: pkg-config is not installed" >&5
4158 echo "$as_me: WARNING: pkg-config is not installed" >&2;}
4163 echo "$as_me:4163: checking for pkg-config library directory" >&5
4164 echo $ECHO_N "checking for pkg-config library directory... $ECHO_C" >&6
4173 if test -n "$PKG_CONFIG_PATH"; then
4174 cf_search_path=`echo "$PKG_CONFIG_PATH" | sed -e 's/:/ /g' -e 's,^[ ]*,,' -e 's,[ ]*$,,'`
4175 elif test -n "$PKG_CONFIG_LIBDIR"; then
4176 cf_search_path=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/:/ /g' -e 's,^[ ]*,,' -e 's,[ ]*$,,'`
4183 # Check whether --with-pkg-config-libdir or --without-pkg-config-libdir was given.
4188 test "x$PKG_CONFIG" != xnone && test -z "$cf_search_path" && cf_search_path=libdir
4214 echo "$as_me:4214: checking for search-list" >&5
4215 echo $ECHO_N "checking for search-list... $ECHO_C" >&6
4218 # works for pkg-config since version 0.24 (2009)
4221 `echo "$PKG_CONFIG" | sed -e 's,^.*/,,'` \
4222 pkg-config \
4225 cf_search_path=`"$PKG_CONFIG" --variable=pc_path "$cf_pkg_program" 2>/dev/null | tr : ' '`
4226 test -n "$cf_search_path" && break
4229 # works for pkg-config since import in 2005 of original 2001 HP code.
4230 test -z "$cf_search_path" && \
4232 "$PKG_CONFIG" --debug --exists no-such-package 2>&1 | $AWK "\
4233 /^Scanning directory (#[1-9][0-9]* )?'.*'$/{ \
4251 if test -n "$cf_search_path"
4258 if test -d "$cf_config"
4272 if test -z "$PKG_CONFIG_LIBDIR" && test -n "$cf_search_path"
4282 cf_libdir=`echo "$cf_libdir" | sed -e "s,^NONE,$cf_prefix,"`
4292 test -z "$cf_backup" && cf_backup=$cf_config
4296 test -z "$PKG_CONFIG_LIBDIR" && PKG_CONFIG_LIBDIR=$cf_backup
4311 # Check whether --enable-pc-files or --disable-pc-files was given.
4343 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
4349 cf_pkg_config_libdir=`echo "$cf_pkg_config_libdir" | sed -e s%NONE%$cf_path_syntax%`
4354 cf_pkg_config_libdir=`echo "$cf_pkg_config_libdir" | sed -e s%NONE%$cf_path_syntax%`
4369 if test -z "$MAKE_PC_FILES"
4371 echo "$as_me:4371: checking for suffix to add to pkg-config files" >&5
4372 echo $ECHO_N "checking for suffix to add to pkg-config files... $ECHO_C" >&6
4374 # Check whether --with-pc-suffix or --without-pc-suffix was given.
4385 test -z "$PC_MODULE_SUFFIX" && PC_MODULE_SUFFIX=none
4392 echo "$as_me:4392: checking if we should assume mixed-case filenames" >&5
4393 echo $ECHO_N "checking if we should assume mixed-case filenames... $ECHO_C" >&6
4395 # Check whether --enable-mixed-case or --disable-mixed-case was given.
4406 echo "$as_me:4406: checking if filesystem supports mixed-case filenames" >&5
4407 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
4414 (*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*|darwin*)
4422 rm -f conftest CONFTEST
4424 if test -f CONFTEST ; then
4429 rm -f conftest CONFTEST
4451 # do this after mixed-case option (tags/TAGS is not as important as tic).
4452 echo "$as_me:4452: checking whether ${MAKE-make} sets \${MAKE}" >&5
4453 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
4454 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
4463 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4464 if test -n "$ac_maketemp"; then
4469 rm -f conftest.make
4478 SET_MAKE="MAKE=${MAKE-make}"
4481 echo "$as_me:4481: checking for \".PHONY\" make-support" >&5
4482 echo $ECHO_N "checking for \".PHONY\" make-support... $ECHO_C" >&6
4487 rm -rf conftest*
4507 ${MAKE:-make} always DATA=$cf_data
4508 ${MAKE:-make} once DATA=$cf_data
4509 ${MAKE:-make} -t always once
4510 if test -f always ; then
4512 elif test ! -f always.out ; then
4514 elif test ! -f once.out ; then
4516 elif ! cmp -s always.out once.out ; then
4525 rm -f ./*.out
4533 rm -rf conftest*
4552 if test -n "$CTAGS"; then
4559 test -z "$ac_dir" && ac_dir=.
4569 if test -n "$CTAGS"; then
4577 test -n "$CTAGS" && break
4589 if test -n "$ETAGS"; then
4596 test -z "$ac_dir" && ac_dir=.
4606 if test -n "$ETAGS"; then
4614 test -n "$ETAGS" && break
4617 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
4618 set dummy ${CTAGS:-ctags}; ac_word=$2
4624 if test -n "$MAKE_LOWER_TAGS"; then
4631 test -z "$ac_dir" && ac_dir=.
4638 test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no"
4642 if test -n "$MAKE_LOWER_TAGS"; then
4651 # Extract the first word of "${ETAGS:-etags}", so it can be a program name with args.
4652 set dummy ${ETAGS:-etags}; ac_word=$2
4658 if test -n "$MAKE_UPPER_TAGS"; then
4665 test -z "$ac_dir" && ac_dir=.
4672 test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no"
4676 if test -n "$MAKE_UPPER_TAGS"; then
4707 for cf_option in '-${MAKEFLAGS}' '${MFLAGS}'
4714 …cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp 2>/dev/null | ${FGREP-fgrep} -v "ing directory" | …
4717 cf_result="`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`"
4726 (.-)
4730 echo "${as_me:-configure}:4730: testing given option \"$cf_option\",no match \"$cf_result\" ..." 1>…
4735 rm -f cf_makeflags.tmp
4741 if test -n "$ac_tool_prefix"; then
4749 if test -n "$RANLIB"; then
4756 test -z "$ac_dir" && ac_dir=.
4766 if test -n "$RANLIB"; then
4775 if test -z "$ac_cv_prog_RANLIB"; then
4784 if test -n "$ac_ct_RANLIB"; then
4791 test -z "$ac_dir" && ac_dir=.
4798 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="':'"
4802 if test -n "$ac_ct_RANLIB"; then
4815 if test -n "$ac_tool_prefix"; then
4823 if test -n "$LD"; then
4830 test -z "$ac_dir" && ac_dir=.
4840 if test -n "$LD"; then
4849 if test -z "$ac_cv_prog_LD"; then
4858 if test -n "$ac_ct_LD"; then
4865 test -z "$ac_dir" && ac_dir=.
4872 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
4876 if test -n "$ac_ct_LD"; then
4889 if test -n "$ac_tool_prefix"; then
4897 if test -n "$AR"; then
4904 test -z "$ac_dir" && ac_dir=.
4914 if test -n "$AR"; then
4923 if test -z "$ac_cv_prog_AR"; then
4932 if test -n "$ac_ct_AR"; then
4939 test -z "$ac_dir" && ac_dir=.
4946 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4950 if test -n "$ac_ct_AR"; then
4963 if test -n "$ac_tool_prefix"; then
4971 if test -n "$NM"; then
4978 test -z "$ac_dir" && ac_dir=.
4988 if test -n "$NM"; then
4997 if test -z "$ac_cv_prog_NM"; then
5006 if test -n "$ac_ct_NM"; then
5013 test -z "$ac_dir" && ac_dir=.
5020 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM="nm"
5024 if test -n "$ac_ct_NM"; then
5037 if test -n "$ac_tool_prefix"; then
5045 if test -n "$AR"; then
5052 test -z "$ac_dir" && ac_dir=.
5062 if test -n "$AR"; then
5071 if test -z "$ac_cv_prog_AR"; then
5080 if test -n "$ac_ct_AR"; then
5087 test -z "$ac_dir" && ac_dir=.
5094 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5098 if test -n "$ac_ct_AR"; then
5118 (*-msvc*)
5120 cat >mk_static_lib.sh <<-EOF
5125 exec \$MSVC_BIN -out:"\$out" \$@
5132 for cf_ar_flags in -curvU -curv curv -crv crv -cqv cqv -rv rv
5137 cf_check_ar_flags=`echo "x$ARFLAGS" | sed -e "s/$cf_ar_flags\$//" -e "s/$cf_ar_flags / /"`
5144 rm -f "conftest.$ac_cv_objext"
5145 rm -f conftest.a
5158 if test -f conftest.a ; then
5163 test -n "$verbose" && echo " cannot compile test-program" 1>&6
5165 echo "${as_me:-configure}:5165: testing cannot compile test-program ..." 1>&5
5170 rm -f conftest.a "conftest.$ac_ext" "conftest.$ac_cv_objext"
5178 if test -n "$ARFLAGS" ; then
5179 if test -n "$cf_cv_ar_flags" ; then
5189 # Check whether --with-install-prefix or --without-install-prefix was given.
5199 echo "$as_me:5199: result: ${DESTDIR:-(none)}" >&5
5200 echo "${ECHO_T}${DESTDIR:-(none)}" >&6
5204 # If we're cross-compiling, allow the user to override the tools and their
5209 (*-msvc*)
5225 # Check whether --with-build-cc or --without-build-cc was given.
5239 if test -n "$BUILD_CC"; then
5246 test -z "$ac_dir" && ac_dir=.
5256 if test -n "$BUILD_CC"; then
5264 test -n "$BUILD_CC" && break
5266 test -n "$BUILD_CC" || BUILD_CC="none"
5277 # Check whether --with-build-cpp or --without-build-cpp was given.
5282 BUILD_CPP='${BUILD_CC} -E'
5290 # Check whether --with-build-cflags or --without-build-cflags was given.
5298 echo "$as_me:5298: checking for native build C preprocessor-flags" >&5
5299 echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6
5301 # Check whether --with-build-cppflags or --without-build-cppflags was given.
5309 echo "$as_me:5309: checking for native build linker-flags" >&5
5310 echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6
5312 # Check whether --with-build-ldflags or --without-build-ldflags was given.
5320 echo "$as_me:5320: checking for native build linker-libraries" >&5
5321 echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6
5323 # Check whether --with-build-libs or --without-build-libs was given.
5337 echo "$as_me:5337: checking if the build-compiler \"$BUILD_CC\" works" >&5
5338 echo $ECHO_N "checking if the build-compiler \"$BUILD_CC\" works... $ECHO_C" >&6
5345 …ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $cf_build_cppflags $BUILD_LDFLAGS "confte…
5356 ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0);
5360 rm -f "conftest$ac_exeext"
5378 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
5389 { { echo "$as_me:5389: error: Cross-build requires two compilers.
5390 Use --with-build-cc to specify the native compiler." >&5
5391 echo "$as_me: error: Cross-build requires two compilers.
5392 Use --with-build-cc to specify the native compiler." >&2;}
5410 ### Use "--without-normal --with-shared" to allow the default model to be
5414 echo "$as_me:5414: checking if libtool -version-number should be used" >&5
5415 echo $ECHO_N "checking if libtool -version-number should be used... $ECHO_C" >&6
5417 # Check whether --enable-libtool-version or --disable-libtool-version was given.
5435 LIBTOOL_VERSION="-version-number"
5437 LIBTOOL_VERSION="-version-info"
5445 test -n "$verbose" && echo " ABI_VERSION: $ABI_VERSION" 1>&6
5447 echo "${as_me:-configure}:5447: testing ABI_VERSION: $ABI_VERSION ..." 1>&5
5451 ABI_VERSION=`echo "$VERSION" | sed -e 's/:/./g'`
5452 test -n "$verbose" && echo " ABI_VERSION: $ABI_VERSION" 1>&6
5454 echo "${as_me:-configure}:5454: testing ABI_VERSION: $ABI_VERSION ..." 1>&5
5467 LIB_CREATE='${AR} -cr'
5483 # Check whether --with-libtool or --without-libtool was given.
5507 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
5513 with_libtool=`echo "$with_libtool" | sed -e s%NONE%$cf_path_syntax%`
5518 with_libtool=`echo "$with_libtool" | sed -e s%NONE%$cf_path_syntax%`
5529 if test -n "$ac_tool_prefix"; then
5539 if test -n "$LIBTOOL"; then
5546 test -z "$ac_dir" && ac_dir=.
5556 if test -n "$LIBTOOL"; then
5564 test -n "$LIBTOOL" && break
5567 if test -z "$LIBTOOL"; then
5578 if test -n "$ac_ct_LIBTOOL"; then
5585 test -z "$ac_dir" && ac_dir=.
5595 if test -n "$ac_ct_LIBTOOL"; then
5603 test -n "$ac_ct_LIBTOOL" && break
5605 test -n "$ac_ct_LIBTOOL" || ac_ct_LIBTOOL="none"
5610 if test -n "$LIBTOOL" && test "$LIBTOOL" != none
5612 …_cv_libtool_version=`$LIBTOOL --version 2>&1 | sed -e '/^$/d' |sed -e '2,$d' -e 's/([^)]*)//g' -e …
5616 test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version
5618 if test -z "$cf_cv_libtool_version" && test "$LIBTOOL" = libtool
5625 if test -n "$ac_tool_prefix"; then
5635 if test -n "$LIBTOOL"; then
5642 test -z "$ac_dir" && ac_dir=.
5652 if test -n "$LIBTOOL"; then
5660 test -n "$LIBTOOL" && break
5663 if test -z "$LIBTOOL"; then
5674 if test -n "$ac_ct_LIBTOOL"; then
5681 test -z "$ac_dir" && ac_dir=.
5691 if test -n "$ac_ct_LIBTOOL"; then
5699 test -n "$ac_ct_LIBTOOL" && break
5701 test -n "$ac_ct_LIBTOOL" || ac_ct_LIBTOOL="none"
5706 if test -n "$LIBTOOL" && test "$LIBTOOL" != none
5708 …_cv_libtool_version=`$LIBTOOL --version 2>&1 | sed -e '/^$/d' |sed -e '2,$d' -e 's/([^)]*)//g' -e …
5712 test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version
5716 if test -z "$LIBTOOL" ; then
5721 …TE='${LIBTOOL} --mode=link ${CC} -rpath ${libdir} ${LIBTOOL_VERSION} `cut -f1 ${top_srcdir}/VERSIO…
5724 LIB_CLEAN='${LIBTOOL} --mode=clean'
5725 LIB_COMPILE='${LIBTOOL} --mode=compile'
5726 LIB_LINK='${LIBTOOL} --mode=link ${CC} ${LIBTOOL_OPTS}'
5727 LIB_INSTALL='${LIBTOOL} --mode=install'
5728 LIB_UNINSTALL='${LIBTOOL} --mode=uninstall'
5731 if test -n "$LIBTOOL" && test "$LIBTOOL" != none
5736 if test -n "$LIBTOOL" && test "$LIBTOOL" != none
5738 …_cv_libtool_version=`$LIBTOOL --version 2>&1 | sed -e '/^$/d' |sed -e '2,$d' -e 's/([^)]*)//g' -e …
5742 test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version
5746 if test -n "$cf_cv_libtool_version"
5748 …cf_check_libtool_version=`$LIBTOOL --version 2>&1 | sed -e '/^$/d' -e 's,[()],...,g' -e 's,[ ],-,g…
5750 (*...GNU-libtool...*)
5769 # special hack to add -no-undefined (which libtool should do for itself)
5772 (cygwin*|msys*|mingw32*|os2*|uwin*|aix[4-7])
5773 LT_UNDEF=-no-undefined
5777 # special hack to add --tag option for C++ compiler
5779 (1.[5-9]*|[2-9].[0-9.a-z]*)
5780 LIBTOOL_CXX="$LIBTOOL --tag=CXX"
5781 LIBTOOL="$LIBTOOL --tag=CC"
5792 test -z "$LIBTOOL" && ECHO_LT=
5803 # Check whether --with-shared or --without-shared was given.
5817 # Check whether --with-normal or --without-normal was given.
5831 # Check whether --with-debug or --without-debug was given.
5845 # Check whether --with-profile or --without-profile was given.
5863 # Check whether --with-cxx-shared or --without-cxx-shared was given.
5879 test -z "$cf_list_models" && cf_list_models=normal
5885 ### up test-applications.
5892 DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWX…
5903 echo "$as_me:5903: checking if you want to have a library-prefix" >&5
5904 echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6
5906 # Check whether --with-lib-prefix or --without-lib-prefix was given.
5927 (*-msvc*)
5972 $EGREP -v '^ *\+' conftest.er1 >conftest.err
5973 rm -f conftest.er1
5977 if test -s conftest.err; then
5985 if test -z "$ac_cpp_err"; then
5992 rm -f conftest.err "conftest.$ac_ext"
6008 rm -rf conftest*
6026 rm -rf conftest*
6031 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6041 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6061 rm -f "conftest$ac_exeext"
6079 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
6110 rm -f "conftest.$ac_objext"
6116 { ac_try='test -s "conftest.$ac_objext"'
6128 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
6160 rm -f "conftest.$ac_objext"
6166 { ac_try='test -s "conftest.$ac_objext"'
6178 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
6206 rm -f "conftest.$ac_objext"
6212 { ac_try='test -s "conftest.$ac_objext"'
6224 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
6237 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6239 echo "$as_me:6239: checking for opendir in -ldir" >&5
6240 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
6245 LIBS="-ldir $LIBS"
6265 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
6271 { ac_try='test -s "conftest$ac_exeext"'
6283 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
6289 LIBS="$LIBS -ldir"
6293 echo "$as_me:6293: checking for opendir in -lx" >&5
6294 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
6299 LIBS="-lx $LIBS"
6319 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
6325 { ac_try='test -s "conftest$ac_exeext"'
6337 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
6343 LIBS="$LIBS -lx"
6353 # Check whether --with-termlib or --without-termlib was given.
6366 # Check whether --with-ticlib or --without-ticlib was given.
6377 CC_G_OPT='-g'
6378 test -n "$GCC" && test "x${ac_cv_prog_cc_g}" != xyes && CC_G_OPT=''
6382 CXX_G_OPT='-g'
6383 test -n "$GXX" && test "x${ac_cv_prog_cxx_g}" != xyes && CXX_G_OPT=''
6392 (profile) LD_MODEL='-pg';;
6395 echo "$as_me:6395: result: ${LD_MODEL:-(none)}" >&5
6396 echo "${ECHO_T}${LD_MODEL:-(none)}" >&6
6404 # Check whether --enable-rpath or --disable-rpath was given.
6417 # Check whether --enable-relink or --disable-relink was given.
6429 # we will build libraries one-level down.
6440 LD_RPATH_OPT="-Wl,-rpath,"
6442 LD_RPATH_OPT="-rpath "
6445 (linux*|gnu*|k*bsd*-gnu|freebsd*)
6446 LD_RPATH_OPT="-Wl,-rpath,"
6448 (openbsd[2-9].*|mirbsd*)
6449 LD_RPATH_OPT="-Wl,-rpath,"
6452 LD_RPATH_OPT="-rpath "
6455 LD_RPATH_OPT="-Wl,-rpath,"
6458 LD_RPATH_OPT="-rpath "
6461 LD_RPATH_OPT="-R"
6470 (x-R*)
6487 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
6503 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
6509 { ac_try='test -s "conftest$ac_exeext"'
6521 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
6534 INSTALL_LIB="-m 644"
6548 # Check whether --with-shlib-version or --without-shlib-version was given.
6551 test -z "$withval" && withval=auto
6577 # Some less-capable ports of gcc support only -fpic
6597 for CC_SHARED_OPTS in -fPIC -fpic ''
6612 rm -f "conftest.$ac_objext"
6618 { ac_try='test -s "conftest.$ac_objext"'
6629 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
6639 (aix4.3-9*|aix[5-7]*)
6641 CC_SHARED_OPTS='-Wl,-brtl'
6642 …MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-brtl -Wl,-blibpath:${RPATH_LIST}:/usr/lib -…
6644 CC_SHARED_OPTS='-brtl'
6645 # as well as '-qpic=large -G' or perhaps "-bM:SRE -bnoentry -bexpall"
6646 … MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -G -Wl,-brtl -Wl,-blibpath:${RPATH_LIST}:/usr/lib -o $@'
6650 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -o $@ -Xlinker -soname=`basename $@` -nostart -e 0'
6660 cat >mk_shared_lib.sh <<-CF_EOF
6663 IMPORT_LIB=\`echo "\$1" | sed -e 's/cyg/lib/' -e 's/[0-9]*\.dll$/.dll.a/'\`
6665 cat <<-EOF
6670 …exec \$* ${LDFLAGS} -shared -Wl,--out-implib=\${IMPORT_LIB} -Wl,--export-all-symbols -o \${SHARED_…
6682 cat >mk_shared_lib.sh <<-CF_EOF
6685 IMPORT_LIB=\`echo "\$1" | sed -e 's/msys-/lib/' -e 's/[0-9]*\.dll$/.dll.a/'\`
6687 cat <<-EOF
6692 …exec \$* ${LDFLAGS} -shared -Wl,--out-implib=\${IMPORT_LIB} -Wl,--export-all-symbols -o \${SHARED_…
6697 cf_try_cflags="no-cpp-precomp"
6698 CC_SHARED_OPTS="-dynamic"
6699 …LAGS} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VER…
6702 echo "$as_me:6702: checking if ld -search_paths_first works" >&5
6703 echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6
6709 LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
6722 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
6728 { ac_try='test -s "conftest$ac_exeext"'
6740 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
6746 LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
6758 …MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o…
6760 (hpux[7-8]*)
6761 # HP-UX 8.07 ld lacks "+b" option used for libdir search-list
6765 MK_SHARED_LIB='${LD} ${LDFLAGS} -b -o $@'
6766 INSTALL_LIB="-m 555"
6769 # (tested with gcc 2.7.2 -- I don't have c89)
6771 LD_SHARED_OPTS='-Xlinker +b -Xlinker ${libdir}'
6774 LD_SHARED_OPTS='-Wl,+b,${libdir}'
6776 MK_SHARED_LIB='${LD} ${LDFLAGS} +b ${libdir} -b -o $@'
6777 # HP-UX shared libraries must be executable, and should be
6779 INSTALL_LIB="-m 555"
6789 …MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-rpath,${RPATH_LIST} -Wl,-h,'$cf_shared_sona…
6797 CC_SHARED_OPTS='-KPIC'
6798 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -rdata_shared -soname `basename $@` -o $@'
6800 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-soname,`basename $@` -o $@'
6804 (linux*|gnu*|k*bsd*-gnu)
6805 if test "$DFT_LWR_MODEL" = "shared" && test -n "$LD_RPATH_OPT" ; then
6820 …MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o…
6828 LOCAL_LDFLAGS="-link -dll"
6830 EXTRA_LDFLAGS="-link -dll $EXTRA_LDFLAGS"
6835 cat >mk_shared_lib.sh <<-CF_EOF
6838 IMPORT_LIB=\`echo "\$1" | sed -e 's/[0-9]*\.dll$/.dll.lib/'\`
6842 cat <<-EOF
6847 args=\$(echo \$* | sed -E "s#-l(\w*)#\1.dll.lib#g" | sed -E "s#-L(\w*)#-LIBPATH:\1#g")
6848 exec \$my_ld -DLL -IMPLIB:"\${IMPORT_LIB}" -OUT:"\${SHARED_LIB}" ${LDFLAGS} \$args
6852 cat >mk_prog.sh <<-CF_EOF
6861 while test \$# -gt 0; do
6863 -link)
6864 # ignore -link argument
6866 -M[TD] | -M[TD]d)
6867 # ignore runtime-library option
6869 -dll)
6872 -W* | -w*)
6875 -D*)
6878 -I*)
6881 -l*)
6882 libs+=("\`echo \"\$1\" | sed \"s/^-l//\"\`")
6884 -L*)
6885 ldopts+=("\`echo \"\$1\" | sed \"s/^-L/-LIBPATH:/\"\`")
6890 -Wl,*)
6891 for linkarg in \`echo '\$1' | sed -e 's/-Wl,//' -e 's/,/ /'\`; do
6898 -o)
6900 ldopts+=("-out:\$1")
6909 if [ "\$isdll" -ne 0 ]; then
6918 cat <<-EOF
6934 LOCAL_LDFLAGS="-Wl,--enable-auto-import"
6936 EXTRA_LDFLAGS="-Wl,--enable-auto-import $EXTRA_LDFLAGS"
6941 cat >mk_shared_lib.sh <<-CF_EOF
6944 IMPORT_LIB=\`echo "\$1" | sed -e 's/[0-9]*\.dll$/.dll.a/'\`
6946 cat <<-EOF
6951 …exec \$* ${LDFLAGS} -shared -Wl,--enable-auto-import,--out-implib=\${IMPORT_LIB} -Wl,--export-all-…
6955 (openbsd[2-9].*|mirbsd*)
6956 if test "$DFT_LWR_MODEL" = "shared" && test -n "$LD_RPATH_OPT" ; then
6963 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
6972 …MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-Bshareable,-soname,'$cf_cv_shared_soname',-…
6976 MK_SHARED_LIB='${LD} -Wshared -Weld=-export_all -o $@'
6980 MK_SHARED_LIB='${LD} -Wshared -Wxld=-export_all -o $@'
6982 (nto-qnx*|openbsd*|freebsd[12].*)
6983 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
6984 MK_SHARED_LIB='${LD} ${LDFLAGS} -Bshareable -o $@'
6988 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
7002 …MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o…
7005 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
7011 if test -f /usr/libexec/ld.elf_so; then
7025 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname' -o $@'
7027 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -o $@'
7034 …MK_SHARED_LIB='${LD} ${LDFLAGS} -set_version ${REL_VERSION}:${ABI_VERSION} -expect_unresolved "*" …
7037 MK_SHARED_LIB="${MK_SHARED_LIB} -msym"
7040 MK_SHARED_LIB="${MK_SHARED_LIB}"' -o $@'
7041 if test "$DFT_LWR_MODEL" = "shared" && test -n "$LD_RPATH_OPT" ; then
7047 (sco3.2v5*) # also uw2* and UW7: hops 13-Apr-98
7050 CC_SHARED_OPTS='-belf -KPIC'
7052 MK_SHARED_LIB='${LD} ${LDFLAGS} -dy -G -h `basename $@ .${REL_VERSION}`.${ABI_VERSION} -o $@'
7064 CC_SHARED_OPTS='-KPIC'
7066 MK_SHARED_LIB='${LD} ${LDFLAGS} -assert pure-text -o $@'
7073 LOCAL_LDFLAGS="-R\$(LOCAL_LIBDIR):\${libdir}"
7077 EXTRA_LDFLAGS="-R\${libdir} $EXTRA_LDFLAGS"
7089 for cf_shared_opts in -xcode=pic32 -xcode=pic13 -KPIC -Kpic -O
7104 rm -f "conftest.$ac_objext"
7110 { ac_try='test -s "conftest.$ac_objext"'
7121 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
7125 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dy -G -Wl,-h,'$cf_cv_shared_soname' -o $@'
7127 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -dy -G -Wl,-h,'$cf_cv_shared_soname' -o $@'
7133 CC_SHARED_OPTS='-KPIC'
7135 MK_SHARED_LIB='${LD} ${LDFLAGS} -d y -G -o $@'
7143 # This works if the last tokens in $MK_SHARED_LIB are the -o target.
7147 (*'-o $@')
7151 { echo "$as_me:7151: WARNING: ignored --with-shlib-version" >&5
7152 echo "$as_me: WARNING: ignored --with-shlib-version" >&2;}
7158 if test -n "$cf_try_cflags"
7161 #line 7161 "${as_me:-configure}"
7166 return (argv[argc-1] == 0) ;
7172 CFLAGS="$cf_save_CFLAGS -$cf_opt"
7173 echo "$as_me:7173: checking if CFLAGS option -$cf_opt works" >&5
7174 echo $ECHO_N "checking if CFLAGS option -$cf_opt works... $ECHO_C" >&6
7191 # RPATH_LIST is a colon-separated list of directories
7192 test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}"
7193 test -z "$RPATH_LIST" && RPATH_LIST="\${libdir}"
7197 test -n "$verbose" && echo " CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6
7199 echo "${as_me:-configure}:7199: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5
7201 test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6
7203 echo "${as_me:-configure}:7203: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5
7212 # Check whether --with-libtool-opts or --without-libtool-opts was given.
7230 echo "$as_me:7230: checking if exported-symbols file should be used" >&5
7231 echo $ECHO_N "checking if exported-symbols file should be used... $ECHO_C" >&6
7233 # Check whether --with-export-syms or --without-export-syms was given.
7249 EXPORT_SYMS="-export-symbols $with_export_syms"
7275 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
7281 { ac_try='test -s "conftest$ac_exeext"'
7293 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
7298 test -n "$verbose" && echo " try to work around by appending shared-options" 1>&6
7300 echo "${as_me:-configure}:7300: testing try to work around by appending shared-options ..." 1>&5
7305 echo "$as_me:7305: checking if versioned-symbols file should be used" >&5
7306 echo $ECHO_N "checking if versioned-symbols file should be used... $ECHO_C" >&6
7308 # Check whether --with-versioned-syms or --without-versioned-syms was given.
7323 …test -f "$with_versioned_syms" || { { echo "$as_me:7323: error: expected a filename: $with_version…
7328 …test -f "$with_versioned_syms" || { { echo "$as_me:7328: error: expected a filename: $with_version…
7345 (*-Wl,*)
7346 VERSIONED_SYMS="-Wl,--version-script,\${RESULTING_SYMS}"
7347 MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-Wl,%\\${VERSIONED_SYMS} -Wl,%"`
7348 test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6
7350 echo "${as_me:-configure}:7350: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5
7353 (*-dy\ *)
7354 VERSIONED_SYMS="-Wl,-M,\${RESULTING_SYMS}"
7355 MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-dy%\\${VERSIONED_SYMS} -dy%"`
7356 test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6
7358 echo "${as_me:-configure}:7358: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5
7362 { echo "$as_me:7362: WARNING: this system does not support versioned-symbols" >&5
7363 echo "$as_me: WARNING: this system does not support versioned-symbols" >&2;}
7379 rm -f conftest.*
7436 if make -f conftest.mk 2>&5 >/dev/null
7439 cf_missing="`nm -P conftest.so 2>&5 |${FGREP-fgrep} _ismissing | ${EGREP-egrep} '[ ][DT][ ]'`"
7440 test -n "$cf_missing" && WILDCARD_SYMS=yes
7444 rm -f conftest.*
7452 ### Checks for special libraries, must be done up-front.
7458 # Check whether --with-gpm or --without-gpm was given.
7482 $EGREP -v '^ *\+' conftest.er1 >conftest.err
7483 rm -f conftest.er1
7487 if test -s conftest.err; then
7495 if test -z "$ac_cpp_err"; then
7502 rm -f conftest.err "conftest.$ac_ext"
7513 test -n "$verbose" && echo " assuming we really have GPM library" 1>&6
7515 echo "${as_me:-configure}:7515: testing assuming we really have GPM library ..." 1>&5
7523 echo "$as_me:7523: checking for Gpm_Open in -lgpm" >&5
7524 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6
7529 LIBS="-lgpm $LIBS"
7549 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
7555 { ac_try='test -s "conftest$ac_exeext"'
7567 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
7604 # Check whether --with-dlsym or --without-dlsym was given.
7625 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
7652 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
7658 { ac_try='test -s "conftest$ac_exeext"'
7670 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
7679 echo "$as_me:7679: checking for dlsym in -ldl" >&5
7680 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
7685 LIBS="-ldl $LIBS"
7705 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
7711 { ac_try='test -s "conftest$ac_exeext"'
7723 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
7741 for cf_add_1lib in -ldl; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
7750 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
7775 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
7781 { ac_try='test -s "conftest$ac_exeext"'
7800 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
7810 test -n "$verbose" && echo " assuming soname for gpm is $with_gpm" 1>&6
7812 echo "${as_me:-configure}:7812: testing assuming soname for gpm is $with_gpm ..." 1>&5
7830 ${cf_cv_main_return:-return}(0);
7838 for cf_add_1lib in -lgpm; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
7847 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
7861 …pm_soname="`ldd \"conftest$ac_exeext\" 2>/dev/null | sed -e 's,^.*/,,' -e 's, .*$,,' | ${FGREP-fgr…
7862 test -z "$cf_cv_gpm_soname" && cf_cv_gpm_soname=unknown
7865 rm -rf ./conftest*
7879 SHLIB_LIST="-ldl $SHLIB_LIST"
7884 for cf_add_1lib in -ldl; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
7893 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
7898 SHLIB_LIST="-lgpm $SHLIB_LIST"
7903 for cf_add_1lib in -lgpm; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
7912 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
7919 for cf_add_1lib in -lgpm; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
7928 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
7938 echo "$as_me:7938: checking for Gpm_Wgetch in -lgpm" >&5
7939 echo $ECHO_N "checking for Gpm_Wgetch in -lgpm... $ECHO_C" >&6
7944 LIBS="-lgpm $LIBS"
7964 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
7970 { ac_try='test -s "conftest$ac_exeext"'
7982 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
8003 ${cf_cv_main_return:-return}(0);
8012 LIBS="-static -lgpm -dynamic $LIBS"
8023 …cf_cv_check_gpm_wgetch="`nm \"conftest$ac_exeext\" | ${EGREP-egrep} '\<wgetch\>' | ${EGREP-egrep} …
8024 test -n "$cf_cv_check_gpm_wgetch" && cf_cv_check_gpm_wgetch=yes
8025 test -z "$cf_cv_check_gpm_wgetch" && cf_cv_check_gpm_wgetch=no
8028 rm -rf ./conftest*
8037 { echo "$as_me:8037: WARNING: GPM library is already linked with curses - read the FAQ" >&5
8038 echo "$as_me: WARNING: GPM library is already linked with curses - read the FAQ" >&2;}
8045 echo "$as_me:8045: checking if you want to use PCRE2 for regular-expressions" >&5
8046 echo $ECHO_N "checking if you want to use PCRE2 for regular-expressions... $ECHO_C" >&6
8048 # Check whether --with-pcre2 or --without-pcre2 was given.
8053 test -z "$with_pcre2" && with_pcre2=no
8059 for cf_with_pcre2 in libpcre2 libpcre2-posix libpcre
8062 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "$cf_with_pcre2"; then
8063 test -n "$verbose" && echo " found package $cf_with_pcre2" 1>&6
8065 echo "${as_me:-configure}:8065: testing found package $cf_with_pcre2 ..." 1>&5
8067 cf_pkgconfig_incs="`$PKG_CONFIG --cflags "$cf_with_pcre2" 2>/dev/null`"
8068 cf_pkgconfig_libs="`$PKG_CONFIG --libs "$cf_with_pcre2" 2>/dev/null`"
8069 test -n "$verbose" && echo " package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs" 1>&6
8071 echo "${as_me:-configure}:8071: testing package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs ..." 1>&5
8073 test -n "$verbose" && echo " package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs" 1>&6
8075 echo "${as_me:-configure}:8075: testing package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs ..." 1>&5
8087 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
8089 (-D*)
8090 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
8093 && test -z "${cf_tst_cflags}" \
8098 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
8104 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
8116 (-D*)
8117 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
8120 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
8121 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
8126 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
8134 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
8142 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
8145 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
8148 && test -z "${cf_tst_cflags}" \
8154 if test -n "$cf_new_cflags" ; then
8156 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
8161 if test -n "$cf_new_cppflags" ; then
8163 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
8168 if test -n "$cf_new_extra_cppflags" ; then
8170 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
8187 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
8209 (*pcre2-posix*|*pcreposix*)
8212 echo "$as_me:8212: checking for regcomp in -lpcre2-posix" >&5
8213 echo $ECHO_N "checking for regcomp in -lpcre2-posix... $ECHO_C" >&6
8218 LIBS="-lpcre2-posix $LIBS"
8238 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
8244 { ac_try='test -s "conftest$ac_exeext"'
8256 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
8266 for cf_add_1lib in -lpcre2-posix; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
8275 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
8280 echo "$as_me:8280: checking for regcomp in -lpcreposix" >&5
8281 echo $ECHO_N "checking for regcomp in -lpcreposix... $ECHO_C" >&6
8286 LIBS="-lpcreposix $LIBS"
8306 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
8312 { ac_try='test -s "conftest$ac_exeext"'
8324 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
8334 for cf_add_1lib in -lpcreposix; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
8343 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
8376 $EGREP -v '^ *\+' conftest.er1 >conftest.err
8377 rm -f conftest.er1
8381 if test -s conftest.err; then
8389 if test -z "$ac_cpp_err"; then
8396 rm -f conftest.err "conftest.$ac_ext"
8420 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
8447 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
8453 { ac_try='test -s "conftest$ac_exeext"'
8465 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
8479 # not everyone has "test -c"
8480 if test -c /dev/sysmouse 2>/dev/null ; then
8484 # Check whether --with-sysmouse or --without-sysmouse was given.
8515 rm -f "conftest.$ac_objext"
8521 { ac_try='test -s "conftest.$ac_objext"'
8533 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
8548 # Check whether --enable-lib-suffixes or --disable-lib-suffixes was given.
8565 ### If we're building with rpath, try to link non-standard libs that way too.
8568 echo "$as_me:8568: checking if rpath-hack should be disabled" >&5
8569 echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6
8571 # Check whether --enable-rpath-hack or --disable-rpath-hack was given.
8593 if test -n "$LD_RPATH_OPT" ; then
8606 if test -n "$cf_ldd_prog"; then
8613 test -z "$ac_dir" && ac_dir=.
8623 if test -n "$cf_ldd_prog"; then
8631 test -n "$cf_ldd_prog" && break
8633 test -n "$cf_ldd_prog" || cf_ldd_prog="no"
8652 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
8658 { ac_try='test -s "conftest$ac_exeext"'
8664 …cf_rpath_oops=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} ' not found' | sed -e 's% =>.*…
8665 …cf_rpath_list=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} / | sed -e 's%^.*[ ]/%/%' -e …
8670 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
8672 # If we passed the link-test, but get a "not found" on a given library,
8677 if test -n "$cf_rpath_oops"
8686 if test -f "$cf_rpath_dir/lib/$cf_rpath_src"
8688 test -n "$verbose" && echo " ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6
8690 echo "${as_me:-configure}:8690: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src …
8692 LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib"
8700 test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
8702 echo "${as_me:-configure}:8702: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
8704 test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6
8706 echo "${as_me:-configure}:8706: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
8712 (-L*)
8716 if test -n "$cf_rpath_list"
8720 if test "x$cf_rpath_src" = "x-L$cf_rpath_item"
8731 if test "$LD_RPATH_OPT" = "-R " ; then
8732 cf_rpath_tmp=`echo "$cf_rpath_src" |sed -e "s%-L%-R %"`
8734 cf_rpath_tmp=`echo "$cf_rpath_src" |sed -e "s%-L%$LD_RPATH_OPT%"`
8738 cf_rpath_tst=`echo "$EXTRA_LDFLAGS" | sed -e "s%$cf_rpath_tmp %%"`
8741 test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6
8743 echo "${as_me:-configure}:8743: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
8754 test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6
8756 echo "${as_me:-configure}:8756: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
8758 test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6
8760 echo "${as_me:-configure}:8760: testing ...checking LIBS $LIBS ..." 1>&5
8766 (-L*)
8770 if test -n "$cf_rpath_list"
8774 if test "x$cf_rpath_src" = "x-L$cf_rpath_item"
8785 if test "$LD_RPATH_OPT" = "-R " ; then
8786 cf_rpath_tmp=`echo "$cf_rpath_src" |sed -e "s%-L%-R %"`
8788 cf_rpath_tmp=`echo "$cf_rpath_src" |sed -e "s%-L%$LD_RPATH_OPT%"`
8792 cf_rpath_tst=`echo "$EXTRA_LDFLAGS" | sed -e "s%$cf_rpath_tmp %%"`
8795 test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6
8797 echo "${as_me:-configure}:8797: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
8808 test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6
8810 echo "${as_me:-configure}:8810: testing ...checked LIBS $LIBS ..." 1>&5
8812 test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
8814 echo "${as_me:-configure}:8814: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
8829 if test -n "$EXTRA_PKG_LDFLAGS"
8831 echo "$as_me:8831: checking if you want to disable extra LDFLAGS for package-scripts" >&5
8832 echo $ECHO_N "checking if you want to disable extra LDFLAGS for package-scripts... $ECHO_C" >&6
8834 # Check whether --enable-pkg-ldflags or --disable-pkg-ldflags was given.
8855 ### use option --with-extra-suffix to append suffix to headers and libraries
8860 # Check whether --with-extra-suffix or --without-extra-suffix was given.
8875 echo "$as_me:8875: result: ${EXTRA_SUFFIX:-(none)}" >&5
8876 echo "${ECHO_T}${EXTRA_SUFFIX:-(none)}" >&6
8878 ### use option --disable-overwrite to leave out the link to -lcurses
8882 # Check whether --enable-overwrite or --disable-overwrite was given.
8892 echo "$as_me:8892: checking if external terminfo-database is used" >&5
8893 echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6
8895 # Check whether --enable-database or --disable-database was given.
8918 echo "$as_me:8918: checking which terminfo source-file will be installed" >&5
8919 echo $ECHO_N "checking which terminfo source-file will be installed... $ECHO_C" >&6
8921 # Check whether --with-database or --without-database was given.
8932 # Check whether --with-hashed-db or --without-hashed-db was given.
8948 # Check whether --with-fallbacks or --without-fallbacks was given.
8955 echo "$as_me:8955: result: ${with_fallback:-(none)}" >&5
8956 echo "${ECHO_T}${with_fallback:-(none)}" >&6
8967 FALLBACK_LIST=`echo "$with_fallback" | sed -e 's/,/ /g'`
8974 # databases. Use configure-options to point to the tools which will be used,
8976 if test -n "$ac_tool_prefix"; then
8984 if test -n "$TIC"; then
8991 test -z "$ac_dir" && ac_dir=.
9001 if test -n "$TIC"; then
9010 if test -z "$ac_cv_prog_TIC"; then
9019 if test -n "$ac_ct_TIC"; then
9026 test -z "$ac_dir" && ac_dir=.
9036 if test -n "$ac_ct_TIC"; then
9049 if test -n "$ac_tool_prefix"; then
9057 if test -n "$INFOCMP"; then
9064 test -z "$ac_dir" && ac_dir=.
9074 if test -n "$INFOCMP"; then
9083 if test -z "$ac_cv_prog_INFOCMP"; then
9092 if test -n "$ac_ct_INFOCMP"; then
9099 test -z "$ac_dir" && ac_dir=.
9109 if test -n "$ac_ct_INFOCMP"; then
9122 if test -n "$FALLBACK_LIST"
9125 # Check whether --with-tic-path or --without-tic-path was given.
9145 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
9151 TIC=`echo "$TIC" | sed -e s%NONE%$cf_path_syntax%`
9156 TIC=`echo "$TIC" | sed -e s%NONE%$cf_path_syntax%`
9167 test -z "$TIC" && TIC="tic"
9186 test -z "$ac_dir" && ac_dir=.
9199 if test -n "$TIC"; then
9207 test -n "$TIC" && break
9209 test -n "$TIC" || TIC="$TIC"
9213 IFS="${IFS:- }"; cf_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR"
9216 if test -z "$cf_path_prog" ; then
9230 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
9236 cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%`
9241 cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%`
9252 elif test -z "$cf_path_args" ; then
9260 if test -n "$cf_path_prog" ; then
9262 echo "${as_me:-configure}:9262: testing defining path for ${cf_path_prog} ..." 1>&5
9268 test -n "$cf_path_args" &&
9275 if test -z "$TIC"
9283 # Check whether --with-infocmp-path or --without-infocmp-path was given.
9303 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
9309 INFOCMP=`echo "$INFOCMP" | sed -e s%NONE%$cf_path_syntax%`
9314 INFOCMP=`echo "$INFOCMP" | sed -e s%NONE%$cf_path_syntax%`
9325 test -z "$INFOCMP" && INFOCMP="infocmp"
9344 test -z "$ac_dir" && ac_dir=.
9357 if test -n "$INFOCMP"; then
9365 test -n "$INFOCMP" && break
9367 test -n "$INFOCMP" || INFOCMP="$INFOCMP"
9371 IFS="${IFS:- }"; cf_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR"
9374 if test -z "$cf_path_prog" ; then
9388 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
9394 cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%`
9399 cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%`
9410 elif test -z "$cf_path_args" ; then
9418 if test -n "$cf_path_prog" ; then
9420 echo "${as_me:-configure}:9420: testing defining path for ${cf_path_prog} ..." 1>&5
9426 test -n "$cf_path_args" &&
9433 if test -z "$INFOCMP"
9441 test -z "$TIC" && FALLBACK_LIST=
9442 test -z "$INFOCMP" && FALLBACK_LIST=
9443 if test -z "$FALLBACK_LIST"
9451 test -z "$FALLBACK_LIST" && USE_FALLBACKS="#"
9456 # Check whether --with-xterm-new or --without-xterm-new was given.
9464 (no) with_xterm_new=xterm-old;;
9465 (*) with_xterm_new=xterm-new;;
9472 (*linux-gnu|*cygwin|*mingw32|*msys)
9483 # Check whether --with-xterm-kbs or --without-xterm-kbs was given.
9510 …{ echo "$as_me:9510: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os, have $with_x…
9511 echo "$as_me: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os, have $with_xterm_kbs…
9523 # Check whether --with-terminfo-dirs or --without-terminfo-dirs was given.
9528 withval=${TERMINFO_DIRS:-${datadir}/terminfo}
9530 IFS="${IFS:- }"; ac_save_ifs="$IFS"; IFS="${PATH_SEPARATOR}"
9546 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
9552 cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%`
9557 cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%`
9566 test -n "$cf_dst_path" && cf_dst_path="${cf_dst_path}$PATH_SEPARATOR"
9585 test -n "$TERMINFO_DIRS" &&
9592 { echo "$as_me:9592: WARNING: ignoring non-directory/file TERMINFO value" >&5
9593 echo "$as_me: WARNING: ignoring non-directory/file TERMINFO value" >&2;}
9601 # Check whether --with-default-terminfo-dir or --without-default-terminfo-dir was given.
9606 withval="${TERMINFO:-${datadir}/terminfo}"
9607 fi; if test -n "${datadir}/terminfo" ; then
9620 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
9626 withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%`
9631 withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%`
9652 ### use option --disable-big-core to make tic run on small machines
9654 echo "$as_me:9654: checking if big-core option selected" >&5
9655 echo $ECHO_N "checking if big-core option selected... $ECHO_C" >&6
9657 # Check whether --enable-big-core or --disable-big-core was given.
9675 s[0] = s[n-1] = 0;
9676 ${cf_cv_main_return:-return}(s == 0);
9679 rm -f "conftest$ac_exeext"
9697 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
9707 ### ISO C only guarantees 512-char strings, we have tables which load faster
9710 echo "$as_me:9710: checking if big-strings option selected" >&5
9711 echo $ECHO_N "checking if big-strings option selected... $ECHO_C" >&6
9713 # Check whether --enable-big-strings or --disable-big-strings was given.
9740 ### use option --enable-termcap to compile in the termcap fallback support
9741 echo "$as_me:9741: checking if you want termcap-fallback support" >&5
9742 echo $ECHO_N "checking if you want termcap-fallback support... $ECHO_C" >&6
9744 # Check whether --enable-termcap or --disable-termcap was given.
9757 if test -z "$with_fallback" ; then
9771 { { echo "$as_me:9771: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5
9772 echo "$as_me: error: Options --with-ticlib and --enable-termcap cannot be combined" >&2;}
9780 # Check whether --with-termpath or --without-termpath was given.
9785 withval=${TERMPATH:-/etc/termcap:/usr/share/misc/termcap}
9787 IFS="${IFS:- }"; ac_save_ifs="$IFS"; IFS="${PATH_SEPARATOR}"
9803 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
9809 cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%`
9814 cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%`
9823 test -n "$cf_dst_path" && cf_dst_path="${cf_dst_path}$PATH_SEPARATOR"
9842 test -n "$TERMPATH" &&
9847 ### use option --enable-getcap to use a hacked getcap for reading termcaps
9848 echo "$as_me:9848: checking if fast termcap-loader is needed" >&5
9849 echo $ECHO_N "checking if fast termcap-loader is needed... $ECHO_C" >&6
9851 # Check whether --enable-getcap or --disable-getcap was given.
9868 # Check whether --enable-getcap-cache or --disable-getcap-cache was given.
9884 ### Use option --disable-home-terminfo to completely remove ~/.terminfo
9888 # Check whether --enable-home-terminfo or --disable-home-terminfo was given.
9905 # Check whether --enable-root-environ or --disable-root-environ was given.
9922 # Check whether --enable-root-access or --disable-root-access was given.
9939 # Check whether --enable-setuid-environ or --disable-setuid-environ was given.
9953 ### Use option --enable-symlinks to make tic use symlinks, not hard links
9974 $EGREP -v '^ *\+' conftest.er1 >conftest.err
9975 rm -f conftest.er1
9979 if test -s conftest.err; then
9987 if test -z "$ac_cpp_err"; then
9994 rm -f conftest.err "conftest.$ac_ext"
10020 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
10047 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
10053 { ac_try='test -s "conftest$ac_exeext"'
10065 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
10093 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
10120 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
10126 { ac_try='test -s "conftest$ac_exeext"'
10138 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
10183 long diff = (dst_sb.st_mtime - src_sb.st_mtime);
10184 if (diff < 0) diff = -diff;
10193 ${cf_cv_main_return:-return} (fail);
10197 rm -f "conftest$ac_exeext"
10218 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
10221 test -z "$cf_cv_link_funcs" && cf_cv_link_funcs=no
10247 # Check whether --enable-symlinks or --disable-symlinks was given.
10259 # no reason to make this choice optional - use the hard links.
10282 ### use option --enable-broken-linker to force on use of broken-linker support
10284 echo "$as_me:10284: checking if you want broken-linker support code" >&5
10285 echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6
10287 # Check whether --enable-broken_linker or --disable-broken_linker was given.
10307 ### use option --enable-bsdpad to have tputs process BSD-style prefix padding
10308 echo "$as_me:10308: checking if tputs should process BSD-style prefix padding" >&5
10309 echo $ECHO_N "checking if tputs should process BSD-style prefix padding... $ECHO_C" >&6
10311 # Check whether --enable-bsdpad or --disable-bsdpad was given.
10325 ### use option --enable-widec to turn on use of wide-character support
10337 echo "$as_me:10337: checking if the POSIX test-macros are already defined" >&5
10338 echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6
10351 #if defined(__POSIX_VISIBLE) && ((__POSIX_VISIBLE - 0L) > 0) \
10352 && defined(__XSI_VISIBLE) && ((__XSI_VISIBLE - 0L) > 0) \
10353 && defined(__BSD_VISIBLE) && ((__BSD_VISIBLE - 0L) > 0) \
10354 && defined(__ISO_C_VISIBLE) && ((__ISO_C_VISIBLE - 0L) > 0)
10362 rm -f "conftest.$ac_objext"
10368 { ac_try='test -s "conftest.$ac_objext"'
10380 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
10393 (aix[4-7]*)
10394 cf_xopen_source="-D_ALL_SOURCE"
10396 (darwin[0-8].*)
10397 cf_xopen_source="-D_APPLE_C_SOURCE"
10400 cf_xopen_source="-D_DARWIN_C_SOURCE"
10409 …cf_xopen_source="-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE -D_XOPEN_SOURCE…
10412 cf_xopen_source="-D_HPUX_SOURCE -D_XOPEN_SOURCE=500"
10415 cf_xopen_source="-D_HPUX_SOURCE"
10418 cf_xopen_source="-D_SGI_SOURCE"
10421 …abin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw…
10450 rm -f "conftest.$ac_objext"
10456 { ac_try='test -s "conftest.$ac_objext"'
10468 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
10487 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
10488 CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE"
10509 rm -f "conftest.$ac_objext"
10515 { ac_try='test -s "conftest.$ac_objext"'
10527 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
10547 for cf_add_cflags in -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=$cf_gnu_xopen_source
10552 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
10554 (-D*)
10555 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
10558 && test -z "${cf_tst_cflags}" \
10563 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
10569 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
10581 (-D*)
10582 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
10585 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
10586 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
10591 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
10599 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
10607 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
10610 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
10613 && test -z "${cf_tst_cflags}" \
10619 if test -n "$cf_new_cflags" ; then
10621 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
10626 if test -n "$cf_new_cppflags" ; then
10628 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
10633 if test -n "$cf_new_extra_cppflags" ; then
10635 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
10660 rm -f "conftest.$ac_objext"
10666 { ac_try='test -s "conftest.$ac_objext"'
10678 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
10711 rm -f "conftest.$ac_objext"
10717 { ac_try='test -s "conftest.$ac_objext"'
10734 for cf_add_cflags in -D_GNU_SOURCE
10739 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
10741 (-D*)
10742 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
10745 && test -z "${cf_tst_cflags}" \
10750 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
10756 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
10768 (-D*)
10769 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
10772 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
10773 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
10778 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
10786 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
10794 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
10797 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
10800 && test -z "${cf_tst_cflags}" \
10806 if test -n "$cf_new_cflags" ; then
10808 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
10813 if test -n "$cf_new_cppflags" ; then
10815 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
10820 if test -n "$cf_new_extra_cppflags" ; then
10822 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
10842 rm -f "conftest.$ac_objext"
10848 { ac_try='test -s "conftest.$ac_objext"'
10860 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
10864 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
10878 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
10879 CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE"
10896 rm -f "conftest.$ac_objext"
10902 { ac_try='test -s "conftest.$ac_objext"'
10914 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
10922 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
10923 CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE"
10933 cf_xopen_source="-D_NETBSD_SOURCE" # POSIX.1-2001 features are ifdef'd with this...
10947 sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
10948 -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'`
10951 sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
10952 -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'`
10960 echo "${as_me:-configure}:10960: testing if the symbol is already defined go no further ..." 1>&5
10977 rm -f "conftest.$ac_objext"
10983 { ac_try='test -s "conftest.$ac_objext"'
10996 cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
10999 cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
11022 rm -f "conftest.$ac_objext"
11028 { ac_try='test -s "conftest.$ac_objext"'
11038 cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
11040 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11043 echo "${as_me:-configure}:11043: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
11048 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
11051 echo "${as_me:-configure}:11051: testing if the second compile does not leave our definition intact…
11068 rm -f "conftest.$ac_objext"
11074 { ac_try='test -s "conftest.$ac_objext"'
11086 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11091 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11111 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
11113 (-D*)
11114 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
11117 && test -z "${cf_tst_cflags}" \
11122 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11128 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11140 (-D*)
11141 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
11144 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
11145 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
11150 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
11158 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
11166 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11169 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
11172 && test -z "${cf_tst_cflags}" \
11178 if test -n "$cf_new_cflags" ; then
11180 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
11185 if test -n "$cf_new_cppflags" ; then
11187 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
11192 if test -n "$cf_new_extra_cppflags" ; then
11194 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
11205 …cf_xopen_source="-D_NETBSD_SOURCE" # setting _XOPEN_SOURCE breaks IPv6 for lynx on NetBSD 1.6, bre…
11207 (openbsd[6-9]*)
11208 # OpenBSD 6.x has broken locale support, both compile-time and runtime.
11209 # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html
11213 cf_xopen_source="-D_BSD_SOURCE"
11216 (openbsd[4-5]*)
11218 cf_xopen_source="-D_BSD_SOURCE"
11225 cf_xopen_source="-D_OSF_SOURCE"
11227 (nto-qnx*)
11228 cf_xopen_source="-D_QNX_SOURCE"
11234 cf_xopen_source="-D__EXTENSIONS__"
11267 rm -f "conftest.$ac_objext"
11273 { ac_try='test -s "conftest.$ac_objext"'
11285 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
11286 CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
11306 rm -f "conftest.$ac_objext"
11312 { ac_try='test -s "conftest.$ac_objext"'
11324 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11328 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11337 sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
11338 -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'`
11341 sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
11342 -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'`
11344 cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
11349 (x-[DU]*)
11351 cf_tmp_cflag=`echo "x$cf_add_cflags" | sed -e 's/^.//' -e 's/=.*//'`
11354 …S" | sed -e 's/^.//' -e 's/[ ][ ]*-/ -/g' -e "s%$cf_tmp_cflag\\(=[^ ][^ ]*\\)\?%%" -e 's/^[ ]…
11360 cf_tmp_cflag=`echo "x$cf_add_cflags" | sed -e 's/^.//' -e 's/=.*//'`
11363 …S" | sed -e 's/^.//' -e 's/[ ][ ]*-/ -/g' -e "s%$cf_tmp_cflag\\(=[^ ][^ ]*\\)\?%%" -e 's/^[ ]…
11382 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
11384 (-D*)
11385 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
11388 && test -z "${cf_tst_cflags}" \
11393 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11399 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11411 (-D*)
11412 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
11415 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
11416 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
11421 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
11429 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
11437 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11440 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
11443 && test -z "${cf_tst_cflags}" \
11449 if test -n "$cf_new_cflags" ; then
11451 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
11456 if test -n "$cf_new_cppflags" ; then
11458 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
11463 if test -n "$cf_new_extra_cppflags" ; then
11465 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
11484 sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
11485 -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'`
11488 sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
11489 -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'`
11497 echo "${as_me:-configure}:11497: testing if the symbol is already defined go no further ..." 1>&5
11514 rm -f "conftest.$ac_objext"
11520 { ac_try='test -s "conftest.$ac_objext"'
11533 cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
11536 cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
11559 rm -f "conftest.$ac_objext"
11565 { ac_try='test -s "conftest.$ac_objext"'
11575 cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
11577 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11580 echo "${as_me:-configure}:11580: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
11585 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
11588 echo "${as_me:-configure}:11588: testing if the second compile does not leave our definition intact…
11605 rm -f "conftest.$ac_objext"
11611 { ac_try='test -s "conftest.$ac_objext"'
11623 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11628 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11648 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
11650 (-D*)
11651 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
11654 && test -z "${cf_tst_cflags}" \
11659 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11665 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11677 (-D*)
11678 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
11681 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
11682 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
11687 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
11695 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
11703 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11706 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
11709 && test -z "${cf_tst_cflags}" \
11715 if test -n "$cf_new_cflags" ; then
11717 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
11722 if test -n "$cf_new_cppflags" ; then
11724 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
11729 if test -n "$cf_new_extra_cppflags" ; then
11731 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
11740 # Some of these niche implementations use copy/paste, double-check...
11742 test -n "$verbose" && echo " checking if _POSIX_C_SOURCE interferes with _XOPEN_SOURCE" 1>&6
11744 echo "${as_me:-configure}:11744: testing checking if _POSIX_C_SOURCE interferes with _XOPEN_SOURCE …
11764 rm -f "conftest.$ac_objext"
11770 { ac_try='test -s "conftest.$ac_objext"'
11785 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11790 if test -n "$cf_xopen_source" ; then
11795 (x-[DU]*)
11797 cf_tmp_cflag=`echo "x$cf_add_cflags" | sed -e 's/^.//' -e 's/=.*//'`
11800 …S" | sed -e 's/^.//' -e 's/[ ][ ]*-/ -/g' -e "s%$cf_tmp_cflag\\(=[^ ][^ ]*\\)\?%%" -e 's/^[ ]…
11802 test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6
11804 echo "${as_me:-configure}:11804: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5
11809 cf_tmp_cflag=`echo "x$cf_add_cflags" | sed -e 's/^.//' -e 's/=.*//'`
11812 …S" | sed -e 's/^.//' -e 's/[ ][ ]*-/ -/g' -e "s%$cf_tmp_cflag\\(=[^ ][^ ]*\\)\?%%" -e 's/^[ ]…
11814 test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6
11816 echo "${as_me:-configure}:11816: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5
11834 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
11836 (-D*)
11837 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
11840 && test -z "${cf_tst_cflags}" \
11845 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11851 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11863 (-D*)
11864 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
11867 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
11868 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
11873 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
11881 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
11889 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
11892 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
11895 && test -z "${cf_tst_cflags}" \
11901 if test -n "$cf_new_cflags" ; then
11902 test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6
11904 echo "${as_me:-configure}:11904: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
11906 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
11911 if test -n "$cf_new_cppflags" ; then
11912 test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6
11914 echo "${as_me:-configure}:11914: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
11916 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
11921 if test -n "$cf_new_extra_cppflags" ; then
11922 test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6
11924 echo "${as_me:-configure}:11924: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
11926 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
11935 if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
11953 rm -f "conftest.$ac_objext"
11959 { ac_try='test -s "conftest.$ac_objext"'
11971 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
11984 #if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
11985 #error (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
11991 rm -f "conftest.$ac_objext"
11997 { ac_try='test -s "conftest.$ac_objext"'
12009 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12041 rm -f "conftest.$ac_objext"
12047 { ac_try='test -s "conftest.$ac_objext"'
12059 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
12060 CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
12080 rm -f "conftest.$ac_objext"
12086 { ac_try='test -s "conftest.$ac_objext"'
12098 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12102 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12111 sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
12112 -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'`
12115 sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
12116 -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'`
12118 cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
12123 (x-[DU]*)
12125 cf_tmp_cflag=`echo "x$cf_add_cflags" | sed -e 's/^.//' -e 's/=.*//'`
12128 …S" | sed -e 's/^.//' -e 's/[ ][ ]*-/ -/g' -e "s%$cf_tmp_cflag\\(=[^ ][^ ]*\\)\?%%" -e 's/^[ ]…
12134 cf_tmp_cflag=`echo "x$cf_add_cflags" | sed -e 's/^.//' -e 's/=.*//'`
12137 …S" | sed -e 's/^.//' -e 's/[ ][ ]*-/ -/g' -e "s%$cf_tmp_cflag\\(=[^ ][^ ]*\\)\?%%" -e 's/^[ ]…
12156 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
12158 (-D*)
12159 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
12162 && test -z "${cf_tst_cflags}" \
12167 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
12173 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
12185 (-D*)
12186 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
12189 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
12190 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
12195 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
12203 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
12211 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
12214 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
12217 && test -z "${cf_tst_cflags}" \
12223 if test -n "$cf_new_cflags" ; then
12225 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
12230 if test -n "$cf_new_cppflags" ; then
12232 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
12237 if test -n "$cf_new_extra_cppflags" ; then
12239 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
12277 rm -f "conftest.$ac_objext"
12283 { ac_try='test -s "conftest.$ac_objext"'
12311 rm -f "conftest.$ac_objext"
12317 { ac_try='test -s "conftest.$ac_objext"'
12329 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12332 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12371 rm -f "conftest.$ac_objext"
12377 { ac_try='test -s "conftest.$ac_objext"'
12389 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12391 cf_sigwinch="`expr "$cf_sigwinch" - 1`"
12399 CPPFLAGS="$CPPFLAGS -DSIGWINCH=$cf_cv_fixup_sigwinch"
12424 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
12430 { ac_try='test -s "conftest$ac_exeext"'
12442 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
12459 echo "$as_me:12459: checking if you want wide-character code" >&5
12460 echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6
12462 # Check whether --enable-widec or --disable-widec was given.
12493 # CPPFLAGS="$CPPFLAGS -DNCURSES_WIDECHAR"
12494 CPPFLAGS_after_XOPEN="$CPPFLAGS_after_XOPEN -DNCURSES_WIDECHAR"
12517 $EGREP -v '^ *\+' conftest.er1 >conftest.err
12518 rm -f conftest.er1
12522 if test -s conftest.err; then
12530 if test -z "$ac_cpp_err"; then
12537 rm -f conftest.err "conftest.$ac_ext"
12577 rm -f "conftest.$ac_objext"
12583 { ac_try='test -s "conftest.$ac_objext"'
12595 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12621 rm -f "conftest.$ac_objext"
12627 { ac_try='test -s "conftest.$ac_objext"'
12639 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12644 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
12657 #if _XOPEN_SOURCE_EXTENDED- < 0
12658 #error _XOPEN_SOURCE_EXTENDED- is negative
12664 rm -f "conftest.$ac_objext"
12670 { ac_try='test -s "conftest.$ac_objext"'
12682 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
12686 # perhaps we can override it - try...
12687 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED="
12693 echo "$as_me:12693: checking if wcwidth agrees graphics are single-width" >&5
12694 echo $ECHO_N "checking if wcwidth agrees graphics are single-width... $ECHO_C" >&6
12700 - VT100 symbols
12719 - Teletype 5410v1 symbols
12727 - these defaults were invented for ncurses
12730 0x2264 less-than-or-equal-to
12731 0x2265 greater-than-or-equal-to
12733 0x2260 not-equal
12734 0x00a3 pound-sterling symbol
12735 - thick-line-drawing
12747 - double-line-drawing
12785 setlocale(LC_ALL, "en_US.UTF-8") ||
12787 setlocale(LC_ALL, "en_US.utf-8")) {
12790 if (*buffer == '-') {
12808 rm -f "conftest$ac_exeext"
12826 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
12850 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
12877 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
12883 { ac_try='test -s "conftest$ac_exeext"'
12895 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
12925 $EGREP -v '^ *\+' conftest.er1 >conftest.err
12926 rm -f conftest.er1
12930 if test -s conftest.err; then
12938 if test -z "$ac_cpp_err"; then
12945 rm -f conftest.err "conftest.$ac_ext"
12981 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
12987 { ac_try='test -s "conftest$ac_exeext"'
13003 echo "${as_me:-configure}:13003: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
13020 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
13026 { ac_try='test -s "conftest$ac_exeext"'
13041 LIBS="-lutf8 $cf_save_LIBS"
13056 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
13062 { ac_try='test -s "conftest$ac_exeext"'
13072 cf_cv_library_file_utf8="-lutf8"
13081 test -n "$verbose" && echo " find linkage for utf8 library" 1>&6
13083 echo "${as_me:-configure}:13083: testing find linkage for utf8 library ..." 1>&5
13085 echo "${as_me:-configure}:13085: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
13092 # collect the current set of include-directories from compiler flags
13094 if test -n "${CFLAGS}${CPPFLAGS}" ; then
13098 (-I*)
13099 cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'`
13102 test -d "$cf_header_path" && \
13104 test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path"
13105 test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include"
13106 test -d "$cf_header_path/include/utf8" && cf_search="$cf_search $cf_header_path/include/utf8"
13107 …test -d "$cf_header_path/include/utf8/include" && cf_search="$cf_search $cf_header_path/include…
13108 test -d "$cf_header_path/utf8/include" && cf_search="$cf_search $cf_header_path/utf8/include"
13109 …test -d "$cf_header_path/utf8/include/utf8" && cf_search="$cf_search $cf_header_path/utf8/inclu…
13123 test -d "$prefix" && \
13125 test -n "$verbose" && echo " ... testing for include-directories under $prefix"
13126 test -d "$prefix/include" && cf_search="$cf_search $prefix/include"
13127 test -d "$prefix/include/utf8" && cf_search="$cf_search $prefix/include/utf8"
13128 test -d "$prefix/include/utf8/include" && cf_search="$cf_search $prefix/include/utf8/include"
13129 test -d "$prefix/utf8/include" && cf_search="$cf_search $prefix/utf8/include"
13130 test -d "$prefix/utf8/include/utf8" && cf_search="$cf_search $prefix/utf8/include/utf8"
13143 test -d "$cf_subdir_prefix" && \
13144 { test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && {
13145 test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix"
13146 test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include"
13147 …test -d "$cf_subdir_prefix/include/utf8" && cf_search="$cf_search $cf_subdir_prefix/include/…
13148 …test -d "$cf_subdir_prefix/include/utf8/include" && cf_search="$cf_search $cf_subdir_prefix/inc…
13149 …test -d "$cf_subdir_prefix/utf8/include" && cf_search="$cf_search $cf_subdir_prefix/utf8/inc…
13150 …test -d "$cf_subdir_prefix/utf8/include/utf8" && cf_search="$cf_search $cf_subdir_prefix/utf8/i…
13157 test -d "$includedir" && {
13158 test -d "$includedir" && cf_search="$cf_search $includedir"
13159 test -d "$includedir/utf8" && cf_search="$cf_search $includedir/utf8"
13164 test -d "$oldincludedir" && {
13165 test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir"
13166 test -d "$oldincludedir/utf8" && cf_search="$cf_search $oldincludedir/utf8"
13173 if test -d "$cf_cv_header_path_utf8" ; then
13174 test -n "$verbose" && echo " ... testing $cf_cv_header_path_utf8" 1>&6
13176 echo "${as_me:-configure}:13176: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
13180 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
13181 CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8"
13196 rm -f "conftest.$ac_objext"
13202 { ac_try='test -s "conftest.$ac_objext"'
13209 test -n "$verbose" && echo " ... found utf8 headers in $cf_cv_header_path_utf8" 1>&6
13211 echo "${as_me:-configure}:13211: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
13223 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13229 echo "${as_me:-configure}:13229: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
13238 if test -n "${LDFLAGS}${LIBS}" ; then
13242 (-L*)
13243 cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'`
13246 test -d "$cf_library_path" && \
13248 test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path"
13249 test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib"
13250 test -d "$cf_library_path/lib/utf8" && cf_search="$cf_search $cf_library_path/lib/utf8"
13251 test -d "$cf_library_path/lib/utf8/lib" && cf_search="$cf_search $cf_library_path/lib/utf8/lib"
13252 test -d "$cf_library_path/utf8/lib" && cf_search="$cf_search $cf_library_path/utf8/lib"
13253 …test -d "$cf_library_path/utf8/lib/utf8" && cf_search="$cf_search $cf_library_path/utf8/lib/utf…
13265 test -d "$prefix" && \
13267 test -n "$verbose" && echo " ... testing for lib-directories under $prefix"
13268 test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib"
13269 test -d "$prefix/lib/utf8" && cf_search="$cf_search $prefix/lib/utf8"
13270 test -d "$prefix/lib/utf8/lib" && cf_search="$cf_search $prefix/lib/utf8/lib"
13271 test -d "$prefix/utf8/lib" && cf_search="$cf_search $prefix/utf8/lib"
13272 test -d "$prefix/utf8/lib/utf8" && cf_search="$cf_search $prefix/utf8/lib/utf8"
13285 test -d "$cf_subdir_prefix" && \
13286 { test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && {
13287 test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix"
13288 test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib"
13289 test -d "$cf_subdir_prefix/lib/utf8" && cf_search="$cf_search $cf_subdir_prefix/lib/utf8"
13290 …test -d "$cf_subdir_prefix/lib/utf8/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/utf8/li…
13291 test -d "$cf_subdir_prefix/utf8/lib" && cf_search="$cf_search $cf_subdir_prefix/utf8/lib"
13292 …test -d "$cf_subdir_prefix/utf8/lib/utf8" && cf_search="$cf_search $cf_subdir_prefix/utf8/lib/u…
13301 if test -d "$cf_cv_library_path_utf8" ; then
13302 test -n "$verbose" && echo " ... testing $cf_cv_library_path_utf8" 1>&6
13304 echo "${as_me:-configure}:13304: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
13307 LIBS="-lutf8 $cf_save_LIBS"
13308 LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_utf8"
13322 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
13328 { ac_try='test -s "conftest$ac_exeext"'
13335 test -n "$verbose" && echo " ... found utf8 library in $cf_cv_library_path_utf8" 1>&6
13337 echo "${as_me:-configure}:13337: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>…
13340 cf_cv_library_file_utf8="-lutf8"
13351 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
13363 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
13366 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
13371 cf_cv_utf8_lib=add-on
13377 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
13384 if test "$cf_cv_utf8_lib" = "add-on" ; then
13390 if test -n "$cf_cv_header_path_utf8" ; then
13395 if test -d "$cf_add_incdir"
13398 if test -n "$CFLAGS$CPPFLAGS" ; then
13401 if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
13413 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
13414 CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir"
13428 rm -f "conftest.$ac_objext"
13434 { ac_try='test -s "conftest.$ac_objext"'
13446 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13453 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6
13455 echo "${as_me:-configure}:13455: testing adding $cf_add_incdir to include-path ..." 1>&5
13457 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
13459 cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'`
13472 if test -n "$cf_cv_library_path_utf8" ; then
13477 elif test -d "$cf_add_libdir"
13480 if test -n "$LDFLAGS$LIBS" ; then
13483 if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
13489 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6
13491 echo "${as_me:-configure}:13491: testing adding $cf_add_libdir to library-path ..." 1>&5
13493 LDFLAGS="-L$cf_add_libdir $LDFLAGS"
13511 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
13547 rm -f "conftest.$ac_objext"
13553 { ac_try='test -s "conftest.$ac_objext"'
13582 rm -f "conftest.$ac_objext"
13588 { ac_try='test -s "conftest.$ac_objext"'
13600 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13602 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13646 rm -f "conftest.$ac_objext"
13652 { ac_try='test -s "conftest.$ac_objext"'
13681 rm -f "conftest.$ac_objext"
13687 { ac_try='test -s "conftest.$ac_objext"'
13699 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13701 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13750 rm -f "conftest.$ac_objext"
13756 { ac_try='test -s "conftest.$ac_objext"'
13785 rm -f "conftest.$ac_objext"
13791 { ac_try='test -s "conftest.$ac_objext"'
13803 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13805 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13838 ### use option --disable-lp64 to allow long chtype
13842 # Check whether --enable-lp64 or --disable-lp64 was given.
13858 # Check whether --enable-largefile or --disable-largefile was given.
13875 # so use the C compiler's -n32 option if that helps.
13880 /* Check that off_t can represent 2**63 - 1 correctly.
13884 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13887 ? 1 : -1];
13896 rm -f "conftest.$ac_objext"
13902 { ac_try='test -s "conftest.$ac_objext"'
13913 rm -f "conftest.$ac_objext"
13914 CC="$CC -n32"
13915 rm -f "conftest.$ac_objext"
13921 { ac_try='test -s "conftest.$ac_objext"'
13927 ac_cv_sys_largefile_CC=' -n32'; break
13932 rm -f "conftest.$ac_objext"
13936 rm -f "conftest.$ac_ext"
13956 /* Check that off_t can represent 2**63 - 1 correctly.
13960 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13963 ? 1 : -1];
13972 rm -f "conftest.$ac_objext"
13978 { ac_try='test -s "conftest.$ac_objext"'
13989 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
13995 /* Check that off_t can represent 2**63 - 1 correctly.
13999 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14002 ? 1 : -1];
14011 rm -f "conftest.$ac_objext"
14017 { ac_try='test -s "conftest.$ac_objext"'
14028 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14041 rm -rf conftest*
14053 /* Check that off_t can represent 2**63 - 1 correctly.
14057 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14060 ? 1 : -1];
14069 rm -f "conftest.$ac_objext"
14075 { ac_try='test -s "conftest.$ac_objext"'
14086 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14092 /* Check that off_t can represent 2**63 - 1 correctly.
14096 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14099 ? 1 : -1];
14108 rm -f "conftest.$ac_objext"
14114 { ac_try='test -s "conftest.$ac_objext"'
14125 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14138 rm -rf conftest*
14164 rm -f "conftest.$ac_objext"
14170 { ac_try='test -s "conftest.$ac_objext"'
14181 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14198 rm -f "conftest.$ac_objext"
14204 { ac_try='test -s "conftest.$ac_objext"'
14215 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14228 rm -rf conftest*
14252 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
14258 { ac_try='test -s "conftest$ac_exeext"'
14270 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
14292 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
14293 CPPFLAGS="${CPPFLAGS}-D_LARGE_FILES"
14299 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
14300 CPPFLAGS="${CPPFLAGS}-D_LARGEFILE_SOURCE"
14306 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
14307 CPPFLAGS="${CPPFLAGS}-D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
14321 #pragma GCC diagnostic error "-Wincompatible-pointer-types"
14337 int z = x - y;
14344 rm -f "conftest.$ac_objext"
14350 { ac_try='test -s "conftest.$ac_objext"'
14362 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14374 ### use option --disable-tparm-varargs to make tparm() conform to X/Open
14375 echo "$as_me:14375: checking if you want tparm not to use X/Open fixed-parameter list" >&5
14376 echo $ECHO_N "checking if you want tparm not to use X/Open fixed-parameter list... $ECHO_C" >&6
14378 # Check whether --enable-tparm-varargs or --disable-tparm-varargs was given.
14390 ### use option --disable-tic-depends to make libtic not explicitly depend on ncurses/ncursesw
14395 # Check whether --enable-tic-depends or --disable-tic-depends was given.
14408 ### use option --enable-wattr-macros to enable wattr* macros in curses.h
14412 # Check whether --enable-wattr-macros or --disable-wattr-macros was given.
14432 # Check whether --with-x11-rgb or --without-x11-rgb was given.
14460 if test -f "$cf_path" ; then
14479 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
14485 cf_path=`echo "$cf_path" | sed -e s%NONE%$cf_path_syntax%`
14490 cf_path=`echo "$cf_path" | sed -e s%NONE%$cf_path_syntax%`
14514 ### use option --with-bool to override bool's type
14519 # Check whether --with-bool or --without-bool was given.
14539 # Check whether --with-caps or --without-caps was given.
14546 if test ! -f "${srcdir}/include/${TERMINFO_CAPS}"
14555 ### use option --with-chtype to override chtype's type
14560 # Check whether --with-chtype or --without-chtype was given.
14577 ### use option --with-ospeed to override ospeed's type
14582 # Check whether --with-ospeed or --without-ospeed was given.
14599 ### use option --with-mmask-t to override mmask_t's type
14601 echo "$as_me:14601: checking for type of mmask-t" >&5
14602 echo $ECHO_N "checking for type of mmask-t... $ECHO_C" >&6
14604 # Check whether --with-mmask-t or --without-mmask-t was given.
14615 { { echo "$as_me:14615: error: expected a type name for mmask-t" >&5
14616 echo "$as_me: error: expected a type name for mmask-t" >&2;}
14621 ### use option --with-ccharw-max to override CCHARW_MAX size
14625 # Check whether --with-ccharw-max or --without-ccharw-max was given.
14655 rm -f "conftest.$ac_objext"
14661 { ac_try='test -s "conftest.$ac_objext"'
14673 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14693 int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)]
14698 rm -f "conftest.$ac_objext"
14704 { ac_try='test -s "conftest.$ac_objext"'
14719 int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
14724 rm -f "conftest.$ac_objext"
14730 { ac_try='test -s "conftest.$ac_objext"'
14742 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14747 ac_hi=-1 ac_mid=-1
14756 int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)]
14761 rm -f "conftest.$ac_objext"
14767 { ac_try='test -s "conftest.$ac_objext"'
14777 ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"`
14779 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14782 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14785 ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"`
14793 int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
14798 rm -f "conftest.$ac_objext"
14804 { ac_try='test -s "conftest.$ac_objext"'
14816 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
14841 rm -f "conftest$ac_exeext"
14858 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
14861 rm -f conftest.val
14880 # Check whether --enable-signed-char or --disable-signed-char was given.
14891 ### use option --with-tparm-arg to override tparm's argument type
14893 echo "$as_me:14893: checking for type of tparm-arg" >&5
14894 echo $ECHO_N "checking for type of tparm-arg... $ECHO_C" >&6
14896 # Check whether --with-tparm-arg or --without-tparm-arg was given.
14907 { { echo "$as_me:14907: error: expected a type name for tparm-arg" >&5
14908 echo "$as_me: error: expected a type name for tparm-arg" >&2;}
14913 ### Enable compiling-in rcs id's
14914 echo "$as_me:14914: checking if RCS identifiers should be compiled-in" >&5
14915 echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6
14917 # Check whether --with-rcs-ids or --without-rcs-ids was given.
14933 echo "$as_me:14933: checking format of man-pages" >&5
14934 echo $ECHO_N "checking format of man-pages... $ECHO_C" >&6
14936 # Check whether --with-manpage-format or --without-manpage-format was given.
14944 test -z "$MANPAGE_FORMAT" && MANPAGE_FORMAT=unknown
14945 MANPAGE_FORMAT=`echo "$MANPAGE_FORMAT" | sed -e 's/,/ /g'`
14951 if test -z "$MANPATH" ; then
14955 # look for the 'date' man-page (it is most likely to be installed!)
14961 IFS="${IFS:- }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
14963 test -z "$cf_dir" && cf_dir=/usr/man
14966 cf_test=`echo "$cf_name" | sed -e 's/*//'`
14990 if test -n "$MANPAGE_FORMAT" ; then
15003 if test -n "$MANPAGE_FORMAT" ; then
15008 test -z "$MANPAGE_FORMAT" && MANPAGE_FORMAT=normal
15026 if test -n "$cf_unknown" ; then
15027 { echo "$as_me:15027: WARNING: Unexpected manpage-format $cf_unknown" >&5
15028 echo "$as_me: WARNING: Unexpected manpage-format $cf_unknown" >&2;}
15055 cf_manpage_coptions=-n
15071 # Check whether --with-manpage-renames or --without-manpage-renames was given.
15084 if test -f /etc/debian_version ; then
15096 elif test ! -f "$MANPAGE_RENAMES" ; then
15108 # Check whether --with-manpage-aliases or --without-manpage-aliases was given.
15133 # Check whether --with-manpage-symlinks or --without-manpage-symlinks was given.
15156 # Check whether --with-manpage-tbl or --without-manpage-tbl was given.
15173 test ! -d man && mkdir man
15180 # this script is generated by the configure-script CF_MAN_PAGES macro.
15200 trap "rm -f \$TMP; exit 1" 1 2 3 15
15201 trap "rm -f \$TMP" 0
15230 # process the list of source-files
15234 (*.[0-9]*)
15235 section=\`expr "\$i" : '.*\\.\\([0-9]\\)[xm]*'\`;
15237 if test ! -d "\$cf_subdir\${section}" ; then
15238 mkdir -p "\$cf_subdir\$section"
15243 if test ! -f "$cf_man_alias" ; then
15244 cat >>$cf_man_alias <<-CF_EOF2
15256 cf_NAME=`echo "$cf_name" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
15258 cat >>$cf_edit_man <<-CF_EOF
15271 test ! -f "\$cf_full_alias" && cf_full_alias="\$srcdir/\$cf_full_alias"
15272 if test ! -f "\$cf_full_alias" ; then
15281 cf_part_alias=\`echo \$cf_full_alias| sed -e 's,^.*/,,'\`
15283 …aliases=\`sed -f "\$top_srcdir/man/manlinks.sed" "\$cf_full_alias" |sed -f "$cf_man_alias" | sort …
15299 if test -z "\$cf_target" ; then
15309 sed -f "$cf_man_alias" \\
15314 < "\$i" | sed -f `pwd`/edit_man.sed >\$TMP
15331 sed -e "/\\#[ ]*include/s,<curses.h,<ncurses$LIB_SUFFIX/curses.h," < \$TMP >\$TMP.out
15338 sed -e "/\\#[ ]*include/s,curses.h,ncurses.h," < \$TMP >\$TMP.out
15345 nroff -man \$TMP >\$TMP.out
15350 if test -n "$cf_manpage_compress" ; then
15353 if ( "$cf_manpage_compress" -f \$TMP )
15367 cf_target="\`echo \$cf_target|sed -e 's/\\.[1-9]\\+[a-z]*/.0/'\`"
15374 suffix=\`basename "\$cf_target" | sed -e 's%^[^.]*%%'\`
15376 if test -n "$EXTRA_SUFFIX" ; then
15386 test -d "\$cf_subdir\${section}" &&
15387 test -n "\$aliases" && (
15389 cf_source=\`echo "\$cf_target" |sed -e 's%^.*/\\([^/][^/]*/[^/][^/]*$\\)%\\1%'\`
15390 …test -n "$cf_manpage_so_strip" && cf_source=\`echo "\$cf_source" |sed -e 's%\\.$cf_manpage_so_stri…
15400 if test -f "\$cf_alias\${suffix}" ; then
15401 if ( cmp -s "\$cf_target" "\$cf_alias\${suffix}" )
15409 (*-f)
15416 rm -f "\$cf_alias\${suffix}"
15425 if test -n "$cf_manpage_compress" ; then
15427 if test -n "$cf_manpage_so_strip" ; then
15428 "$cf_manpage_compress" $cf_manpage_coptions -f \$TMP
15435 rm -f "\$cf_alias\${suffix}"
15442 test -f "\$cf_target" && (
15444 rm -f "\$cf_target"
15446 test -d "\$cf_subdir\${section}" &&
15447 test -n "\$aliases" && (
15457 rm -f "\$cf_alias\${suffix}"
15485 # Check whether --enable-ext-funcs or --disable-ext-funcs was given.
15551 # Check whether --enable-sp-funcs or --disable-sp-funcs was given.
15577 echo "$as_me:15577: checking if you want to build with terminal-driver" >&5
15578 echo $ECHO_N "checking if you want to build with terminal-driver... $ECHO_C" >&6
15580 # Check whether --enable-term-driver or --disable-term-driver was given.
15596 { { echo "$as_me:15596: error: The term-driver option conflicts with the termlib option" >&5
15597 echo "$as_me: error: The term-driver option conflicts with the termlib option" >&2;}
15601 { { echo "$as_me:15601: error: The term-driver option relies upon sp-funcs" >&5
15602 echo "$as_me: error: The term-driver option relies upon sp-funcs" >&2;}
15607 ### use option --enable-const to turn on use of const beyond that in XSI.
15611 # Check whether --enable-const or --disable-const was given.
15625 ### use option --enable-ext-colors to turn on use of colors beyond 16.
15629 # Check whether --enable-ext-colors or --disable-ext-colors was given.
15641 { echo "$as_me:15641: WARNING: This option applies only to wide-character library" >&5
15642 echo "$as_me: WARNING: This option applies only to wide-character library" >&2;}
15679 ### use option --enable-ext-mouse to modify coding to support 5-button mice
15683 # Check whether --enable-ext-mouse or --disable-ext-mouse was given.
15708 if test $cf_cv_abi_default -le 5 ; then
15710 elif test $cf_cv_abi_default -le 6 ; then
15716 ### use option --enable-ext-putwin to turn on extended screendumps
15720 # Check whether --enable-ext-putwin or --disable-ext-putwin was given.
15740 # Check whether --enable-no-padding or --disable-no-padding was given.
15754 ### use option --enable-sigwinch to turn on use of SIGWINCH logic
15758 # Check whether --enable-sigwinch or --disable-sigwinch was given.
15779 ### use option --enable-tcap-names to allow user to define new capabilities
15780 echo "$as_me:15780: checking if you want user-definable terminal capabilities like termcap" >&5
15781 echo $ECHO_N "checking if you want user-definable terminal capabilities like termcap... $ECHO_C" >&6
15783 # Check whether --enable-tcap-names or --disable-tcap-names was given.
15807 # Check whether --with-pthread or --without-pthread was given.
15831 $EGREP -v '^ *\+' conftest.er1 >conftest.err
15832 rm -f conftest.er1
15836 if test -s conftest.err; then
15844 if test -z "$ac_cpp_err"; then
15851 rm -f conftest.err "conftest.$ac_ext"
15870 for cf_add_1lib in -l$cf_lib_pthread; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
15879 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
15900 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
15906 { ac_try='test -s "conftest$ac_exeext"'
15918 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
15930 for cf_add_1lib in -l$cf_lib_pthread; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
15939 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
15967 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
15994 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
16000 { ac_try='test -s "conftest$ac_exeext"'
16012 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
16021 # Check whether --enable-pthreads-eintr or --disable-pthreads-eintr was given.
16039 echo "$as_me:16039: checking if you want to use weak-symbols for pthreads" >&5
16040 echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6
16042 # Check whether --enable-weak-symbols or --disable-weak-symbols was given.
16085 rm -f "conftest.$ac_objext"
16091 { ac_try='test -s "conftest.$ac_objext"'
16103 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
16131 PTHREAD=-lpthread
16136 for cf_add_1lib in -lpthread; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
16145 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
16153 # opaque outside of that, so there is no --enable-opaque option. We can use
16154 # this option without --with-pthreads, but this will be always set for
16159 # Check whether --enable-reentrant or --disable-reentrant was given.
16175 LIBS=`echo "$LIBS" | sed -e 's/-lpthread[ ]//g' -e 's/-lpthread$//'`
16180 for cf_add_1lib in -lpthread; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
16189 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
16196 for cf_add_1lib in -lpthread; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
16205 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
16212 for cf_add_1lib in -lpthread; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
16221 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
16270 # Check whether --enable-opaque-curses or --disable-opaque-curses was given.
16301 # Check whether --enable-opaque-form or --disable-opaque-form was given.
16321 # Check whether --enable-opaque-menu or --disable-opaque-menu was given.
16341 # Check whether --enable-opaque-panel or --disable-opaque-panel was given.
16363 ### Allow using a different wrap-prefix
16368 # Check whether --with-wrap-prefix or --without-wrap-prefix was given.
16391 # Check whether --with-develop or --without-develop was given.
16401 ### use option --enable-check-size to detect screensize with CPR
16405 # Check whether --enable-check-size or --disable-check-size was given.
16419 ### use option --enable-hard-tabs to turn on use of hard-tabs optimize
16420 echo "$as_me:16420: checking if you want hard-tabs code" >&5
16421 echo $ECHO_N "checking if you want hard-tabs code... $ECHO_C" >&6
16423 # Check whether --enable-hard-tabs or --disable-hard-tabs was given.
16437 ### use option --enable-xmc-glitch to turn on use of magic-cookie optimize
16441 # Check whether --enable-xmc-glitch or --disable-xmc-glitch was given.
16458 echo "$as_me:16458: checking if you do not want to assume colors are white-on-black" >&5
16459 echo $ECHO_N "checking if you do not want to assume colors are white-on-black... $ECHO_C" >&6
16461 # Check whether --enable-assumed-color or --disable-assumed-color was given.
16475 ### use option --enable-hashmap to turn on use of hashmap scrolling logic
16476 echo "$as_me:16476: checking if you want hashmap scrolling-optimization code" >&5
16477 echo $ECHO_N "checking if you want hashmap scrolling-optimization code... $ECHO_C" >&6
16479 # Check whether --enable-hashmap or --disable-hashmap was given.
16493 ### use option --enable-colorfgbg to turn on use of $COLORFGBG environment
16497 # Check whether --enable-colorfgbg or --disable-colorfgbg was given.
16511 ### use option --enable-fvisibility to turn on use of gcc-specific feature
16512 echo "$as_me:16512: checking if you want to use gcc -fvisibility option" >&5
16513 echo $ECHO_N "checking if you want to use gcc -fvisibility option... $ECHO_C" >&6
16515 # Check whether --enable-fvisibility or --disable-fvisibility was given.
16529 echo "$as_me:16529: checking if $CC -fvisibility=hidden option works" >&5
16530 echo $ECHO_N "checking if $CC -fvisibility=hidden option works... $ECHO_C" >&6
16536 CFLAGS="$CFLAGS -fvisibility=hidden"
16553 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
16559 { ac_try='test -s "conftest$ac_exeext"'
16571 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
16586 for cf_add_cflags in -fvisibility=hidden
16591 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
16593 (-D*)
16594 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
16597 && test -z "${cf_tst_cflags}" \
16602 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
16608 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
16620 (-D*)
16621 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
16624 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
16625 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
16630 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
16638 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
16646 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
16649 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
16652 && test -z "${cf_tst_cflags}" \
16658 if test -n "$cf_new_cflags" ; then
16660 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
16665 if test -n "$cf_new_cppflags" ; then
16667 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
16672 if test -n "$cf_new_extra_cppflags" ; then
16674 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
16681 if test -n "$CXX"
16685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
16686 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
16690 echo "$as_me:16690: checking if $CXX -fvisibility=hidden option works" >&5
16691 echo $ECHO_N "checking if $CXX -fvisibility=hidden option works... $ECHO_C" >&6
16697 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
16714 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
16720 { ac_try='test -s "conftest$ac_exeext"'
16732 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
16750 for cf_add_cflags in -fvisibility=hidden
16755 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
16757 (-D*)
16758 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
16761 && test -z "${cf_tst_cflags}" \
16766 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
16772 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
16784 (-D*)
16785 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
16788 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
16789 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
16794 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
16802 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
16810 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
16813 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
16816 && test -z "${cf_tst_cflags}" \
16822 if test -n "$cf_new_cflags" ; then
16824 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
16829 if test -n "$cf_new_cppflags" ; then
16831 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
16836 if test -n "$cf_new_extra_cppflags" ; then
16838 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
16850 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
16851 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
16858 ### use option --enable-interop to turn on use of bindings used for interop
16862 # Check whether --enable-interop or --disable-interop was given.
16875 echo "$as_me:16875: checking if you want experimental safe-sprintf code" >&5
16876 echo $ECHO_N "checking if you want experimental safe-sprintf code... $ECHO_C" >&6
16878 # Check whether --enable-safe-sprintf or --disable-safe-sprintf was given.
16888 ### use option --disable-scroll-hints to turn off use of scroll-hints scrolling logic
16891 echo "$as_me:16891: checking if you want to experiment without scrolling-hints code" >&5
16892 echo $ECHO_N "checking if you want to experiment without scrolling-hints code... $ECHO_C" >&6
16894 # Check whether --enable-scroll-hints or --disable-scroll-hints was given.
16910 echo "$as_me:16910: checking if you want wgetch-events code" >&5
16911 echo $ECHO_N "checking if you want wgetch-events code... $ECHO_C" >&6
16913 # Check whether --enable-wgetch-events or --disable-wgetch-events was given.
16934 (*mingw32*|*mingw64*|*-msvc*)
16935 echo "$as_me:16935: checking if you want experimental-Windows driver" >&5
16936 echo $ECHO_N "checking if you want experimental-Windows driver... $ECHO_C" >&6
16938 # Check whether --enable-exp-win32 or --disable-exp-win32 was given.
16969 ### use option --disable-echo to suppress full display compiling commands
16974 # Check whether --enable-echo or --disable-echo was given.
16980 ECHO_LT='--silent'
17012 test -n "$LIBTOOL" && LIBTOOL="$LIBTOOL --silent"
17013 test -n "$LIBTOOL_CXX" && LIBTOOL_CXX="$LIBTOOL_CXX --silent"
17016 # --disable-stripping is used for debugging
17021 # Check whether --enable-stripping or --disable-stripping was given.
17040 INSTALL_OPT_S="-s"
17046 echo "$as_me:17046: checking if install accepts -p option" >&5
17047 echo $ECHO_N "checking if install accepts -p option... $ECHO_C" >&6
17052 rm -rf ./conftest*
17056 if $INSTALL -p conftest.in conftest.out 2>/dev/null
17058 if test -f conftest.out/conftest.in
17060 test conftest.in -nt conftest.out/conftest.in 2>conftest.err && \
17061 test conftest.out/conftest.in -nt conftest.in 2>conftest.err
17062 if test -s conftest.err
17074 rm -rf ./conftest*
17095 …INSTALL_OPT_O="`id root|sed -e 's/uid=[0-9]*(/ -o /' -e 's/gid=[0-9]*(/ -g /' -e 's/ [^=[:space:]]…
17100 if test -n "$INSTALL_OPT_S"
17102 echo "$as_me:17102: checking if you want to specify strip-program" >&5
17103 echo $ECHO_N "checking if you want to specify strip-program... $ECHO_C" >&6
17105 # Check whether --with-strip-program or --without-strip-program was given.
17116 echo "$as_me:17116: checking if strip-program is supported with this installer" >&5
17117 echo $ECHO_N "checking if strip-program is supported with this installer... $ECHO_C" >&6
17118 cf_install_program=`echo "$INSTALL" | sed -e 's%[ ]*[ ]-.%%'`
17120 if test -f "$cf_install_program"
17122 check_install_version=`"$cf_install_program" --version 2>/dev/null | head -n 1 | grep coreutils`
17123 if test -n "$check_install_version"
17146 cat >install.tmp <<-CF_EOF
17154 test -n "$verbose" && echo " created $INSTALL" 1>&6
17156 echo "${as_me:-configure}:17156: testing created $INSTALL ..." 1>&5
17160 INSTALL_OPT_S="$INSTALL_OPT_S --strip-program=\"$with_strip_program\""
17167 # avoid modifying the build-tree. For the same reason, avoid doing ranlib if
17168 # the install program has "-p" (for preserving timestamps).
17175 INSTALL_OPT_P="-p"
17180 ### use option --enable-warnings to turn on all gcc warnings
17185 # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given.
17224 rm -f "conftest.$ac_objext"
17230 { ac_try='test -s "conftest.$ac_objext"'
17242 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
17272 (*-Werror=*)
17277 (x-Werror=format*)
17279 test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
17283 (x-Werror=*)
17285 test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS "
17291 test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
17299 test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6
17301 echo "${as_me:-configure}:17301: testing repairing CFLAGS: $CFLAGS ..." 1>&5
17304 test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6
17306 echo "${as_me:-configure}:17306: testing ... fixed $CFLAGS ..." 1>&5
17308 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6
17310 echo "${as_me:-configure}:17310: testing ... extra $EXTRA_CFLAGS ..." 1>&5
17320 (*-Werror=*)
17325 (x-Werror=format*)
17327 test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
17331 (x-Werror=*)
17333 test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS "
17339 test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
17347 test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6
17349 echo "${as_me:-configure}:17349: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5
17352 test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6
17354 echo "${as_me:-configure}:17354: testing ... fixed $CPPFLAGS ..." 1>&5
17356 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6
17358 echo "${as_me:-configure}:17358: testing ... extra $EXTRA_CFLAGS ..." 1>&5
17368 (*-Werror=*)
17373 (x-Werror=format*)
17375 test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
17379 (x-Werror=*)
17381 test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS "
17387 test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
17395 test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6
17397 echo "${as_me:-configure}:17397: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5
17400 test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6
17402 echo "${as_me:-configure}:17402: testing ... fixed $LDFLAGS ..." 1>&5
17404 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6
17406 echo "${as_me:-configure}:17406: testing ... extra $EXTRA_CFLAGS ..." 1>&5
17416 # Check whether --enable-warnings or --disable-warnings was given.
17444 x-[IUD]*)
17468 rm -f "conftest.$ac_objext"
17474 { ac_try='test -s "conftest.$ac_objext"'
17481 echo "$as_me:17481: checking for X11/Xt const-feature" >&5
17482 echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6
17505 rm -f "conftest.$ac_objext"
17511 { ac_try='test -s "conftest.$ac_objext"'
17527 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
17540 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
17541 CPPFLAGS="${CPPFLAGS}-DXTSTRINGDEFINES"
17546 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
17547 CPPFLAGS="${CPPFLAGS}-D_CONST_X_STRING"
17556 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
17559 #line 17559 "${as_me:-configure}"
17560 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
17564 # The "-wdXXX" options suppress warnings:
17566 # remark #1683: explicit conversion of a 64-bit integral type to a smaller integral type (potential…
17567 # remark #1684: conversion from pointer to same-sized integral type (potential portability problem)
17578 EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
17590 CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
17596 test -n "$verbose" && echo "$as_me:17596: result: ... -$cf_opt" >&5
17597 echo "${ECHO_T}... -$cf_opt" >&6
17598 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
17608 test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings"
17609 cf_gcc_warnings="Wignored-qualifiers Wlogical-op Wvarargs"
17612 Wbad-function-cast \
17613 Wcast-align \
17614 Wcast-qual \
17615 Wdeclaration-after-statement \
17618 Wmissing-declarations \
17619 Wmissing-prototypes \
17620 Wnested-externs \
17621 Wpointer-arith \
17623 Wstrict-prototypes \
17624 Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum
17626 CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
17632 test -n "$verbose" && echo "$as_me:17632: result: ... -$cf_opt" >&5
17633 echo "${ECHO_T}... -$cf_opt" >&6
17638 test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6
17640 echo "${as_me:-configure}:17640: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
17645 (Wpointer-arith)
17648 test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6
17650 echo "${as_me:-configure}:17650: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
17656 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
17661 rm -rf ./conftest*
17686 #line 17686 "${as_me:-configure}"
17711 cf_ATTRIBUTE=`echo "$cf_attribute" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ…
17741 test -n "$verbose" && echo "$as_me:17741: result: ... $cf_attribute" >&5
17795 ${FGREP-fgrep} define conftest.i >>confdefs.h
17797 rm -rf ./conftest*
17804 ADAFLAGS="$ADAFLAGS -gnatwa -gnatyg"
17816 CXXFLAGS="$CXXFLAGS -no-gcc"
17834 rm -f "conftest.$ac_objext"
17840 { ac_try='test -s "conftest.$ac_objext"'
17847 cf_save_CFLAGS="$cf_save_CFLAGS -we147"
17853 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
17884 rm -f "conftest.$ac_objext"
17890 { ac_try='test -s "conftest.$ac_objext"'
17902 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
17912 (c[1-9][0-9]|*/c[1-9][0-9])
17915 CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`"
17922 …G_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^…
17923 test -z "$CLANG_VERSION" && CLANG_VERSION=unknown
17928 -Qunused-arguments \
17929 -Wno-error=implicit-function-declaration
17949 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
17955 { ac_try='test -s "conftest$ac_exeext"'
17969 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
17974 test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6
17976 echo "${as_me:-configure}:17976: testing adding option $cf_clang_opt ..." 1>&5
17978 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
17987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
17988 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
17994 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
17999 # The "-wdXXX" options suppress warnings:
18001 # remark #1682: implicit conversion of a 64-bit integral type to a smaller integral type (potential…
18002 # remark #1683: explicit conversion of a 64-bit integral type to a smaller integral type (potential…
18003 # remark #1684: conversion from pointer to same-sized integral type (potential portability problem)
18014 EXTRA_CXXFLAGS="-Wall"
18027 CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt"
18033 test -n "$verbose" && echo "$as_me:18033: result: ... -$cf_opt" >&5
18034 echo "${ECHO_T}... -$cf_opt" >&6
18035 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt"
18045 EXTRA_CXXFLAGS="-W -Wall"
18047 test "$with_ext_const" = yes && cf_gxx_extra_warnings="Wwrite-strings"
18049 ([1-2].*)
18057 fabi-version=0 \
18059 Wignored-qualifiers \
18060 Wlogical-op \
18061 Woverloaded-virtual \
18062 Wsign-promo \
18064 Wold-style-cast \
18065 Wcast-align \
18066 Wcast-qual \
18067 Wpointer-arith \
18069 Wundef $cf_gxx_extra_warnings Wno-unused
18071 CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt"
18077 test -n "$verbose" && echo "$as_me:18077: result: ... -$cf_opt" >&5
18078 echo "${ECHO_T}... -$cf_opt" >&6
18079 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt"
18081 test -n "$verbose" && echo "$as_me:18081: result: ... no -$cf_opt" >&5
18082 echo "${ECHO_T}... no -$cf_opt" >&6
18088 rm -rf ./conftest*
18091 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
18092 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
18102 # Check whether --enable-string-hacks or --disable-string-hacks was given.
18118 …{ echo "$as_me:18118: WARNING: enabling string-hacks to work around bogus compiler/loader warnings…
18119 echo "$as_me: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&2;}
18129 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
18156 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
18162 { ac_try='test -s "conftest$ac_exeext"'
18174 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
18186 echo "$as_me:18186: checking for strlcat in -lbsd" >&5
18187 echo $ECHO_N "checking for strlcat in -lbsd... $ECHO_C" >&6
18192 LIBS="-lbsd $LIBS"
18212 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
18218 { ac_try='test -s "conftest$ac_exeext"'
18230 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
18240 for cf_add_1lib in -lbsd; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
18249 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
18269 $EGREP -v '^ *\+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18274 if test -s conftest.err; then
18282 if test -z "$ac_cpp_err"; then
18289 rm -f conftest.err "conftest.$ac_ext"
18321 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
18348 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
18354 { ac_try='test -s "conftest$ac_exeext"'
18366 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
18380 ### use option --enable-assertions to turn on generation of assertion code
18384 # Check whether --enable-assertions or --disable-assertions was given.
18393 if test -n "$GCC"
18397 CPPFLAGS="$CPPFLAGS -DNDEBUG"
18400 ADAFLAGS="$ADAFLAGS -gnata"
18405 ### use option --disable-leaks to suppress "permanent" leaks, for testing
18410 # Check whether --with-dmalloc or --without-dmalloc was given.
18416 : "${with_cflags:=-g}"
18429 echo "$as_me:18429: result: ${with_dmalloc:-no}" >&5
18430 echo "${ECHO_T}${with_dmalloc:-no}" >&6
18433 (.*-g*)
18435 (.*-g*)
18444 for cf_add_cflags in -g
18449 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
18451 (-D*)
18452 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
18455 && test -z "${cf_tst_cflags}" \
18460 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18466 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18478 (-D*)
18479 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
18482 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
18483 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
18488 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
18496 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
18504 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18507 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
18510 && test -z "${cf_tst_cflags}" \
18516 if test -n "$cf_new_cflags" ; then
18518 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
18523 if test -n "$cf_new_cppflags" ; then
18525 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
18530 if test -n "$cf_new_extra_cppflags" ; then
18532 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
18556 $EGREP -v '^ *\+' conftest.er1 >conftest.err
18557 rm -f conftest.er1
18561 if test -s conftest.err; then
18569 if test -z "$ac_cpp_err"; then
18576 rm -f conftest.err "conftest.$ac_ext"
18582 echo "$as_me:18582: checking for dmalloc_debug in -ldmalloc" >&5
18583 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
18588 LIBS="-ldmalloc $LIBS"
18608 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
18614 { ac_try='test -s "conftest$ac_exeext"'
18626 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
18636 LIBS="-ldmalloc $LIBS"
18647 # Check whether --with-dbmalloc or --without-dbmalloc was given.
18653 : "${with_cflags:=-g}"
18666 echo "$as_me:18666: result: ${with_dbmalloc:-no}" >&5
18667 echo "${ECHO_T}${with_dbmalloc:-no}" >&6
18670 (.*-g*)
18672 (.*-g*)
18681 for cf_add_cflags in -g
18686 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
18688 (-D*)
18689 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
18692 && test -z "${cf_tst_cflags}" \
18697 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18703 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18715 (-D*)
18716 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
18719 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
18720 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
18725 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
18733 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
18741 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18744 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
18747 && test -z "${cf_tst_cflags}" \
18753 if test -n "$cf_new_cflags" ; then
18755 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
18760 if test -n "$cf_new_cppflags" ; then
18762 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
18767 if test -n "$cf_new_extra_cppflags" ; then
18769 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
18793 $EGREP -v '^ *\+' conftest.er1 >conftest.err
18794 rm -f conftest.er1
18798 if test -s conftest.err; then
18806 if test -z "$ac_cpp_err"; then
18813 rm -f conftest.err "conftest.$ac_ext"
18819 echo "$as_me:18819: checking for debug_malloc in -ldbmalloc" >&5
18820 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
18825 LIBS="-ldbmalloc $LIBS"
18845 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
18851 { ac_try='test -s "conftest$ac_exeext"'
18863 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
18873 LIBS="-ldbmalloc $LIBS"
18884 # Check whether --with-valgrind or --without-valgrind was given.
18890 : "${with_cflags:=-g}"
18903 echo "$as_me:18903: result: ${with_valgrind:-no}" >&5
18904 echo "${ECHO_T}${with_valgrind:-no}" >&6
18907 (.*-g*)
18909 (.*-g*)
18918 for cf_add_cflags in -g
18923 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
18925 (-D*)
18926 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
18929 && test -z "${cf_tst_cflags}" \
18934 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18940 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18952 (-D*)
18953 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
18956 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
18957 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
18962 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
18970 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
18978 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
18981 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
18984 && test -z "${cf_tst_cflags}" \
18990 if test -n "$cf_new_cflags" ; then
18992 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
18997 if test -n "$cf_new_cppflags" ; then
18999 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
19004 if test -n "$cf_new_extra_cppflags" ; then
19006 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
19016 echo "$as_me:19016: checking if you want to perform memory-leak testing" >&5
19017 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6
19019 # Check whether --enable-leaks or --disable-leaks was given.
19046 ### use option --enable-expanded to generate certain macros as functions
19048 # Check whether --enable-expanded or --disable-expanded was given.
19058 ### use option --disable-macros to suppress macros in favor of functions
19060 # Check whether --enable-macros or --disable-macros was given.
19070 # Normally we only add trace() to the debug-library. Allow this to be
19074 (*-DTRACE*)
19082 # Check whether --with-trace or --without-trace was given.
19101 for cf_add_cflags in -DTRACE
19106 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
19108 (-D*)
19109 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
19112 && test -z "${cf_tst_cflags}" \
19117 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
19123 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
19135 (-D*)
19136 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
19139 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
19140 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
19145 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
19153 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
19161 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
19164 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
19167 && test -z "${cf_tst_cflags}" \
19173 if test -n "$cf_new_cflags" ; then
19175 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
19180 if test -n "$cf_new_cppflags" ; then
19182 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
19187 if test -n "$cf_new_extra_cppflags" ; then
19189 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
19206 # Check whether --enable-gnat-projects or --disable-gnat-projects was given.
19228 CPPFLAGS="$CPPFLAGS -DWINVER=0x0600 -DWIN32_LEAN_AND_MEAN"
19230 CPPFLAGS="$CPPFLAGS -DWINVER=0x0501 -DWIN32_LEAN_AND_MEAN"
19256 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19262 { ac_try='test -s "conftest$ac_exeext"'
19274 LIBS="$LIBS -lssp"
19292 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19298 { ac_try='test -s "conftest$ac_exeext"'
19310 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19314 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19325 for cf_add_1lib in -lssp; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
19334 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
19345 echo "$as_me:19345: checking if -lm needed for math functions" >&5
19346 echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6
19367 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19373 { ac_try='test -s "conftest$ac_exeext"'
19385 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19394 LIBS="$LIBS -lm"
19395 echo "$as_me:19395: checking if -lm is available for math functions" >&5
19396 echo $ECHO_N "checking if -lm is available for math functions... $ECHO_C" >&6
19417 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19423 { ac_try='test -s "conftest$ac_exeext"'
19435 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19443 MATH_LIB=-lm
19480 rm -f "conftest.$ac_objext"
19486 { ac_try='test -s "conftest.$ac_objext"'
19498 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
19514 # -lsystre -ltre -lintl -liconv
19515 echo "$as_me:19515: checking for regcomp in -lsystre" >&5
19516 echo $ECHO_N "checking for regcomp in -lsystre... $ECHO_C" >&6
19521 LIBS="-lsystre $LIBS"
19541 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19547 { ac_try='test -s "conftest$ac_exeext"'
19559 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19566 echo "$as_me:19566: checking for libiconv_open in -liconv" >&5
19567 echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6
19572 LIBS="-liconv $LIBS"
19592 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19598 { ac_try='test -s "conftest$ac_exeext"'
19610 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19620 for cf_add_1lib in -liconv; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
19629 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
19635 echo "$as_me:19635: checking for libintl_gettext in -lintl" >&5
19636 echo $ECHO_N "checking for libintl_gettext in -lintl... $ECHO_C" >&6
19641 LIBS="-lintl $LIBS"
19661 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19667 { ac_try='test -s "conftest$ac_exeext"'
19679 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19689 for cf_add_1lib in -lintl; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
19698 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
19704 echo "$as_me:19704: checking for tre_regcomp in -ltre" >&5
19705 echo $ECHO_N "checking for tre_regcomp in -ltre... $ECHO_C" >&6
19710 LIBS="-ltre $LIBS"
19730 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19736 { ac_try='test -s "conftest$ac_exeext"'
19748 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19758 for cf_add_1lib in -ltre; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
19767 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
19776 for cf_add_1lib in -lsystre; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
19785 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
19793 echo "$as_me:19793: checking for regcomp in -lgnurx" >&5
19794 echo $ECHO_N "checking for regcomp in -lgnurx... $ECHO_C" >&6
19799 LIBS="-lgnurx $LIBS"
19819 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19825 { ac_try='test -s "conftest$ac_exeext"'
19837 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19847 for cf_add_1lib in -lgnurx; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
19856 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
19877 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
19904 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19910 { ac_try='test -s "conftest$ac_exeext"'
19922 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19933 echo "$as_me:19933: checking for regcomp in -l$cf_regex_lib" >&5
19934 echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6
19939 LIBS="-l$cf_regex_lib $LIBS"
19959 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
19965 { ac_try='test -s "conftest$ac_exeext"'
19977 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
19987 for cf_add_1lib in -l$cf_regex_lib; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
19996 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
20021 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
20048 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
20054 { ac_try='test -s "conftest$ac_exeext"'
20066 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
20074 echo "$as_me:20074: checking for compile in -lgen" >&5
20075 echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6
20080 LIBS="-lgen $LIBS"
20100 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
20106 { ac_try='test -s "conftest$ac_exeext"'
20118 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
20128 for cf_add_1lib in -lgen; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
20137 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
20153 echo "$as_me:20153: checking for regular-expression headers" >&5
20154 echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6
20181 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
20187 { ac_try='test -s "conftest$ac_exeext"'
20201 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
20227 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
20233 { ac_try='test -s "conftest$ac_exeext"'
20247 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
20308 $EGREP -v '^ *\+' conftest.er1 >conftest.err
20309 rm -f conftest.er1
20313 if test -s conftest.err; then
20321 if test -z "$ac_cpp_err"; then
20328 rm -f conftest.err "conftest.$ac_ext"
20356 $EGREP -v '^ *\+' conftest.er1 >conftest.err
20357 rm -f conftest.er1
20361 if test -s conftest.err; then
20369 if test -z "$ac_cpp_err"; then
20376 rm -f conftest.err "conftest.$ac_ext"
20410 rm -f "conftest.$ac_objext"
20416 { ac_try='test -s "conftest.$ac_objext"'
20428 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
20468 rm -f "conftest.$ac_objext"
20474 { ac_try='test -s "conftest.$ac_objext"'
20486 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
20494 cf_result=`echo "decl_environ" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
20502 # It's possible (for near-UNIX clones) that the data doesn't exist
20525 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
20531 { ac_try='test -s "conftest$ac_exeext"'
20543 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
20551 cf_result=`echo "have_environ" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
20568 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
20595 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
20601 { ac_try='test -s "conftest$ac_exeext"'
20613 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
20630 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
20657 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
20663 { ac_try='test -s "conftest$ac_exeext"'
20675 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
20777 ${cf_cv_main_return:-return}(1);
20780 ${cf_cv_main_return:-return}(1);
20783 ${cf_cv_main_return:-return}(1);
20791 ${cf_cv_main_return:-return}(1);
20797 ${cf_cv_main_return:-return}(0);
20801 rm -f "conftest$ac_exeext"
20819 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
20868 rm -f "conftest.$ac_objext"
20874 { ac_try='test -s "conftest.$ac_objext"'
20886 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
20900 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
20901 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
20905 echo "$as_me:20905: checking for an ANSI C-conforming const" >&5
20906 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20930 an arm of an if-expression whose if-part is not a constant
20933 ccp = &g + (g ? g-g : 0);
20945 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20951 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20958 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20960 struct s *b; b->j = 5;
20962 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20972 rm -f "conftest.$ac_objext"
20978 { ac_try='test -s "conftest.$ac_objext"'
20990 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
21018 rm -f "conftest.$ac_objext"
21024 { ac_try='test -s "conftest.$ac_objext"'
21035 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
21072 CFLAGS="$CFLAGS --param max-inline-insns-single=1200"
21080 ${cf_cv_main_return:-return} foo()
21085 rm -f "conftest.$ac_objext"
21091 { ac_try='test -s "conftest.$ac_objext"'
21103 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
21116 for cf_add_cflags in --param max-inline-insns-single=1200
21121 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
21123 (-D*)
21124 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
21127 && test -z "${cf_tst_cflags}" \
21132 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
21138 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
21150 (-D*)
21151 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
21154 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
21155 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
21160 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
21168 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
21176 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
21179 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
21182 && test -z "${cf_tst_cflags}" \
21188 if test -n "$cf_new_cflags" ; then
21190 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
21195 if test -n "$cf_new_cppflags" ; then
21197 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
21202 if test -n "$cf_new_extra_cppflags" ; then
21204 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
21248 rm -f "conftest.$ac_objext"
21254 { ac_try='test -s "conftest.$ac_objext"'
21266 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
21321 ${cf_cv_main_return:-return}(0);
21325 rm -f "conftest$ac_exeext"
21343 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
21345 rm -f cf_test.out
21379 rm -f "conftest.$ac_objext"
21385 { ac_try='test -s "conftest.$ac_objext"'
21397 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
21415 ### Checks for external-data
21437 rm -f "conftest.$ac_objext"
21443 { ac_try='test -s "conftest.$ac_objext"'
21455 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
21463 cf_result=`echo "decl_errno" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
21471 # It's possible (for near-UNIX clones) that the data doesn't exist
21494 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
21500 { ac_try='test -s "conftest$ac_exeext"'
21512 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
21520 cf_result=`echo "have_errno" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
21528 echo "$as_me:21528: checking if data-only library module links" >&5
21529 echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6
21534 rm -f conftest.a
21547 rm -f conftest.$ac_ext data.o
21554 ${cf_cv_main_return:-return}(1); /* I'm told this linker is broken */
21574 rm -f conftest.$ac_ext func.o
21588 ${cf_cv_main_return:-return} (!testfunc());
21592 rm -f "conftest$ac_exeext"
21610 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
21649 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
21655 { ac_try='test -s "conftest$ac_exeext"'
21667 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
21690 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
21717 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
21723 { ac_try='test -s "conftest$ac_exeext"'
21735 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
21747 echo "$as_me:21747: checking for gettimeofday in -lbsd" >&5
21748 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
21753 LIBS="-lbsd $LIBS"
21773 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
21779 { ac_try='test -s "conftest$ac_exeext"'
21791 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
21805 for cf_add_1lib in -lbsd; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
21814 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
21862 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
21889 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
21895 { ac_try='test -s "conftest$ac_exeext"'
21907 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
21940 rm -f "conftest.$ac_objext"
21946 { ac_try='test -s "conftest.$ac_objext"'
21958 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
21967 if test -f $cf_ttys
22001 ${cf_cv_main_return:-return} (fp == 0);
22004 rm -f "conftest$ac_exeext"
22022 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
22055 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22061 { ac_try='test -s "conftest$ac_exeext"'
22073 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22094 { echo "$as_me:22094: WARNING: will use vsnprintf instead of safe-sprintf option" >&5
22095 echo "$as_me: WARNING: will use vsnprintf instead of safe-sprintf option" >&2;}
22107 echo "$as_me:22107: checking for terminal-capability database functions" >&5
22108 echo $ECHO_N "checking for terminal-capability database functions... $ECHO_C" >&6
22133 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22139 { ac_try='test -s "conftest$ac_exeext"'
22151 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22174 #pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers"
22193 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22199 { ac_try='test -s "conftest$ac_exeext"'
22211 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22246 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22252 { ac_try='test -s "conftest$ac_exeext"'
22264 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22291 rm -f "conftest.$ac_objext"
22297 { ac_try='test -s "conftest.$ac_objext"'
22323 rm -f "conftest.$ac_objext"
22329 { ac_try='test -s "conftest.$ac_objext"'
22346 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
22348 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
22384 ${cf_cv_main_return:-return}(code != 0);
22388 rm -f "conftest$ac_exeext"
22406 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
22439 $EGREP -v '^ *\+' conftest.er1 >conftest.err
22440 rm -f conftest.er1
22444 if test -s conftest.err; then
22452 if test -z "$ac_cpp_err"; then
22459 rm -f conftest.err "conftest.$ac_ext"
22473 (*-D_POSIX_SOURCE*)
22492 rm -f "conftest.$ac_objext"
22498 { ac_try='test -s "conftest.$ac_objext"'
22523 rm -f "conftest.$ac_objext"
22529 { ac_try='test -s "conftest.$ac_objext"'
22545 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
22548 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
22588 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22594 { ac_try='test -s "conftest$ac_exeext"'
22606 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22647 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22653 { ac_try='test -s "conftest$ac_exeext"'
22686 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22692 { ac_try='test -s "conftest$ac_exeext"'
22725 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22731 { ac_try='test -s "conftest$ac_exeext"'
22744 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22746 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22748 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22789 $EGREP -v '^ *\+' conftest.er1 >conftest.err
22790 rm -f conftest.er1
22794 if test -s conftest.err; then
22802 if test -z "$ac_cpp_err"; then
22809 rm -f conftest.err "conftest.$ac_ext"
22827 rm -rf ./conftest*
22862 ${cf_cv_main_return:-return}(result);
22866 rm -f "conftest$ac_exeext"
22886 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
22902 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
22929 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
22935 { ac_try='test -s "conftest$ac_exeext"'
22947 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
22997 $ac_main_return(0); /* Non-reversed systems segv here. */
23000 rm -f "conftest$ac_exeext"
23018 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
23020 rm -f core ./core.* ./*.core
23053 rm -f "conftest.$ac_objext"
23059 { ac_try='test -s "conftest.$ac_objext"'
23071 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
23105 rm -f "conftest.$ac_objext"
23111 { ac_try='test -s "conftest.$ac_objext"'
23123 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
23156 rm -f "conftest.$ac_objext"
23162 { ac_try='test -s "conftest.$ac_objext"'
23174 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
23184 echo "$as_me:23184: checking declaration of size-change" >&5
23185 echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6
23197 if test -n "$cf_opts"
23200 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
23201 CPPFLAGS="${CPPFLAGS}-D$cf_opts"
23218 * termios.h -- it is only in termio.h and ptem.h
23254 rm -f "conftest.$ac_objext"
23260 { ac_try='test -s "conftest.$ac_objext"'
23272 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
23276 echo "size-change succeeded ($cf_opts)" >&5
23277 test -n "$cf_opts" && cf_cv_sizechange="$cf_opts"
23310 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
23337 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
23343 { ac_try='test -s "conftest$ac_exeext"'
23355 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
23372 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
23399 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
23405 { ac_try='test -s "conftest$ac_exeext"'
23417 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
23444 ${cf_cv_main_return:-return} (strcmp(temp, "klmnopqrstuwwxypqrstuwwxyz"));
23448 rm -f "conftest$ac_exeext"
23466 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
23506 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
23533 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
23539 { ac_try='test -s "conftest$ac_exeext"'
23551 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
23600 ret = -1;
23619 ret = -1;
23622 ${cf_cv_main_return:-return}(ret < 0);
23625 rm -f "conftest$ac_exeext"
23643 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
23670 ${cf_cv_main_return:-return}(0);
23679 rm -f "conftest.$ac_objext"
23685 { ac_try='test -s "conftest.$ac_objext"'
23697 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
23736 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
23742 { ac_try='test -s "conftest$ac_exeext"'
23754 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
23791 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
23797 { ac_try='test -s "conftest$ac_exeext"'
23809 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
23846 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
23852 { ac_try='test -s "conftest$ac_exeext"'
23864 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
23907 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
23913 { ac_try='test -s "conftest$ac_exeext"'
23925 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
23955 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
23961 { ac_try='test -s "conftest$ac_exeext"'
23973 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
24006 rm -f "conftest.$ac_objext"
24012 { ac_try='test -s "conftest.$ac_objext"'
24024 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
24054 $EGREP -v '^ *\+' conftest.er1 >conftest.err
24055 rm -f conftest.er1
24059 if test -s conftest.err; then
24067 if test -z "$ac_cpp_err"; then
24074 rm -f conftest.err "conftest.$ac_ext"
24098 #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
24125 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
24131 { ac_try='test -s "conftest$ac_exeext"'
24143 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
24179 rm -f "conftest$ac_exeext"
24197 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
24206 *-*-amigaos* | *-*-msdosdjgpp*)
24214 …{ echo "$as_me:24214: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling…
24215 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
24243 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
24258 write(-1, "", 0);
24320 rm -f "conftest$ac_exeext"
24338 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
24347 …{ echo "$as_me:24347: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compilin…
24348 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
24412 ${cf_cv_main_return:-return} (rc);
24416 rm -f "conftest$ac_exeext"
24434 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
24447 echo "$as_me:24447: checking for openpty in -lutil" >&5
24448 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
24453 LIBS="-lutil $LIBS"
24473 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
24479 { ac_try='test -s "conftest$ac_exeext"'
24491 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
24513 for cf_add_1lib in -lutil; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
24522 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
24546 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
24552 { ac_try='test -s "conftest$ac_exeext"'
24569 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
24592 for cf_add_1lib in -lutil; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
24601 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
24618 if test -d "$with_hashed_db" ; then
24620 if test -n "$with_hashed_db/include" ; then
24625 if test -d "$cf_add_incdir"
24628 if test -n "$CFLAGS$CPPFLAGS" ; then
24631 if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
24643 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
24644 CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir"
24658 rm -f "conftest.$ac_objext"
24664 { ac_try='test -s "conftest.$ac_objext"'
24676 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
24683 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6
24685 echo "${as_me:-configure}:24685: testing adding $cf_add_incdir to include-path ..." 1>&5
24687 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
24689 cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'`
24702 if test -n "$with_hashed_db/lib" ; then
24707 elif test -d "$cf_add_libdir"
24710 if test -n "$LDFLAGS$LIBS" ; then
24713 if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
24719 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6
24721 echo "${as_me:-configure}:24721: testing adding $cf_add_libdir to library-path ..." 1>&5
24723 LDFLAGS="-L$cf_add_libdir $LDFLAGS"
24740 test -d "$prefix" && \
24742 test -n "$verbose" && echo " ... testing for include-directories under $prefix"
24743 test -d "$prefix/include" && cf_search="$cf_search $prefix/include"
24744 …test -d "$prefix/include/$with_hashed_db" && cf_search="$cf_search $prefix/include/$with_has…
24745 …test -d "$prefix/include/$with_hashed_db/include" && cf_search="$cf_search $prefix/include/$wit…
24746 …test -d "$prefix/$with_hashed_db/include" && cf_search="$cf_search $prefix/$with_hashed_db/i…
24747 …test -d "$prefix/$with_hashed_db/include/$with_hashed_db" && cf_search="$cf_search $prefix/$wit…
24760 test -d "$cf_subdir_prefix" && \
24761 { test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && {
24762 test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix"
24763 test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include"
24764 …test -d "$cf_subdir_prefix/include/$with_hashed_db" && cf_search="$cf_search $cf_subdir_pref…
24765 …test -d "$cf_subdir_prefix/include/$with_hashed_db/include" && cf_search="$cf_search $cf_subdir…
24766 …test -d "$cf_subdir_prefix/$with_hashed_db/include" && cf_search="$cf_search $cf_subdir_pref…
24767 …test -d "$cf_subdir_prefix/$with_hashed_db/include/$with_hashed_db" && cf_search="$cf_search $c…
24777 if test -n "$cf_item" ; then
24782 if test -d "$cf_add_incdir"
24785 if test -n "$CFLAGS$CPPFLAGS" ; then
24788 if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
24800 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
24801 CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir"
24815 rm -f "conftest.$ac_objext"
24821 { ac_try='test -s "conftest.$ac_objext"'
24833 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
24840 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6
24842 echo "${as_me:-configure}:24842: testing adding $cf_add_incdir to include-path ..." 1>&5
24844 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
24846 cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'`
24866 test -d "$prefix" && \
24868 test -n "$verbose" && echo " ... testing for lib-directories under $prefix"
24869 test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib"
24870 test -d "$prefix/lib/$with_hashed_db" && cf_search="$cf_search $prefix/lib/$with_hashed_db"
24871 …test -d "$prefix/lib/$with_hashed_db/lib" && cf_search="$cf_search $prefix/lib/$with_hashed_db/…
24872 test -d "$prefix/$with_hashed_db/lib" && cf_search="$cf_search $prefix/$with_hashed_db/lib"
24873 …test -d "$prefix/$with_hashed_db/lib/$with_hashed_db" && cf_search="$cf_search $prefix/$with_ha…
24886 test -d "$cf_subdir_prefix" && \
24887 { test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && {
24888 test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix"
24889 test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib"
24890 …test -d "$cf_subdir_prefix/lib/$with_hashed_db" && cf_search="$cf_search $cf_subdir_prefix/l…
24891 …test -d "$cf_subdir_prefix/lib/$with_hashed_db/lib" && cf_search="$cf_search $cf_subdir_prefix/…
24892 …test -d "$cf_subdir_prefix/$with_hashed_db/lib" && cf_search="$cf_search $cf_subdir_prefix/$…
24893 …test -d "$cf_subdir_prefix/$with_hashed_db/lib/$with_hashed_db" && cf_search="$cf_search $cf_su…
24903 if test -n "$cf_item" ; then
24908 elif test -d "$cf_add_libdir"
24911 if test -n "$LDFLAGS$LIBS" ; then
24914 if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
24920 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6
24922 echo "${as_me:-configure}:24922: testing adding $cf_add_libdir to library-path ..." 1>&5
24924 LDFLAGS="-L$cf_add_libdir $LDFLAGS"
24952 $EGREP -v '^ *\+' conftest.er1 >conftest.err
24953 rm -f conftest.er1
24957 if test -s conftest.err; then
24965 if test -z "$ac_cpp_err"; then
24972 rm -f conftest.err "conftest.$ac_ext"
24989 echo "${as_me:-configure}:24989: testing checking for db version $cf_db_version ..." 1>&5
25021 rm -f "conftest.$ac_objext"
25027 { ac_try='test -s "conftest.$ac_objext"'
25041 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
25061 for cf_db_libs in "" db$cf_cv_hashed_db_version db-$cf_cv_hashed_db_version db ''
25064 if test -n "$cf_db_libs"; then
25069 for cf_add_1lib in -l$cf_db_libs; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
25078 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
25084 echo "${as_me:-configure}:25084: testing checking for library $cf_db_libs ..." 1>&5
25102 result->open(result,
25112 result->open(result,
25135 ${cf_cv_main_return:-return}(result != 0)
25141 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
25147 { ac_try='test -s "conftest$ac_exeext"'
25154 if test -n "$cf_db_libs" ; then
25166 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
25183 for cf_add_1lib in -l$cf_cv_hashed_db_libs; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
25192 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
25209 if test -z "$cf_user_CFLAGS" && test "$enable_leaks" = yes ; then
25210 …CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %…
25211 …CXXFLAGS=`echo "${CXXFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's…
25235 rm -f "conftest.$ac_objext"
25241 { ac_try='test -s "conftest.$ac_objext"'
25267 rm -f "conftest.$ac_objext"
25273 { ac_try='test -s "conftest.$ac_objext"'
25285 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
25287 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
25319 rm -f "conftest.$ac_objext"
25325 { ac_try='test -s "conftest.$ac_objext"'
25337 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
25349 if test -n "$CXX" ; then
25352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
25353 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
25357 if test -n "$GXX" ; then
25377 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
25383 { ac_try='test -s "conftest$ac_exeext"'
25395 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
25404 if test -z "`g++ -dM -E - < /dev/null | grep __KLIBC__`"; then
25427 for cf_add_1lib in -l$cf_stdcpp_libname; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
25436 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
25454 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
25460 { ac_try='test -s "conftest$ac_exeext"'
25472 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
25482 for cf_add_1lib in -l$cf_stdcpp_libname; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
25491 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
25498 echo "$as_me:25498: checking whether $CXX understands -c and -o together" >&5
25499 echo $ECHO_N "checking whether $CXX understands -c and -o together... $ECHO_C" >&6
25507 ${cf_cv_main_return:-return}(0);
25511 # existing .o file with -o, though they will create one.
25512 ac_try='$CXX $CXXFLAGS $CPPFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
25518 test -f conftest2.$ac_objext && { (eval echo "$as_me:25518: \"$ac_try\"") >&5
25528 rm -rf ./conftest*
25540 (1.*|2.[0-6]*|[1-9][0-9].*)
25543 (*-2.7*|2.7*)
25562 for cf_add_1lib in -l$cf_gpp_libname; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
25571 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
25589 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
25595 { ac_try='test -s "conftest$ac_exeext"'
25606 for cf_add_1lib in -l$cf_gpp_libname; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
25615 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
25649 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
25655 { ac_try='test -s "conftest$ac_exeext"'
25666 for cf_add_1lib in -l$cf_gpp_libname; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
25675 test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
25688 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
25690 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
25704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
25705 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
25710 if test -z "$CXXCPP"; then
25715 for CXXCPP in "$CXX -E" "/lib/cpp"
25721 # with a fresh cross-compiler works.
25722 # On the NeXT, cc -E runs the code through the compiler's parser,
25733 $EGREP -v '^ *\+' conftest.er1 >conftest.err
25734 rm -f conftest.er1
25738 if test -s conftest.err; then
25746 if test -z "$ac_cpp_err"; then
25754 rm -f conftest.err "conftest.$ac_ext"
25756 # OK, works on sane cases. Now check whether non-existent headers
25766 $EGREP -v '^ *\+' conftest.er1 >conftest.err
25767 rm -f conftest.er1
25771 if test -s conftest.err; then
25779 if test -z "$ac_cpp_err"; then
25789 rm -f conftest.err "conftest.$ac_ext"
25793 rm -f conftest.err "conftest.$ac_ext"
25812 # with a fresh cross-compiler works.
25813 # On the NeXT, cc -E runs the code through the compiler's parser,
25824 $EGREP -v '^ *\+' conftest.er1 >conftest.err
25825 rm -f conftest.er1
25829 if test -s conftest.err; then
25837 if test -z "$ac_cpp_err"; then
25845 rm -f conftest.err "conftest.$ac_ext"
25847 # OK, works on sane cases. Now check whether non-existent headers
25857 $EGREP -v '^ *\+' conftest.er1 >conftest.err
25858 rm -f conftest.er1
25862 if test -s conftest.err; then
25870 if test -z "$ac_cpp_err"; then
25880 rm -f conftest.err "conftest.$ac_ext"
25884 rm -f conftest.err "conftest.$ac_ext"
25895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
25896 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
25916 $EGREP -v '^ *\+' conftest.er1 >conftest.err
25917 rm -f conftest.er1
25921 if test -s conftest.err; then
25929 if test -z "$ac_cpp_err"; then
25936 rm -f conftest.err "conftest.$ac_ext"
25964 $EGREP -v '^ *\+' conftest.er1 >conftest.err
25965 rm -f conftest.er1
25969 if test -s conftest.err; then
25977 if test -z "$ac_cpp_err"; then
25984 rm -f conftest.err "conftest.$ac_ext"
25997 echo "$as_me:25997: checking if iostream uses std-namespace" >&5
25998 echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6
26016 rm -f "conftest.$ac_objext"
26022 { ac_try='test -s "conftest.$ac_objext"'
26034 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26065 rm -f "conftest.$ac_objext"
26071 { ac_try='test -s "conftest.$ac_objext"'
26097 rm -f "conftest.$ac_objext"
26103 { ac_try='test -s "conftest.$ac_objext"'
26115 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26117 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26149 rm -f "conftest.$ac_objext"
26155 { ac_try='test -s "conftest.$ac_objext"'
26167 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26218 rm -f "conftest.$ac_objext"
26224 { ac_try='test -s "conftest.$ac_objext"'
26236 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26276 int _array_ [1 - 2 * !((sizeof (bool)) >= 0)]
26281 rm -f "conftest.$ac_objext"
26287 { ac_try='test -s "conftest.$ac_objext"'
26322 int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)]
26327 rm -f "conftest.$ac_objext"
26333 { ac_try='test -s "conftest.$ac_objext"'
26345 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26350 ac_hi=-1 ac_mid=-1
26379 int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)]
26384 rm -f "conftest.$ac_objext"
26390 { ac_try='test -s "conftest.$ac_objext"'
26400 ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"`
26402 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26405 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26408 ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"`
26436 int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)]
26441 rm -f "conftest.$ac_objext"
26447 { ac_try='test -s "conftest.$ac_objext"'
26459 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26504 rm -f "conftest$ac_exeext"
26521 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
26524 rm -f conftest.val
26541 rm -f cf_test.out
26582 if ((bool)(-x) >= 0)
26590 ${cf_cv_main_return:-return}(0);
26594 rm -f "conftest$ac_exeext"
26606 if test -z "$cf_cv_type_of_bool"; then
26615 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
26617 rm -f cf_test.out
26638 # But ncurses_dll.h is generated - fix here.
26639 test -d include || mkdir include
26640 test -f include/ncurses_dll.h || sed -e 's/@NCURSES_WRAP_PREFIX@/'$NCURSES_WRAP_PREFIX'/g' "${srcdi…
26646 CXXFLAGS="$cf_save_CXXFLAGS -I${srcdir}/c++ -I${srcdir}/menu -Iinclude -I${srcdir}/include"
26647 test -n "$cf_math" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_math}"
26648 test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}"
26663 rm -f "conftest.$ac_objext"
26669 { ac_try='test -s "conftest.$ac_objext"'
26676 test -n "$cf_math" && cat >>confdefs.h <<EOF
26680 test -n "$cf_excp" && cat >>confdefs.h <<EOF
26691 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26694 echo "$as_me:26694: result: ${cf_result:-(none)}" >&5
26695 echo "${ECHO_T}${cf_result:-(none)}" >&6
26698 if test -n "$CXX"; then
26707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
26708 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
26734 rm -f "conftest$ac_exeext"
26752 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
26756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
26757 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
26770 if test -n "$CXX"; then
26779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
26780 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
26806 rm -f "conftest$ac_exeext"
26824 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
26828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
26829 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
26842 if test -n "$CXX"; then
26852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
26853 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
26901 rm -f "conftest.$ac_objext"
26907 { ac_try='test -s "conftest.$ac_objext"'
26919 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
26923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
26924 ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
26945 CXX_ARFLAGS='-ar -o'
26949 CXXLDFLAGS="-u main"
26954 CXX_ARFLAGS='-xar -o'
27018 rm -f "conftest.$ac_objext"
27024 { ac_try='test -s "conftest.$ac_objext"'
27036 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
27076 int _array_ [1 - 2 * !((sizeof (bool)) >= 0)]
27081 rm -f "conftest.$ac_objext"
27087 { ac_try='test -s "conftest.$ac_objext"'
27122 int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)]
27127 rm -f "conftest.$ac_objext"
27133 { ac_try='test -s "conftest.$ac_objext"'
27145 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
27150 ac_hi=-1 ac_mid=-1
27179 int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)]
27184 rm -f "conftest.$ac_objext"
27190 { ac_try='test -s "conftest.$ac_objext"'
27200 ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"`
27202 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
27205 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
27208 ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"`
27236 int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)]
27241 rm -f "conftest.$ac_objext"
27247 { ac_try='test -s "conftest.$ac_objext"'
27259 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
27304 rm -f "conftest$ac_exeext"
27321 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
27324 rm -f conftest.val
27341 rm -f cf_test.out
27382 if ((bool)(-x) >= 0)
27390 ${cf_cv_main_return:-return}(0);
27394 rm -f "conftest$ac_exeext"
27406 if test -z "$cf_cv_type_of_bool"; then
27415 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
27417 rm -f cf_test.out
27448 # specify the type of bool in a configure-script option and postpone
27464 if test -f "${srcdir}/Ada95/Makefile.in" ; then
27468 { echo "$as_me:27468: WARNING: libtool does not support Ada - disabling feature" >&5
27469 echo "$as_me: WARNING: libtool does not support Ada - disabling feature" >&2;}
27479 cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQR…
27499 test -z "$ac_dir" && ac_dir=.
27507 test -z "$ac_cv_path_cf_TEMP_gnat" && ac_cv_path_cf_TEMP_gnat="no"
27513 if test -n "$cf_TEMP_gnat"; then
27533 cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \
27534 grep '[0-9].[0-9][0-9]*' |\
27535 sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'`
27540 test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no
27560 rm -rf ./conftest* ./*~conftest*
27576 …cf_gprconfig_value=`echo s| gprconfig --config=$cf_gprconfig_param 2>&5 | ${AWK:-awk} '/^\*/{print…
27577 test -n "$cf_gprconfig_value" && break
27581 …cf_gprconfig_value=`echo s| gprconfig --config=$cf_gprconfig_param 2>&5 | ${AWK:-awk} '/^\*/{print…
27583 if test -n "$cf_gprconfig_value"
27596 rm -rf ./conftest* ./*~conftest*
27608 cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \
27609 grep '[0-9].[0-9][0-9]*' |\
27610 sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'`
27615 test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no
27618 (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9])
27635 if test -n "$M4_exists"; then
27642 test -z "$ac_dir" && ac_dir=.
27649 test -z "$ac_cv_prog_M4_exists" && ac_cv_prog_M4_exists="no"
27653 if test -n "$M4_exists"; then
27670 rm -rf ./conftest* ./*~conftest*
27693 rm -rf ./conftest* ./*~conftest*
27705 ADAFLAGS="$ADAFLAGS -gnatpn"
27710 (*-g*)
27712 ADAFLAGS="$ADAFLAGS -g"
27717 (*-O*)
27718 cf_O_flag=`echo "$CFLAGS" |sed -e 's/^.*-O/-O/' -e 's/[ ].*//'`
27727 echo "$as_me:27727: checking if GNATPREP supports -T option" >&5
27728 echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6
27734 gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes
27739 test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS"
27744 (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9])
27769 rm -rf ./conftest* ./*~conftest*
27775 pragma Warnings (Off); -- the next pragma exists since 3.11p
27808 rm -rf ./conftest* ./*~conftest*
27827 (3.[0-9]*)
27834 rm -rf ./conftest* ./*~conftest*
27838 rm -rf ./conftest* ./*~conftest*
27868 -Plibrary.gpr \
27869 -XBUILD_DIR="`cd ../conftest.bin;pwd`" \
27870 -XLIBRARY_DIR="`cd ../conftest.lib;pwd`" \
27871 -XSOURCE_DIR="`pwd`" \
27872 -XSONAME=libConfTest.so.1 \
27873 -XLIB_KIND=static 1>&5 2>&1 ) ; then
27878 if test -f conftest.lib/confpackage.ali
27882 rm -rf ./conftest* ./*~conftest*
27930 # Check whether --with-ada-compiler or --without-ada-compiler was given.
27946 # Check whether --with-ada-include or --without-ada-include was given.
27951 withval="${ADA_INCLUDE:-$prefix/share/ada/adainclude}"
27952 fi; if test -n "$prefix/share/ada/adainclude" ; then
27965 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
27971 withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%`
27976 withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%`
27994 # Check whether --with-ada-objects or --without-ada-objects was given.
27999 withval="${ADA_OBJECTS:-$prefix/lib/ada/adalib}"
28000 fi; if test -n "$prefix/lib/ada/adalib" ; then
28013 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
28019 withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%`
28024 withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%`
28042 # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given.
28085 # Check whether --with-ada-libname or --without-ada-libname was given.
28107 # do this "late" to avoid conflict with header-checks
28129 rm -f "conftest.$ac_objext"
28135 { ac_try='test -s "conftest.$ac_objext"'
28147 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
28167 int _array_ [1 - 2 * !((sizeof (wchar_t)) >= 0)]
28172 rm -f "conftest.$ac_objext"
28178 { ac_try='test -s "conftest.$ac_objext"'
28193 int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)]
28198 rm -f "conftest.$ac_objext"
28204 { ac_try='test -s "conftest.$ac_objext"'
28216 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
28221 ac_hi=-1 ac_mid=-1
28230 int _array_ [1 - 2 * !((sizeof (wchar_t)) >= $ac_mid)]
28235 rm -f "conftest.$ac_objext"
28241 { ac_try='test -s "conftest.$ac_objext"'
28251 ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"`
28253 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
28256 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
28259 ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"`
28267 int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)]
28272 rm -f "conftest.$ac_objext"
28278 { ac_try='test -s "conftest.$ac_objext"'
28290 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
28315 rm -f "conftest$ac_exeext"
28332 rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
28335 rm -f conftest.val
28346 # cross-compiling to mingw can run into the problem that attempting to
28348 # a number. "recent" autoconf does not address this problem either -TD
28349 if test -z "$ac_cv_sizeof_wchar_t"
28351 test -n "$verbose" && echo " test failed (assume 2)" 1>&6
28353 echo "${as_me:-configure}:28353: testing test failed (assume 2) ..." 1>&5
28361 ### Construct the ncurses library-subsets, if any, from this set of keywords:
28395 # Most term-driver calls are to tinfo, but some like init_pair are to the
28406 CPPFLAGS="$CPPFLAGS -DUSE_WIN32CON_DRIVER"
28428 ### Construct the list of include-directories to be generated
28431 CPPFLAGS="-I\${srcdir}/../include $CPPFLAGS"
28433 CPPFLAGS="-I../include $CPPFLAGS"
28435 CPPFLAGS="-I\${srcdir} $CPPFLAGS"
28437 CPPFLAGS="-I. $CPPFLAGS"
28439 ACPPFLAGS="-I. -I../include -I../../include $ACPPFLAGS"
28441 ACPPFLAGS="-I\${srcdir}/../../include $ACPPFLAGS"
28444 ACPPFLAGS="$ACPPFLAGS -I\${includedir}"
28448 ACPPFLAGS="$ACPPFLAGS -I\${includedir}"
28451 ACPPFLAGS="$ACPPFLAGS -I\${includedir}"
28466 test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}"
28470 echo "$as_me:28470: checking default library-dependency suffix" >&5
28471 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6
28480 (*-msvc*)
28491 (*-msvc*)
28502 (aix[5-7]*)
28506 (*-msvc*)
28538 (*-msvc*)
28548 if test -n "${LIB_SUFFIX}${EXTRA_SUFFIX}"
28576 echo "$as_me:28576: checking c++ library-dependency suffix" >&5
28577 echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6
28594 (*-msvc*)
28605 (*-msvc*)
28616 (aix[5-7]*)
28620 (*-msvc*)
28652 (*-msvc*)
28662 if test -n "${LIB_SUFFIX}${EXTRA_SUFFIX}"
28674 # do not want -ldl in build except as needed for -lncurses dependency
28680 LIBS=`echo "$LIBS" | sed -e 's/-ldl[ ]//g' -e 's/-ldl$//'`
28684 ### Set up low-level terminfo dependencies for makefiles.
28692 TINFO_LIST=`echo "$SHLIB_LIST" | sed -e 's/-ldl[ ]//g' -e 's/-ldl$//'`
28699 if test -n "$EXTRA_SUFFIX" && test "x$EXTRA_SUFFIX" != "x${cf_cv_abi_version}"
28708 TICS_SUFFIX="`echo "${DFT_LIB_SUFFIX}" |sed -e "s/^${USE_LIB_SUFFIX}//"`"
28709 TICS_ARG_SUFFIX="${with_ticlib}`echo "${USE_ARG_SUFFIX}" |sed -e "s/^${LIB_SUFFIX}//"`"
28710 TICS_DEP_SUFFIX="${with_ticlib}`echo "${DFT_DEP_SUFFIX}" |sed -e "s/^${LIB_SUFFIX}//"`"
28718 TICS_LDFLAGS="-L${LIB_DIR}"
28719 TICS_LIBS="-l${TICS_ARG_SUFFIX}"
28722 TICS_LDFLAGS="-L${LIB_DIR}"
28723 TICS_LIBS="-l${LIB_NAME}${USE_ARG_SUFFIX}"
28730 TINFO_SUFFIX="`echo "${DFT_LIB_SUFFIX}" |sed -e "s/^${USE_LIB_SUFFIX}//"`"
28731 TINFO_ARG_SUFFIX="${with_termlib}`echo "${USE_ARG_SUFFIX}" |sed -e "s/^${LIB_SUFFIX}//"`"
28732 TINFO_DEP_SUFFIX="${with_termlib}`echo "${DFT_DEP_SUFFIX}" |sed -e "s/^${LIB_SUFFIX}//"`"
28746 TINFO_LDFLAGS="-L${LIB_DIR}"
28751 TEST_ARGS="-l${TINFO_ARG_SUFFIX}"
28752 TEST_ARG2="-l${TINFO_ARG_SUFFIX}"
28754 TICS_LIST="$SHLIB_LIST -l${LIB_NAME}${USE_ARG_SUFFIX}"
28755 TICS_LIBS="$TICS_LIBS -l${LIB_NAME}${USE_ARG_SUFFIX}"
28756 TINFO_LIBS="-l${LIB_NAME}${USE_ARG_SUFFIX} $TEST_ARGS"
28758 TICS_LIST="$SHLIB_LIST -l${TINFO_LIB_SUFFIX}"
28761 TINFO_LDFLAGS="-L${LIB_DIR}"
28762 SHLIB_LIST="$SHLIB_LIST -l${TINFO_LIB_SUFFIX}"
28770 TICS_LIST="$SHLIB_LIST -l${LIB_NAME}${USE_ARG_SUFFIX}"
28775 TINFO_LDFLAGS="-L${LIB_DIR}"
28776 TINFO_LIBS="-l${LIB_NAME}${USE_ARG_SUFFIX}"
28782 # "lib" files have ".dll.a" suffix, "cyg"or "msys-" files have ".dll"
28791 TICS_LIST=`echo "$TICS_LIST" | sed -e 's/-ldl[ ]//g' -e 's/-ldl$//'`
28800 TINFO_LDFLAGS2=`echo "$TINFO_LDFLAGS" | sed -e 's,-L\.\./,-L../../,'`
28807 (OS/2*|os2*|aix[4]*|solaris2.1[0-9]|darwin*)
28812 LDFLAGS_STATIC=-static
28813 LDFLAGS_SHARED=-dynamic
28818 (aix[4-7]*) # from ld manpage
28819 LDFLAGS_STATIC=-bstatic
28820 LDFLAGS_SHARED=-bdynamic
28824 LDFLAGS_STATIC=-Wl,-a,archive_shared
28825 LDFLAGS_SHARED=-Wl,-a,shared_archive
28828 LDFLAGS_STATIC=-Bstatic
28829 LDFLAGS_SHARED=-Bdynamic
28832 # alternative "-oldstyle_liblookup" (not in cc manpage)
28833 LDFLAGS_STATIC=-noso
28834 LDFLAGS_SHARED=-so_archive
28837 LDFLAGS_STATIC=-Bstatic
28838 LDFLAGS_SHARED=-Bdynamic
28843 if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED"
28848 rm -f libconftest.a
28862 rm -f conftest.*
28866 LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS"
28885 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
28891 { ac_try='test -s "conftest$ac_exeext"'
28898 # some linkers simply ignore the -dynamic
28913 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
28915 rm -f libconftest.*
28947 ### Resolve a conflict between normal and wide-curses by forcing applications
28952 …{ echo "$as_me:28952: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include c…
28953 echo "$as_me: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" …
28980 # Check whether --with-form-libname or --without-form-libname was given.
29003 # Check whether --with-menu-libname or --without-menu-libname was given.
29026 # Check whether --with-panel-libname or --without-panel-libname was given.
29049 # Check whether --with-cxx-libname or --without-cxx-libname was given.
29070 ### with the appropriate compile-rules.
29075 # dependencies and linker-arguments for test-programs
29082 TEST_ARGS="-l${LIB_NAME}${USE_ARG_SUFFIX} $TEST_ARGS"
29083 TEST_ARG2="-l${LIB_NAME}${USE_ARG_SUFFIX} $TEST_ARG2"
29090 if test -f "$srcdir/$cf_dir/modules" ; then
29092 if test -z "$cf_cv_src_modules"; then
29102 if test -f "$srcdir/${cf_dir}/${cf_dir}.h" ; then
29104 cf_have_include=`echo "$cf_dir" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___…
29114 cf_map_lib_basename=`echo "$cf_dir" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXY…
29124 TEST_ARGS="-l${TEST_ROOT}${USE_ARG_SUFFIX} $TEST_ARGS"
29125 TEST_ARG2="-l${TEST_ROOT}${USE_ARG_SUFFIX} $TEST_ARG2"
29134 TEST_ARGS="-L${LIB_DIR} $TEST_ARGS"
29135 TEST_ARG2="-L${LIB_2ND} $TEST_ARG2"
29149 # always make this, to install the ncurses-config script
29160 if test "x$cf_with_ada" = "xyes" && test "x$cf_cv_prog_gnat_correct" = xyes && test -f "$srcdir/Ada…
29174 if test -n "$ADA_SUBDIRS"; then
29184 …SUB_MAKEFILES="$SUB_MAKEFILES Ada95/gen/adacurses${USE_CFG_SUFFIX}-config:Ada95/gen/adacurses-conf…
29185 SUB_MAKEFILES="$SUB_MAKEFILES man/adacurses${USE_CFG_SUFFIX}-config.1:man/MKada_config.in"
29214 test ! -d "$cf_dir" && mkdir "$cf_dir"
29230 ### Define substitutions for header files to avoid name-pollution
29260 SUB_MAKEFILES="$SUB_MAKEFILES misc/ncurses-config:misc/ncurses-config.in"
29261 SUB_MAKEFILES="$SUB_MAKEFILES man/ncurses${USE_CFG_SUFFIX}-config.1:man/MKncu_config.in"
29263 if test "x$enable_pc_files" = xyes && test -z "$MAKE_PC_FILES" ; then
29264 SUB_MAKEFILES="$SUB_MAKEFILES misc/gen-pkgconfig:misc/gen-pkgconfig.in"
29278 LIBTOOL_OPTS_CXX="-os2dllname ncurs++"
29289 (*-D_XOPEN_SOURCE_EXTENDED*)
29290 test -n "$verbose" && echo " moving _XOPEN_SOURCE_EXTENDED to work around g++ problem" 1>&6
29292 echo "${as_me:-configure}:29292: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem .…
29294 CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
29295 CPPFLAGS=`echo "x$CPPFLAGS" | sed -e 's/^.//' -e 's/-D_XOPEN_SOURCE_EXTENDED//'`
29302 # the *-config or the ".pc" files by adding defines.
29303 echo "$as_me:29303: checking for defines to add to ncurses${USE_CFG_SUFFIX}${cf_config_suffix}-conf…
29304 echo $ECHO_N "checking for defines to add to ncurses${USE_CFG_SUFFIX}${cf_config_suffix}-config scr…
29365 if test -n "$PACKAGE"
29375 if test -n "$RESULTING_SYMS"
29378 test -n "$verbose" && echo " will map symbols to ABI=$cf_cv_abi_default" 1>&6
29380 echo "${as_me:-configure}:29380: testing will map symbols to ABI=$cf_cv_abi_default ..." 1>&5
29391 UNALTERED_SYMS=`echo "$RESULTING_SYMS" | sed -e 's/\\$/\\\\$/g'`
29405 # This is used for the *-config script and *.pc data files.
29416 cf_pathlist=`${LD:-ld} --verbose 2>/dev/null | grep SEARCH_DIR | sed -e 's,SEARCH_DIR[("=][("=]*,,g…
29418 # The -NX options tell newer versions of Linux ldconfig to not attempt to
29420 test -z "$cf_pathlist" && \
29421 cf_pathlist=`(ldconfig -NX -v) 2>/dev/null | sed -e '/^[ ]/d' -e 's/:$//' | sort -u`
29423 test -z "$cf_pathlist" &&
29424 cf_pathlist=`(ldconfig -v) 2>/dev/null | sed -n -e '/^[ ]/d' -e 's/:$//p' | sort -u`
29427 test -z "$cf_pathlist" &&
29428 cf_pathlist=`(ldconfig -v) 2>/dev/null | sed -n -e 's,^Adding \(.*\)/.*$,\1,p' | sort -u`
29430 if test -z "$cf_pathlist"
29433 if test -f /usr/bin/otool && test "x`uname -s`" = xDarwin
29441 if test -z "$cf_pathlist"
29444 if test -f /usr/bin/isainfo && test "x`uname -s`" = xSunOS
29446 case x`(isainfo -b)` in
29451 test -d /usr/ccs/lib && cf_pathlist="$cf_pathlist /usr/ccs/lib"
29462 if test -z "$cf_pathlist"
29464 # HP-UX
29465 if test x"`uname -s`" = xHP-UX
29481 test -z "$cf_pathlist" && cf_pathlist="/usr/lib /lib"
29486 if test -d "$cf_path"; then
29487 test -n "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath="${cf_cv_ld_searchpath} "
29493 test -z "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath=/usr/lib
29499 LD_SEARCHPATH=`echo "$cf_cv_ld_searchpath"|sed -e 's/ /|/g'`
29506 # scripts and configure runs, see configure's option --config-cache.
29511 # the --recheck option to rerun configure.
29528 # `set' does not quote correctly, so add quotes (double-quote
29530 sed -n \
29536 sed -n \
29548 if cmp -s $cache_file confcache; then :; else
29549 if test -w $cache_file; then
29556 rm -f confcache
29577 DEFS=-DHAVE_CONFIG_H
29591 me=\`echo "\$0" | sed -e 's,.*\\/,,'\`
29594 SHELL=\${CONFIG_SHELL-$SHELL}
29603 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29606 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29607 set -o posix
29619 rm -f conf$$ conf$$.exe conf$$.file
29620 echo >conf$$.file
29621 if ln -s conf$$.file conf$$ 2>/dev/null; then
29624 if test -f conf$$.exe; then
29626 as_ln_s='cp -p'
29628 as_ln_s='ln -s'
29630 elif ln conf$$.file conf$$ 2>/dev/null; then
29633 as_ln_s='cp -p'
29635 rm -f conf$$ conf$$.exe conf$$.file
29637 as_executable_p="test -f"
29670 if test -n "$ac_config_files"; then
29674 if test -n "$ac_config_headers"; then
29678 if test -n "$ac_config_links"; then
29682 if test -n "$ac_config_commands"; then
29694 -h, --help print this help, then exit
29695 -V, --version print version number, then exit
29696 -d, --debug don't remove temporary files
29697 --recheck update $as_me by reconfiguring in the same conditions
29698 --file=FILE[:TEMPLATE]
29700 --header=FILE[:TEMPLATE]
29712 Report bugs to <dickey@invisible-island.net>."
29721 Copyright 2003-2022,2023 Thomas E. Dickey
29737 --*=*)
29744 -*);;
29754 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29755 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
29756 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
29759 --version | --vers* | -V )
29761 --he | --h)
29762 # Conflict between --help and --header
29764 Try \`$0 --help' for more information." >&5
29766 Try \`$0 --help' for more information." >&2;}
29768 --help | --hel | -h )
29770 --debug | --d* | -d )
29772 --file | --fil | --fi | --f )
29776 --header | --heade | --head | --hea )
29782 -*) { { echo "$as_me:29782: error: unrecognized option: $1
29783 Try \`$0 --help' for more information." >&5
29785 Try \`$0 --help' for more information." >&2;}
29797 ## ----------------------- ##
29799 ## ----------------------- ##
29807 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29814 # INIT-COMMANDS section.
29818 ### configuration-run into config.status
29931 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29938 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
29939 test -n "$tmp" && test -d "$tmp"
29942 tmp=$TMPDIR/cs$$-$RANDOM
29960 if test -n "\$CONFIG_FILES"; then
30306 # Split the substitutions into bite-sized pieces for seds with
30307 # small command number limits, like on Digital OSF/1 and HP-UX.
30315 if test "$ac_beg" -gt 1; then
30320 if test ! -s "$tmp"/subs.frag; then
30328 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat "$tmp"/subs.frag) >"$tmp"/subs-$ac_sed_frag.sed
30334 if test -s "$tmp"/subs.next; then
30336 if test ! -s "$tmp"/subs.edit; then
30338 if test ! -s "$tmp"/subs.edit; then
30339 if test "$ac_beg" -gt 1; then
30340 ac_end=`expr "$ac_end" - 1`
30347 if test -z "$ac_sed_cmds"; then
30348 ac_sed_cmds="sed -f \"$tmp\"/subs-$ac_sed_frag.sed"
30350 ac_sed_cmds="$ac_sed_cmds | sed -f \"$tmp\"/subs-$ac_sed_frag.sed"
30357 if test -z "$ac_sed_cmds"; then
30360 fi # test -n "$CONFIG_FILES"
30367 - | *:- | *:-:* ) # input from stdin
30400 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
30414 if test -z "$ac_dots"; then
30432 if test x"$ac_file" != x-; then
30435 rm -f "$ac_file"
30448 -) echo "$tmp"/stdin ;;
30450 # Absolute (can't be DOS-style, as IFS=:)
30451 test -f "$f" || { { echo "$as_me:30451: error: cannot find input file: $f" >&5
30456 if test -f "$f"; then
30459 elif test -f "$srcdir/$f"; then
30473 if test x"$ac_file" != x-; then
30477 if test -n "$ac_seen"; then
30479 if test -z "$ac_used"; then
30488 if test -n "$ac_seen"; then
30499 …ac_sed_cmds="$ac_sed_cmds | sed -e 's,@datarootdir@,\${prefix}/share,g' -e 's,\${datarootdir},\${p…
30509 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30515 rm -f "$tmp"/stdin
30517 test -n "${FGREP}" || FGREP="grep -F"
30518 test -n "${EGREP}" || EGREP="grep -E"
30520 test -n "\${FGREP}" || FGREP="$FGREP"
30521 test -n "\${EGREP}" || EGREP="$EGREP"
30524 if test x"$ac_file" != x-; then
30529 ac_seen=`$FGREP -n '${'$ac_name'[:=].*}' "$ac_file"`
30530 if test -n "$ac_seen"; then
30532 if test -z "$ac_init"; then
30533 ac_seen=`echo "$ac_seen" |sed -e 's,^,'"$ac_file"':,'`
30541 $EGREP -n '@[a-z_][a-z_0-9]+@' "$ac_file" >"$tmp"/out
30542 $EGREP -n '@[A-Z_][A-Z_0-9]+@' "$ac_file" >>"$tmp"/out
30543 if test -s "$tmp"/out; then
30544 ac_seen=`sed -e 's,^,'"$ac_file"':,' < "$tmp"/out`
30553 rm -f "$tmp"/out
30585 - | *:- | *:-:* ) # input from stdin
30594 test x"$ac_file" != x- && { echo "$as_me:30594: creating $ac_file" >&5
30602 -) echo "$tmp"/stdin ;;
30604 # Absolute (can't be DOS-style, as IFS=:)
30605 test -f "$f" || { { echo "$as_me:30605: error: cannot find input file: $f" >&5
30610 if test -f "$f"; then
30613 elif test -f "$srcdir/$f"; then
30637 rm -f conftest.tail
30638 echo ' rm -f conftest.frag' >> "$CONFIG_STATUS"
30641 # Write chunks of a limited-size here document to conftest.frag.
30643 sed "${ac_max_here_lines}q" conftest.vals | sed -e 's/#ifdef.*/#if 0/' >> "$CONFIG_STATUS"
30646 rm -f conftest.vals
30649 rm -f conftest.vals
30657 sed -f conftest.edit "$tmp"/in > "$tmp"/out
30658 rm -f "$tmp"/in
30660 rm -f conftest.edit conftest.frag
30667 if test x"$ac_file" = x-; then
30673 rm -f "$tmp"/in
30674 if test x"$ac_file" != x-; then
30675 if cmp -s "$ac_file" "$tmp/config.h" 2>/dev/null; then
30702 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
30708 rm -f "$ac_file"
30713 rm -f "$tmp"/config.h
30731 if test ! -d "$srcdir/$cf_dir" ; then
30733 elif test -f "$srcdir/$cf_dir/programs" ; then
30734 …$AWK -f "$srcdir/test/mk-test.awk" INSTALL=no ECHO_LINK="$ECHO_LD" "$srcdir/$cf_dir/programs" >>$c…
30749 if test -n "$TINFO_SUFFIX" ; then
30768 if test ! -d "$srcdir/$cf_dir" ; then
30770 elif test -f "$srcdir/$cf_dir/modules" ; then
30775 if test -n "${cf_cv_abi_default}" && test "x${cf_cv_abi_default}" != "x5"
30803 rm -f resulting.map
30817 (*-msvc*)
30828 (*-msvc*)
30839 (aix[5-7]*)
30843 (*-msvc*)
30875 (*-msvc*)
30885 if test -n "${LIB_SUFFIX}${EXTRA_SUFFIX}"
30894 cf_map_lib_basename=`echo "cxx" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___…
30900 cf_map_lib_basename=`echo "$cf_dir" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXY…
30905 test -z "$cf_libname" && cf_libname="$cf_dir"
30907 if test -n "${LIB_SUFFIX}"
30925 if test -n "$cf_version_name"
30937 if test -n "${USE_LIB_SUFFIX}"
30949 cf_cygsuf=`echo "$cf_suffix" | sed -e 's/\.dll/\${ABI_VERSION}.dll/'`
30953 cf_cygsuf=`echo "$cf_suffix" | sed -e 's/\.dll/\${ABI_VERSION}.dll/'`
30954 cf_add_lib="../lib/msys-${cf_libname}${cf_cygsuf}"
30957 cf_cygsuf=`echo "$cf_suffix" | sed -e 's/\.dll/\${ABI_VERSION}.dll/'`
30961 cf_cygsuf=`echo "$cf_suffix" | sed -e 's/\.dll/\${ABI_VERSION}.dll/'`
30968 if test -n "$cf_add_lib"
30983 while test -n "$cf_r_parts"
30985 cf_l_parts=`echo "$cf_r_parts" |sed -e 's/ .*$//'`
30986 cf_r_parts=`echo "$cf_r_parts" |sed -e 's/^[^ ]* //'`
30991 cf_add_lib=`echo "$cf_liblist" |sed -e s%${LIB_NAME}${USE_LIB_SUFFIX}%${TINFO_LIB_SUFFIX}%g`
30994 cf_add_lib=`echo "$cf_liblist" |sed -e s%${LIB_NAME}${USE_LIB_SUFFIX}%${TICS_LIB_SUFFIX}%g`
31000 if test -n "$cf_add_lib"; then
31008 cf_subsets=`echo "$LIB_SUBSETS" | sed -e 's/^termlib.* //'`
31012 if test "x$with_shared_cxx" != xyes && test -n "$cf_shared_suffix"; then
31020 cf_item=`echo "$cf_item" | sed -e "s,"$cf_shared_suffix",.a,"`
31027 cf_LIST_MODELS=`echo "$cf_LIST_MODELS" | sed -e 's/normal//'`
31032 test -n "$cf_item" && cf_list="$cf_list $cf_item"
31038 sed -e "s%@Libs_To_Make@%$Libs_To_Make%" \
31039 -e "s%@SHARED_LIB@%$SHARED_LIB%" \
31043 $AWK -f "$srcdir/mk-0th.awk" \
31055 cf_ITEM=`echo "$cf_item" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
31061 …test "x$with_shared_cxx" = xno && test -n "$verbose" && echo " overriding CXX_MODEL to SHARED" 1>&6
31063 echo "${as_me:-configure}:31063: testing overriding CXX_MODEL to SHARED ..." 1>&5
31080 (*-msvc*)
31091 (*-msvc*)
31102 (aix[5-7]*)
31106 (*-msvc*)
31138 (*-msvc*)
31148 if test -n "${LIB_SUFFIX}${EXTRA_SUFFIX}"
31184 cf_map_lib_basename=`echo "cxx" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___…
31191 cf_map_lib_basename=`echo "$cf_dir" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXY…
31197 if test -n "${USE_ARG_SUFFIX}" ; then
31198 # undo $USE_LIB_SUFFIX add-on in CF_LIB_SUFFIX
31199 cf_suffix=`echo "$cf_suffix" |sed -e "s%^${USE_LIB_SUFFIX}%%"`
31211 if test -f "$srcdir/$cf_dir/$cf_dir.priv.h" ; then
31213 elif test -f "$srcdir/$cf_dir/curses.priv.h" ; then
31220 if test -n "$USE_LIB_SUFFIX" ; then
31246 $AWK -f "$srcdir/mk-1st.awk" \
31253 make_phony="${cf_cv_make_PHONY:-no}" \
31264 ReLink=${cf_cv_do_relink:-no} \
31265 ReRanlib=${cf_cv_do_reranlib:-yes} \
31282 $AWK -f "$srcdir/mk-2nd.awk" \
31305 cat >> Makefile <<-CF_EOF
31318 if test ! -d "$srcdir/$cf_dir" ; then
31322 if test -f "$cf_dir/Makefile" ; then
31333 if test -f "$srcdir/$cf_dir/modules" ; then
31336 cat >> Makefile <<-CF_EOF
31344 if test -f "$srcdir/$cf_dir/headers" ; then
31361 elif test -f "$srcdir/$cf_dir/headers" ; then
31375 cat >> Makefile <<-CF_EOF
31400 cat >> Makefile <<-CF_EOF
31418 rm -f config.cache config.log config.status Makefile include/ncurses_cfg.h
31419 rm -f headers.sh headers.sed mk_shared_lib.sh
31420 rm -f edit_man.* man_alias.* *.tmp
31421 rm -rf \${DIRS_TO_MAKE}
31424 rm -f headers.sed headers.sh
31430 # subdirectory of the build tree. It generates a sed-script in the parent
31441 TMPSRC=\${TMPDIR:-/tmp}/\`basename \$SRC\`\$\$
31442 TMPSED=\${TMPDIR:-/tmp}/headers.sed\$\$
31451 for i in \`cat \$REF/../*/headers |${FGREP-fgrep} -v "#"\`
31468 for i in \`cat \$REF/../*/headers |${FGREP-fgrep} -v "#"\`
31486 rm -f \$TMPSRC
31487 sed -f \$TMPSED \$SRC > \$TMPSRC
31497 test -f \$DST/\$NAME.gz && rm -f \$DST/\$NAME.gz
31500 rm -f \$TMPSRC \$TMPSED
31507 if test ! -d "$srcdir/$cf_dir" ; then
31511 if test -f "$srcdir/$cf_dir/headers" ; then
31512 $AWK -f "$srcdir/mk-hdr.awk" \
31518 if test -f "$srcdir/$cf_dir/modules" ; then
31521 cat >> $cf_dir/Makefile <<-CF_EOF
31529 makedepend -- ${CPPFLAGS} -- ${C_SRC}
31531 # DO NOT DELETE THIS LINE -- make depend depends on it.
31538 # Construct a sed-script to perform renaming within man-pages
31539 test -n "$verbose" && echo "creating edit_man.sed"
31540 test ! -d man && mkdir man
31541 FGREP="${FGREP-grep -F}" $SHELL "$srcdir/man/make_sed.sh" "$MANPAGE_RENAMES" >./edit_man.sed
31545 if test -z "$USE_OLD_MAKERULES" ; then
31546 $AWK -f "$srcdir/Ada95/mk-1st.awk" <"$srcdir/Ada95/src/modules" >>Ada95/src/Makefile
31578 ${MAKE:-make} preinstall