Skip to content
Snippets Groups Projects
Commit f554f504 authored by Per Hedbor's avatar Per Hedbor
Browse files

Let's commit it anyway, since it's rather useful until the real fix is...

Let's commit it anyway, since it's rather useful until the real fix is available, and a lot of people seems to be using it

Rev: src/post_modules/GTK/Makefile.in:1.4
Rev: src/post_modules/GTK/configure.in:1.7
Rev: src/post_modules/GTK/make.pike:1.1
parent 8b278b86
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,6 @@ MODULE_LDFLAGS=@LDFLAGS@ @LIBS@ @PGTK_LIBS@ @LIBGLADE_LIBS@
MODULE_CFLAGS=@PGTK_CFLAGS@ @LIBGLADE_CFLAGS@
CONFIG_HEADERS=config.h
# OK.. This is somewhat confusing
#
# WITH_GTK == 1
......@@ -20,15 +19,18 @@ CONFIG_HEADERS=config.h
MYRUNPIKE=../../pike -DNOT_INSTALLED -m../../master.pike
override: sources@WITH_GTK@
@:
@dynamic_module_makefile@
QMAKE=$(RUNPIKE) $(SRCDIR)/make.pike $(MAKE)
sources1:
$(RUNPIKE) $(SRCDIR)/make_sources.pike $(SRCDIR)/source
$(RUNPIKE) $(SRCDIR)/build_pgtk.pike $(SRCDIR)
$(MAKE) $(MAKE_FLAGS) "OBJS=`cat files_to_compile`" all
$(QMAKE) $(MAKEFLAGS) "OBJS=`cat files_to_compile`" all
sources0:
echo Pike-GTK disabled.
......
......@@ -11,6 +11,9 @@ AC_DEFINE(FUNCPROTO)
AC_HEADER_STDC
AC_CHECK_HEADERS( signal.h arpa/inet.h )
AC_ARG_WITH(GL, [ --without-GTK no support for GTK],[without_GTK=yes],[without_GTK=no])
if test "x$without_GTK" = "xno" ; then
dnl aclocal.m4 generated automatically by aclocal 1.3
......@@ -361,7 +364,7 @@ else
else
have_GL=no
fi
fi
fi
CFLAGS="$GL_CFLAGS $CFLAGS"
......@@ -384,7 +387,8 @@ if test "x$have_GL" = "xyes" ; then
echo "*********************************************"
fi
fi
else
WITH_GTK=0
fi
AC_OUTPUT(Makefile options)
string process_argv( string from )
{
if( from == "wj" ) return 0;
if( from == "w" ) return 0;
if( from == "--") return 0;
if( from == "1") return 0;
return replace( from , "-g", "" );
}
int main( int argc, array argv )
{
exit(Process.create_process( map( argv[1..], process_argv ) -({0}) )->wait());
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment