]> granicus.if.org Git - php/commitdiff
Remove unused buildsystem files in TSRM
authorPeter Kokot <peterkokot@gmail.com>
Thu, 23 Aug 2018 17:11:14 +0000 (19:11 +0200)
committerJoe Watkins <krakjoe@php.net>
Tue, 4 Sep 2018 10:04:11 +0000 (12:04 +0200)
Buildsystem files in the TSRM folder used to provide standalone build of
the TSRM. Today these files are oudated and not used.

TSRM/Makefile.am [deleted file]
TSRM/acinclude.m4 [deleted file]
TSRM/build.mk [deleted file]
TSRM/buildconf [deleted file]
TSRM/configure.ac [deleted file]

diff --git a/TSRM/Makefile.am b/TSRM/Makefile.am
deleted file mode 100644 (file)
index e232381..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-## process this file with automake to produce Makefile.am
-AUTOMAKE_OPTIONS=foreign
-noinst_LTLIBRARIES=libtsrm.la
-libtsrm_la_SOURCES = TSRM.c tsrm_strtok_r.c
-
-depend:
diff --git a/TSRM/acinclude.m4 b/TSRM/acinclude.m4
deleted file mode 100644 (file)
index fcf97fd..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-
-AC_DEFUN([AM_SET_LIBTOOL_VARIABLE],[
-  LIBTOOL='$(SHELL) $(top_builddir)/libtool $1'
-])
-
diff --git a/TSRM/build.mk b/TSRM/build.mk
deleted file mode 100644 (file)
index a608c55..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# Makefile to generate build tools
-#
-# Standard usage:
-#        make -f build.mk
-#
-# Written by Sascha Schumann
-
-LT_TARGETS = ltmain.sh ltconfig
-
-config_h_in = tsrm_config.h.in
-
-makefile_am_files = Makefile.am
-makefile_in_files = $(makefile_am_files:.am=.in)
-makefile_files    = $(makefile_am_files:e.am=e)
-
-targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
-
-all: $(targets)
-
-clean:
-       rm -f $(targets)
-
-$(LT_TARGETS):
-       rm -f $(LT_TARGETS)
-       libtoolize --automake $(AMFLAGS) -f
-
-$(makefile_in_files): $(makefile_am_files)
-       automake -a -i $(AMFLAGS) $(makefile_files)
-
-aclocal.m4: configure.ac acinclude.m4
-       aclocal
-
-$(config_h_in): configure.ac
-# explicitly remove target since autoheader does not seem to work 
-# correctly otherwise (timestamps are not updated)
-       @rm -f $@
-       autoheader
-
-configure: aclocal.m4 configure.ac
-       autoconf
diff --git a/TSRM/buildconf b/TSRM/buildconf
deleted file mode 100755 (executable)
index fe8dee6..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-case "$1" in
---copy)
-       automake_flags=--copy
-       shift
-;;
-esac
-
-libtoolize --force --automake $automake_flags
-
-mv aclocal.m4 aclocal.m4.old 2>/dev/null
-aclocal
-if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
-    echo "buildconf: keeping ${1}aclocal.m4"
-    mv aclocal.m4.old aclocal.m4
-else
-    echo "buildconf: created or modified ${1}aclocal.m4"
-fi
-
-autoheader
-
-automake --add-missing --include-deps $automake_flags
-
-mv configure configure.old 2>/dev/null
-autoconf
-if cmp configure.old configure > /dev/null 2>&1; then
-    echo "buildconf: keeping ${1}configure"
-    mv configure.old configure
-else
-    echo "buildconf: created or modified ${1}configure"
-fi
-
diff --git a/TSRM/configure.ac b/TSRM/configure.ac
deleted file mode 100644 (file)
index c3ed326..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-dnl
-dnl Minimalistic configure.ac for TSRM.
-dnl
-
-AC_INIT(TSRM.c)
-AM_INIT_AUTOMAKE(TSRM, 1.0, nodefine)
-AM_CONFIG_HEADER(tsrm_config.h)
-
-AH_TOP([
-#undef PTHREADS
-])
-
-sinclude(tsrm.m4)
-
-TSRM_BASIC_CHECKS
-TSRM_THREADS_CHECKS
-
-AM_PROG_LIBTOOL
-if test "$enable_debug" != "yes"; then
-  AM_SET_LIBTOOL_VARIABLE([--silent])
-fi
-
-dnl TSRM_PTHREAD
-
-AC_CHECK_HEADERS(
-utime.h \
-dirent.h \
-stdarg.h \
-alloca.h \
-unistd.h \
-limits.h
-)
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT