diff options
Diffstat (limited to 'modules/error')
-rw-r--r-- | modules/error | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/error b/modules/error index e8363528aa..5f716865a9 100644 --- a/modules/error +++ b/modules/error @@ -2,20 +2,21 @@ Description: error and error_at_line functions: Error reporting. Files: -lib/error.h lib/error.c m4/error.m4 Depends-on: +error-h stdio getprogname -strerror [test $ac_cv_lib_error_at_line = no] -unistd [test $ac_cv_lib_error_at_line = no] -msvc-nothrow [test $ac_cv_lib_error_at_line = no] +strerror [test $GL_GENERATE_ERROR_H = true] +unistd [test $GL_GENERATE_ERROR_H = true] +msvc-nothrow [test $GL_GENERATE_ERROR_H = true] configure.ac: +AC_REQUIRE([gl_ERROR_H]) gl_ERROR -gl_CONDITIONAL([GL_COND_OBJ_ERROR], [test "$ac_cv_lib_error_at_line" = no]) +gl_CONDITIONAL([GL_COND_OBJ_ERROR], [test $GL_GENERATE_ERROR_H = true]) AM_COND_IF([GL_COND_OBJ_ERROR], [ gl_PREREQ_ERROR ]) |