vte r2170 - in trunk: . src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r2170 - in trunk: . src
- Date: Sat, 22 Nov 2008 13:45:09 +0000 (UTC)
Author: chpe
Date: Sat Nov 22 13:45:09 2008
New Revision: 2170
URL: http://svn.gnome.org/viewvc/vte?rev=2170&view=rev
Log:
Remove more configure cruft: OTHERLIBS/CFLAGS and X_LIBS/CFLAGS.
Don't add LIBS to *_LDADD, since it's there by default already.
Modified:
trunk/ChangeLog
trunk/configure.in
trunk/src/Makefile.am
trunk/vte-uninstalled.pc.in
trunk/vte.pc.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Nov 22 13:45:09 2008
@@ -87,12 +87,6 @@
# Compilation
################################################################################
-# Save the names of these other libraries.
-OTHERCFLAGS="$X_CFLAGS"
-AC_SUBST(OTHERCFLAGS)
-OTHERLIBS="$LIBS"
-AC_SUBST(OTHERLIBS)
-
dnl Use lots of warning flags with with gcc and compatible compilers
dnl Copied from cairo
AC_DEFUN([VTE_CC_TRY_FLAG], [
@@ -203,29 +197,6 @@
# Core
################################################################################
-
-# On some OSs, AC_PATH_XTRA doesn't work right(?), so let the user specify
-# X_PRE_LIBS and X_EXTRA_LIBS to add even more libraries, and add -lX11 to
-# the list of libraries for grins.
-AC_PATH_XTRA([X11], [X11/Xlib.h], [XFlush(NULL)])
-if test "$have_x" = yes ; then
- if test -d "$x_includes" ; then
- X_CFLAGS="-I$x_includes $X_CFLAGS"
- elif test -d "$ac_x_includes" ; then
- X_CFLAGS="-I$ac_x_includes $X_CFLAGS"
- fi
- X_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
- if test -d "$ac_x_libraries" ; then
- X_LIBS="-L$x_libraries $X_LIBS"
- elif test -d "$ac_x_libraries" ; then
- X_LIBS="-L$ac_x_libraries $X_LIBS"
- fi
-fi
-AC_SUBST([X_CFLAGS])
-AC_SUBST([X_LIBS])
-
-
-
# Use all available features under glibc, and disable accidental use of
# deprecated functionality.
AC_EGREP_CPP(glibc,
Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Sat Nov 22 13:45:09 2008
@@ -1,8 +1,13 @@
bin_PROGRAMS = vte
+
pkginclude_HEADERS = pty.h reaper.h vte.h vteaccess.h vtetypebuiltins.h vteversion.h
+
lib_LTLIBRARIES = libvte.la
+
pkglib_PROGRAMS = interpret utf8echo nativeecho utf8mode iso8859mode slowcat
+
pkglib_SCRIPTS = decset osc window
+
EXTRA_PROGRAMS = buffer dumpkeys iso2022 pty reaper reflect-text-view reflect-vte ring mev ssfe table trie xticker vteconv vtetc
EXTRA_DIST = \
$(pkglib_SCRIPTS) \
@@ -34,7 +39,7 @@
# gperf vteseq-n.gperf -g -a -S 4 -t -m 100 -C -P -l -H vteseq_n_hash -N vteseq_n_lookup -Q vteseq_n_stringpool > $@
-AM_CFLAGS = $(VTE_CFLAGS) $(X_CFLAGS) $(PCRE_CFLAGS) \
+AM_CFLAGS = $(VTE_CFLAGS) $(PCRE_CFLAGS) \
-DG_DISABLE_ASSERT -DG_LOG_DOMAIN=\"Vte\"
AM_CPPFLAGS = -DDATADIR='"$(datadir)"' \
-DLIBEXECDIR='"$(libexecdir)"' \
@@ -103,7 +108,7 @@
-version-info $(LIBVTE_LTVERSION) \
-export-symbols-regex "^vte_terminal_.*|^_vte_pty_.*|^vte_reaper_.*|_vte_debug_.*" \
@LIBTOOL_EXPORT_OPTIONS@ @LIBTOOL_FLAGS@
-libvte_la_LIBADD = $(LIBS) $(VTE_LIBS) $(X_LIBS) $(PCRE_LIBS) $(FT2_LIBS)
+libvte_la_LIBADD = $(VTE_LIBS) $(PCRE_LIBS)
BUILT_SOURCES = marshal.c marshal.h vtetypebuiltins.c vtetypebuiltins.h
CLEANFILES = marshal.c marshal.h vtetypebuiltins.c vtetypebuiltins.h stamp-vtetypebuiltins.h
@@ -127,15 +132,15 @@
vte_SOURCES = \
vteapp.c
-vte_LDADD = libvte.la $(LDFLAGS) $(LIBS) $(VTE_LIBS) $(X_LIBS)
+vte_LDADD = libvte.la $(LDFLAGS) $(VTE_LIBS)
-reflect_text_view_CFLAGS = -DUSE_TEXT_VIEW $(VTE_CFLAGS) $(X_CFLAGS)
+reflect_text_view_CFLAGS = -DUSE_TEXT_VIEW $(VTE_CFLAGS)
reflect_text_view_SOURCES = reflect.c
-reflect_text_view_LDADD = $(LDFLAGS) $(LIBS) $(VTE_LIBS) $(X_LIBS)
+reflect_text_view_LDADD = $(LDFLAGS) $(VTE_LIBS)
-reflect_vte_CFLAGS = -DUSE_VTE $(VTE_CFLAGS) $(X_CFLAGS)
+reflect_vte_CFLAGS = -DUSE_VTE $(VTE_CFLAGS)
reflect_vte_SOURCES = reflect.c
-reflect_vte_LDADD = libvte.la $(LDFLAGS) $(LIBS) $(VTE_LIBS) $(X_LIBS)
+reflect_vte_LDADD = libvte.la $(LDFLAGS) $(VTE_LIBS)
interpret_CFLAGS = $(GTK_CFLAGS) -DINTERPRET_MAIN
interpret_SOURCES = \
@@ -184,7 +189,7 @@
vtetc.h \
vtetree.c \
vtetree.h
-iso2022_LDADD = $(LDFLAGS) $(LIBS) $(GOBJECT_LIBS)
+iso2022_LDADD = $(LDFLAGS) $(GOBJECT_LIBS)
utf8echo_CFLAGS = $(GOBJECT_CFLAGS) -DUTF8ECHO_MAIN
utf8echo_SOURCES = \
@@ -205,12 +210,12 @@
vteconv.h \
vtetc.c \
vtetc.h
-utf8echo_LDADD = $(LDFLAGS) $(LIBS) $(GOBJECT_LIBS)
+utf8echo_LDADD = $(LDFLAGS) $(GOBJECT_LIBS)
nativeecho_CFLAGS = $(GLIB_CFLAGS) -DNATIVEECHO_MAIN
nativeecho_SOURCES = \
nativeecho.c
-nativeecho_LDADD = $(LDFLAGS) $(LIBS) $(GLIB_LIBS)
+nativeecho_LDADD = $(LDFLAGS) $(GLIB_LIBS)
ring_CFLAGS = $(GLIB_CFLAGS) -DRING_MAIN
ring_SOURCES = \
@@ -218,11 +223,11 @@
debug.h \
ring.c \
ring.h
-ring_LDADD = $(LDFLAGS) $(LIBS) $(GLIB_LIBS)
+ring_LDADD = $(LDFLAGS) $(GLIB_LIBS)
slowcat_SOURCES = \
slowcat.c
-slowcat_LDADD = $(LDFLAGS) $(LIBS) $(GLIB_LIBS)
+slowcat_LDADD = $(LDFLAGS) $(GLIB_LIBS)
table_CFLAGS = $(GOBJECT_CFLAGS) -DTABLE_MAIN
table_SOURCES = \
@@ -242,7 +247,7 @@
vteconv.h \
vtetc.c \
vtetc.h
-table_LDADD = $(LDFLAGS) $(LIBS) $(GOBJECT_LIBS)
+table_LDADD = $(LDFLAGS) $(GOBJECT_LIBS)
trie_CFLAGS = $(GOBJECT_CFLAGS) -DTRIE_MAIN
trie_SOURCES = \
@@ -262,7 +267,7 @@
vteconv.h \
vtetc.c \
vtetc.h
-trie_LDADD = $(LDFLAGS) $(LIBS) $(GOBJECT_LIBS)
+trie_LDADD = $(LDFLAGS) $(GOBJECT_LIBS)
vtetc_CFLAGS = $(GLIB_CFLAGS) -DTERMCAP_MAIN
vtetc_SOURCES = \
@@ -270,7 +275,7 @@
debug.h \
vtetc.c \
vtetc.h
-vtetc_LDADD = $(LDFLAGS) $(LIBS) $(GLIB_LIBS)
+vtetc_LDADD = $(LDFLAGS) $(GLIB_LIBS)
pty_CFLAGS = $(GLIB_CFLAGS) -DPTY_MAIN
pty_SOURCES = \
@@ -278,7 +283,7 @@
debug.h \
pty.c \
pty.h
-pty_LDADD = $(LDFLAGS) $(LIBS) $(GLIB_LIBS)
+pty_LDADD = $(LDFLAGS) $(GLIB_LIBS)
reaper_CFLAGS = $(GTK_CFLAGS) -DREAPER_MAIN
reaper_SOURCES = \
@@ -288,7 +293,7 @@
marshal.h \
reaper.c \
reaper.h
-reaper_LDADD = $(LDFLAGS) $(LIBS) $(GOBJECT_LIBS)
+reaper_LDADD = $(LDFLAGS) $(GOBJECT_LIBS)
vteconv_CFLAGS = $(GLIB_CFLAGS) -DVTECONV_MAIN
vteconv_SOURCES = \
@@ -305,17 +310,17 @@
buffer_LDADD = $(LDFLAGS) $(GLIB_LIBS)
dumpkeys_SOURCES = dumpkeys.c
-dumpkeys_LDADD = $(LDFLAGS) $(LIBS) $(GLIB_LIBS)
+dumpkeys_LDADD = $(LDFLAGS) $(GLIB_LIBS)
mev_SOURCES = mev.c
-mev_LDADD = $(LDFLAGS) $(LIBS) $(GLIB_LIBS)
+mev_LDADD = $(LDFLAGS) $(GLIB_LIBS)
ssfe_SOURCES = ssfe.c
-ssfe_LDADD = $(LDFLAGS) $(OTHERLIBS)
+ssfe_LDADD = $(LDFLAGS)
xticker_CFLAGS = $(GLIB_CFLAGS)
xticker_SOURCES = xticker.c
-xticker_LDADD = $(LDFLAGS) $(LIBS) $(GLIB_LIBS)
+xticker_LDADD = $(LDFLAGS) $(GLIB_LIBS)
vteseq-table.h: vteseq-gen.c vteseq-list.h
$(MAKE) vteseq-gen
Modified: trunk/vte-uninstalled.pc.in
==============================================================================
--- trunk/vte-uninstalled.pc.in (original)
+++ trunk/vte-uninstalled.pc.in Sat Nov 22 13:45:09 2008
@@ -9,5 +9,5 @@
Description: Vte terminal widget.
Version: @VERSION@
Requires: @NEEDEDPACKAGES@
-Libs: ${pc_top_builddir}/${pcfiledir}/src/libvte.la @FT2_LIBS@ @OTHERLIBS@
-Cflags: -I${pc_top_builddir}/${pcfiledir}/src @FT2_CFLAGS@ @OTHERCFLAGS@
+Libs: ${pc_top_builddir}/${pcfiledir}/src/libvte.la
+Cflags: -I${pc_top_builddir}/${pcfiledir}/src
Modified: trunk/vte.pc.in
==============================================================================
--- trunk/vte.pc.in (original)
+++ trunk/vte.pc.in Sat Nov 22 13:45:09 2008
@@ -9,5 +9,5 @@
Description: Vte terminal widget.
Version: @VERSION@
Requires: @NEEDEDPACKAGES@
-Libs: -L${libdir} -lvte @OTHERLIBS@
-Cflags: -I${includedir} @OTHERCFLAGS@
+Libs: -L${libdir} -lvte
+Cflags: -I${includedir}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]