1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

252 Commits

Author SHA1 Message Date
Karl Heuer
37cdb177b8 Check whether fmod exists. 1994-02-01 23:17:03 +00:00
Roland McGrath
d317463ce3 To define USE_X_TOOLKIT, check for $USE_X_TOOLKIT being != "no", not =
"yes" (it might be "athena" or somesuch).
1994-01-22 23:18:14 +00:00
Richard M. Stallman
c6a9d2511a (with_x_toolkit): Treat values athena and lucid alike. 1994-01-21 06:37:05 +00:00
Richard M. Stallman
1c4ce111de Handle --with-x-toolkit. Produce lwlib/Makefile.
Substitute USE_X_TOOLKIT as both C macro and Make variable.

If CPP has a value that is a directory, discard the value.
1994-01-20 14:39:31 +00:00
Roland McGrath
dace61c11f (srcdir_undefs): Add g flag to sed substitution to remove -U[0-9]*. 1994-01-16 09:58:31 +00:00
Richard M. Stallman
5b46c38300 Provide for variable LD_SWITCH_X_SITE_AUX. (See src/s/sol2.h.) 1994-01-15 15:18:19 +00:00
Richard M. Stallman
d8e16cd273 (m68k-harris-cxux*, m88k-harris-cxux*): New configs. 1994-01-14 18:09:50 +00:00
Roland McGrath
47241a651a (creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
be; hopefully noone will again see fit to gratuitously break this and not
make a change log entry.  Optimized sed processing of Makefile.in and cpp
output; now preserves comments previously removed from the cpp input.
Eliminated temp file for cpp output.
Generate -U switches to undefine all identifiers that appear in the
directory name ${srcdir}; pass these to cpp.
1994-01-09 00:36:27 +00:00
Roland McGrath
e773d20a7b (version): Fix sed regexp to match two-elt version number. 1994-01-08 22:06:34 +00:00
Roland McGrath
5dd53b997d Check for strerror. 1994-01-08 21:37:31 +00:00
Richard M. Stallman
76d1726a00 Test for bcmp. 1994-01-07 05:55:40 +00:00
Richard M. Stallman
91d39bf04a (i[34]86-*-*): Check for *-nextstop*. 1994-01-01 17:15:40 +00:00
Richard M. Stallman
624e2ec38c (m68*-next-*): Don't care about which os is specified. 1994-01-01 17:12:22 +00:00
Richard M. Stallman
bd7a1ebba7 Check for setsid. 1993-12-25 01:43:19 +00:00
Richard M. Stallman
9c34bd79b7 (*-sun-solaris*): Add special case for Solaris 2.3.
(i860-*-sysv4): Renamed from i860-*-sysvr4.

(LIBS): Add test for existence of XSetWMProtocols.

(solaris): Set NON_GNU_CPP instead of CPP.
Set it for all solaris versions.
(mips-mips-riscos4*): Set NON_GNU_CC, not CC.
(after checking for GCC): If not GCC, and NON_GNU_CPP is set, set CPP.
Likewise for NON_GNU_CC and CC.

(mips-mips-riscos4*): Assign variable CC.
(checking ${with_gcc}): If "no", don't override CC if already set.
(CC): Initialize it as empty.

(Suns): Set CPP if *-solaris2.3*.
1993-12-24 02:26:57 +00:00
Richard M. Stallman
14442cbfd8 (i[34]86-ncr-sysv*): New specific alternative. 1993-11-21 09:02:45 +00:00
Richard M. Stallman
7f291b64ee (version): When --run-in-place, exclude
${datadir}/emacs/site-lisp from locallisppath.
1993-11-20 06:04:07 +00:00
Richard M. Stallman
561d8c56aa Delete jumk.c before writing it. 1993-11-18 05:57:17 +00:00
Richard M. Stallman
bdb6dc9dc6 (creating src/Makefile): Before running cpp,
discard all lines that start with `# Generated' or /**/#.
1993-11-15 01:26:54 +00:00
Richard M. Stallman
22b092ef9e (creating src/Makefile): Before running cpp,
discard all lines that start with # or /**/#.
1993-11-13 10:02:57 +00:00
Brian Fox
1052acbf95 Make sure that config.status contains the correct commands for
rebuilding src/Makefile.
1993-10-05 00:54:01 +00:00
Roland McGrath
eb8a344d52 (extrasub): Add vpath patterns for %.[yls]. 1993-10-03 23:11:06 +00:00
Roland McGrath
879dea9384 Don't do seddery on config.status after AC_OUTPUT.
Instead just include the commands to make src/Makefile as the second arg to
AC_OUTPUT.
1993-10-03 21:18:51 +00:00
Roland McGrath
bbe097d0a5 Use : instead of dnl for comment inside $makefile_command. 1993-10-03 20:43:37 +00:00
Roland McGrath
916758115d No longer use vpath_sed. Instead, when we notice srcdir already
configured, set extrasub to hack vpath in the makefiles.
1993-10-03 20:41:20 +00:00
Roland McGrath
ca40a31326 In cmds to make src/Makefile, chmod Makefile.new before moving it. 1993-10-03 19:57:50 +00:00
Brian Fox
6703f6cdbd Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
copy src/Makefile.in instead.  Touch all of the Makefiles after
editing config.status.
1993-09-30 23:11:45 +00:00
Brian Fox
cedb6c1b97 Allow any of the path or directory Makefile variables to be set with
flags to configure.  Create all Makefiles at configure time.  Edit
special commands into config.status after src/Makefile.in is built
from src/Makefile.  Don't AC_SUBST rip_paths or inst_paths.
1993-09-28 09:28:09 +00:00
Brian Fox
7a5e089152 Avoid forcing the search of /usr/include before fixed include files by
resetting C_SWITCH_X_SITE if it is "-I/usr/include".
1993-09-24 07:07:22 +00:00
Richard M. Stallman
dce3d8a95c Use "sh -c pwd" when we want to avoid having the
shell fix up the value of $PWD.
1993-09-19 20:04:21 +00:00
Roland McGrath
e16b32b045 Use AC_QUOTE_SQUOTE twice to properly quote vpath_sed value.
Remove ${extra_output} from AC_OUTPUT call.
1993-09-19 19:54:04 +00:00
Richard M. Stallman
d91a343ed6 Test for res_init in libc. 1993-09-16 20:08:34 +00:00
Richard M. Stallman
0028bd66b4 In the file ${tempcname}, use configure___ instead of @configure@. 1993-09-16 15:34:08 +00:00
Roland McGrath
acd399a1c7 Substitute variable `vpath_sed'.
If not in $srcdir and $srcdir is configured,
issue warning that GNU make is required,
and set vpath_sed to use vpath.sed script.
1993-09-12 10:47:34 +00:00
Roland McGrath
dbf6ad3d3e Remove check for $srcdir being configured. This pretty much works now.
Grok {m68*-hp,i[34]86-*}-netbsd* and set opsys=netbsd.
Check for XFree86 (/usr/X386/include) independent of whether -lXbsd exists.
1993-09-10 06:08:27 +00:00
Richard M. Stallman
342077745e (i386-*-sunos4): Assume Sunos 4.0. 1993-08-14 05:32:25 +00:00
Richard M. Stallman
1c0feb6700 Check for XScreenNumberOfScreen.
Add * to end of all configuration alternatives.
(m68*-sony-newsos3*): New alternative.

For --help, use $PAGER if it is set.
(LIB_X11_LIB): Default to -lX11.
(mips-sgi-irix5.*): New alternative.

(m68*-hp-hpux*, hppa*-hp-hpux*): Recognize *.B8.* as hpux version 8.
(m68*-tektronix-bsd*): Fix typo in tek4300.
(AC_HAVE_FUNCS): Add ftime.
1993-08-13 22:18:34 +00:00
Richard M. Stallman
0d33a6902c (m88k-tektronix-sysv3*): Added the missing *.
Use tekxd88, not tekXD88.
1993-08-10 21:30:51 +00:00
Roland McGrath
3f469c2e5e Check for -lm. Then can check for frexp and logb. 1993-08-10 18:16:48 +00:00
Richard M. Stallman
d5aac16a2a (machine): Add i370-ibm-aix*. 1993-08-05 21:16:04 +00:00
Jim Blandy
d50a54c0f1 * configure.in (function checks): Test for mkdir and rmdir.
* configure.in (function checks): Don't test for random and bcopy
only when we're building with X; look for them all the time.
1993-08-03 06:57:03 +00:00
Jim Blandy
8686888e2c * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
and #define HAVE_AIX_SMT_EXP if we do.  This is present in some
versions of AIX, and needs to be passed to the loader.
1993-07-31 01:40:35 +00:00
Jim Blandy
9b7cd36694 * configure.in: Test for the availablility of the
XScreenResourceString function.
1993-07-31 01:34:30 +00:00
Jim Blandy
f5ad956022 * configure.in: Test for availability of bcopy functions, searching
the X libraries if we're using X.
1993-07-31 01:07:38 +00:00
Jim Blandy
825e4ec2b9 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
LD_SWITCH_X_SITE and assume --with-x11.
Only look for X11 files if we weren't told about a window system
or if we were told to use X11 but not told where.
Search the libraries from the s and/or m files when checking for
functions.

* configure.in: Remove any trailing slashes in prefix and exec_prefix.
1993-07-31 00:55:39 +00:00
Richard M. Stallman
9b973fd79b Add code to set HAVE_INET_SOCKETS. 1993-07-30 07:55:42 +00:00
Richard M. Stallman
7c7b8f9d15 Fix up previous change. 1993-07-21 22:12:08 +00:00
Richard M. Stallman
f6f32e5a43 If we do find x_includes and x_libraries
via AC_FIND_X, set C_SWITCH_X_SITE and LD_SWITCH_X_SITE.
1993-07-21 22:06:56 +00:00
Richard M. Stallman
7e39a592c3 (testing x_includes and x_libraries): Use =, not ==. 1993-07-19 19:42:58 +00:00
Richard M. Stallman
279271bab8 (canonical): New variable holds the canonicalized
configuration.  Don't alter `configuration'.  Use `configuration'
for Makefile.in for file naming.
1993-07-19 19:25:46 +00:00
Jim Blandy
6ec1f458d9 * configure.in (m68k-bull-sysv3): new config. 1993-07-18 06:11:06 +00:00
Jim Blandy
e740c737a0 * configure.in: Use the autoconf AC_FIND_X macro to try to find
the X Windows libraries.
1993-07-10 05:18:56 +00:00
Jim Blandy
d02e05d1ff * configure.in: Add --verbose flag. 1993-06-24 01:52:49 +00:00
Jim Blandy
564d75ed21 * configure.in: Only check for -lXbsd once. 1993-06-18 15:59:49 +00:00
Jim Blandy
22288fe16c * configure.in: Look for the closedir function. 1993-06-17 04:57:09 +00:00
Jim Blandy
b73fe83930 * configure.in (CPP): Autoconf sets this to a shell variable
reference, which doesn't work when it's edited into a makefile.
	Expand that variable reference.
1993-06-17 02:55:11 +00:00
Jim Blandy
ac0e6f3bc0 * configure.in: Add case for m88k-motorola-sysv4. 1993-06-16 22:02:28 +00:00
Jim Blandy
d69d8d1edc * configure.in: Move clause for PC-compatible i386 box to the end
of the case statement, to avoid masking configurations below.

	* configure.in: Add support for HP/UX versions 7, 8, and 9 on
	the HP 68000 machines.
1993-06-16 21:53:54 +00:00
Jim Blandy
b3fb7fc34e * configure.in: Move clause for PC-compatible i386 box to the end
of the case statement, to avoid masking configurations below.
1993-06-16 20:49:26 +00:00
Jim Blandy
30945baf85 * configure.in (version): Check the X libraries for XrmSetDatabase
and random, and see if we have -lXbsd.
1993-06-16 15:09:42 +00:00
Jim Blandy
efe15b83b9 * configure.in: Pass "-Isrc" to the CPP we run to examine the
s/*.h and m/*.h files.  Martin Tomes
	<mt00@controls.eurotherm.co.uk> says ISC Unix 3.0.1 needs it.
1993-06-11 06:36:45 +00:00
Richard M. Stallman
6992e6b7a7 Move i386-prime-sysv* and i386-sequent-bsd*
above the general i386 alternative.
1993-06-10 23:04:01 +00:00
Jim Blandy
fe5de4788f * configure.in: Use AC_LONG_FILE_NAMES. 1993-06-10 06:20:06 +00:00
Jim Blandy
b86d694ea0 * configure.in: Recognize configuration name for Data General
AViiON machines.
1993-06-10 05:46:10 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Jim Blandy
4b5a51c1fe * configure.in: Test for bison.
* Makefile.in (YACC): New variable.
	(lib-src/Makefile.in): Edit YACC into the makefile.

	* Makefile.in (YACC): New variable, to be set by top-level Makefile.
1993-06-09 04:06:57 +00:00
Jim Blandy
602dc898ea * configure.in: Remove extra ;; from hpux cases. 1993-06-08 07:21:54 +00:00
Jim Blandy
4ed216b38b * configure.in (CFLAGS): Don't set this according to the value of
the GCC shell variable.  Instead, consult the machine and system
	files for the values of C_OPTIMIZE_SWITCH and C_DEBUG_SWITCH, and
	test __GNUC__ while we're at it.

	* configure.in: Check to see if the system has -ldnet.
1993-06-08 07:18:40 +00:00
Jim Blandy
ea2c2e02db * configure.in (machine): Fix the versions in hpux version number test.
Do not guess based on cpu type.  Do check for explicit system version.
1993-06-08 07:17:32 +00:00
Richard M. Stallman
55c1a81993 Do NOT look for `unknown' as company name.
Fix typo in message.
1993-06-03 20:43:29 +00:00
Richard M. Stallman
49ee70e265 Handle 386bsd. 1993-06-01 04:12:00 +00:00
Richard M. Stallman
87a6b538cf Handle bsd386.
Change  ! "${...}"  to  x"${...}" = x  everywhere.
1993-05-31 21:28:10 +00:00
Richard M. Stallman
f2d5c40e65 Handle AIX versions 1.2, 1.3. 1993-05-31 04:24:14 +00:00
Jim Blandy
60e1b37f9c * configure.in: Use s/bsd4-3.h for mips-mips-riscos4, and add
the configuration name mips-mips-usg* to represent USG systems.
1993-05-30 21:46:11 +00:00
Jim Blandy
cc40a99ee0 * configure.in: Use s/bsd4-3.h for mips-mips-riscos4.
* configure.in: Fix logic to detect if srcdir is already configured.
1993-05-30 21:40:18 +00:00
Richard M. Stallman
426460bf35 When looking for sources, use '.', not .. Also '..'. 1993-05-30 18:56:45 +00:00
Jim Blandy
1b4357f452 * configure.in: Complain if srcdir points at an already-configured
tree.
1993-05-30 18:24:08 +00:00
Jim Blandy
26f186c236 * configure.in: Add case for the Tektronix XD88. 1993-05-29 20:52:45 +00:00
Richard M. Stallman
7846ef2c57 Handle sysv4.2 and sysvr4.2. 1993-05-29 20:31:06 +00:00
Jim Blandy
3517b2e9e1 * configure.in: Traverse the argument list without destroying it;
don't use shift.  It turns out that "set - ${saved_arguments}"
	doesn't work portably.
1993-05-29 20:07:50 +00:00
Jim Blandy
1d4889501d * configure.in: Add missing "fi". 1993-05-29 19:41:13 +00:00
Richard M. Stallman
d20c62bf57 (romp): Handle various version numbers with aos and bsd. 1993-05-29 06:10:43 +00:00
Richard M. Stallman
57d9fc987d Fix message text. 1993-05-28 21:02:48 +00:00
Jim Blandy
c9ed10f6f5 * configure.in: If srcdir is '.', then try using PWD to make it
absolute.

	* configure.in: Include ${srcdir} in the printed report, to help
	people notice if it's an automounter path.
1993-05-28 04:52:55 +00:00
Jim Blandy
ac384e4f5d * configure.in: Extract UNEXEC from the system configuration
files, compute the name of the source file corresponding to the
	object file, and #define it as UNEXEC_SRC in config.h.
1993-05-28 04:33:12 +00:00
Jim Blandy
0871bc22df * configure.in (prefix): Don't run pwd on srcdir unnecessarily. 1993-05-28 03:24:51 +00:00
Richard M. Stallman
8428ef44fc Delete spurious paren outputting short_usage. 1993-05-27 22:02:16 +00:00
Jim Blandy
334e7c2394 * config.guess: New file.
* configure.in: Use it, tentatively.
1993-05-26 21:34:10 +00:00
Jim Blandy
252c8b3bc0 * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m;
the former gives you the operating system rev directly.  Use
	s/hpux.h if we don't recognize what we got.
1993-05-26 18:32:19 +00:00
Richard M. Stallman
7498a8713c Handle sunos4.1.3 specially. 1993-05-26 17:43:22 +00:00
Richard M. Stallman
48b05c935d At the end, use set --', not set -'.
Delete spurious `.h' in hpux alternatives.
1993-05-25 20:02:12 +00:00
Richard M. Stallman
97a983f472 Fix another message. 1993-05-25 18:07:11 +00:00
Richard M. Stallman
b735d4b34b Fix some messages. Support -with-gnu-cc. 1993-05-25 16:47:29 +00:00
Jim Blandy
64dacd0167 * configure.in: When looking for source in the same directory as
the configure script, make the path thus discovered absolute.
	If the user specifies the `--srcdir' switch, make that directory
	absolute too.
1993-05-25 14:15:30 +00:00
Jim Blandy
2e694846eb * configure.in: Check to see if the source lives in the same
directory as the configure script.
1993-05-25 04:56:17 +00:00
Jim Blandy
df4da582ba * configure.in: Recognize configuration names for i860 boxes
running SYSV.
1993-05-25 04:39:28 +00:00
Jim Blandy
6a5e824322 * configure.in: For generic IBM PC boxes, insist on "unknown" for
the manufacturer - the more general case was blocking other i386
	configuration names below, and that's how the names are written in
	MACHINES anyway.
1993-05-24 17:43:47 +00:00
Jim Blandy
44ee550f56 * configure.in: Doc fix. 1993-05-24 07:02:01 +00:00
Jim Blandy
86ddcc58d5 * configure.in: Add support for the `--exec-prefix' option.
* Makefile.in: Accept that support.

	* configure.in: Use the AC_PROG_INSTALL macro.
	* Makefile.in (INSTALL): Variable removed.
	(INSTALL_PROGRAM, INSTALL_DATA): Accept these values from configure.
1993-05-24 06:08:13 +00:00
Jim Blandy
c55f453be0 * configure.in: Distinguish between hp800's and hp700's by calling
"uname -m".

	* configure.in: Distinguish between hp800's and hp700's by calling
	"uname -m".
1993-05-24 05:06:15 +00:00
Jim Blandy
8fc40e801f * configure.in: Explain that this is an autoconf script, and give
instructions for rebuilding configure from it.  Arrange to put
	comments in configure explaining this too.
1993-05-23 21:04:16 +00:00
Jim Blandy
fa97f75654 * configure.in: Explain that this is an autoconf script. 1993-05-23 20:50:09 +00:00
Jim Blandy
de5d70c1e2 * configure.in: Make the first line of the configure script be
"#!/bin/sh".  Leaving the first line blank didn't work.
1993-05-23 20:39:16 +00:00
Jim Blandy
ae6756a26e * configure.in (long_usage): Removed; made short_usage describe
the options.

	* configure.in: Implement the --prefix option.
	* Makefile.in (prefix): Add support for it here.
1993-05-23 04:42:38 +00:00
Jim Blandy
4970bc095b * configure.in: Add case for version 5 of Esix. 1993-05-23 02:53:53 +00:00
Jim Blandy
9361e00505 * configure.in: Remove the hack of AC_DEFINE; use
AC_DEFINE_UNQUOTED.
1993-05-21 21:33:34 +00:00
Jim Blandy
d52c5f5823 * configure.in: Add AC_TIMEZONE. 1993-05-20 06:18:08 +00:00
Jim Blandy
1b6fca8c78 * configure.in: Recognize Linux as a valid operating system for
the i386.
1993-05-20 00:56:54 +00:00
Jim Blandy
00c564b505 * configure.in: Include remarks saying what order the autoconf
tests should go in, and remind people to change config.h.in
	whenever they add autoconf tests which make #definitions.
1993-05-18 22:51:56 +00:00
Jim Blandy
ddb7302160 Install ${srcdir} changes from DJM.
* Makefile.in (SUBDIR_MAKEFILES): Add oldXMenu/Makefile to this
	list.
	(COPYDIR, COPYDESTS): Install files from both the etc directory in
	the source tree and the etc directory in the object tree.
	(${SUBDIR}): Pass the prefix variable down to submakes.
	(everywhere): Use `sed', not `/bin/sed'.  Not all systems have sed
	in /bin.
	(lib-src/Makefile, src/Makefile, oldXMenu/Makefile): Edit in
	values for srcdir and VPATH.
	(install): Add `v' flag to tar command.  Make sure that `dir'
	exists in ${srcdir}/info before copying it.  Remember that the man
	pages come from the source tree, not the object tree.
	* configure.in: Remove remarks saying that the --srcdir option
	doesn't work.
	Create the etc directory in the object tree.
	Recognize configuration names of the form *-sun-solaris*.
	Recognize sunos5 and solaris as operating system names.
1993-05-15 22:57:27 +00:00
Jim Blandy
9397d45650 * configure.in: Use the AC_TIME_WITH_SYS_TIME macro, for
lib-src/getdate.y and src/systime.h.
1993-05-15 20:48:34 +00:00
Jim Blandy
d855a60363 * configure.in: Call AC_STDC_HEADERS. 1993-05-14 14:27:17 +00:00
Jim Blandy
942990d1fb Use pushdef and popdef, instead of saving the macro's value in a
variable.
1993-05-10 23:58:36 +00:00
Jim Blandy
0ca2af7c0b * configure.in: Sidestep autoconf's quoting of the second argument
of AC_DEFINE, so we can specify the value to put there.  It would
	be nice if autoconf provided some way to specify computed values
	for macros.
1993-05-10 19:20:56 +00:00
Jim Blandy
e447481751 The GNU coding standards specify that CFLAGS should be left for
users to set.
	* Makefile.in (CFLAGS): Let configure determine the default value
	for this.  Don't
	have it default to DEFS.
	(${SUBDIR}): Pass CFLAGS down to submakes, not DEFS.
	(lib-src/Makefile, src/Makefile): Edit the default value for
	CFLAGS into these files, not DEFS.
	* configure.in (CFLAGS): Choose a default value for this - "-g"
	normally, or "-g -O" if we're using GCC.  Edit it into the
	top-level Makefile.

	* configure.in: When scanning the machine and system description
	#include files, write their names to conftest.c properly.

	* configure.in: In configuration name case for Apallos running
	Domainios, set opsys, not opsysfile.

	* configure.in: Use the autoconf AC_CONFIG_HEADER macro to produce
	src/config.h, instead of AC_OUTPUT; the latter overwrites
	src/config.h even when it hasn't changed, puts a makefile-style
	comment at the top even though it's C code, and produces a
	config.status script which doesn't do the job right.

	* configure.in: Add AC_LN_S test, so we can tell whether or not we
	can use a symbolic link to get the X Menu library into src.
	* Makefile.in (LN_S): New variable.
	(src/Makefile): Edit the value of LN_S into this makefile.
1993-05-09 22:52:15 +00:00
Richard M. Stallman
ea6ecc214c Support *-sco3.2v4* as opsystem. 1993-05-06 18:42:47 +00:00
Jim Blandy
a6eb679769 * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and
call AC_STRUCT_TM to see what's in time.h.

	* configure.in: Employ quoting stupidity to get the value of CPP
	to expand properly.
1993-05-04 14:17:07 +00:00
Jim Blandy
c5f67786fe * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
variable to scan the machine and system description files.

	* configure.in: Use the AC_HAVE_HEADERS to check for sys/timeb.h,
	so that getdate.y builds correctly.

	* configure.in (tempcname): Change this to "conftest.c", so it will
	work properly on systems with short filenames; this is the name
	autoconf uses.

	* configure.in: Also detect the availability of dup2 and
	gethostname.

	* configure.in: Use the AC_ALLOCA test.
	* Makefile.in (ALLOCA): New variable, to be set by ./configure.
	(lib-src/Makefile): Edit the value of ALLOCA into lib-src/Makefile.

	* Makefile.in: Add autoconf cookies so that the configure
	script can comment out sections of path variable definitions to
	choose between the installable configuration and the run-in-place
	configuration.
	* configure.in: Add new option `--run-in-place', to select the
	run-in-place path definitions.

	* configure.in: Add a clause to the big configuration name case
	for the NeXT machine.
1993-05-03 02:07:41 +00:00
Jim Blandy
8ba83d8852 * configure.in: Don't set CC to "gcc -O" if the user specifies
`--with-gcc'.  Add -O to DEFS if GCC is set.
1993-04-10 08:30:27 +00:00
Jim Blandy
7d99494c50 * configure.in: When checking for X windows, search for an X11
subdirectory of ${x_includes}.

	* configure.in: Check for gettimeofday function, for getdate.y.

        Change `configure' to a mixture of custom code and autoconf stuff.
	autoconf can't derive all the information we need, but we'd really
	like to be able to take advantage of some of its tests, and its
	file-editing facilities.
	* configure.in: Renamed from configure.
	Quote the sections of shell script we want copied literally to
	the configure script.
	(compile): Initialize this to make the autoconf macros' code happy.
	Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out
	code to do their jobs.
	Use autoconf to produce Makefile and src/config.h.
	Remove the Makefile-style comment that autoconf places at the top
	of src/config.h.
	(config_h_opts): Removed - no longer necessary.
	* Makefile.in (configname): Renamed to configuration.
	(CONFIG_CFLAGS): Renamed to DEFS.
	(CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to
	get values via autoload @cookies@.
	(libsrc_libs): Get this from autoconf.  We used to do nothing
	about this.
	(${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS.
1993-04-10 06:02:36 +00:00
Jim Blandy
13244a040e * configure: Extend test for working `const' keyword to handle AIX
3.2 cc.
1993-03-30 20:33:58 +00:00
Jim Blandy
f071c05ae2 Fix typo in source for `configure.tmp.$$.c'. 1993-03-25 03:57:51 +00:00
Jim Blandy
80afd15ee0 Arrange for C compilation throughout the tree to get
C_SWITCH_SYSTEM from the configuration files.
	* configure: Extract C_SWITCH_SYSTEM from the machine and
	system-dependent files, and save it in the top-level Makefile.
	* Makefile.in (C_SWITCH_SYSTEM): New flag for configure to edit.
	(lib-src/Makefile): Edit C_SWITCH_SYSTEM into lib-src/Makefile.
1993-03-25 03:51:20 +00:00
Jim Blandy
b0209e1861 * configure: Doc fix.
* configure: Fix corrupted config_h_opts.

	* configure: Properly report option names in error messages.

	* configure: Properly recognize --x-includes and --x-libraries
	options.

	* configure: Fix syntax errors in code handling XFree386.
1993-03-25 01:14:34 +00:00
Jim Blandy
5d9aefc728 * configure: Add special code to detect XFree386, and tell
config.h about it.

	* configure: Properly handle extracting values of LIBS_MACHINE and
	LIBS_SYSTEM that contain spaces.
1993-03-23 06:54:37 +00:00
Jim Blandy
033791beb4 * configure: Add --x-includes' and --x-libraries' options. I
think these are dopey, but no less than three alpha testers, at
	large sites, have said they have their X files installed in odd
	places.  Implement them by setting C_SWITCH_X_SITE and
	LD_SWITCH_X_SITE in src/config.h.
1993-03-23 05:53:36 +00:00
Jim Blandy
9c7a7556b5 * configure: Add --x-includes' and --x-libraries' options. I
think these are dopey, but no less than three alpha testers, at
	large sites, have said they have their X files installed in odd
	places.
1993-03-23 05:31:35 +00:00
Jim Blandy
17a624d19a * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
make rs6000-ibm-aix default to -aix32.
1993-03-18 16:10:40 +00:00
Charles Hannum
05fa755b6f Recognize AIX 3.2 and make it the default for -aix. 1993-03-14 22:24:26 +00:00
Jim Blandy
3647c1717f * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
* configure: When processing the name of the configure script,
	collapse `././' to `./', but leave a single `./' prefix alone.

	* configure: Doc fix.

	* configure: Handle isc3.0 correctly.
1993-03-11 06:58:58 +00:00
Jim Blandy
6e8737f97c * configure: Handle isc3.0 correctly. This needs a more general
fix.
1993-03-04 14:43:09 +00:00
Jim Blandy
0443d6ce6d * configure: Detect whether the compiler supports `const'
properly, and edit src/config.h accordingly.

	* configure: Tweak layout of final report.
1993-02-22 14:12:11 +00:00
Jim Blandy
1bba56f6d7 * configure (progname): New option `--with-gcc'. Make it clearer
how we are trying to guess whether or not we have GCC.
	* INSTALL: Document the `--with-gcc' option, and improve
	description of `--with-x' options.
1993-02-14 14:25:18 +00:00
Jim Blandy
0691c17956 * configure: Start with a blank line; this keeps some old CSH's
from thinking it's a CSH script.  Most systems will just use
	/bin/sh to run it, which is what we're expecting; the only other
	shells which might try to interpret it themselves are probably
	Bourne-compatible.
1992-12-24 05:56:57 +00:00
Jim Blandy
e94740ce87 * configure: Don't make the top-level Makefile read-only - people
may want to edit the values of the path variables.

	Make path specification conform to GNU coding standards.
	* configure (long_usage): Remove all traces of old arguments from
	usage messages, and document the options we do accept in more
	detail: -with-x... and --srcdir.
	(options, boolean_opts): Deleted; we don't have enough options to
	make this worthwhile.
	(prefix, bindir, lisppath, datadir, libdir, lockdir): Deleted,
	along with the code which supported them; these should be set as
	arguments to the top-level make.
	(config_h_opts): Since this no longer doubles as a list of option
	names, make them upper case; this simplifies the code which uses
	them to build the sed command to edit src/config.h.  Change the
	code which sets them.
	(cc, g, O): Don't allow the user to set these using options; they
	should be specified using `CC=' and `CFLAGS=' arguments to the
	top-level make.  Just choose reasonable default values for them,
	and edit them into Makefile.in's default CC and CONFIG_CFLAGS
	values.
	(gnu_malloc, rel_alloc): Don't allow the user to set these using
	options; use them whenever the configuration files say they're
	possible.
	Simplify the argument processing loop.  Don't accept abbreviations
	for option names; these might conflict with other configuration
	options in the future.
	Add some support for the `--srcdir' option.  Check for the sources
	in . and .. if `--srcdir' is omitted.  If the directories we will
	compile in don't exist yet, create them under the current directory.
	Note that the rest of the build process doesn't really support
	this.
	Edit only the top Makefile.  That should edit the others.  Edit
	into the makefile: `version', from lisp/version.el, `configname'
	and `srcdir' from the configuration arguments, `CC' and
	`CONFIG_CFLAGS' as guessed from the presence or absence of GCC in
	the user's path, and LOADLIBES as gleaned from the system
	description files.
	Simplify the report generated; it doesn't need to include any
	description of paths now.
	Make `config.status' exec configure instead of just calling it, so
	there's no harm in overwriting `config.status'.
	* Makefile.in (version, configname): New variables, used to choose
	the default values for datadir and libdir.
	Path variables rearranged into two clearer groups:
	- In the first group are the variables specified by the GNU coding
	  standards (prefix, bindir, datadir, statedir, libdir, mandir,
	  manext, infodir, and srcdir).
	- In the second are the variables actually used for Emacs's paths
	  (lispdir, locallisppath, lisppath, buildlisppath, etcdir, lockdir,
	  archlibdir), which depend on the first category.
	datadir and libdir default to directories under
	${prefix}/lib/emacs instead of ${prefix}/emacs, by popular
	demand.
	etcdir and lispdir default to subdirectories of datadir.
	archlibdir defaults to libdir.
	The new installation tree is a bit deeper than it used to be, so
	use the new make-path program in lib-src to build them all.
	Always build a new src/paths.h.tmp and then move-if-change it to
	src/paths.h, to avoid unnecessary rebuilds while responding to the
	right changes.
	Remove all mention of arch-lib.  Run utility commands from
	lib-src, and let the executables be copied into archlibdir when
	Emacs is installed.
	Add targets for src/Makefile, lib-src/Makefile, and
	oldXMenu/Makefile, editing the values of the path variables into
	them.
	Let lib-src do its own installation.
	(datadir): Default to putting data files under
	${prefix}/lib/emacs/${version}, not /usr/local/emacs.
	(emacsdir): Variable deleted; it would only be confusing to use.
	(lispdir, etcdir): Default to ${datadir}/lisp.
	(mkdir): Use make-path for this.
	(lockdir): Do this in mkdir.
	(Makefile): New target.

	* configure (usage_message): Rename to long_usage.
1992-12-12 15:42:53 +00:00
Jim Blandy
0c22fbcab4 Now partially conforms with GNU coding standards. I'm only checking
it in to RCS so I can check my changes in with FSF Cambridge.
1992-12-06 22:12:37 +00:00
Jim Blandy
8509d50c36 * configure: Use GCC-style configuration names, using config.sub.
Change the usage and help messages.

	* configure: Initialize window_system, not indow_system.

	* configure: Report which window system, compiler, and signal
	handler return type we decide to use.
1992-11-20 17:08:32 +00:00
Jim Blandy
3a2308a0ae Wed Nov 4 15:09:07 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* configure: When editing parameters into lib-src/Makefile, change
	the definition of CONFIG_CFLAGS instead of CFLAGS itself; CFLAGS
	needs some other flags too.
1992-11-07 06:33:57 +00:00
Richard M. Stallman
411fca7309 Update LISP_FLOAT_TYPE in config.h. 1992-10-27 09:10:40 +00:00
Richard M. Stallman
f6766fff0a Update GNU_MALLOC and REL_ALLOC in config.h. 1992-10-27 09:07:23 +00:00
Jim Blandy
20d9a863df Partially changed to use GCC-style configuration names. 1992-10-17 22:07:23 +00:00
Richard M. Stallman
2c44309ae2 entered into RCS 1992-09-14 22:08:02 +00:00
Jim Blandy
b7cceaf12a *** empty log message *** 1992-09-13 10:54:38 +00:00
Jim Blandy
ef15f270db *** empty log message *** 1992-08-19 03:54:51 +00:00
Jim Blandy
9e2b097b26 *** empty log message *** 1992-08-12 12:57:12 +00:00
Jim Blandy
e5d77022e8 *** empty log message *** 1992-06-30 13:54:21 +00:00
Jim Blandy
a88b5c2573 *** empty log message *** 1992-06-09 23:02:56 +00:00
Jim Blandy
e065a56e2d *** empty log message *** 1992-05-10 18:15:10 +00:00
Jim Blandy
4746118aca *** empty log message *** 1992-04-24 08:11:54 +00:00
Jim Blandy
46947372a3 *** empty log message *** 1992-04-19 08:53:55 +00:00