summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 23:29:38 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 23:29:38 +0000
commitda2f699f9f2e51eb57508230be679a6ed7fa6644 (patch)
treeb95eb68cff4cbd77d5c0e190f2ba8168f9831f33
parent0fd158e44f7d1c5ad386cd7a19d72b4ba4511e14 (diff)
x11perf/Makefile.am: xinit/Makefile.am: xvidtune/Makefile.am:
- Replace $< with portable macro xinit/Makefile.am: xinit/configure.ac: xvidtune/Makefile.am: xvidtune/configure.ac: - Use more portable cpp invocations for pre-processing files xfs/configure.ac: - Add XTRANS_CONNECTION_FLAGS so xtrans transport type defines are set correctly
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e8f27b9..b0d8686 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -37,7 +37,7 @@ appdefaultdir = $(sysconfdir)/X11/app-defaults
appdefault_DATA = Xvidtune
Xvidtune: Xvidtune.cpp
- $(CPP) $< | sed -e s/^\#.*$$//g > $@
+ $(RAWCPP) $(srcdir)/Xvidtune.cpp | sed -e s/^\#.*$$//g > $@
EXTRA_DIST = Xvidtune.cpp
diff --git a/configure.ac b/configure.ac
index 6d5d662..324b18f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,9 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
+AC_PROG_CPP
+AC_PATH_PROGS(RAWCPP, [cpp], [$(CPP)],
+ [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
# Checks for pkg-config packages
XAW_CHECK_XPRINT_SUPPORT(XAW)