Commit ed390857 authored by Alan Coopersmith's avatar Alan Coopersmith

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's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 0d7ea51f
...@@ -25,6 +25,7 @@ bin_PROGRAMS = luit ...@@ -25,6 +25,7 @@ bin_PROGRAMS = luit
AM_CFLAGS = \ AM_CFLAGS = \
$(CWARNFLAGS) \ $(CWARNFLAGS) \
$(LUIT_CFLAGS) \ $(LUIT_CFLAGS) \
$(OS_CFLAGS) \
-DLOCALE_ALIAS_FILE=\"$(LOCALEALIASFILE)\" -DLOCALE_ALIAS_FILE=\"$(LOCALEALIASFILE)\"
luit_LDADD = $(LUIT_LIBS) luit_LDADD = $(LUIT_LIBS)
......
...@@ -33,8 +33,6 @@ XORG_DEFAULT_OPTIONS ...@@ -33,8 +33,6 @@ XORG_DEFAULT_OPTIONS
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
AC_CANONICAL_HOST AC_CANONICAL_HOST
...@@ -73,6 +71,7 @@ case $host_os in ...@@ -73,6 +71,7 @@ case $host_os in
OS_CFLAGS= OS_CFLAGS=
;; ;;
esac esac
AC_SUBST(OS_CFLAGS)
AC_CHECK_HEADERS([pty.h stropts.h sys/ioctl.h sys/param.h sys/poll.h sys/select.h sys/time.h termios.h]) AC_CHECK_HEADERS([pty.h stropts.h sys/ioctl.h sys/param.h sys/poll.h sys/select.h sys/time.h termios.h])
AC_CHECK_FUNCS([grantpt putenv select strdup]) AC_CHECK_FUNCS([grantpt putenv select strdup])
...@@ -93,10 +92,6 @@ fi ...@@ -93,10 +92,6 @@ fi
CF_FUNC_POLL CF_FUNC_POLL
CF_SIGWINCH CF_SIGWINCH
LUIT_CFLAGS="$LUIT_CFLAGS $OS_CFLAGS"
AC_SUBST(LUIT_CFLAGS)
AC_SUBST(LUIT_LIBS)
AC_CONFIG_FILES([Makefile AC_CONFIG_FILES([Makefile
man/Makefile]) man/Makefile])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment