summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-10-30 16:08:20 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-10-30 16:08:20 -0700
commit66718aca54618f65abbe99ace710d3d4899d2f62 (patch)
tree2c2a4f4c149bbd7bc10395dd142db9a405628a7f
parent3425a0f5319a0602a809f7ece099b1d8235cadd0 (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.ac9
1 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 6d0b177..622949d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,3 @@
-
dnl Copyright 2005 Red Hat, Inc.
dnl
dnl Permission to use, copy, modify, distribute, and sell this software and its
@@ -38,14 +37,8 @@ AC_PROG_YACC
AC_PATH_PROG([YACC_INST], $YACC)
AC_CHECK_FILE([$srcdir/gram.c], [],
[test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile gram.y])])
-AC_PROG_CC
-AC_PROG_INSTALL
-
-PKG_CHECK_MODULES(XGC, xaw7)
-AC_SUBST(XGC_CFLAGS)
-AC_SUBST(XGC_LIBS)
-PKG_CHECK_MODULES(APPDEFS, xt)
+PKG_CHECK_MODULES(XGC, xaw7 xt)
xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
AC_ARG_WITH(appdefaultdir,
AC_HELP_STRING([--with-appdefaultdir=<pathname>],