From 7e151c2001d673ee06e273ed47cdd354b4ba4f22 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Sun, 5 Oct 2003 15:06:30 +0000 Subject: Suppressed the perl target and configuration option libom is no more. The code is included in the main module. It will be re-released as an independent module once stubs will be available for Tkzinc and a tcl binding will be written for the overlap manager api. --- aclocal.m4 | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) (limited to 'aclocal.m4') diff --git a/aclocal.m4 b/aclocal.m4 index b09b3f2..c756434 100644 --- a/aclocal.m4 +++ b/aclocal.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