X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Ffdopendir;h=a1c25193db1296fbcc8d146f17fa9fa8237b7be6;hb=77e4a0d2c9358eced24027df259a0ee1d090f05c;hp=83c2af7d3247b0902f88358f415859639987c2f7;hpb=9de26050ef8a950fd62ebadeeab2eb7505631028;p=gnulib.git diff --git a/modules/fdopendir b/modules/fdopendir index 83c2af7d3..a1c25193d 100644 --- a/modules/fdopendir +++ b/modules/fdopendir @@ -9,15 +9,22 @@ m4/fdopendir.m4 Depends-on: dirent -errno extensions -fchdir -openat-die -save-cwd +errno [test $HAVE_FDOPENDIR = 0] +fchdir [test $HAVE_FDOPENDIR = 0] +openat-die [test $HAVE_FDOPENDIR = 0] +save-cwd [test $HAVE_FDOPENDIR = 0] configure.ac: gl_FUNC_FDOPENDIR +if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then + AC_LIBOBJ([fdopendir]) +fi +if test $HAVE_FDOPENDIR = 0; then + AC_LIBOBJ([openat-proc]) +fi gl_DIRENT_MODULE_INDICATOR([fdopendir]) +gl_MODULE_INDICATOR([fdopendir]) Makefile.am: