# HG changeset patch # User jwe # Date 827830021 0 # Node ID 86d6c42c192af02a8798ffb5b8595c77ca3ffdf4 # Parent 1d249e745b33074692a34fd7997577d8c9a291a7 [project @ 1996-03-26 08:46:39 by jwe] diff --git a/Makeconf.in b/Makeconf.in --- a/Makeconf.in +++ b/Makeconf.in @@ -76,6 +76,8 @@ DEFS = @DEFS@ +UGLY_DEFS = @UGLY_DEFS@ + CC = @CC@ CC_VERSION = @CC_VERSION@ CFLAGS = @CFLAGS@ diff --git a/configure.in b/configure.in --- a/configure.in +++ b/configure.in @@ -20,7 +20,7 @@ ### along with Octave; see the file COPYING. If not, write to the Free ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_REVISION($Revision: 1.177 $) +AC_REVISION($Revision: 1.178 $) AC_PREREQ(2.0) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -950,6 +950,15 @@ AC_MSG_RESULT([defining DEFAULT_PAGER to be $DEFAULT_PAGER]) fi +### Even though we include config.h, we need to have the preprocessor +### defines available in a variable for the octave-bug script. Use +### UGLY_DEFS for that. + +AC_OUTPUT_MAKE_DEFS +UGLY_DEFS="$DEFS" +AC_MSG_RESULT([defining UGLY_DEFS to be $UGLY_DEFS]) +AC_SUBST(UGLY_DEFS) + ### Maybe add -Wall to compiler flags now that we're done feature ### testing. ###