X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=9faf2983d4ea454807b538e0f1994bf0137f04b7;hb=a4f8860c584ccc9ffa7d06f711bd051006ba45ef;hp=6c8820c7bfb51031d115a7f773948b7b131baf97;hpb=0e8ce9b60375ae15ddd8dafc27bad1cc26856b08;p=pspp diff --git a/configure.ac b/configure.ac index 6c8820c7bf..9faf2983d4 100644 --- a/configure.ac +++ b/configure.ac @@ -2,16 +2,17 @@ dnl Process this file with autoconf to produce a configure script. dnl Initialize. AX_PREREQ(2.57) -AC_INIT(pspp, 0.4.1,bug-gnu-pspp@gnu.org) +AC_INIT(pspp, 0.4.2,bug-gnu-pspp@gnu.org) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE(1.9) dnl Checks for programs. AC_GNU_SOURCE +gl_EARLY AC_PROG_CC AM_PROG_CC_C_O -AC_PROG_RANLIB -gl_EARLY +AC_LIBTOOL_DLOPEN +AC_PROG_LIBTOOL PSPP_ENABLE_WARNING(-Wdeclaration-after-statement) @@ -40,6 +41,12 @@ if test x"$with_gui" != x"no" ; then fi AM_CONDITIONAL(WITHGUI, test x"$with_gui" != x"no") +AC_ARG_WITH(gui_tools, [ --with-gui-tools build the gui developer tools]) +if test x"$with_gui_tools" == x"yes" ; then + PKG_CHECK_MODULES(GLADE_UI, libgladeui-1.0) +fi +AM_CONDITIONAL(WITH_GUI_TOOLS, test x"$with_gui_tools" == x"yes") + PSPP_OFF_T AC_CHECK_LIB(gslcblas,main,,[PSPP_REQUIRED_PREREQ([libgslcblas])]) @@ -73,7 +80,7 @@ AC_DEFINE(FPREP_IEEE754, 1, AC_C_BIGENDIAN AC_FUNC_VPRINTF -AC_CHECK_FUNCS([strchr strrchr __setfpucw isinf isnan finite getpid feholdexcept]) +AC_CHECK_FUNCS([__setfpucw isinf isnan finite getpid feholdexcept round trunc]) AC_PROG_LN_S