diff options
Diffstat (limited to 'pkgtools/libnbcompat/files/configure')
-rwxr-xr-x | pkgtools/libnbcompat/files/configure | 73 |
1 files changed, 2 insertions, 71 deletions
diff --git a/pkgtools/libnbcompat/files/configure b/pkgtools/libnbcompat/files/configure index dccad66214c..0a73ebe4d78 100755 --- a/pkgtools/libnbcompat/files/configure +++ b/pkgtools/libnbcompat/files/configure @@ -3167,9 +3167,8 @@ done - for ac_header in arpa/nameser.h assert.h bind/bitypes.h dirent.h err.h \ - errno.h fcntl.h fts.h glob.h inttypes.h libutil.h limits.h \ + errno.h fcntl.h fts.h inttypes.h libutil.h limits.h \ machine/endian.h memory.h ndir.h netdb.h netinet/in6_machtypes.h \ paths.h poll.h pwd.h stdint.h stdlib.h stringlist.h strings.h \ string.h sys/bitypes.h sys/byteorder.h sys/cdefs.h sys/dir.h \ @@ -6321,8 +6320,7 @@ done - -for ac_func in err fgetln fparseln fseeko getenv glob inet_ntop \ +for ac_func in err fgetln fparseln fseeko getenv inet_ntop \ inet_pton isblank lchflags lchmod lchown lutimes mkstemp mkdtemp \ poll setprogname snprintf strdup strerror strlcat strlcpy \ strmode strptime strsep strtoll timegm usleep @@ -8080,73 +8078,6 @@ _ACEOF LIBOBJS="$LIBOBJS statfs.$ac_objext" fi -pkg_use_nbcompat_glob=yes - - echo "$as_me:$LINENO: checking if GLOB_NOMATCH and GLOB_ABORTED are defined in glob.h" >&5 -echo $ECHO_N "checking if GLOB_NOMATCH and GLOB_ABORTED are defined in glob.h... $ECHO_C" >&6 -if test "${pkg_cv_GLOB_NOMATCH_ABORTED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - #include <glob.h> -int -main () -{ - int f = GLOB_NOMATCH + GLOB_ABORTED ; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - pkg_cv_GLOB_NOMATCH_ABORTED=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - pkg_cv_GLOB_NOMATCH_ABORTED=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext - -fi -echo "$as_me:$LINENO: result: $pkg_cv_GLOB_NOMATCH_ABORTED" >&5 -echo "${ECHO_T}$pkg_cv_GLOB_NOMATCH_ABORTED" >&6 - if test "x$pkg_cv_GLOB_NOMATCH_ABORTED" = "xyes"; then - pkg_use_nbcompat_glob=no - else - - : - fi - - -if test $pkg_use_nbcompat_glob = yes; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_NBCOMPAT_GLOB 1 -_ACEOF - - - - LIBOBJS="$LIBOBJS glob.$ac_objext" -fi - - if test $ac_cv_type_long_long = yes -a $ac_cv_sizeof_off_t -ge 8; then |