misc fixes
This commit is contained in:
parent
db2c409617
commit
e73ee0a996
2 changed files with 18 additions and 2 deletions
11
autogen.sh
11
autogen.sh
|
@ -73,6 +73,12 @@ if test -z "$*"; then
|
|||
echo
|
||||
fi
|
||||
|
||||
for I in /usr /usr/local /opt /opt/gnome; do
|
||||
if [ -f $I/lib/gnomeConf.sh ]; then
|
||||
GNOMEINSTDIR="--with-gnome=$I"
|
||||
fi
|
||||
done
|
||||
|
||||
for i in .
|
||||
do
|
||||
echo processing $srcdir/$i
|
||||
|
@ -84,5 +90,6 @@ do
|
|||
automake --gnu; autoheader; autoconf)
|
||||
done
|
||||
|
||||
echo running $srcdir/configure
|
||||
$srcdir/configure "$@" && echo Now type \`make\' to compile the Gnome Libraries.
|
||||
echo running $srcdir/configure --enable-maintainer-mode $GNOMEINSTDIR "$@"
|
||||
$srcdir/configure --enable-maintainer-mode $GNOMEINSTDIR "$@" \
|
||||
&& echo Now type \`make\' to compile the Gnome Libraries.
|
||||
|
|
|
@ -24,6 +24,15 @@ AC_SUBST(CFLAGS)
|
|||
AC_SUBST(CPPFLAGS)
|
||||
AC_SUBST(LDFLAGS)
|
||||
|
||||
AC_CHECK_HEADERS(dlfcn.h dl.h)
|
||||
AC_CHECK_LIB(dl, dlopen, DL_LIB="-ldl",[
|
||||
AC_CHECK_LIB(dld, shl_load, DL_LIB="-ldld",[
|
||||
AC_CHECK_FUNCS(dlopen, DL_LIB="",
|
||||
AC_MSG_ERROR(Dynamic linking is not available on this platform. Some
|
||||
apps, like panel, will not run properly.))
|
||||
])])
|
||||
AC_SUBST(DL_LIB)
|
||||
|
||||
dnl properties-keyboard
|
||||
AC_CHECK_HEADERS(X11/extensions/xf86misc.h, XF86MISC_LIBS="-lXxf86misc")
|
||||
AC_SUBST(XF86MISC_LIBS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue