Update to autoconf 2.53

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13574 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-05-02 15:17:54 +00:00
parent f48f856447
commit fff1d729f8
5 changed files with 3543 additions and 1087 deletions

View file

@ -1,3 +1,9 @@
2002-05-02 Adam Fedor <fedor@gnu.org>
* configure.ac: Update to autoconf 2.53 from configure.in
* configure, Headers/gnustep/gui/config.h.in: Regenerate.
* Headers/gnustep/gui/config.h.bot: Remove.
2002-05-01 Adam Fedor <fedor@gnu.org>
* Source/NSView.m (-resizeWithOldSuperviewSize:): Check supeview

View file

@ -1,15 +0,0 @@
/* Define for those who don't have rintf and/or rint */
#ifndef HAVE_RINTF
#define rintf rint
#endif
#ifndef HAVE_RINT
#define DEFINE_RINT_IF_MISSING \
static double rint(double a) \
{ \
return (floor(a+0.5)); \
}
#else
#define DEFINE_RINT_IF_MISSING
#endif

View file

@ -1,13 +1,59 @@
/* Headers/gnustep/gui/config.h.in. Generated automatically from configure.in by autoheader. */
/* Headers/gnustep/gui/config.h.in. Generated from configure.ac by autoheader. */
/* Define if you have the rint function. */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `m' library (-lm). */
#undef HAVE_LIBM
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `rint' function. */
#undef HAVE_RINT
/* Define if you have the rintf function. */
/* Define to 1 if you have the `rintf' function. */
#undef HAVE_RINTF
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define for those who don't have rintf and/or rint */
#ifndef HAVE_RINTF

4520
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -22,14 +22,11 @@
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
AC_INIT(Source/NSApplication.m)
AC_INIT
AC_CONFIG_SRCDIR([Source/NSApplication.m])
if test -z "$GNUSTEP_SYSTEM_ROOT"; then
{
echo "ERROR: You must run the GNUstep initialization script before configuring the gui library!" 1>&2;
exit 1;
}
AC_MSG_ERROR([You must run the GNUstep initialization script first!])
fi
#--------------------------------------------------------------------
@ -42,7 +39,7 @@ AC_CONFIG_HEADER(Headers/gnustep/gui/config.h)
#--------------------------------------------------------------------
# Determine the host, build, and target systems
#--------------------------------------------------------------------
AC_CANONICAL_SYSTEM
AC_CANONICAL_TARGET([])
#--------------------------------------------------------------------
# The following is so that headers and custom libraries
@ -229,7 +226,27 @@ AC_SUBST(ADDITIONAL_LIB_DIRS)
AC_SUBST(ADDITIONAL_INCLUDE_DIRS)
AC_SUBST(ADDITIONAL_DEPENDS)
AC_OUTPUT(config.make gui.make Headers/gnustep/gui/GSVersion.h)
#--------------------------------------------------------------------
# Configure
#--------------------------------------------------------------------
AH_BOTTOM([
/* Define for those who don't have rintf and/or rint */
#ifndef HAVE_RINTF
#define rintf rint
#endif
#ifndef HAVE_RINT
#define DEFINE_RINT_IF_MISSING \
static double rint(double a) \
{ \
return (floor(a+0.5)); \
}
#else
#define DEFINE_RINT_IF_MISSING
#endif
])
AC_CONFIG_FILES([config.make gui.make Headers/gnustep/gui/GSVersion.h])
AC_OUTPUT