File gtksurf-autofoo.diff of Package surf

--- acinclude.m4
+++ acinclude.m4	2008/07/17 12:50:54
@@ -10,7 +10,7 @@
 #   LF_CHECK_CXX_FLAG(-flag1 -flag2 -flag3 ...)
 # -------------------------------------------------------------------------
 
-AC_DEFUN(LF_CHECK_CXX_FLAG,[
+AC_DEFUN([LF_CHECK_CXX_FLAG],[
   echo 'void f(){}' > conftest.cc
   for i in $1
   do
@@ -34,7 +34,7 @@
 #  LF_CHECK_CC_FLAG(-flag1 -flag2 -flag3 ...)
 # -------------------------------------------------------------------------
 
-AC_DEFUN(LF_CHECK_CC_FLAG,[
+AC_DEFUN([LF_CHECK_CC_FLAG],[
   echo 'void f(){}' > conftest.c
   for i in $1
   do
@@ -102,7 +102,7 @@
 dnl #undef YOUR_OS
 dnl END ACCONFIG
 
-AC_DEFUN(LF_HOST_TYPE, [
+AC_DEFUN([LF_HOST_TYPE], [
   AC_CANONICAL_HOST
   if test -z "$host"
   then
@@ -131,7 +131,7 @@
 dnl If the C++ compiler supports explicit template instantiation,
 dnl define `HAVE_EXPLICIT_TEMPLATE_INSTANTIATION'.
 dnl
-AC_DEFUN(ICE_CXX_EXPLICIT_TEMPLATE_INSTANTIATION,
+AC_DEFUN([ICE_CXX_EXPLICIT_TEMPLATE_INSTANTIATION],
 [
 AC_REQUIRE([AC_PROG_CXX])
 AC_MSG_CHECKING(whether ${CXX} supports explicit template instantiation)
@@ -160,7 +160,7 @@
 dnl
 dnl @author Luc Maisonobe
 dnl
-AC_DEFUN(AC_CXX_FUNCTION_NONTYPE_PARAMETERS,
+AC_DEFUN([AC_CXX_FUNCTION_NONTYPE_PARAMETERS],
 [AC_CACHE_CHECK(whether ${CXX} supports function templates with non-type parameters,
 ac_cv_cxx_function_nontype_parameters,
 [AC_LANG_SAVE
@@ -183,7 +183,7 @@
 dnl (inspired by Gtk-- 1.2.1 configure.in)
 dnl ------------------------------------------
 
-AC_DEFUN(JOJO_CXX_NAMESPACES, [
+AC_DEFUN([JOJO_CXX_NAMESPACES], [
 	AC_MSG_CHECKING(whether ${CXX} supports namespaces)
 	AC_TRY_COMPILE([
 		namespace Foo { struct A {}; }
@@ -198,7 +198,7 @@
 	])
 ])
 
-AC_DEFUN(JOJO_CXX_STDNAMESPACE, [
+AC_DEFUN([JOJO_CXX_STDNAMESPACE], [
 	AC_MSG_CHECKING(whether ${CXX} uses std namespace)
 	AC_TRY_COMPILE([
 		#include <iostream>
@@ -227,7 +227,7 @@
 dnl JOJO_CHECK_STRINGSTREAM
 dnl check if we have <sstream> header an stringstream (instead of strstream)
 
-AC_DEFUN(JOJO_CXX_STRINGSTREAM, [
+AC_DEFUN([JOJO_CXX_STRINGSTREAM], [
   AC_MSG_CHECKING(whether ${CXX} has <sstream>/stringstream)
   AC_TRY_COMPILE([
       #include<sstream>
--- autogen.sh
+++ autogen.sh	2008/07/17 12:53:15
@@ -1,9 +1,9 @@
 #!/bin/sh
 
-automake -a --foreign
 aclocal
-autoconf
 autoheader
+automake -a --foreign
+autoconf
 
 echo "running ./configure $*"
 ./configure $*
--- configure.in
+++ configure.in	2008/07/17 12:52:34
@@ -16,7 +16,6 @@
 AC_PROG_CXX
 AC_AIX
 AC_ISC_POSIX
-AC_MINIX
 AC_HEADER_STDC
 
 
openSUSE Build Service is sponsored by