X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fpread.m4;h=acb8b85827598dfcad3912ace2e83a019bd48c40;hb=d6d7a9dc245badda81a34e336dda7baaeee78322;hp=c6d1888f33ac82b8242942cb553d144777b1cfbd;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/m4/pread.m4 b/m4/pread.m4 index c6d1888f3..acb8b8582 100644 --- a/m4/pread.m4 +++ b/m4/pread.m4 @@ -1,5 +1,5 @@ -# pread.m4 serial 3 -dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. +# pread.m4 serial 5 +dnl Copyright (C) 2009-2012 Free Software Foundation, 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. @@ -32,7 +32,7 @@ changequote([,])dnl gl_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" AC_RUN_IFELSE( - [AC_LANG_SOURCE([[ + [AC_LANG_PROGRAM([[ #include #include #include @@ -82,7 +82,4 @@ changequote([,])dnl else HAVE_PREAD=0 fi - if test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1; then - AC_LIBOBJ([pread]) - fi ])