From de812524c713991cc44452e30df51494d5d5ca16 Mon Sep 17 00:00:00 2001 From: conversy Date: Tue, 7 Oct 2003 13:12:45 +0000 Subject: *** empty log message *** --- tkzinc.m4 | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) (limited to 'tkzinc.m4') 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) -]) -- cgit v1.1