diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
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 @@ | |||
1 | dnl Initialize autoconf and automake | 1 | dnl Initialize autoconf and automake |
2 | AC_INIT(src/main.cc) | 2 | AC_INIT(src/main.cc) |
3 | AC_PREREQ(2.52) | 3 | AC_PREREQ(2.52) |
4 | AM_INIT_AUTOMAKE(fluxbox,0.9.11, no-define) | 4 | AM_INIT_AUTOMAKE(fluxbox,0.9.12, no-define) |
5 | 5 | ||
6 | dnl Determine default prefix | 6 | dnl Determine default prefix |
7 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" | 7 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" |
@@ -116,12 +116,18 @@ CXXFLAGS="$CXXFLAGS $X_CFLAGS" | |||
116 | LIBS="$LIBS $X_LIBS" | 116 | LIBS="$LIBS $X_LIBS" |
117 | LDFLAGS="$LDFLAGS $LIBS $X_PRE_LIBS" | 117 | LDFLAGS="$LDFLAGS $LIBS $X_PRE_LIBS" |
118 | 118 | ||
119 | dnl Check for required functions in -lXau | ||
120 | AC_CHECK_LIB(Xau, XauFileName, | ||
121 | LIBS="$LIBS -lXau", | ||
122 | AC_MSG_ERROR([Could not find XauFileName in -lXau.]) | ||
123 | ) | ||
124 | LIBS="$LIBS $X_EXTRA_LIBS" | ||
125 | |||
119 | dnl Check for required functions in -lX11 | 126 | dnl Check for required functions in -lX11 |
120 | AC_CHECK_LIB(X11, XOpenDisplay, | 127 | AC_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 | |||
125 | LIBS="$LIBS $X_EXTRA_LIBS" | 131 | LIBS="$LIBS $X_EXTRA_LIBS" |
126 | 132 | ||
127 | AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4") | 133 | AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4") |