Commit ec9e19af authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

check for extra libraries needed for inet_ntoa() and socket() and define

2002-05-30  Sven Neumann  <sven@gimp.org>

	* configure.in: check for extra libraries needed for inet_ntoa() and
	socket() and define them as SOCKET_LIBS.

	* plug-ins/script-fu/Makefile.am (LDADD): added SOCKET_LIBS.
parent e645660d
2002-05-30 Sven Neumann <sven@gimp.org>
* configure.in: check for extra libraries needed for inet_ntoa() and
socket() and define them as SOCKET_LIBS.
* plug-ins/script-fu/Makefile.am (LDADD): added SOCKET_LIBS.
2002-05-30 Sven Neumann <sven@gimp.org>
* configure.in: added -lX11 to LIBXMU since GTK_LIBS doesn't provide
......
......@@ -336,6 +336,22 @@ AC_CHECK_FUNC(rint, AC_DEFINE(HAVE_RINT, 1,
AC_DEFINE(HAVE_RINT)])])
######################################################
# Check for extra libs needed for inet_ntoa and socket
######################################################
gimp_save_LIBS=$LIBS
LIBS=""
AC_CHECK_FUNCS(inet_ntoa, , AC_CHECK_LIB(nsl, inet_ntoa))
AC_CHECK_LIB(socket, socket)
SOCKET_LIBS="$LIBS"
LIBS=$gimp_save_LIBS
AC_SUBST(SOCKET_LIBS)
########################
# Check for MMX assembly
########################
......
......@@ -14,8 +14,8 @@ script_fu_SOURCES = @STRIP_BEGIN@ \
script-fu.c \
script-fu-console.c \
script-fu-console.h \
script-fu-text-console.h \
script-fu-text-console.c \
script-fu-text-console.h\
script-fu-text-console.c\
script-fu-constants.c \
script-fu-constants.h \
script-fu-intl.h \
......@@ -49,7 +49,8 @@ LDADD = @STRIP_BEGIN@ \
$(top_builddir)/libgimp/libgimp-$(LT_RELEASE).la \
$(top_builddir)/libgimpcolor/libgimpcolor-$(LT_RELEASE).la \
$(top_builddir)/libgimpbase/libgimpbase-$(LT_RELEASE).la \
$(GTK_LIBS) \
$(INTLLIBS) \
$(REGEXREPL) \
$(GTK_LIBS) \
$(SOCKET_LIBS) \
$(INTLLIBS) \
$(REGEXREPL) \
@STRIP_END@
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