From: Bruno Haible Date: Sun, 8 May 2011 17:38:45 +0000 (+0200) Subject: grantpt: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2548 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=b7640ddbfdd6d5f6e71b9bc1baabfae39aa596f0;p=gnulib.git grantpt: Move AC_LIBOBJ invocations to module description. * m4/grantpt.m4 (gl_FUNC_GRANTPT): Move AC_LIBOBJ and gl_PREREQ_GRANTPT invocations from here... * modules/grantpt (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index e038bc62d..23ab0eece 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-08 Bruno Haible + grantpt: Move AC_LIBOBJ invocations to module description. + * m4/grantpt.m4 (gl_FUNC_GRANTPT): Move AC_LIBOBJ and gl_PREREQ_GRANTPT + invocations from here... + * modules/grantpt (configure.ac): ... to here. + +2011-05-08 Bruno Haible + glob: Move AC_LIBOBJ invocations to module description. * m4/glob.m4 (gl_GLOB): Move AC_LIBOBJ and gl_PREREQ_GLOB invocations from here... diff --git a/m4/grantpt.m4 b/m4/grantpt.m4 index a2f58af55..a4dee6929 100644 --- a/m4/grantpt.m4 +++ b/m4/grantpt.m4 @@ -1,4 +1,4 @@ -# grantpt.m4 serial 1 +# grantpt.m4 serial 2 dnl Copyright (C) 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -14,8 +14,6 @@ AC_DEFUN([gl_FUNC_GRANTPT], AC_CHECK_FUNCS([grantpt]) if test $ac_cv_func_grantpt = no; then HAVE_GRANTPT=0 - AC_LIBOBJ([grantpt]) - gl_PREREQ_GRANTPT fi ]) diff --git a/modules/grantpt b/modules/grantpt index 589360d17..c5e76f025 100644 --- a/modules/grantpt +++ b/modules/grantpt @@ -14,6 +14,10 @@ configmake [test $HAVE_GRANTPT = 0] configure.ac: gl_FUNC_GRANTPT +if test $HAVE_GRANTPT = 0; then + AC_LIBOBJ([grantpt]) + gl_PREREQ_GRANTPT +fi gl_STDLIB_MODULE_INDICATOR([grantpt]) Makefile.am: