[anjuta] Remove obsolete autoconf macros



commit 9869a6128a5923fc0bea5be4c25193392be91a72
Author: Adrian Bunk <bunk stusta de>
Date:   Mon May 24 03:42:42 2010 +0300

    Remove obsolete autoconf macros
    
    This patch removes the following obsolete macros from both configure.in
    and the configure.ac.tpl's:
    - AC_ISC_POSIX
    - AM_PROG_CC_STDC
    - AC_HEADER_STDC

 configure.in                                       |    2 -
 .../C/anjuta-build-tutorial.xml                    |   32 --------------------
 .../templates/anjuta-plugin/configure.ac.tpl       |    3 --
 .../project-wizard/templates/cpp/configure.ac.tpl  |    3 --
 .../templates/gnome-applet/configure.ac.tpl        |    3 --
 .../templates/js_minimal/configure.ac.tpl          |    3 --
 .../templates/library/configure.ac.tpl             |    3 --
 .../templates/minimal/configure.ac.tpl             |    3 --
 .../project-wizard/templates/sdl/configure.ac.tpl  |    3 --
 .../templates/terminal/configure.ac.tpl            |    3 --
 .../templates/wxwin/configure.ac.tpl               |    3 --
 .../project-wizard/templates/xlib/configure.ac.tpl |    3 --
 12 files changed, 0 insertions(+), 64 deletions(-)
---
diff --git a/configure.in b/configure.in
index 5a45b77..113018f 100644
--- a/configure.in
+++ b/configure.in
@@ -112,8 +112,6 @@ AC_DEFINE_UNQUOTED(PREF_SUFFIX,
       "${PREF_SUFFIX}",
 	  [Suffix to add to preferences directory])
 
-AC_ISC_POSIX
-AC_HEADER_STDC
 AM_DISABLE_STATIC
 AM_PROG_LIBTOOL
 
diff --git a/manuals/anjuta-build-tutorial/C/anjuta-build-tutorial.xml b/manuals/anjuta-build-tutorial/C/anjuta-build-tutorial.xml
index 173eb58..a1ccd8d 100644
--- a/manuals/anjuta-build-tutorial/C/anjuta-build-tutorial.xml
+++ b/manuals/anjuta-build-tutorial/C/anjuta-build-tutorial.xml
@@ -1174,10 +1174,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 AC_OUTPUT([
 Makefile
@@ -1240,35 +1237,6 @@ Makefile
 				</listitem>
 				</varlistentry>
 				<varlistentry>
-				<term>AC_ISC_POSIX</term>
-				<listitem>
-				<para>
-					A bit obscure feature, adding one options to support posix compatibility on
-					some targets.
-				</para>
-				</listitem>
-				</varlistentry>
-				<varlistentry>
-				<term>AM_PROG_CC_STDC</term>
-				<listitem>
-				<para>
-					Try to add an option to the C compiler in order to make it run as ANSI C.
-					I suppose that really few compiler need this, as ANSI C is really basic
-					nowadays. Moreover, this option is now implemented by AC_PROG_CC so it is not
-					needed anymore.
-				</para>
-				</listitem>
-				</varlistentry>
-				<varlistentry>
-				<term>AC_HEADER_STDC</term>
-				<listitem>
-				<para>
-					Check for some standard C header files. Most C compilers provide this
-					now, so it's not really needed.
-				</para>
-				</listitem>
-				</varlistentry>
-				<varlistentry>
 				<term>AC_OUTPUT</term>
 				<listitem>
 				<para>
diff --git a/plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl b/plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl
index 638e315..d4ce6e1 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl
+++ b/plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl
@@ -8,10 +8,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 [+IF (=(get "HaveLangCPP") "1")+]
 AC_PROG_CPP
diff --git a/plugins/project-wizard/templates/cpp/configure.ac.tpl b/plugins/project-wizard/templates/cpp/configure.ac.tpl
index b2fc974..46b32fb 100644
--- a/plugins/project-wizard/templates/cpp/configure.ac.tpl
+++ b/plugins/project-wizard/templates/cpp/configure.ac.tpl
@@ -9,10 +9,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CXX
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 [+IF (=(get "HaveLangCPP") "1")+]
 AC_PROG_CPP
diff --git a/plugins/project-wizard/templates/gnome-applet/configure.ac.tpl b/plugins/project-wizard/templates/gnome-applet/configure.ac.tpl
index b553431..d49194c 100644
--- a/plugins/project-wizard/templates/gnome-applet/configure.ac.tpl
+++ b/plugins/project-wizard/templates/gnome-applet/configure.ac.tpl
@@ -11,10 +11,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 [+IF (=(get "HaveLangCPP") "1")+]
 AC_PROG_CPP
diff --git a/plugins/project-wizard/templates/js_minimal/configure.ac.tpl b/plugins/project-wizard/templates/js_minimal/configure.ac.tpl
index b711bff..3ec1ea7 100644
--- a/plugins/project-wizard/templates/js_minimal/configure.ac.tpl
+++ b/plugins/project-wizard/templates/js_minimal/configure.ac.tpl
@@ -9,10 +9,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 PKG_CHECK_EXISTS([mozilla-js], [JS_PACKAGE=mozilla-js],
                  [PKG_CHECK_EXISTS([xulrunner-js], [JS_PACKAGE=xulrunner-js], [JS_PACKAGE=firefox-js])])
diff --git a/plugins/project-wizard/templates/library/configure.ac.tpl b/plugins/project-wizard/templates/library/configure.ac.tpl
index 1f76a19..ddfc90a 100644
--- a/plugins/project-wizard/templates/library/configure.ac.tpl
+++ b/plugins/project-wizard/templates/library/configure.ac.tpl
@@ -9,10 +9,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 [+IF (=(get "HaveLangCPP") "1")+]
 AC_PROG_CPP
diff --git a/plugins/project-wizard/templates/minimal/configure.ac.tpl b/plugins/project-wizard/templates/minimal/configure.ac.tpl
index 1808a02..fdf102e 100644
--- a/plugins/project-wizard/templates/minimal/configure.ac.tpl
+++ b/plugins/project-wizard/templates/minimal/configure.ac.tpl
@@ -9,10 +9,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 [+IF (=(get "HaveLangCPP") "1")+]
 AC_PROG_CPP
diff --git a/plugins/project-wizard/templates/sdl/configure.ac.tpl b/plugins/project-wizard/templates/sdl/configure.ac.tpl
index eb21528..cda40a9 100644
--- a/plugins/project-wizard/templates/sdl/configure.ac.tpl
+++ b/plugins/project-wizard/templates/sdl/configure.ac.tpl
@@ -11,10 +11,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 AC_PATH_XTRA
 
 [+IF (=(get "HaveLangCPP") "1")+]
diff --git a/plugins/project-wizard/templates/terminal/configure.ac.tpl b/plugins/project-wizard/templates/terminal/configure.ac.tpl
index 57dcef3..27b0bd8 100644
--- a/plugins/project-wizard/templates/terminal/configure.ac.tpl
+++ b/plugins/project-wizard/templates/terminal/configure.ac.tpl
@@ -9,10 +9,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 [+IF (=(get "HaveLangCPP") "1")+]
 AC_PROG_CPP
diff --git a/plugins/project-wizard/templates/wxwin/configure.ac.tpl b/plugins/project-wizard/templates/wxwin/configure.ac.tpl
index 1e358ac..24031f3 100644
--- a/plugins/project-wizard/templates/wxwin/configure.ac.tpl
+++ b/plugins/project-wizard/templates/wxwin/configure.ac.tpl
@@ -9,10 +9,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 
 WXCONFIG=wx-config
 AC_ARG_WITH(wx-config,
diff --git a/plugins/project-wizard/templates/xlib/configure.ac.tpl b/plugins/project-wizard/templates/xlib/configure.ac.tpl
index 0bebb2e..1845a5b 100644
--- a/plugins/project-wizard/templates/xlib/configure.ac.tpl
+++ b/plugins/project-wizard/templates/xlib/configure.ac.tpl
@@ -9,10 +9,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
 AC_PATH_XTRA
 
 [+IF (=(get "HaveLangCPP") "1")+]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]