diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-03-28 08:58:35 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-03-28 08:58:35 +0100 |
commit | db7feaf9883bb0dc419593588036405ef12ebca1 (patch) | |
tree | 1a911fe1a08aed78845e17b5350c9238452a12dd /nxcompshad | |
parent | e77bf36d9afbc7e56522574b06217d57c11dd095 (diff) | |
download | nx-libs-db7feaf9883bb0dc419593588036405ef12ebca1.tar.gz nx-libs-db7feaf9883bb0dc419593588036405ef12ebca1.tar.bz2 nx-libs-db7feaf9883bb0dc419593588036405ef12ebca1.zip |
Revert "release 3.5.0.19"
This reverts commit e77bf36d9afbc7e56522574b06217d57c11dd095.
Diffstat (limited to 'nxcompshad')
-rw-r--r-- | nxcompshad/Logger.h | 4 | ||||
-rw-r--r-- | nxcompshad/Makefile.in | 45 | ||||
-rw-r--r-- | nxcompshad/Misc.h | 4 | ||||
-rw-r--r-- | nxcompshad/configure.in | 6 |
4 files changed, 13 insertions, 46 deletions
diff --git a/nxcompshad/Logger.h b/nxcompshad/Logger.h index 2e6430b48..94e4da857 100644 --- a/nxcompshad/Logger.h +++ b/nxcompshad/Logger.h @@ -18,8 +18,8 @@ #ifndef Logger_H #define Logger_H -#include <cerrno> -#include <cstdarg> +#include <errno.h> +#include <stdarg.h> // // Error handling macros. diff --git a/nxcompshad/Makefile.in b/nxcompshad/Makefile.in index 089a4f680..1580a3594 100644 --- a/nxcompshad/Makefile.in +++ b/nxcompshad/Makefile.in @@ -48,7 +48,7 @@ CCINCLUDES = CCDEFINES = LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -lNX_X11 +LIBS = @LIBS@ -L/usr/X11R6/lib -lX11 # # Only if THREADS is defined. @@ -74,17 +74,10 @@ exec_prefix = @exec_prefix@ bindir = @bindir@ man1dir = @mandir@/man1 VPATH = @srcdir@ -libdir = @libdir@ -includedir = @includedir@ INSTALL = @INSTALL@ -INSTALL_DIR = $(INSTALL) -d -o root -g root -m 0755 INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ -INSTALL_LINK = cp -av -DESTDIR = -RM_FILE = rm -f -RM_DIR = rmdir -p --ignore-fail-on-non-empty # # This should be autodetected. @@ -139,7 +132,7 @@ all: depend $(LIBARCHIVE) $(LIBDLL) else -EXTRALIBS = -lNX_Xtst -lNX_Xrandr -lNX_Xdamage +EXTRALIBS = -lXtst -lXrandr -lXdamage all: depend $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) @@ -169,7 +162,7 @@ $(LIBDLL): $(LIBARCHIVE) -Wl,--enable-auto-import \ -Wl,--whole-archive ${LIBARCHIVE} \ -Wl,--no-whole-archive \ - ${LIBS} + ${LIBS} -L/usr/X11R6/lib $(PROGRAM): $(MOBJ) $(COBJ) $(CXXOBJ) $(LIBDLL) # $(CC) $(CCFLAGS) -o $@ $(MOBJ) $(MLIBS) @@ -185,41 +178,15 @@ depend.status: fi touch depend.status -install: install.bin install.lib install.man +install: install.bin install.man install.bin: -install.lib: all - $(INSTALL_DIR) $(DESTDIR)${libdir}/nx - $(INSTALL_DIR) $(DESTDIR)${includedir}/nx - $(INSTALL_DATA) $(LIBFULL) $(DESTDIR)${libdir}/nx - $(INSTALL_LINK) libXcompshad.so.3 $(DESTDIR)${libdir}/nx - $(INSTALL_LINK) libXcompshad.so $(DESTDIR)${libdir}/nx - $(INSTALL_DATA) *.a $(DESTDIR)${libdir}/nx - $(INSTALL_DATA) *.h $(DESTDIR)${includedir}/nx - echo "Running ldconfig tool, this may take a while..." && ldconfig || true - install.man: -uninstall: uninstall.bin uninstall.lib uninstall.man - -uninstall.bin: - -uninstall.lib: - $(RM_FILE) $(DESTDIR)${libdir}/nx/$(LIBFULL) - $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcompshad.so.3 - $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcompshad.so - $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcompshad.a - for header in *.h; do $(RM_FILE) $(DESTDIR)${includedir}/nx/$$header; done - $(RM_DIR) $(DESTDIR)${libdir}/nx/ - $(RM_DIR) $(DESTDIR)${includedir}/nx/ - echo "Running ldconfig tool, this may take a while..." && ldconfig || true - -uninstall.man: - clean: - -rm -f *~ *.o *.gch *.bak st?????? core core.* *.out.* *.exe.stackdump \ + -rm -f *~ *.o *.bak st?????? core core.* *.out.* *.exe.stackdump \ $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) $(LIBDLL) $(LIBDLLSTATIC) $(PROGRAM) $(PROGRAM).exe distclean: clean - -rm -rf config.status config.log config.cache depend.status Makefile tags autom4te.cache configure + -rm -rf config.status config.log config.cache depend.status Makefile tags autom4te.cache diff --git a/nxcompshad/Misc.h b/nxcompshad/Misc.h index 27f267036..6dc86359f 100644 --- a/nxcompshad/Misc.h +++ b/nxcompshad/Misc.h @@ -20,8 +20,8 @@ #include <iostream> -#include <cerrno> -#include <cstring> +#include <errno.h> +#include <string.h> using namespace std; diff --git a/nxcompshad/configure.in b/nxcompshad/configure.in index 13149b3a0..3f16ee97f 100644 --- a/nxcompshad/configure.in +++ b/nxcompshad/configure.in @@ -7,8 +7,8 @@ AC_PREREQ(2.13) dnl Reset default compilation flags. -CXXFLAGS="$CXXFLAGS -O3" -CPPFLAGS="$CPPFLAGS -O3" +CXXFLAGS="-O3" +CPPFLAGS="-O3" dnl Reset default linking directives. @@ -19,7 +19,7 @@ dnl Prefer headers and libraries from nx-X11, if present. if test -d "../nx-X11/exports/include" ; then CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include" - LIBS="-L../nx-X11/exports/lib" + LIBS="$LIBS -L../nx-X11/exports/lib" fi dnl Check whether --with-ipaq was given. |