update
This commit is contained in:
parent
9fed13edbc
commit
3f2ed58dcf
1 changed files with 8 additions and 2 deletions
10
configure.in
10
configure.in
|
@ -1,7 +1,7 @@
|
||||||
dnl Initialize autoconf and automake
|
dnl Initialize autoconf and automake
|
||||||
AC_INIT(src/main.cc)
|
AC_INIT(src/main.cc)
|
||||||
AC_PREREQ(2.52)
|
AC_PREREQ(2.52)
|
||||||
AM_INIT_AUTOMAKE(fluxbox,0.9.11, no-define)
|
AM_INIT_AUTOMAKE(fluxbox,0.9.12, no-define)
|
||||||
|
|
||||||
dnl Determine default prefix
|
dnl Determine default prefix
|
||||||
test x$prefix = "xNONE" && prefix="$ac_default_prefix"
|
test x$prefix = "xNONE" && prefix="$ac_default_prefix"
|
||||||
|
@ -116,12 +116,18 @@ CXXFLAGS="$CXXFLAGS $X_CFLAGS"
|
||||||
LIBS="$LIBS $X_LIBS"
|
LIBS="$LIBS $X_LIBS"
|
||||||
LDFLAGS="$LDFLAGS $LIBS $X_PRE_LIBS"
|
LDFLAGS="$LDFLAGS $LIBS $X_PRE_LIBS"
|
||||||
|
|
||||||
|
dnl Check for required functions in -lXau
|
||||||
|
AC_CHECK_LIB(Xau, XauFileName,
|
||||||
|
LIBS="$LIBS -lXau",
|
||||||
|
AC_MSG_ERROR([Could not find XauFileName in -lXau.])
|
||||||
|
)
|
||||||
|
LIBS="$LIBS $X_EXTRA_LIBS"
|
||||||
|
|
||||||
dnl Check for required functions in -lX11
|
dnl Check for required functions in -lX11
|
||||||
AC_CHECK_LIB(X11, XOpenDisplay,
|
AC_CHECK_LIB(X11, XOpenDisplay,
|
||||||
LIBS="$LIBS -lX11",
|
LIBS="$LIBS -lX11",
|
||||||
AC_MSG_ERROR([Could not find XOpenDisplay in -lX11.])
|
AC_MSG_ERROR([Could not find XOpenDisplay in -lX11.])
|
||||||
)
|
)
|
||||||
|
|
||||||
LIBS="$LIBS $X_EXTRA_LIBS"
|
LIBS="$LIBS $X_EXTRA_LIBS"
|
||||||
|
|
||||||
AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4")
|
AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4")
|
||||||
|
|
Loading…
Reference in a new issue