Changeset: 2882c24e7161 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2882c24e7161 Modified Files: pathfinder/configure.ag Branch: default Log Message:
Delete unused file. diffs (truncated from 656 to 300 lines): diff -r 4dd64a8dee9b -r 2882c24e7161 pathfinder/configure.ag --- a/pathfinder/configure.ag Sat Jan 08 18:53:47 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,652 +0,0 @@ -# -*- Autoconf -*- - -# The contents of this file are subject to the Pathfinder Public License -# Version 1.1 (the "License"); you may not use this file except in -# compliance with the License. You may obtain a copy of the License at -# http://monetdb.cwi.nl/Legal/PathfinderLicense-1.1.html -# -# Software distributed under the License is distributed on an "AS IS" -# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -# the License for the specific language governing rights and limitations -# under the License. -# -# The Original Code is the Pathfinder system. -# -# The Original Code has initially been developed by the Database & -# Information Systems Group at the University of Konstanz, Germany and -# the Database Group at the Technische Universitaet Muenchen, Germany. -# It is now maintained by the Database Systems Group at the Eberhard -# Karls Universitaet Tuebingen, Germany. Portions created by the -# University of Konstanz, the Technische Universitaet Muenchen, and the -# Universitaet Tuebingen are Copyright (C) 2000-2005 University of -# Konstanz, (C) 2005-2008 Technische Universitaet Muenchen, and (C) -# 2008-2011 Eberhard Karls Universitaet Tuebingen, respectively. All -# Rights Reserved. - -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.60) -AC_INIT([MonetDB XQuery], [0.41.0], [[email protected]], [MonetDB-XQuery]) -# ^^^^^^ -# Maintained via vertoo. Please don't modify by hand! -# Contact [email protected] for details and/or assistance. -AC_CONFIG_SRCDIR(compiler/main.c) -AC_CONFIG_AUX_DIR(conf) -AC_CANONICAL_HOST -AC_CANONICAL_TARGET -AH_BOTTOM([#include "stddef.h"]) - -dnl ---------------------- -AM_INIT_AUTOMAKE -AM_CONFIG_HEADER(monetdb_config.h:conf/config.h.in) -CONFIG_H=monetdb_config.h -AC_SUBST(CONFIG_H) - -# PATHFINDER_BUILD and PATHFINDER_SOURCE are *only* used for monetdb-xquery-config and RunMserver -# PATHFINDER_SOURCE is the absolute path name of the source directory -# (srcdir can be relative) - -# The Q versions of various variables are used in places where \'s -# need to be escapes with an extra \. Configure does not support \'s -# in path names, so there is no need to do anything special here -# except set the variables. The command to set them in case we do -# need to escape the \'s is Qvar=`echo "$var" | sed 's/\\\\/\\\\\\\\/g'` -PATHFINDER_BUILD=[`pwd`] -AC_SUBST(PATHFINDER_BUILD) - -PATHFINDER_SOURCE=[`(cd $srcdir && pwd)`] -AC_SUBST(PATHFINDER_SOURCE) - -AM_MONETDB_XQ_VARS_1() - - -dnl Check for Monet -req_monetdb_ver='1.40.0' -# ^^^^^^ -# Maintained via vertoo. Please don't modify by hand! -# Contact [email protected] for details and/or assistance. -AM_MONETDB_COMMON($req_monetdb_ver) -if test "x$have_monetdb" != xyes; then - if test "x$MONETDB_VERSION" = x; then - AC_MSG_NOTICE([No MonetDB base installation found. No runtime support for MonetDB4 and MonetDB5 will be compiled.]) - else - AC_MSG_WARN([Your MonetDB base installation is outdated (version $MONETDB_VERSION, required $req_monetdb_ver). No runtime support for MonetDB4 and MonetDB5 will be compiled.]) - fi -fi - -dnl must check for compiler before checking for MonetDB4 -AM_MONETDB_DEFAULTS() -AM_MONETDB_COMPILER() -AC_PROG_CC_C99() -if test "x$ac_cv_prog_cc_c99" == xno; then - AC_MSG_ERROR([Pathfinder requires a C99 compliant C compiler, but your C compiler does not seem to be C99 compliant.]) -fi - -req_clients_ver='1.40.0' -# ^^^^^^ -# Maintained via vertoo. Please don't modify by hand! -# Contact [email protected] for details and/or assistance. -AM_MONETDB_CLIENTS($req_clients_ver) -AM_MONETDB_TOOLS() -AM_MONETDB_OPTIONS() -AM_MONETDB_LIBS() -AM_MONETDB_UTILS() - -dnl overwrite CONDITIONAL HAVE_EXTRA_MK -dnl defined false in AM_MONETDB_UTILS() -AM_CONDITIONAL(HAVE_EXTRA_MK, true) - -dnl Test for MonetDB4 and MonetDB5 (only if MonetDB base was found) - -dnl We may not call AM_MONETDB4 and AM_MONETDB5 conditionally, -dnl since they use AM_CONDITIONAL. So we do both tests, but -dnl ignore their outcome if we haven't found MonetDB common before. - -req_monetdb4_ver='4.40.0' -# ^^^^^^ -# Maintained via vertoo. Please don't modify by hand! -# Contact [email protected] for details and/or assistance. -AM_MONETDB4($req_monetdb4_ver) - -req_monetdb5_ver='5.22.0' -# ^^^^^ -# Maintained via vertoo. Please don't modify by hand! -# Contact [email protected] for details and/or assistance. -AM_MONETDB5($req_monetdb5_ver) - -if test "x$have_monetdb" = xyes; then - - dnl Test for MonetDB4 - if test "x$have_monetdb4" != xyes; then - if test "x$MONETDB4_VERSION" = x; then - AC_MSG_NOTICE([Pathfinder will be compiled without MonetDB4 support]) - AC_MSG_NOTICE([(no installation of MonetDB4 found).]) - else - AC_MSG_WARN([Pathfinder will be compiled without MonetDB4 support,]) - AC_MSG_WARN([since your version ($MONETDB4_VERSION) is outdated]) - AC_MSG_WARN([(Pathfinder requires at least version $req_monetdb4_ver).]) - fi - else - AC_MSG_NOTICE([MonetDB4 support enabled (found version $MONETDB4_VERSION of MonetDB4).]) - fi - - dnl Test for MonetDB5 - if test "x$have_monetdb5" != xyes; then - if test "x$MONETDB5_VERSION" = x; then - AC_MSG_NOTICE([Pathfinder will be compiled without MonetDB5 support]) - AC_MSG_NOTICE([(no installation of MonetDB5 found).]) - else - AC_MSG_WARN([Pathfinder will be compiled without MonetDB5 support,]) - AC_MSG_WARN([since your version ($MONETDB5_VERSION) is outdated]) - AC_MSG_WARN([(Pathfinder requires at least version $req_monetdb5_ver).]) - fi - else - AC_MSG_NOTICE([MonetDB5 support enabled (found version $MONETDB5_VERSION of MonetDB5).]) - fi - -else - - dnl No MonetDB base installation found - AC_MSG_NOTICE([Support for MonetDB4 and MonetDB5 disabled, since no]) - AC_MSG_NOTICE([MonetDB base installation was found.]) - have_monetdb4=no - have_monetdb5=no - -fi - -AM_CONDITIONAL(HAVE_MONETDB4, test "x$have_monetdb4" = xyes) -AM_CONDITIONAL(HAVE_MONETDB5, test "x$have_monetdb5" = xyes) - - -dnl provide different versions of the paths derived above -AM_MONETDB_XQ_VARS_2() -AC_DEFINE_UNQUOTED(PATHFINDER_PREFIX,"$QXprefix",[architecture-independent files]) -AC_DEFINE_UNQUOTED(PATHFINDER_EXEC_PREFIX,"$QXexec_prefix",[architecture-dependent files]) -QPATHFINDER_BUILD="$PATHFINDER_BUILD" -XPATHFINDER_BUILD="`$translatepath "$PATHFINDER_BUILD"`" -QXPATHFINDER_BUILD="`echo "$XPATHFINDER_BUILD" | sed 's/\\\\/\\\\\\\\/g'`" -AC_SUBST(QPATHFINDER_BUILD) -AC_SUBST(XPATHFINDER_BUILD) -AC_SUBST(QXPATHFINDER_BUILD) -QPATHFINDER_SOURCE="$PATHFINDER_SOURCE" -XPATHFINDER_SOURCE="`$translatepath "$PATHFINDER_SOURCE"`" -QXPATHFINDER_SOURCE="`echo "$XPATHFINDER_SOURCE" | sed 's/\\\\/\\\\\\\\/g'`" -AC_SUBST(QPATHFINDER_SOURCE) -AC_SUBST(XPATHFINDER_SOURCE) -AC_SUBST(QXPATHFINDER_SOURCE) -AC_DEFINE_UNQUOTED(PATHFINDER_LOCALSTATEDIR,"$QXlocalstatedir",[modifiable single-machine data]) -AC_DEFINE_UNQUOTED(PATHFINDER_LIBDIR,"$QXlibdir",[object code libraries]) -AC_DEFINE_UNQUOTED(PATHFINDER_SYSCONFDIR,"$QXsysconfdir",[read-only single-machine data]) - - -AM_PROG_CC_C_O - -dnl Pathfinder needs bison (not yacc) and the `locations' feature -dnl coming with bison versions >= 1.33. - -if test "x$YACC" != "x"; then dnl Yacc found on the system? - -AC_MSG_CHECKING([for locations feature in bison/yacc]) - -dnl A tiny input file for bison containing the `%locations' option -cat <<EOF > conftest.y -%locations -%token A -%% -B : A; -%% -EOF - -if $YACC conftest.y >/dev/null 2>&1 ; then - AC_DEFINE(HAVE_LOCATIONS, 1, [Does bison have the `locations' feature?]) - AC_MSG_RESULT(yes) -else - AC_DEFINE(HAVE_LOCATIONS, 0, [Does bison have the `locations' feature?]) - AC_MSG_RESULT(no) - YACC='' - AC_MSG_WARN([Your version of yacc/bison does not provide the `locations' - feature, coming with bison >= 1.33. You will not be able to - compile the Pathfinder compiler from the development - sources.]) -fi -rm -f y.tab.c - -fi dnl Yacc found on the system? - - -AC_LANG_C - -if test -f "$srcdir"/vertoo.data; then - AC_ARG_WITH(burg, - AS_HELP_STRING([--with-burg=FILE], [burg is installed as FILE]), - have_burg="$withval", - have_burg=auto) - if test "x$have_burg" = xauto; then - AC_PATH_PROGS(BURG,[ burg$EXEEXT burg ],,$PATH) - if test "x$BURG" = x; then - AC_ERROR([No burg$EXEEXT found in PATH=$PATH]) - fi - elif test "x$have_burg" = xno; then - AC_MSG_ERROR([burg is required]) - else - BURG="$withval" - fi - AC_SUBST(BURG) -fi - -dnl -dnl We support the GNU getopt library (and its features for long option -dnl names) if we find it available. Otherwise we fall back to the standard -dnl Unix unistd.h version. -dnl -dnl Check for standard Unix unistd.h -AC_CHECK_HEADER([unistd.h], [have_unistd="yes"], [have_unistd="no"]) - -if test x$have_unistd != "xyes"; then - AC_MSG_ERROR([Pathfinder needs the getopt function to parse command - line options. Please check the existence of the header file - unistd.h on your system.]) -fi - -dnl Check for GNU Getopt -AC_CHECK_HEADERS([getopt.h]) -AC_CHECK_FUNCS(getopt_long) - -dnl Check for stdbool.h -AC_CHECK_HEADERS([stdbool.h]) - -dnl Check for type bool -AC_CHECK_TYPES(bool) - -dnl Check for stdint.h -AC_CHECK_HEADERS([stdint.h]) - -dnl Check for type socklen_t -AC_CHECK_TYPE(socklen_t, AC_DEFINE(HAVE_SOCKLEN_T, 1, [Define to 1 if the system has the type `socklen_t'.]), , [#include <sys/types.h> -#include <sys/socket.h>]) - -AC_CHECK_FUNCS(inet_ntop) - -dnl Check for libgen.h and function basename -AC_CHECK_HEADERS([libgen.h]) -AC_CHECK_FUNCS(basename) - -dnl Check some sizes -AC_CHECK_SIZEOF(int) -AC_CHECK_SIZEOF(void *) - - -dnl Seems like the compiler on SunOS 5.8 cannot cope with the -dnl __attribute__ specifications that can give compilers additional -dnl hints about a function (style of variable argument list, functions -dnl that never return, etc.) -AC_MSG_CHECKING([if your compiler understands `__attribute__']) - -save_CFLAGS="$CFLAGS" -case "$GCC-$CC-$host_os" in --*-solaris*) - dnl Sun compiler on Solaris: - dnl treat warnings as errors to fail on - dnl 'warning: attribute parameter "printf" is undefined' - CFLAGS="$CFLAGS -errwarn=%all" - ;; -esac - -AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[ -#include <stdlib.h> - _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
