changeset 15212:97b2baeef1a5

long-options: Move AC_LIBOBJ invocations to module description. * m4/long-options.m4: Remove file. * modules/long-options (Files): Remove it. (configure.ac): Remove gl_LONG_OPTIONS call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 00:28:08 +0200
parents cb628b071649
children 5d6fd11a6409
files ChangeLog m4/long-options.m4 modules/long-options
diffstat 3 files changed, 9 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	long-options: Move AC_LIBOBJ invocations to module description.
+	* m4/long-options.m4: Remove file.
+	* modules/long-options (Files): Remove it.
+	(configure.ac): Remove gl_LONG_OPTIONS call.
+	(Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	i-ring: Move AC_LIBOBJ invocations to module description.
deleted file mode 100644
--- a/m4/long-options.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-# long-options.m4 serial 5
-dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation,
-dnl Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_LONG_OPTIONS],
-[
-  AC_LIBOBJ([long-options])
-
-  dnl Prerequisites of lib/long-options.c.
-])
--- a/modules/long-options
+++ b/modules/long-options
@@ -4,7 +4,6 @@
 Files:
 lib/long-options.h
 lib/long-options.c
-m4/long-options.m4
 
 Depends-on:
 getopt-gnu
@@ -12,9 +11,9 @@
 version-etc
 
 configure.ac:
-gl_LONG_OPTIONS
 
 Makefile.am:
+lib_SOURCES += long-options.c
 
 Include:
 "long-options.h"