more tcl/tk fixes
This commit is contained in:
parent
97e461b101
commit
953ca76b8d
@ -7,7 +7,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.36 1998/03/23 04:07:59 momjian Exp $
|
||||
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.37 1998/03/23 06:01:47 momjian Exp $
|
||||
#
|
||||
# NOTES
|
||||
# Essentially all Postgres make files include this file and use the
|
||||
@ -160,9 +160,7 @@ endif
|
||||
USE_TCL= @USE_TCL@
|
||||
# customize these to your site's needs
|
||||
#
|
||||
TCL_INCDIR= @TCL_INCDIR@
|
||||
TCL_LIB= @TCL_LIB@
|
||||
TK_INCDIR= @TK_INCDIR@
|
||||
TK_LIB= @TK_LIB@
|
||||
|
||||
USE_PERL= @USE_PERL@
|
||||
|
@ -7,14 +7,14 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.12 1998/03/23 04:08:05 momjian Exp $
|
||||
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.13 1998/03/23 06:02:39 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
SRCDIR= ../..
|
||||
include ../../Makefile.global
|
||||
|
||||
CFLAGS+= $(X_CFLAGS) -I$(TCL_INCDIR) -I$(TK_INCDIR) -I$(SRCDIR)/interfaces/libpgtcl
|
||||
CFLAGS+= $(X_CFLAGS) -I$(SRCDIR)/interfaces/libpgtcl
|
||||
|
||||
ifdef KRBVERS
|
||||
LDFLAGS+= $(KRBLIBS)
|
||||
|
@ -563,12 +563,11 @@ dnl Check for tcl.h
|
||||
if test "$USE_TCL" = "true"
|
||||
then
|
||||
TCL_INCDIR=no
|
||||
AC_CHECK_HEADER(tcl.h, TCL_INCDIR=)
|
||||
AC_CHECK_HEADER(tcl.h, TCL_INCDIR=yes)
|
||||
if test "$TCL_INCDIR" = "no"; then
|
||||
AC_MSG_WARN(tcl support disabled; tcl.h missing)
|
||||
USE_TCL=
|
||||
fi
|
||||
AC_SUBST(TCL_INCDIR)
|
||||
fi
|
||||
|
||||
dnl Check for Tcl archive
|
||||
@ -600,12 +599,11 @@ ice_save_LDFLAGS="$LDFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||
|
||||
TK_INCDIR=no
|
||||
AC_CHECK_HEADER(tk.h, TK_INCDIR=)
|
||||
AC_CHECK_HEADER(tk.h, TK_INCDIR=yes)
|
||||
if test "$TK_INCDIR" = "no"; then
|
||||
AC_MSG_WARN(tcl support disabled; tk.h missing)
|
||||
USE_TCL=
|
||||
fi
|
||||
AC_SUBST(TK_INCDIR)
|
||||
|
||||
LIBS="$ice_save_LIBS"
|
||||
CFLAGS="$ice_save_CFLAGS"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.4 1998/03/15 08:02:55 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.5 1998/03/23 06:03:04 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@ -17,8 +17,7 @@ include $(SRCDIR)/Makefile.global
|
||||
INCLUDE_OPT= \
|
||||
-I$(SRCDIR)/backend \
|
||||
-I$(SRCDIR)/include \
|
||||
-I$(LIBPQDIR) \
|
||||
-I$(TCL_INCDIR)
|
||||
-I$(LIBPQDIR)
|
||||
|
||||
PORTNAME=@PORTNAME@
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user