# HG changeset patch # User jwe # Date 1020236925 0 # Node ID f54f5fb43d4375b0933fd3c25881501461c30071 # Parent 38c61cbf086cbafec864cab00b77050f52643515 [project @ 2002-05-01 07:08:45 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-05-01 John W. Eaton + + * configure.in (AC_AIX): Move before AC_MINIX and AC_ISC_POSIX. + (AH_BOTTOM): Move contents of acconfig.h here. + * acconfig.h: Delete. + 2002-04-27 John W. Eaton * configure.in (AC_CONFIG_FILES): Add libcruft/daspk/Makefile to diff --git a/acconfig.h b/acconfig.h deleted file mode 100644 --- a/acconfig.h +++ /dev/null @@ -1,59 +0,0 @@ -/* acconfig.h - - Descriptive text for the C preprocessor macros that are needed by - Octave. - - Leave the following blank line there!! Autoheader needs it. */ - - - - -/* Leave that blank line there!! Autoheader needs it. - If you're adding to this file, keep in mind: - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). */ - -@BOTTOM@ - -#if defined (__GNUC__) -#define GCC_ATTR_NORETURN __attribute__ ((__noreturn__)) -#define GCC_ATTR_UNUSED __attribute__ ((__unused__)) -#else -#define GCC_ATTR_NORETURN -#define GCC_ATTR_UNUSED -#endif - -#define CONST_CAST(T, E) (T) (E) - -#define DYNAMIC_CAST(T, E) (T) (E) - -#define REINTERPRET_CAST(T, E) (T) (E) - -#define STATIC_CAST(T, E) (T) (E) - -#define X_CAST(T, E) (T) (E) - -#define HEAVYWEIGHT_INDEXING 1 - -#define WITH_KPATHSEARCH 1 - -#if defined(HAVE_F2C) && !defined(F77_FUNC) -# define F77_FUNC(x,X) x ## _ -# define F77_FUNC_(x,X) x ## __ -#endif - -#if !defined(HAVE_DEV_T) -typedef dev_t short -#endif - -#if !defined(HAVE_INO_T) -typedef ino_t unsigned long -#endif - -#if !defined(HAVE_NLINK_T) -typedef nlink_t short -#endif - -#if !defined(HAVE_SIGSET_T) -typedef sigset_t int -#endif diff --git a/configure.in b/configure.in --- a/configure.in +++ b/configure.in @@ -22,7 +22,7 @@ ### 02111-1307, USA. AC_INIT -AC_REVISION($Revision: 1.357 $) +AC_REVISION($Revision: 1.358 $) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -31,9 +31,9 @@ OCTAVE_HOST_TYPE -AC_ISC_POSIX +AC_AIX AC_MINIX -AC_AIX +AC_ISC_POSIX ### some defaults @@ -1181,6 +1181,53 @@ AC_CONFIG_SUBDIRS(plplot) fi +### Some things to add to the bottom of config.h. + +AH_BOTTOM([ +#if defined (__GNUC__) +#define GCC_ATTR_NORETURN __attribute__ ((__noreturn__)) +#define GCC_ATTR_UNUSED __attribute__ ((__unused__)) +#else +#define GCC_ATTR_NORETURN +#define GCC_ATTR_UNUSED +#endif + +#define CONST_CAST(T, E) (T) (E) + +#define DYNAMIC_CAST(T, E) (T) (E) + +#define REINTERPRET_CAST(T, E) (T) (E) + +#define STATIC_CAST(T, E) (T) (E) + +#define X_CAST(T, E) (T) (E) + +#define HEAVYWEIGHT_INDEXING 1 + +#define WITH_KPATHSEARCH 1 + +#if defined(HAVE_F2C) && !defined(F77_FUNC) +# define F77_FUNC(x,X) x ## _ +# define F77_FUNC_(x,X) x ## __ +#endif + +#if !defined(HAVE_DEV_T) +typedef dev_t short +#endif + +#if !defined(HAVE_INO_T) +typedef ino_t unsigned long +#endif + +#if !defined(HAVE_NLINK_T) +typedef nlink_t short +#endif + +#if !defined(HAVE_SIGSET_T) +typedef sigset_t int +#endif +]) + ### Do the substitutions in all the Makefiles. AC_CONFIG_FILES([Makefile octMakefile Makeconf install-octave \ diff --git a/glob/ChangeLog b/glob/ChangeLog --- a/glob/ChangeLog +++ b/glob/ChangeLog @@ -1,3 +1,7 @@ +2002-05-01 John W. Eaton + + * configure.in: Add AC_CONFIG_HEADERS. + 2002-04-03 Steven G. Johnson * configure.in: Update for autoconf 2.5x. diff --git a/glob/configure.in b/glob/configure.in --- a/glob/configure.in +++ b/glob/configure.in @@ -2,6 +2,7 @@ AC_INIT AC_CONFIG_SRCDIR([fnmatch.c]) dnl A distinctive file to look for in srcdir. AC_PREREQ(2.52) dnl Minimum Autoconf version required. +AC_CONFIG_HEADER(config.h) AC_PROG_CC AC_CHECK_PROG(AR, ar, ar, ar) AC_PROG_RANLIB