aboutsummaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in119
1 files changed, 0 insertions, 119 deletions
diff --git a/src/configure.in b/src/configure.in
deleted file mode 100644
index 86273467636..00000000000
--- a/src/configure.in
+++ /dev/null
@@ -1,119 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT(backend/access/common/heaptuple.c)
-AC_CANONICAL_HOST
-case "$host_os" in
-freebsd*) PORTNAME='BSD44_derived' ;;
-*) PORTNAME='UNDEFINED' ;;
-esac
-AC_SUBST(PORTNAME)
-
-AC_CONFIG_HEADER(include/config.h)
-
-dnl Checks for programs.
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_CXX
-
-dnl Check if we should set Have_Cplusplus
-if test -n "$CXX"; then
- export HAVECXX
- HAVECXX='HAVE_Cplusplus=true'
-fi
-AC_SUBST(HAVECXX)
-
-dnl AC_PROG_INSTALL was broken on my machine (NAT), so here's an
-dnl alternative, built from the various portname options
-AC_PATH_PROG(INSTALL, install, /usr/bin:/usr/ucb:/home/tools/bin)
-AC_PATH_PROG(BSDINST, bsdinst, /usr/bin/X11:/usr/X11R6/bin:/sbin)
- INSTLOPTS="-m 444"
- INSTL_EXE_OPTS="-m 555"
- INSTL_LIB_OPTS="-m 664"
-if test -n "$INSTALL"; then
- INSTLOPTS="-c $INSTLOPTS"
- INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
- INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
-else
- INSTALL=$BSDINST
-fi
-AC_SUBST(INSTALL)
-AC_SUBST(INSTLOPTS)
-AC_SUBST(INSTL_LIB_OPTS)
-AC_SUBST(INSTL_EXE_OPTS)
-
-dnl Check the option to echo to inhibit newlines.
-ECHO_N_OUT=`echo -n "" | wc -c`
-ECHO_C_OUT=`echo "\c" | wc -c`
-if test "$ECHO_N_OUT" -eq 0; then
- DASH_N='-n'
- BACKSLASH_C=
-else
- if test "ECHO_C_OUT" -eq 0; then
- DASH_N=
- BACKSLASH_C= '\\\\c'
- else
- AC_MSG_ERROR("echo behaviour undetermined")
- fi
-fi
-AC_SUBST(DASH_N)
-AC_SUBST(BACKSLASH_C)
-
-AC_PROG_LEX
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-AC_PROG_RANLIB
-AC_PATH_PROG(find, find)
-AC_PATH_PROG(tar, tar)
-AC_PATH_PROG(split, split)
-AC_PATH_PROG(etags, etags)
-AC_PATH_PROG(xargs, xargs)
-AC_PATH_PROG(ipcs, ipcs)
-AC_PATH_PROG(ipcrm, ipcrm)
-
-dnl Checks for libraries.
-dnl readline (used in psql if present)
-dnl if the library readline is present,
-dnl set the shell variable USE_READLINE
-dnl to have the value USE_READLINE=true
-dnl and substitute it into the makefiles
-AC_CHECK_LIB(readline, main, READLINE_LIB='-lreadline')
-AC_SUBST(READLINE_LIB)
-AC_CHECK_LIB(history, main, HISTORY_LIB='-lhistory')
-AC_SUBST(HISTORY_LIB)
-AC_CHECK_LIB(curses, main, CURSES_LIB='-lcurses')
-AC_SUBST(CURSES_LIB)
-AC_CHECK_LIB(termcap, main, TERMCAP_LIB='-ltermcap')
-AC_SUBST(TERMCAP_LIB)
-AC_CHECK_LIB(m, main, MATH_LIB='-lm')
-AC_SUBST(MATH_LIB)
-AC_CHECK_LIB(dl, main, DL_LIB='-ldl')
-AC_SUBST(DL_LIB)
-AC_CHECK_LIB(socket, main, SOCKET_LIB='-lsocket')
-AC_SUBST(SOCKET_LIB)
-AC_CHECK_LIB(nsl, main, NSL_LIB='-lnsl')
-AC_SUBST(NSL_LIB)
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(fcntl.h limits.h sys/file.h sys/ioctl.h sys/time.h unistd.h)
-AC_CHECK_HEADERS(termios.h values.h sys/select.h)
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_TYPE_UID_T
-AC_C_INLINE
-AC_TYPE_MODE_T
-AC_TYPE_OFF_T
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-AC_STRUCT_TM
-
-dnl Checks for library functions.
-AC_PROG_GCC_TRADITIONAL
-AC_FUNC_MEMCMP
-AC_TYPE_SIGNAL
-AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(ftime getcwd gethostname gettimeofday putenv regcomp select socket strcspn strdup strerror strftime strspn strtod strtol)
-AC_CHECK_FUNCS(isinf tzset cbrt rint rusage vfork memmove)
-
-AC_OUTPUT(GNUmakefile Makefile.global bin/psql/Makefile)