freebsd-ports/editors/vim6/files/patch-02
David E. O'Brien 1a56eeadb8 Add GTK support. Set "HAVE_GTK" to invoke it.
Submitted by:	Yuan-Chen Cheng <ycheng@ycheng.wsl.sinica.edu.tw>
1999-10-25 06:02:02 +00:00

26 lines
1.1 KiB
Plaintext

--- configure.orig Sun Sep 19 03:59:45 1999
+++ configure Sun Oct 24 21:47:29 1999
@@ -2906,11 +2906,11 @@
if test "x$gtk_config_prefix" != "x" ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
- GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
+ GTK_CONFIG=$gtk_config_prefix/bin/gtk12-config
fi
if test "x$gtk_config_exec_prefix" != "x" ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
- GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
+ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk12-config
fi
if test "X$GTK_CONFIG" = "X"; then
# Extract the first word of "gtk-config", so it can be a program name with args.
@@ -3098,7 +3098,7 @@
gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
GUI_LIB_LOC=
for try in $gui_libs; do
- for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl; do
+ for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.so.0 "$try"/libXm.so.0.1 "$try"/libXm.sl; do
if test -f "$libtry"; then
GUI_LIB_LOC=$try
fi