Updating branch refs/heads/master to 69842d364cc2dc453445926e4cdf036ab245b871 (commit) from afa2027a1fd7504fd2fabbfcc4dfcfb48b627603 (commit)
commit 69842d364cc2dc453445926e4cdf036ab245b871 Author: Harald Judt <h.j...@gmx.at> Date: Wed Feb 20 15:08:08 2013 +0100 Link to libmath and clean up AC_CHECK_HEADERS. configure.ac.in | 6 +++--- panel-plugin/Makefile.am | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac.in b/configure.ac.in index 6b3492b..d95bab0 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -45,9 +45,9 @@ dnl ********************************** dnl *** Check for standard headers *** dnl ********************************** AC_HEADER_STDC() -AC_CHECK_HEADERS([string.h fcntl.h errno.h sys/socket.h netdb.h \ - netinet/in.h sys/types.h time.h unistd.h stdio.h \ - sys/stat.h stddef.h stdlib.h netinet/in.h]) +AC_CHECK_HEADERS([math.h stdarg.h stddef.h stdlib.h string.h sys/stat.h time.h]) +AC_CHECK_LIBM +AC_SUBST(LIBM) dnl ****************************** dnl *** Check for i18n support *** diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am index 901197e..3c63d2d 100644 --- a/panel-plugin/Makefile.am +++ b/panel-plugin/Makefile.am @@ -41,13 +41,13 @@ libweather_la_CFLAGS = \ $(LIBXML_CFLAGS) libweather_la_LIBADD = \ + $(LIBM) \ $(LIBXFCE4PANEL_LIBS) \ $(LIBXFCE4UTIL_LIBS) \ $(LIBXFCE4UI_LIBS) \ $(GTK_LIBS) \ $(LIBXML_LIBS) \ - $(SOUP_LIBS) \ - $(LIBRESOLV) + $(SOUP_LIBS) libweather_la_LDFLAGS = \ -avoid-version \ _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits