mirror of
https://github.com/postgres/postgres.git
synced 2025-05-15 19:15:29 +03:00
more tcl/tk fixes
This commit is contained in:
parent
97e461b101
commit
953ca76b8d
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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
|
# NOTES
|
||||||
# Essentially all Postgres make files include this file and use the
|
# Essentially all Postgres make files include this file and use the
|
||||||
@ -160,9 +160,7 @@ endif
|
|||||||
USE_TCL= @USE_TCL@
|
USE_TCL= @USE_TCL@
|
||||||
# customize these to your site's needs
|
# customize these to your site's needs
|
||||||
#
|
#
|
||||||
TCL_INCDIR= @TCL_INCDIR@
|
|
||||||
TCL_LIB= @TCL_LIB@
|
TCL_LIB= @TCL_LIB@
|
||||||
TK_INCDIR= @TK_INCDIR@
|
|
||||||
TK_LIB= @TK_LIB@
|
TK_LIB= @TK_LIB@
|
||||||
|
|
||||||
USE_PERL= @USE_PERL@
|
USE_PERL= @USE_PERL@
|
||||||
|
@ -7,14 +7,14 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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= ../..
|
SRCDIR= ../..
|
||||||
include ../../Makefile.global
|
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
|
ifdef KRBVERS
|
||||||
LDFLAGS+= $(KRBLIBS)
|
LDFLAGS+= $(KRBLIBS)
|
||||||
|
@ -563,12 +563,11 @@ dnl Check for tcl.h
|
|||||||
if test "$USE_TCL" = "true"
|
if test "$USE_TCL" = "true"
|
||||||
then
|
then
|
||||||
TCL_INCDIR=no
|
TCL_INCDIR=no
|
||||||
AC_CHECK_HEADER(tcl.h, TCL_INCDIR=)
|
AC_CHECK_HEADER(tcl.h, TCL_INCDIR=yes)
|
||||||
if test "$TCL_INCDIR" = "no"; then
|
if test "$TCL_INCDIR" = "no"; then
|
||||||
AC_MSG_WARN(tcl support disabled; tcl.h missing)
|
AC_MSG_WARN(tcl support disabled; tcl.h missing)
|
||||||
USE_TCL=
|
USE_TCL=
|
||||||
fi
|
fi
|
||||||
AC_SUBST(TCL_INCDIR)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Check for Tcl archive
|
dnl Check for Tcl archive
|
||||||
@ -600,12 +599,11 @@ ice_save_LDFLAGS="$LDFLAGS"
|
|||||||
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||||
|
|
||||||
TK_INCDIR=no
|
TK_INCDIR=no
|
||||||
AC_CHECK_HEADER(tk.h, TK_INCDIR=)
|
AC_CHECK_HEADER(tk.h, TK_INCDIR=yes)
|
||||||
if test "$TK_INCDIR" = "no"; then
|
if test "$TK_INCDIR" = "no"; then
|
||||||
AC_MSG_WARN(tcl support disabled; tk.h missing)
|
AC_MSG_WARN(tcl support disabled; tk.h missing)
|
||||||
USE_TCL=
|
USE_TCL=
|
||||||
fi
|
fi
|
||||||
AC_SUBST(TK_INCDIR)
|
|
||||||
|
|
||||||
LIBS="$ice_save_LIBS"
|
LIBS="$ice_save_LIBS"
|
||||||
CFLAGS="$ice_save_CFLAGS"
|
CFLAGS="$ice_save_CFLAGS"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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= \
|
INCLUDE_OPT= \
|
||||||
-I$(SRCDIR)/backend \
|
-I$(SRCDIR)/backend \
|
||||||
-I$(SRCDIR)/include \
|
-I$(SRCDIR)/include \
|
||||||
-I$(LIBPQDIR) \
|
-I$(LIBPQDIR)
|
||||||
-I$(TCL_INCDIR)
|
|
||||||
|
|
||||||
PORTNAME=@PORTNAME@
|
PORTNAME=@PORTNAME@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user