OSDN Git Service

(Synchronize with addition made to binutils sources):
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2009 16:31:26 +0000 (16:31 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2009 16:31:26 +0000 (16:31 +0000)
        * plugins.m4: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147918 138bc75d-0d04-0410-961f-82ee72b054a4

config/ChangeLog
config/plugins.m4 [new file with mode: 0644]

index e1ca63e..d2b51c3 100644 (file)
@@ -1,3 +1,7 @@
+2009-05-26  Rafael Avila de Espindola  <espindola@google.com>
+
+       * plugins.m4: New.
+
 2009-05-12  Alexandre Oliva  <aoliva@redhat.com>
 
        * multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
diff --git a/config/plugins.m4 b/config/plugins.m4
new file mode 100644 (file)
index 0000000..7ee8412
--- /dev/null
@@ -0,0 +1,11 @@
+AC_DEFUN([AC_PLUGINS],
+[
+AC_ARG_ENABLE([plugins],
+AS_HELP_STRING([--enable-plugins], [Enable support for plugins (defaults no)]),
+[case "${enableval}" in
+  yes | "") plugins=yes ;;
+  no) plugins=no ;;
+  *) plugins=yes ;;
+ esac],
+[plugins=no])
+])