diff options
author | lecoanet | 2003-10-05 15:06:30 +0000 |
---|---|---|
committer | lecoanet | 2003-10-05 15:06:30 +0000 |
commit | 7e151c2001d673ee06e273ed47cdd354b4ba4f22 (patch) | |
tree | 2d089cd4758d1510fcaad766658e8580956f46aa /aclocal.m4 | |
parent | 888353fe74e48223fdb0a4ea960ad9a9aff03783 (diff) | |
download | tkzinc-7e151c2001d673ee06e273ed47cdd354b4ba4f22.zip tkzinc-7e151c2001d673ee06e273ed47cdd354b4ba4f22.tar.gz tkzinc-7e151c2001d673ee06e273ed47cdd354b4ba4f22.tar.bz2 tkzinc-7e151c2001d673ee06e273ed47cdd354b4ba4f22.tar.xz |
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.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 55 |
1 files changed, 1 insertions, 54 deletions
@@ -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) -]) |