diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-03-25 19:30:50 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-03-25 19:30:50 -0400 |
commit | 40b17bb87cb89a1b851e1d39e03431ecbc9c155e (patch) | |
tree | c3067571a4cf84e8de01f49a391da9eda0223134 | |
parent | 553e84525830c551d423d837f7b317df10d69e3f (diff) |
config: remove dependency on xaw8
Remove configure option --enable-xprint
Remove AM conditional USE_XPRINT
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | Makefile.am | 11 | ||||
-rw-r--r-- | configure.ac | 15 |
2 files changed, 3 insertions, 23 deletions
diff --git a/Makefile.am b/Makefile.am index ecb138c..e4c4193 100644 --- a/Makefile.am +++ b/Makefile.am @@ -127,17 +127,6 @@ if NEED_STRCASECMP xedit_SOURCES += strcasecmp.c endif -if USE_XPRINT -xedit_CFLAGS += -DINCLUDE_XPRINT_SUPPORT - -xedit_SOURCES += \ - print.c \ - printdialog.c \ - printdialog.h \ - printdialogprivates.h \ - print.h -endif - # lisp/lsp lisp_lsp_DEPENDENCIES = liblisp.a libre.a libmp.a lisp_lsp_CFLAGS = $(CWARNFLAGS) -I$(top_srcdir)/lisp/re -I$(top_srcdir)/lisp/mp -DLISP -DLISPDIR=\"@LISPDIR@\" -D_BSD_SOURCE diff --git a/configure.ac b/configure.ac index 01c067b..a2b0eb7 100644 --- a/configure.ac +++ b/configure.ac @@ -40,18 +40,9 @@ AC_PROG_INSTALL AC_PROG_RANLIB PKG_PROG_PKG_CONFIG -AC_ARG_ENABLE(xprint, - AS_HELP_STRING([--enable-xprint], - [Compile with xprint support (default: disabled)]), - [enable_xprint=$enableval], [enable_xprint=no]) -AM_CONDITIONAL(USE_XPRINT, test x$enable_xprint = xyes) -if test x$enable_xprint = xyes; then - PKG_CHECK_MODULES(PKGDEPS, xprintutil xp xaw8) - print_noprint=xprint -else - PKG_CHECK_MODULES(PKGDEPS, xaw7) - print_noprint=noxprint -fi +PKG_CHECK_MODULES(PKGDEPS, xaw7) +print_noprint=noxprint + AC_CONFIG_LINKS([app-defaults/Xedit:app-defaults/Xedit-$print_noprint]) AC_ARG_WITH(lispdir, AS_HELP_STRING([--with-lispdir=PATH], |