New check, based on AC_PATH_X11. Needed to get defines used in a X11 build
* configure.in (SMPROXY_DEFS): New check, based on AC_PATH_X11. Needed to get defines used in a X11 build tree.
This commit is contained in:
parent
ce99f91c5b
commit
b342c094de
2 changed files with 31 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
1998-07-18 Raja R Harinath <harinath@cs.umn.edu>
|
||||
|
||||
* configure.in (SMPROXY_DEFS): New check, based on AC_PATH_X11.
|
||||
Needed to get defines used in a X11 build tree.
|
||||
|
||||
Thu Jul 16 18:03:37 1998 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* Makefile.am (SUBDIRS): Added smproxy.
|
||||
|
|
26
configure.in
26
configure.in
|
@ -115,6 +115,32 @@ AC_ARG_WITH(window-manager,
|
|||
Specify default window manager],[
|
||||
AC_DEFINE_UNQUOTED(WINDOW_MANAGER, "$with_window_manager")])
|
||||
|
||||
dnl gnome-smproxy
|
||||
dnl Since this is originally from the X11 tree, we have to get
|
||||
dnl build information from there
|
||||
AC_MSG_CHECKING(for X11 defines for building smproxy)
|
||||
SMPROXY_DEFS=
|
||||
rm -fr conftestdir
|
||||
if mkdir conftestdir; then
|
||||
cd conftestdir
|
||||
# STD_CPP_DEFINES is in the Makefiles generated with X11R6/6.1/6.3
|
||||
# and Solaris 2.5 OpenWindows `xmkmf's. I haven't tested with
|
||||
# older versions. FIXME if necessary.
|
||||
cat > Imakefile <<'EOF'
|
||||
acfinddefs:
|
||||
@echo 'ac_x_cpp_defs="${STD_CPP_DEFINES}"'
|
||||
EOF
|
||||
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
|
||||
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
||||
eval `${MAKE-make} acfinddefs 2>/dev/null | grep -v make`
|
||||
SMPROXY_DEFS="$ac_x_cpp_defs"
|
||||
fi
|
||||
cd ..
|
||||
rm -fr conftestdir
|
||||
fi
|
||||
AC_SUBST(SMPROXY_DEFS)
|
||||
AC_MSG_RESULT($SMPROXY_DEFS)
|
||||
|
||||
dnl applets/diskusage
|
||||
GNOME_FILEUTILS_CHECKS
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue