From: Bruno Haible Date: Sat, 21 May 2011 15:26:05 +0000 (+0200) Subject: login_tty: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2459 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=fa6c6e140dc69b5cd8aa78bdb8299635e505716c;p=gnulib.git login_tty: Move AC_LIBOBJ invocations to module description. * m4/pty.m4 (gl_FUNC_LOGIN_TTY): Move AC_LIBOBJ invocation from here... * modules/login_tty (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index f8324999c..814725a1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + login_tty: Move AC_LIBOBJ invocations to module description. + * m4/pty.m4 (gl_FUNC_LOGIN_TTY): Move AC_LIBOBJ invocation from here... + * modules/login_tty (configure.ac): ... to here. + +2011-05-21 Bruno Haible + openpty: Move AC_LIBOBJ invocations to module description. * m4/pty.m4 (gl_FUNC_OPENPTY): Move AC_LIBOBJ invocations from here... * modules/openpty (configure.ac): ... to here. diff --git a/m4/pty.m4 b/m4/pty.m4 index fc99e73b6..cc31d8b7b 100644 --- a/m4/pty.m4 +++ b/m4/pty.m4 @@ -1,4 +1,4 @@ -# pty.m4 serial 11 +# pty.m4 serial 12 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, @@ -143,7 +143,4 @@ AC_DEFUN([gl_FUNC_LOGIN_TTY], LIBS="$LIBS $PTY_LIB" AC_CHECK_FUNCS([login_tty]) LIBS="$gl_saved_LIBS" - if test $ac_cv_func_login_tty = no; then - AC_LIBOBJ([login_tty]) - fi ]) diff --git a/modules/login_tty b/modules/login_tty index 53c5caee1..abf7482cc 100644 --- a/modules/login_tty +++ b/modules/login_tty @@ -12,6 +12,9 @@ sys_ioctl configure.ac: gl_FUNC_LOGIN_TTY +if test $ac_cv_func_login_tty = no; then + AC_LIBOBJ([login_tty]) +fi gl_PTY_MODULE_INDICATOR([login_tty]) Makefile.am: