Re: scintilla + freebsd configure

From: Date: Wed, 26 Dec 2001 23:29:37 +0000
Subject: Re: scintilla + freebsd configure
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-923@lists.php.net to get a copy of this message
On Thu, Dec 27, 2001 at 12:19:59AM +0000, mike wolman wrote : > I am using freebsd and simply did a make in the gtkscintilla dir > to install it - i have not made any modifications to the freebsd port, I see ... damn ports, they suck sometimes. Try the attached config.m4 and see if it works. Since I can't test it, you may still need to tweak it. Also, I've no idea if the shared library is name libgtkscintilla.so; if not, you will have to tweak the linking name too. Btw, you may need to clean the ext/scintilla dir before applying it. - Markus

dnl $Id: config.m4,v 1.3 2001/11/27 20:17:48 andrei Exp $ dnl config.m4 for scintilla module PHP_GTK_ARG_ENABLE(scintilla,for Scintilla support, [ --enable-scintilla Enable Scintilla support]) if test "$PHP_GTK_SCINTILLA" != "no"; then for x in /usr /usr/local /usr/X11R6; do if test -f $x/include/gtkscintilla.h; then SCINTILLA_DIR=$x SCINTILLA_INCDIR=$x/include fi if test -f $x/include/scintill/gtkscintilla.h; then SCINTILLA_DIR=$x SCINTILLA_INCDIR=$x/include/scintill fi done if test -z "$SCINTILLA_DIR"; then AC_MSG_ERROR(Cannot locate Scintilla) fi SCINTILLA_LIBDIR=$SCINTILLA_DIR/lib AC_DEFINE(HAVE_SCINTILLA,1,[scintilla support]) PHP_ADD_INCLUDE($SCINTILLA_INCDIR) PHP_ADD_LIBRARY_WITH_PATH(gtkscintilla, $SCINTILLA_LIBDIR, SCINTILLA_SHARED_LIBADD) PHP_SUBST(SCINTILLA_SHARED_LIBADD) PHP_GTK_EXTENSION(scintilla, $php_gtk_ext_shared) fi
« previous php.gtk.general (#923) next »