diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-09-26 16:54:04 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-09-26 16:54:04 -0700 |
commit | 88ae324056c2a6be1efd5aa96c4bbd3e0ad4274b (patch) | |
tree | b3c98c7ca42b4a987b5fff9b669e9cd9d2a80f92 | |
parent | 7089b5ad09474f51bbb04db0f12667605f16b8ed (diff) |
config: Remove unnecessary calls from configure.ac
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now
PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 9ce659b..094b376 100644 --- a/configure.ac +++ b/configure.ac @@ -34,9 +34,6 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -AC_PROG_CC -AC_PROG_INSTALL - AC_ARG_WITH(rsh, AS_HELP_STRING([--with-rsh=PATH], [Rsh command to use (default: $bindir/ssh)]), [ rsh="$withval"], @@ -51,14 +48,12 @@ AC_CHECK_FUNC([putenv], [], # Checks for pkg-config packages PKG_CHECK_MODULES(XSM, x11 xt ice sm xaw7) -XSM_LIBS="$XSM_LIBS" + xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` AC_ARG_WITH(appdefaultdir, AC_HELP_STRING([--with-appdefaultdir=<pathname>], [specify directory for app-defaults files (default is autodetected)]), [appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"]) -AC_SUBST(XSM_CFLAGS) -AC_SUBST(XSM_LIBS) AC_SUBST(appdefaultdir) |