aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 61fc442..9d99a3f 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
1dnl Initialize autoconf and automake 1dnl Initialize autoconf and automake
2AC_INIT(src/main.cc) 2AC_INIT(src/main.cc)
3AC_PREREQ(2.52) 3AC_PREREQ(2.52)
4AM_INIT_AUTOMAKE(fluxbox,0.9.11, no-define) 4AM_INIT_AUTOMAKE(fluxbox,0.9.12, no-define)
5 5
6dnl Determine default prefix 6dnl Determine default prefix
7test x$prefix = "xNONE" && prefix="$ac_default_prefix" 7test x$prefix = "xNONE" && prefix="$ac_default_prefix"
@@ -116,12 +116,18 @@ CXXFLAGS="$CXXFLAGS $X_CFLAGS"
116LIBS="$LIBS $X_LIBS" 116LIBS="$LIBS $X_LIBS"
117LDFLAGS="$LDFLAGS $LIBS $X_PRE_LIBS" 117LDFLAGS="$LDFLAGS $LIBS $X_PRE_LIBS"
118 118
119dnl Check for required functions in -lXau
120AC_CHECK_LIB(Xau, XauFileName,
121 LIBS="$LIBS -lXau",
122 AC_MSG_ERROR([Could not find XauFileName in -lXau.])
123)
124LIBS="$LIBS $X_EXTRA_LIBS"
125
119dnl Check for required functions in -lX11 126dnl Check for required functions in -lX11
120AC_CHECK_LIB(X11, XOpenDisplay, 127AC_CHECK_LIB(X11, XOpenDisplay,
121 LIBS="$LIBS -lX11", 128 LIBS="$LIBS -lX11",
122 AC_MSG_ERROR([Could not find XOpenDisplay in -lX11.]) 129 AC_MSG_ERROR([Could not find XOpenDisplay in -lX11.])
123) 130)
124
125LIBS="$LIBS $X_EXTRA_LIBS" 131LIBS="$LIBS $X_EXTRA_LIBS"
126 132
127AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4") 133AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4")