blob: d0718f41fe6decef5ad7c3cfc38238446b5e0244 [file] [log] [blame]
Steve Kondikae271bc2015-11-15 02:50:53 +01001dnl***************************************************************************
2dnl Copyright (c) 2010-2014,2015 Free Software Foundation, Inc. *
3dnl *
4dnl Permission is hereby granted, free of charge, to any person obtaining a *
5dnl copy of this software and associated documentation files (the *
6dnl "Software"), to deal in the Software without restriction, including *
7dnl without limitation the rights to use, copy, modify, merge, publish, *
8dnl distribute, distribute with modifications, sublicense, and/or sell *
9dnl copies of the Software, and to permit persons to whom the Software is *
10dnl furnished to do so, subject to the following conditions: *
11dnl *
12dnl The above copyright notice and this permission notice shall be included *
13dnl in all copies or substantial portions of the Software. *
14dnl *
15dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
16dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
17dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
18dnl IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
19dnl DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
20dnl OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
21dnl THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
22dnl *
23dnl Except as contained in this notice, the name(s) of the above copyright *
24dnl holders shall not be used in advertising or otherwise to promote the *
25dnl sale, use or other dealings in this Software without prior written *
26dnl authorization. *
27dnl***************************************************************************
28dnl
29dnl Author: Thomas E. Dickey
30dnl
31dnl $Id: configure.in,v 1.60 2015/04/18 18:49:57 tom Exp $
32dnl Process this file with autoconf to produce a configure script.
33dnl
34dnl See http://invisible-island.net/autoconf/ for additional information.
35dnl
36dnl ---------------------------------------------------------------------------
37AC_PREREQ(2.52.20030208)
38AC_REVISION($Revision: 1.60 $)
39AC_INIT(gen/gen.c)
40AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
41
42CF_TOP_BUILDDIR
43
44CF_WITH_SYSTYPE
45
46### Save the given $CFLAGS to allow user-override.
47cf_user_CFLAGS="$CFLAGS"
48
49### Default install-location
50CF_CFG_DEFAULTS
51
52### Checks for programs.
53CF_PROG_CC(gnatgcc gcc cc)
54AC_PROG_CPP
55AC_PROG_GCC_TRADITIONAL
56CF_PROG_CC_C_O(CC)
57
58AC_ARG_PROGRAM
59
60CF_PROG_AWK
61CF_PROG_EGREP
62AC_PROG_INSTALL
63CF_PROG_LN_S
64
65AC_SYS_LONG_FILE_NAMES
66
67# if we find pkg-config, check if we should install the ".pc" files.
68CF_PKG_CONFIG
69CF_WITH_PKG_CONFIG_LIBDIR
70
71AC_MSG_CHECKING(if you want to build test-programs)
72AC_ARG_WITH(tests,
73 [ --without-tests suppress build with test-programs],
74 [cf_with_tests=$withval],
75 [cf_with_tests=yes])
76AC_MSG_RESULT($cf_with_tests)
77
78AC_MSG_CHECKING(if we should assume mixed-case filenames)
79AC_ARG_ENABLE(mixed-case,
80 [ --enable-mixed-case tic should assume mixed-case filenames],
81 [enable_mixedcase=$enableval],
82 [enable_mixedcase=auto])
83AC_MSG_RESULT($enable_mixedcase)
84if test "$enable_mixedcase" = "auto" ; then
85 CF_MIXEDCASE_FILENAMES
86else
87 cf_cv_mixedcase=$enable_mixedcase
88 if test "$enable_mixedcase" = "yes" ; then
89 AC_DEFINE(MIXEDCASE_FILENAMES)
90 fi
91fi
92
93# do this after mixed-case option (tags/TAGS is not as important as tic).
94AC_PROG_MAKE_SET
95CF_MAKE_TAGS
96CF_MAKEFLAGS
97
98dnl These are standard among *NIX systems, but not when cross-compiling
99AC_CHECK_TOOL(RANLIB, ranlib, ':')
100AC_CHECK_TOOL(LD, ld, ld)
101AC_CHECK_TOOL(AR, ar, ar)
102CF_AR_FLAGS
103CF_PATHSEP
104
105dnl Special option for use by system-builders: the install-prefix is used to
106dnl adjust the location into which the actual install is done, so that an
107dnl archive can be built without modifying the host system's configuration.
108AC_MSG_CHECKING(if you have specified an install-prefix)
109AC_ARG_WITH(install-prefix,
110 [ --with-install-prefix prefixes actual install-location ($DESTDIR)],
111 [case "$withval" in
112 (yes|no)
113 ;;
114 (*) DESTDIR="$withval"
115 ;;
116 esac])
117AC_MSG_RESULT($DESTDIR)
118AC_SUBST(DESTDIR)
119
120###############################################################################
121CF_HELP_MESSAGE(Build-Tools Needed to Compile Temporary Applications for Cross-compiling:)
122# If we're cross-compiling, allow the user to override the tools and their
123# options. The configure script is oriented toward identifying the host
124# compiler, etc., but we need a build compiler to generate parts of the source.
125CF_BUILD_CC
126
127###############################################################################
128CF_HELP_MESSAGE(Options to Specify the Libraries Built/Used:)
129
130### Options to allow the user to specify the set of libraries which are used.
131### Use "--without-normal --with-shared" to allow the default model to be
132### shared, for example.
133cf_list_models=""
134
135AC_MSG_CHECKING(if you want to build shared C-objects)
136AC_ARG_WITH(shared,
137 [ --with-shared generate shared C-objects (needed for --with-ada-sharedlib)],
138 [with_shared=$withval],
139 [with_shared=no])
140AC_MSG_RESULT($with_shared)
141test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared"
142
143AC_MSG_CHECKING(for specified models)
144test -z "$cf_list_models" && cf_list_models=normal
145AC_MSG_RESULT($cf_list_models)
146
147### Use the first model as the default, and save its suffix for use in building
148### up test-applications.
149AC_MSG_CHECKING(for default model)
150DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'`
151AC_MSG_RESULT($DFT_LWR_MODEL)
152
153CF_UPPER(DFT_UPR_MODEL,$DFT_LWR_MODEL)dnl
154
155AC_SUBST(DFT_LWR_MODEL)dnl the default model ("normal")
156AC_SUBST(DFT_UPR_MODEL)dnl the default model ("NORMAL")
157
158CF_NCURSES_ADDON
159
160CF_WITH_LIB_PREFIX(cf_prefix)
161
162LIB_SUFFIX=
163AC_SUBST(LIB_SUFFIX)
164
165###############################################################################
166
167dnl Not all ports of gcc support the -g option
168
169if test X"$CC_G_OPT" = X"" ; then
170 CC_G_OPT='-g'
171 test -n "$GCC" && test "${ac_cv_prog_cc_g}" != yes && CC_G_OPT=''
172fi
173AC_SUBST(CC_G_OPT)
174
175AC_MSG_CHECKING(for default loader flags)
176case $DFT_LWR_MODEL in
177(normal) LD_MODEL='' ;;
178(debug) LD_MODEL=$CC_G_OPT ;;
179(profile) LD_MODEL='-pg';;
180(shared) LD_MODEL='' ;;
181esac
182AC_SUBST(LD_MODEL)dnl the type of link (e.g., -g or -pg)
183AC_MSG_RESULT($LD_MODEL)
184
185CF_SHARED_OPTS
186
187# The test/sample programs in the original tree link using rpath option.
188# Make it optional for packagers.
189if test -n "$LOCAL_LDFLAGS"
190then
191 AC_MSG_CHECKING(if you want to link sample programs with rpath option)
192 AC_ARG_ENABLE(rpath-link,
193 [ --enable-rpath-link link sample programs with rpath option],
194 [with_rpath_link=$enableval],
195 [with_rpath_link=yes])
196 AC_MSG_RESULT($with_rpath_link)
197 if test "$with_rpath_link" = no
198 then
199 LOCAL_LDFLAGS=
200 LOCAL_LDFLAGS2=
201 fi
202fi
203
204###############################################################################
205CF_HELP_MESSAGE(Fine-Tuning Your Configuration:)
206
207### use option --enable-broken-linker to force on use of broken-linker support
208AC_MSG_CHECKING(if you want broken-linker support code)
209AC_ARG_ENABLE(broken_linker,
210 [ --enable-broken_linker compile with broken-linker support code],
211 [with_broken_linker=$enableval],
212 [with_broken_linker=${BROKEN_LINKER:-no}])
213AC_MSG_RESULT($with_broken_linker)
214
215BROKEN_LINKER=0
216if test "$with_broken_linker" = yes ; then
217 AC_DEFINE(BROKEN_LINKER)
218 BROKEN_LINKER=1
219elif test "$DFT_LWR_MODEL" = shared ; then
220 case $cf_cv_system_name in
221 (cygwin*)
222 AC_DEFINE(BROKEN_LINKER)
223 BROKEN_LINKER=1
224 CF_VERBOSE(cygwin linker is broken anyway)
225 ;;
226 esac
227fi
228AC_SUBST(BROKEN_LINKER)
229
230# Check to define _XOPEN_SOURCE "automatically"
231CF_XOPEN_SOURCE
232
233CF_LARGEFILE
234
235### Enable compiling-in rcs id's
236AC_MSG_CHECKING(if RCS identifiers should be compiled-in)
237AC_ARG_WITH(rcs-ids,
238 [ --with-rcs-ids compile-in RCS identifiers],
239 [with_rcs_ids=$withval],
240 [with_rcs_ids=no])
241AC_MSG_RESULT($with_rcs_ids)
242test "$with_rcs_ids" = yes && AC_DEFINE(USE_RCS_IDS,1,[Define to 1 if RCS identifiers should be compiled-in)])
243
244###############################################################################
245CF_HELP_MESSAGE(Extensions:)
246
247### Note that some functions (such as const) are normally disabled anyway.
248AC_MSG_CHECKING(if you want to build with function extensions)
249AC_ARG_ENABLE(ext-funcs,
250 [ --disable-ext-funcs disable function-extensions],
251 [with_ext_funcs=$enableval],
252 [with_ext_funcs=yes])
253AC_MSG_RESULT($with_ext_funcs)
254if test "$with_ext_funcs" = yes ; then
255 NCURSES_EXT_FUNCS=1
256 AC_DEFINE(HAVE_USE_DEFAULT_COLORS,1,[Define to 1 if we have use_default_colors function])
257 AC_DEFINE(NCURSES_EXT_FUNCS,1,[Define to 1 if we have ncurses extended functions])
258else
259 NCURSES_EXT_FUNCS=0
260fi
261AC_SUBST(NCURSES_EXT_FUNCS)
262
263### use option --enable-const to turn on use of const beyond that in XSI.
264AC_MSG_CHECKING(for extended use of const keyword)
265AC_ARG_ENABLE(const,
266 [ --enable-const compile with extra/non-standard const],
267 [with_ext_const=$enableval],
268 [with_ext_const=no])
269AC_MSG_RESULT($with_ext_const)
270NCURSES_CONST='/*nothing*/'
271if test "$with_ext_const" = yes ; then
272 NCURSES_CONST=const
273fi
274AC_SUBST(NCURSES_CONST)
275
276###############################################################################
277# These options are relatively safe to experiment with.
278CF_HELP_MESSAGE(Development Code:)
279AC_MSG_CHECKING(if you want all development code)
280AC_ARG_WITH(develop,
281 [ --without-develop disable development options],
282 [with_develop=$withval],
283 [with_develop=no])
284AC_MSG_RESULT($with_develop)
285
286###############################################################################
287# These are just experimental, probably should not be in a package:
288CF_HELP_MESSAGE(Experimental Code:)
289
290# This is still experimental (20080329), but should ultimately be moved to
291# the script-block --with-normal, etc.
292CF_WITH_PTHREAD
293
294AC_MSG_CHECKING(if you want to use weak-symbols for pthreads)
295AC_ARG_ENABLE(weak-symbols,
296 [ --enable-weak-symbols enable weak-symbols for pthreads],
297 [use_weak_symbols=$withval],
298 [use_weak_symbols=no])
299AC_MSG_RESULT($use_weak_symbols)
300if test "$use_weak_symbols" = yes ; then
301 CF_WEAK_SYMBOLS
302else
303 cf_cv_weak_symbols=no
304fi
305
306if test $cf_cv_weak_symbols = yes ; then
307 AC_DEFINE(USE_WEAK_SYMBOLS,1,[Define to 1 to enable weak-symbols for pthreads])
308fi
309
310PTHREAD=
311if test "$with_pthread" = "yes" ; then
312 AC_DEFINE(USE_PTHREADS,1,[Define to 1 to use the pthreads library])
313 enable_reentrant=yes
314 if test $cf_cv_weak_symbols = yes ; then
315 PTHREAD=-lpthread
316 fi
317fi
318AC_SUBST(PTHREAD)
319
320# OpenSUSE is installing ncurses6, using reentrant option.
321AC_CHECK_FUNC(_nc_TABSIZE,[assume_reentrant=yes], [assume_reentrant=no])
322
323# Reentrant code has to be opaque; there's little advantage to making ncurses
324# opaque outside of that, so there is no --enable-opaque option. We can use
325# this option without --with-pthreads, but this will be always set for
326# pthreads.
327AC_MSG_CHECKING(if you want experimental reentrant code)
328AC_ARG_ENABLE(reentrant,
329 [ --enable-reentrant compile with experimental reentrant code],
330 [with_reentrant=$enableval],
331 [with_reentrant=$assume_reentrant])
332AC_MSG_RESULT($with_reentrant)
333if test "$with_reentrant" = yes ; then
334 cf_cv_enable_reentrant=1
335 if test $cf_cv_weak_symbols = yes ; then
336 CF_REMOVE_LIB(LIBS,$LIBS,pthread)
337 elif test "$assume_reentrant" = no ; then
338 LIB_SUFFIX="t${LIB_SUFFIX}"
339 fi
340 AC_DEFINE(USE_REENTRANT,1,[Define to 1 to compile with experimental reentrant code])
341else
342 cf_cv_enable_reentrant=0
343fi
344AC_SUBST(cf_cv_enable_reentrant)
345
346### Allow using a different wrap-prefix
347if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then
348 AC_MSG_CHECKING(for prefix used to wrap public variables)
349 AC_ARG_WITH(wrap-prefix,
350 [ --with-wrap-prefix=XXX override prefix used for public variables],
351 [NCURSES_WRAP_PREFIX=$withval],
352 [NCURSES_WRAP_PREFIX=_nc_])
353 AC_MSG_RESULT($NCURSES_WRAP_PREFIX)
354else
355 NCURSES_WRAP_PREFIX=_nc_
356fi
357AC_SUBST(NCURSES_WRAP_PREFIX)
358AC_DEFINE_UNQUOTED(NCURSES_WRAP_PREFIX,"$NCURSES_WRAP_PREFIX",[Define to override _nc_ ncurses internal prefix])
359
360###############################################################################
361CF_HELP_MESSAGE(Testing/development Options:)
362
363### use option --disable-echo to suppress full display compiling commands
364CF_DISABLE_ECHO
365
366### use option --enable-warnings to turn on all gcc warnings
367AC_MSG_CHECKING(if you want to see compiler warnings)
368AC_ARG_ENABLE(warnings,
369 [ --enable-warnings build: turn on GCC compiler warnings],
370 [with_warnings=$enableval])
371AC_MSG_RESULT($with_warnings)
372
373if test "x$with_warnings" = "xyes"; then
374 CF_ADD_ADAFLAGS(-gnatg)
375 CF_GCC_WARNINGS(Wno-unknown-pragmas Wswitch-enum)
376fi
377CF_GCC_ATTRIBUTES
378
379### use option --enable-assertions to turn on generation of assertion code
380AC_MSG_CHECKING(if you want to enable runtime assertions)
381AC_ARG_ENABLE(assertions,
382 [ --enable-assertions test: turn on generation of assertion code],
383 [with_assertions=$enableval],
384 [with_assertions=no])
385AC_MSG_RESULT($with_assertions)
386if test -n "$GCC"
387then
388 if test "$with_assertions" = no
389 then
390 CPPFLAGS="$CPPFLAGS -DNDEBUG"
391 else
392 CF_ADD_ADAFLAGS(-gnata)
393 fi
394fi
395
396### use option --disable-leaks to suppress "permanent" leaks, for testing
397AC_DEFINE(HAVE_NC_ALLOC_H,1,[Define to 1 if we have nc_alloc.h header])
398
399### use option --enable-expanded to generate certain macros as functions
400AC_ARG_ENABLE(expanded,
401 [ --enable-expanded test: generate functions for certain macros],
402 [test "$enableval" = yes && AC_DEFINE(NCURSES_EXPANDED,1,[Define to 1 if ncurses macros should be expanded as functions])])
403
404### use option --disable-macros to suppress macros in favor of functions
405AC_ARG_ENABLE(macros,
406 [ --disable-macros test: use functions rather than macros],
407 [test "$enableval" = no && AC_DEFINE(NCURSES_NOMACROS,1,[Define to 1 if ncurses macros should be expanded as functions])])
408
409# Normally we only add trace() to the debug-library. Allow this to be
410# extended to all models of the ncurses library:
411cf_all_traces=no
412case "$CFLAGS $CPPFLAGS" in
413(*-DTRACE*)
414 cf_all_traces=yes
415 ;;
416esac
417
418AC_MSG_CHECKING(whether to add trace feature to all models)
419AC_ARG_WITH(trace,
420[ --with-trace test: add trace() function to all models of ncurses],
421[cf_with_trace=$withval],
422[cf_with_trace=$cf_all_traces])
423AC_MSG_RESULT($cf_with_trace)
424
425if test "$cf_with_trace" = yes ; then
426 ADA_TRACE=TRUE
427 CF_ADD_CFLAGS(-DTRACE)
428else
429 ADA_TRACE=FALSE
430fi
431
432AC_SUBST(ADA_TRACE)
433
434CF_DISABLE_GNAT_PROJECTS
435
436### Checks for libraries.
437case $cf_cv_system_name in
438(*mingw32*)
439 ;;
440(*)
441AC_CHECK_FUNC(gettimeofday,
442 AC_DEFINE(HAVE_GETTIMEOFDAY),[
443
444AC_CHECK_LIB(bsd, gettimeofday,
445 AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday])
446 LIBS="$LIBS -lbsd")])dnl CLIX: bzero, select, gettimeofday
447 ;;
448esac
449
450### Checks for header files.
451AC_STDC_HEADERS
452AC_HEADER_DIRENT
453AC_HEADER_TIME
454
455### checks for compiler characteristics
456AC_LANG_C
457AC_C_CONST
458
459### Checks for external-data
460CF_LINK_DATAONLY
461
462### Checks for library functions.
463CF_MKSTEMP
464
465dnl We'll do our own -g libraries, unless the user's overridden via $CFLAGS
466if test -z "$cf_user_CFLAGS" && test "$with_no_leaks" = no ; then
467 CF_STRIP_G_OPT(CFLAGS)
468 CF_STRIP_G_OPT(CXXFLAGS)
469fi
470
471CF_HELP_MESSAGE(Ada95 Binding Options:)
472cf_with_ada=yes
473dnl Check for availability of GNU Ada Translator (GNAT).
474dnl At the moment we support no other Ada95 compiler.
475if test "$cf_with_ada" != "no" ; then
476 CF_PROG_GNAT
477 if test "$cf_cv_prog_gnat_correct" = yes; then
478 CF_FIXUP_ADAFLAGS
479
480 CF_GNATPREP_OPT_T
481
482 CF_GNAT_GENERICS
483 CF_GNAT_SIGINT
484 CF_GNAT_PROJECTS
485
486 CF_WITH_ADA_COMPILER
487
488 cf_ada_package=terminal_interface
489 AC_SUBST(cf_ada_package)
490
491 CF_WITH_ADA_INCLUDE
492 CF_WITH_ADA_OBJECTS
493 CF_WITH_ADA_SHAREDLIB
494 else
495 AC_MSG_ERROR(No usable Ada compiler found)
496 fi
497else
498 AC_MSG_ERROR(The Ada compiler is needed for this package)
499fi
500
501################################################################################
502
503# not needed
504TINFO_LDFLAGS2=
505AC_SUBST(TINFO_LDFLAGS2)
506TINFO_LIBS=
507AC_SUBST(TINFO_LIBS)
508
509### Construct the list of include-directories to be generated
510CF_INCLUDE_DIRS
511CF_ADA_INCLUDE_DIRS
512
513### Build up pieces for makefile rules
514AC_MSG_CHECKING(default library suffix)
515CF_LIB_TYPE($DFT_LWR_MODEL,DFT_ARG_SUFFIX)dnl
516AC_SUBST(DFT_ARG_SUFFIX)dnl the string to append to "-lncurses" ("")
517AC_MSG_RESULT($DFT_ARG_SUFFIX)
518
519AC_MSG_CHECKING(default library-dependency suffix)
520CF_LIB_SUFFIX($DFT_LWR_MODEL,DFT_LIB_SUFFIX,DFT_DEP_SUFFIX)dnl
521AC_SUBST(DFT_DEP_SUFFIX)dnl the corresponding library-suffix (".a")
522AC_MSG_RESULT($DFT_DEP_SUFFIX)
523
524AC_MSG_CHECKING(default object directory)
525CF_OBJ_SUBDIR($DFT_LWR_MODEL,DFT_OBJ_SUBDIR)dnl
526AC_SUBST(DFT_OBJ_SUBDIR)dnl the default object-directory ("obj")
527AC_MSG_RESULT($DFT_OBJ_SUBDIR)
528
529### Set up low-level terminfo dependencies for makefiles.
530
531if test "$DFT_LWR_MODEL" = shared ; then
532 case $cf_cv_system_name in
533 (cygwin*)
534 # "lib" files have ".dll.a" suffix, "cyg" files have ".dll"
535 ;;
536 (msys*)
537 # "lib" files have ".dll.a" suffix, "msys-" files have ".dll"
538 ;;
539 esac
540fi
541
542USE_CFG_SUFFIX=${DFT_ARG_SUFFIX}
543AC_SUBST(USE_CFG_SUFFIX)
544
545### Construct the list of subdirectories for which we'll customize makefiles
546### with the appropriate compile-rules.
547
548SUB_MAKEFILES="gen/adacurses${USE_ARG_SUFFIX}-config:gen/adacurses-config.in"
549
550AC_DEFINE_UNQUOTED(NCURSES_PATHSEP,'$PATH_SEPARATOR',[Define to override ':' as the library path-separator])
551
552### Now that we're done running tests, add the compiler-warnings, if any
553CF_ADD_CFLAGS($EXTRA_CFLAGS)
554
555################################################################################
556
557TEST_ARG2=
558AC_SUBST(TEST_ARG2)
559
560TEST_LIBS2=
561AC_SUBST(TEST_LIBS2)
562
563dnl for separate build, this is good enough for "sh $(top_srcdir)/misc/shlib"
564NCURSES_SHLIB2="sh -c"
565AC_SUBST(NCURSES_SHLIB2)
566
567ADA_SUBDIRS="include gen src doc"
568if test "x$cf_with_tests" != "xno" ; then
569 ADA_SUBDIRS="$ADA_SUBDIRS samples"
570fi
571for cf_dir in $ADA_SUBDIRS
572do
573 SUB_MAKEFILES="$SUB_MAKEFILES $cf_dir/Makefile"
574done
575AC_SUBST(ADA_SUBDIRS)
576
577NCURSES_TREE="#"
578AC_SUBST(NCURSES_TREE)
579
580EXTERNAL_TREE=
581AC_SUBST(EXTERNAL_TREE)
582
583# match layout used by make-tar.sh
584ADAHTML_DIR=../doc/ada
585AC_SUBST(ADAHTML_DIR)
586
587AC_OUTPUT( \
588 $SUB_MAKEFILES \
589 doc/adacurses${DFT_ARG_SUFFIX}-config.1:doc/MKada_config.in \
590 Makefile,[
591if test -z "$USE_OLD_MAKERULES" ; then
592 $AWK -f $srcdir/mk-1st.awk <$srcdir/src/modules >>src/Makefile
593fi
594],[
595### Special initialization commands, used to pass information from the
596### configuration-run into config.status
597
598AWK="$AWK"
599DFT_ARG_SUFFIX="$DFT_ARG_SUFFIX"
600DFT_LWR_MODEL="$DFT_LWR_MODEL"
601LIB_NAME="$LIB_NAME"
602LIB_PREFIX="$LIB_PREFIX"
603LIB_SUFFIX="$LIB_SUFFIX"
604LN_S="$LN_S"
605NCURSES_MAJOR="$NCURSES_MAJOR"
606NCURSES_MINOR="$NCURSES_MINOR"
607NCURSES_PATCH="$NCURSES_PATCH"
608USE_OLD_MAKERULES="$USE_OLD_MAKERULES"
609cf_cv_abi_version="$cf_cv_abi_version"
610cf_cv_rel_version="$cf_cv_rel_version"
611cf_cv_rm_so_locs="$cf_cv_rm_so_locs"
612cf_cv_shared_soname='$cf_cv_shared_soname'
613cf_cv_shlib_version="$cf_cv_shlib_version"
614cf_cv_shlib_version_infix="$cf_cv_shlib_version_infix"
615cf_cv_system_name="$cf_cv_system_name"
616host="$host"
617target="$target"
618
619],cat)dnl
620${MAKE:-make} preinstall