Commit 064ed1e4 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

sigsetjmp is macroized in some places, so use AC_TRY_LINK instead of

Sun Nov  4 17:36:08 2001  Manish Singh  <yosh@gimp.org>

        * acconfig.h configure.in: sigsetjmp is macroized in some places,
        so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
parent 3be9ce0e
Sun Nov 4 17:36:08 2001 Manish Singh <yosh@gimp.org>
* acconfig.h configure.in: sigsetjmp is macroized in some places,
so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
Sun Nov 4 19:16:23 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
......
Sun Nov 4 17:36:08 2001 Manish Singh <yosh@gimp.org>
* acconfig.h configure.in: sigsetjmp is macroized in some places,
so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
Sun Nov 4 19:16:23 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
......
Sun Nov 4 17:36:08 2001 Manish Singh <yosh@gimp.org>
* acconfig.h configure.in: sigsetjmp is macroized in some places,
so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
Sun Nov 4 19:16:23 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
......
Sun Nov 4 17:36:08 2001 Manish Singh <yosh@gimp.org>
* acconfig.h configure.in: sigsetjmp is macroized in some places,
so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
Sun Nov 4 19:16:23 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
......
Sun Nov 4 17:36:08 2001 Manish Singh <yosh@gimp.org>
* acconfig.h configure.in: sigsetjmp is macroized in some places,
so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
Sun Nov 4 19:16:23 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
......
Sun Nov 4 17:36:08 2001 Manish Singh <yosh@gimp.org>
* acconfig.h configure.in: sigsetjmp is macroized in some places,
so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
Sun Nov 4 19:16:23 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
......
Sun Nov 4 17:36:08 2001 Manish Singh <yosh@gimp.org>
* acconfig.h configure.in: sigsetjmp is macroized in some places,
so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
Sun Nov 4 19:16:23 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
......
......@@ -37,6 +37,8 @@
#undef HAVE_XCONVERTCASE
#undef HAVE_XFT
#undef HAVE_SIGSETJMP
#undef NO_FD_SET
#undef RESOURCE_BASE
......
......@@ -291,7 +291,18 @@ if test "x$enable_rebuilds" = "xyes" && \
fi
AC_SUBST(REBUILD)
AC_CHECK_FUNCS(lstat mkstemp sigsetjmp bind_textdomain_codeset)
AC_CHECK_FUNCS(lstat mkstemp bind_textdomain_codeset)
# sigsetjmp is a macro on some platforms, so AC_CHECK_FUNCS is not reliable
AC_MSG_CHECKING(for sigsetjmp)
AC_TRY_LINK([#include <setjmp.h>], [
sigjmp_buf env;
sigsetjmp(env, 0);
], gtk_ok=yes, gtk_ok=no)
AC_MSG_RESULT($gtk_ok)
if test "$gtk_ok" = "yes"; then
AC_DEFINE(HAVE_SIGSETJMP)
fi
AC_MSG_CHECKING(whether make is GNU Make)
STRIP_BEGIN=
......@@ -385,7 +396,7 @@ AC_CHECK_HEADERS(unistd.h, AC_DEFINE(HAVE_UNISTD_H))
AC_CHECK_HEADERS(winsock.h, AC_DEFINE(HAVE_WINSOCK_H))
AC_CHECK_HEADERS(dimm.h, AC_DEFINE(HAVE_DIMM_H))
if test ${with_wintab+set} = set && test $with_wintab != no; then
if test "${with_wintab+set}" = set && test $with_wintab != no; then
AC_MSG_CHECKING([for wintab.h])
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -I$with_wintab/include"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment