Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 953ca76

Browse files
committed
more tcl/tk fixes
1 parent 97e461b commit 953ca76

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

src/Makefile.global.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.36 1998/03/23 04:07:59 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.37 1998/03/23 06:01:47 momjian Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -160,9 +160,7 @@ endif
160160
USE_TCL= @USE_TCL@
161161
# customize these to your site's needs
162162
#
163-
TCL_INCDIR= @TCL_INCDIR@
164163
TCL_LIB= @TCL_LIB@
165-
TK_INCDIR= @TK_INCDIR@
166164
TK_LIB= @TK_LIB@
167165

168166
USE_PERL= @USE_PERL@

src/bin/pgtclsh/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.12 1998/03/23 04:08:05 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.13 1998/03/23 06:02:39 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

1414
SRCDIR= ../..
1515
include ../../Makefile.global
1616

17-
CFLAGS+= $(X_CFLAGS) -I$(TCL_INCDIR) -I$(TK_INCDIR) -I$(SRCDIR)/interfaces/libpgtcl
17+
CFLAGS+= $(X_CFLAGS) -I$(SRCDIR)/interfaces/libpgtcl
1818

1919
ifdef KRBVERS
2020
LDFLAGS+= $(KRBLIBS)

src/configure.in

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,12 +563,11 @@ dnl Check for tcl.h
563563
if test "$USE_TCL" = "true"
564564
then
565565
TCL_INCDIR=no
566-
AC_CHECK_HEADER(tcl.h, TCL_INCDIR=)
566+
AC_CHECK_HEADER(tcl.h, TCL_INCDIR=yes)
567567
if test "$TCL_INCDIR" = "no"; then
568568
AC_MSG_WARN(tcl support disabled; tcl.h missing)
569569
USE_TCL=
570570
fi
571-
AC_SUBST(TCL_INCDIR)
572571
fi
573572

574573
dnl Check for Tcl archive
@@ -600,12 +599,11 @@ ice_save_LDFLAGS="$LDFLAGS"
600599
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
601600

602601
TK_INCDIR=no
603-
AC_CHECK_HEADER(tk.h, TK_INCDIR=)
602+
AC_CHECK_HEADER(tk.h, TK_INCDIR=yes)
604603
if test "$TK_INCDIR" = "no"; then
605604
AC_MSG_WARN(tcl support disabled; tk.h missing)
606605
USE_TCL=
607606
fi
608-
AC_SUBST(TK_INCDIR)
609607

610608
LIBS="$ice_save_LIBS"
611609
CFLAGS="$ice_save_CFLAGS"

src/interfaces/libpgtcl/Makefile.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.4 1998/03/15 08:02:55 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.5 1998/03/23 06:03:04 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -17,8 +17,7 @@ include $(SRCDIR)/Makefile.global
1717
INCLUDE_OPT= \
1818
-I$(SRCDIR)/backend \
1919
-I$(SRCDIR)/include \
20-
-I$(LIBPQDIR) \
21-
-I$(TCL_INCDIR)
20+
-I$(LIBPQDIR)
2221

2322
PORTNAME=@PORTNAME@
2423

0 commit comments

Comments
 (0)