UIMA-2053 removed old build configuration files

git-svn-id: https://svn.apache.org/repos/asf/uima/uimacpp/trunk@1221435 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/Makefile.prebuild b/src/Makefile.prebuild
deleted file mode 100644
index 4bcaf18..0000000
--- a/src/Makefile.prebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-# 
-# http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-
-# Create distribution build files
-
-#VERBOSE:=--verbose
-BUILD_DIR ?= .
-
-all: $(BUILD_DIR)/configure $(BUILD_DIR)/Makefile.in
-
-distclean:
-	rm -f Makefile.in aclocal.m4 config.guess config.sub configure
-	rm -f depcomp install-sh config.guess config.sub ltmain.sh missing spc-config.h.in
-	rm -rf autom4te.cache
-
-$(BUILD_DIR)/Makefile.in: $(wildcard Makefile.am*) $(BUILD_DIR)/aclocal.m4 $(BUILD_DIR)/ltmain.sh
-	cd $(BUILD_DIR) && automake --add-missing
-	cd $(BUILD_DIR) && sed -i 'N;N;N;s|\$$(top_srcdir)/configure:.*\n.*\n.*\n.*$$||' Makefile.in
-
-$(BUILD_DIR)/configure: $(BUILD_DIR)/configure.in $(BUILD_DIR)/aclocal.m4 
-	cd $(BUILD_DIR) && autoconf $(VERBOSE)
-
-$(BUILD_DIR)/aclocal.m4: $(BUILD_DIR)/configure.in $(BUILD_DIR)/ltmain.sh
-	cd $(BUILD_DIR) && aclocal $(VERBOSE)
-
-$(BUILD_DIR)/ltmain.sh:
-	cd $(BUILD_DIR) && libtoolize --automake
-	cd $(BUILD_DIR) && touch AUTHORS NEWS README ChangeLog
diff --git a/src/Makefile.unix b/src/Makefile.unix
deleted file mode 100644
index e31d824..0000000
--- a/src/Makefile.unix
+++ /dev/null
@@ -1,73 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-# 
-# http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-
-# Set the environment variables DEBUGUIMA & DEBUGTEST to build debug library & test routines
-
-#VERBOSE:=--verbose
-BUILD_DIR ?= .
-PWD := $(shell pwd)/..
-
-CONFIGURE_ARGS := --disable-static --prefix=/install --includedir=/install/include/uima --disable-dependency-tracking
-
-ifneq ($(DEBUGUIMA),)
-CONFIGURE_ARGS := $(CONFIGURE_ARGS)  --enable-debuguima=yes
-endif
-
-ifneq ($(DEBUGTEST),)
-CONFIGURE_ARGS := $(CONFIGURE_ARGS)  --enable-debugtest=yes
-endif
-
-ifneq ($(APR_HOME),)
-CONFIGURE_ARGS := $(CONFIGURE_ARGS)  --with-apr=$(APR_HOME)
-endif
-
-ifneq ($(ICU_HOME),)
-CONFIGURE_ARGS := $(CONFIGURE_ARGS)  --with-icu=$(ICU_HOME)
-endif
-
-ifneq ($(XERCES_HOME),)
-CONFIGURE_ARGS := $(CONFIGURE_ARGS)  --with-xerces=$(XERCES_HOME)
-endif
-
-ifneq ($(ACTIVEMQ_HOME),)
-CONFIGURE_ARGS := $(CONFIGURE_ARGS)  --with-activemq=$(ACTIVEMQ_HOME)
-endif
-
-CONFIGURE_ARGS := $(CONFIGURE_ARGS)  --with-jdk=$(JAVA_INCLUDE)
-
-AC_FLAGS=CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)"
-
-.PHONY: all install dist clean distclean
-
-all: $(BUILD_DIR)/Makefile
-	$(MAKE) -C $(BUILD_DIR) $(MAKE_ARGS) all
-
-install: $(BUILD_DIR)/Makefile
-	$(MAKE) -C $(BUILD_DIR) $(MAKE_ARGS) install-strip DESTDIR=$(PWD)
-
-dist: $(BUILD_DIR)/Makefile
-	$(MAKE) -C $(BUILD_DIR) $(MAKE_ARGS) dist
-
-clean: $(BUILD_DIR)/Makefile
-	test ! -f $(BUILD_DIR)/Makefile || $(MAKE) -C $(BUILD_DIR) $(MAKE_ARGS) clean
-
-distclean:
-	test ! -f $(BUILD_DIR)/Makefile || $(MAKE) -C $(BUILD_DIR) $(MAKE_ARGS) distclean
-
-$(BUILD_DIR)/Makefile: $(BUILD_DIR)/Makefile.in $(BUILD_DIR)/configure
-	mkdir -p $(BUILD_DIR)
-	cd $(BUILD_DIR) && $(AC_FLAGS) ./configure $(CONFIGURE_ARGS)
diff --git a/src/configure.in b/src/configure.in
deleted file mode 100644
index 668c385..0000000
--- a/src/configure.in
+++ /dev/null
@@ -1,214 +0,0 @@
-
- # Licensed to the Apache Software Foundation (ASF) under one
- # or more contributor license agreements.  See the NOTICE file
- # distributed with this work for additional information
- # regarding copyright ownership.  The ASF licenses this file
- # to you under the Apache License, Version 2.0 (the
- # "License"); you may not use this file except in compliance
- # with the License.  You may obtain a copy of the License at
- # 
- #   http://www.apache.org/licenses/LICENSE-2.0
- # 
- # Unless required by applicable law or agreed to in writing,
- # software distributed under the License is distributed on an
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- # KIND, either express or implied.  See the License for the
- # specific language governing permissions and limitations
- # under the License.
-
-AC_INIT(libuima, 2.3)
-AC_CONFIG_SRCDIR(framework/engine.cpp)
-AM_INIT_AUTOMAKE
-
-#[LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`]
-#LIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'`
-
-AC_ARG_ENABLE(debuguima,
-[  --enable-debuguima    Turn on debugging],
-[case "${enableval}" in
-  yes) debuguima=true ;;
-  no)  debuguima=false ;;
-  *) AC_MSG_ERROR(bad value ${enableval} for --enable-debuguima) ;;
-esac],[debuguima=false])
-AM_CONDITIONAL([DEBUG_UIMA], [test x$debuguima = xtrue])
-
-
-AC_ARG_ENABLE(debugtest,
-[  --enable-debugtest    Turn on debugging],
-[case "${enableval}" in
-  yes) debugtest=true ;;
-  no)  debugtest=false ;;
-  *) AC_MSG_ERROR(bad value ${enableval} for --enable-debugtest) ;;
-esac],[debugtest=false])
-AM_CONDITIONAL([DEBUG_TEST], [test x$debugtest = xtrue])
-
-
-LIB_VERSION="2.3"
-LIB_VERSION_MAJOR="2"
-LIB_VERSION_MINOR="3"
-AC_SUBST(VERSION)
-AC_SUBST(LIB_VERSION)
-AC_SUBST(LIB_VERSION_MAJOR)
-AC_SUBST(LIB_VERSION_MINOR)
-AC_MSG_RESULT([release $VERSION, library $LIB_VERSION])
-
-AC_PROG_LIBTOOL
-AC_PROG_CXX
-
-AC_C_BIGENDIAN
-
-######################################
-# setup for using default dependencies
-UIMACPP_HOME_INCLUDE="-I$UIMACPP_HOME/include"
-UIMACPP_HOME_LIB="-L$UIMACPP_HOME/lib"
-
-
-#########################################################################
-#
-# check for XercesC
-#
-
-AC_ARG_WITH([xerces], AC_HELP_STRING([--with-xerces],
-                                     [use Xerces C++ Library (uses $UIMACPP_HOME by default)]),
-            [UIMA_XERCES_INCLUDE="-I$withval/include"
-             UIMA_XERCES_LIB="-L$withval/lib -lxerces-c"
-             XERCES_TEST_INCLUDE="$UIMA_XERCES_INCLUDE"
-	     AC_SUBST(UIMA_XERCES_INCLUDE)
-	     AC_SUBST(UIMA_XERCES_LIB)
-	     ],
-                  [XERCES_TEST_INCLUDE="-I$UIMACPP_HOME/include"
-		   UIMACPP_HOME_LIB="$UIMACPP_HOME_LIB -lxerces-c"])
-
-CPPFLAGS_save="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $XERCES_TEST_INCLUDE"
-AC_CHECK_HEADER([xercesc/util/XercesVersion.hpp],
-                [:],
-                [AC_MSG_ERROR([Unable to find Xerces C++ headers])])
-CPPFLAGS="$CPPFLAGS_save"
-
-
-#########################################################################
-#
-# check for APR 
-#
-
-AC_ARG_WITH([apr], AC_HELP_STRING([--with-apr],
-                                     [use APR Library (uses $UIMACPP_HOME by default)]),
-            [APR_VER=`echo $withval/include/apr-* | sed -e 's/.*apr-//'`
-	     UIMA_APR_INCLUDE="-I$withval/include/apr-$APR_VER"
-             UIMA_APR_LIB="-L$withval/lib -lapr-$APR_VER"
-             APR_TEST_INCLUDE="$UIMA_APR_INCLUDE"
-	     AC_SUBST(UIMA_APR_INCLUDE)
-	     AC_SUBST(UIMA_APR_LIB)
-	     ],
-                      [APR_VER=`echo $UIMACPP_HOME/include/apr-* | sed -e 's/.*apr-//'`
-		       APR_TEST_INCLUDE="-I$UIMACPP_HOME/include/apr-$APR_VER"
-		       UIMACPP_HOME_INCLUDE="$UIMACPP_HOME_INCLUDE $APR_TEST_INCLUDE"
-		       UIMACPP_HOME_LIB="$UIMACPP_HOME_LIB -lapr-$APR_VER"])
-
-CPPFLAGS_save="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $APR_TEST_INCLUDE -D_GNU_SOURCE"
-AC_CHECK_HEADER([apr.h],
-                [:],
-                [AC_MSG_ERROR([Unable to find APR Headers])])
-CPPFLAGS="$CPPFLAGS_save"
-
-
-#########################################################################
-#
-# check for ICU
-#
-
-AC_ARG_WITH([icu], AC_HELP_STRING([--with-icu],
-                                      [use ICU Library (uses $UIMACPP_HOME by default)]),
-               [UIMA_ICU_INCLUDE="-I$withval/include"
-                UIMA_ICU_LIB="-L$withval/lib -licui18n -licuuc -licuio -licudata"
-		ICU_TEST_INCLUDE="$UIMA_ICU_INCLUDE"
-		AC_SUBST(UIMA_ICU_INCLUDE)
-		AC_SUBST(UIMA_ICU_LIB)
-		],
-                      [ICU_TEST_INCLUDE="-I$UIMACPP_HOME/include"
-		       UIMACPP_HOME_LIB="$UIMACPP_HOME_LIB -licui18n -licuuc -licuio -licudata"])
-
-CPPFLAGS_save="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $ICU_TEST_INCLUDE"
-AC_CHECK_HEADER([unicode/uversion.h],
-                [:],
-                [AC_MSG_ERROR([Unable to find ICU Headers])])
-CPPFLAGS="$CPPFLAGS_save"
-#########################################################################
-#
-# check for ACTIVEMQ
-#
-ACTIVEMQ_INC="$withval/include"
-for lookdir in "$withval/include" "withval"
-  do
-     ACTIVEMQ_INC="$ACTIVEMQ_INC/$lookdir"
-  done
-
-AC_ARG_WITH([activemq], AC_HELP_STRING([--with-activemq],
-                                      [use ACTIVEMQ Library (no deployment wrapper by default)]),
-               [ACTIVEMQ_VER=`echo $withval/include/activemq-cpp-* | sed -e 's/.*activemq-cpp-//'`
-               UIMA_ACTIVEMQ_INCLUDE="-I$withval/include/activemq-cpp-$ACTIVEMQ_VER"
-                UIMA_ACTIVEMQ_LIB="-L$withval/lib -lactivemq-cpp"
-		ACTIVEMQ_TEST_INCLUDE="$UIMA_ACTIVEMQ_INCLUDE"
-		AC_SUBST(UIMA_ACTIVEMQ_INCLUDE)
-		AC_SUBST(UIMA_ACTIVEMQ_LIB)
-		])
-
-CPPFLAGS_save="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $ACTIVEMQ_TEST_INCLUDE"
-activemq=true
-AC_CHECK_HEADER([activemq/exceptions/ExceptionDefines.h],
-                [:],
-                [activemq=false])
-
-CPPFLAGS="$CPPFLAGS_save"
-AM_CONDITIONAL([ACTIVEMQ_FOUND], [test x$activemq = xtrue])
-if test "x$activemq" = "xfalse"; then
-AC_MSG_RESULT(***ACTIVEMQ dependency not found)
-AC_MSG_RESULT(***Not building deployCppService)
-AC_MSG_RESULT(***To try again ... touch configure before running make)
-fi
-
-
-
-####################################
-#Substitute default paths, if needed
-AC_SUBST(UIMACPP_HOME_INCLUDE)
-AC_SUBST(UIMACPP_HOME_LIB)
-
-
-#########################################################################
-#
-# check for Java JDK
-#
-
-AC_ARG_WITH([jdk], AC_HELP_STRING([--with-jdk],
-                                      [use local JDK (uses /opt/IBMJava2-142 by default)]),
-               [UIMA_JDK_INCLUDE="-I$withval"
-                JDK_TEST_INCLUDE="$UIMA_JDK_INCLUDE"],
-                    [UIMA_JDK_INCLUDE="-I/opt/IBMJava2-142/include"
-                     JDK_TEST_INCLUDE="-I/opt/IBMJava2-142/include"])
-
-CPPFLAGS_save="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $JDK_TEST_INCLUDE"
-AC_CHECK_HEADER([jni.h],
-                [:],
-                [AC_MSG_ERROR([Unable to find JDK Headers])])
-CPPFLAGS="$CPPFLAGS_save"
-
-AC_SUBST(UIMA_JDK_INCLUDE)
-
-
-#########################################################################
-#
-# setup for link with UIMA lib
-#
-
-UIMA_LIB="-L\$(top_srcdir)/../src/framework -luima"
-AC_SUBST(UIMA_LIB)
-
-AM_CONDITIONAL(APPLE, test x$build_vendor = xapple)
-
-AC_OUTPUT(Makefile framework/Makefile utils/Makefile test/Makefile)