aboutsummaryrefslogtreecommitdiff
path: root/tkzinc.m4
diff options
context:
space:
mode:
authorconversy2003-10-07 13:12:45 +0000
committerconversy2003-10-07 13:12:45 +0000
commitde812524c713991cc44452e30df51494d5d5ca16 (patch)
tree47b00d27bf6c469665e77721ae1cf0b0b72e6e84 /tkzinc.m4
parent48a64c35c5d01e79e87f49b8581038eecdee239a (diff)
downloadtkzinc-de812524c713991cc44452e30df51494d5d5ca16.zip
tkzinc-de812524c713991cc44452e30df51494d5d5ca16.tar.gz
tkzinc-de812524c713991cc44452e30df51494d5d5ca16.tar.bz2
tkzinc-de812524c713991cc44452e30df51494d5d5ca16.tar.xz
*** empty log message ***
Diffstat (limited to 'tkzinc.m4')
-rw-r--r--tkzinc.m455
1 files changed, 1 insertions, 54 deletions
diff --git a/tkzinc.m4 b/tkzinc.m4
index 8a342d6..785b892 100644
--- a/tkzinc.m4
+++ b/tkzinc.m4
@@ -128,7 +128,7 @@ AC_DEFUN(ZINC_ENABLE_GL, [
fi
AC_DEFINE(OM)
AC_MSG_RESULT([yes])
- LIBS="${LIBS} -L. -lom"
+# LIBS="${LIBS} -L. -lom"
fi
AC_SUBST(Om_LIB_FILE)
])
@@ -173,56 +173,3 @@ AC_DEFUN(ZINC_ENABLE_SHAPE, [
fi
fi
])
-
-#------------------------------------------------------------------------
-# ZINC_ENABLE_PTK --
-#
-# Specify that zinc should be build for perl/Tk instead of Tk
-#
-# Arguments:
-# none
-#
-# Results:
-#
-# Adds the following arguments to configure:
-# --enable-ptk=[yes,no]
-#
-# Defines the following vars:
-# PTK Defined if compilation should be
-# done for perl/Tk
-# PERL_TK_LIB Path to perl/tk library (.pm)
-#
-# Modifies SHLIB_LD_LIBS, TCL_INCLUDES and TK_INCLUDES to
-# reflect the change in runtime environment.
-#
-#------------------------------------------------------------------------
-
-AC_DEFUN(ZINC_ENABLE_PTK, [
- AC_MSG_CHECKING([for build with perl/Tk support])
- AC_ARG_ENABLE(ptk,
- [ --enable-ptk build with perl/Tk support [[no]]],
- [tcl_ok=$enableval], [tcl_ok=no])
- if test "$tcl_ok" = "no"; then
- PERL_TK_LIB=
- AC_MSG_RESULT([no])
- else
- #
- # Locate the perl hierarchy and the corresponding perl/tk.
- #
- AC_CHECK_PROGS(PERL, perl, error)
- changequote()
- PERL_TK_LIB=`perl -MTk -e 'print $Tk::library'`
- changequote([, ])
-
- #
- # Don't use stubs libraries with perl/Tk.
- # Don't use either the includes from Tcl/Tk.
- SHLIB_LD_LIBS="\${LIBS}"
- TCL_INCLUDES=
- TK_INCLUDES=-I${PERL_TK_LIB}/pTk
- AC_DEFINE(PTK)
- AC_MSG_RESULT([yes])
- fi
-
- AC_SUBST(PERL_TK_LIB)
-])