regex: also remove dependency on HAVE_WCSCOLL
[gnulib.git] / modules / atexit
index 5bb202e..d01895f 100644 (file)
@@ -15,6 +15,10 @@ Depends-on:
 
 configure.ac:
 gl_FUNC_ATEXIT
+if test $ac_cv_func_atexit = no; then
+  AC_LIBOBJ([atexit])
+  gl_PREREQ_ATEXIT
+fi
 
 Makefile.am: