diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-18 11:50:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-18 11:50:13 (GMT) |
commit | eb99433f5b19967e6370c48c61c9887826173c00 (patch) | |
tree | 65893e0ae08fb934746b2e277865569d0918b105 /unix | |
parent | 2fc35bb9ba41c64cd39412f33a06ce3f97ae52bf (diff) | |
download | tk-eb99433f5b19967e6370c48c61c9887826173c00.zip tk-eb99433f5b19967e6370c48c61c9887826173c00.tar.gz tk-eb99433f5b19967e6370c48c61c9887826173c00.tar.bz2 |
Fix [b2a79390e3]: Tk 8.7 build fails on Mac OSX Catalina
Diffstat (limited to 'unix')
-rwxr-xr-x | unix/configure | 32 | ||||
-rw-r--r-- | unix/configure.ac | 1 | ||||
-rw-r--r-- | unix/tkConfig.h.in | 16 |
3 files changed, 2 insertions, 47 deletions
diff --git a/unix/configure b/unix/configure index ce6b6de..932ac69 100755 --- a/unix/configure +++ b/unix/configure @@ -7330,38 +7330,6 @@ printf "%s\n" "#define size_t unsigned int" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 -printf %s "checking for uid_t in sys/types.h... " >&6; } -if test ${ac_cv_type_uid_t+y} -then : - printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "uid_t" >/dev/null 2>&1 -then : - ac_cv_type_uid_t=yes -else $as_nop - ac_cv_type_uid_t=no -fi -rm -rf conftest* - -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 -printf "%s\n" "$ac_cv_type_uid_t" >&6; } -if test $ac_cv_type_uid_t = no; then - -printf "%s\n" "#define uid_t int" >>confdefs.h - - -printf "%s\n" "#define gid_t int" >>confdefs.h - -fi - ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" " #include <stdint.h> diff --git a/unix/configure.ac b/unix/configure.ac index aa30233..dc93d95 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -202,7 +202,6 @@ fi AC_TYPE_MODE_T AC_TYPE_PID_T AC_TYPE_SIZE_T -AC_TYPE_UID_T AC_CHECK_TYPES([intptr_t, uintptr_t],,,[[ #include <stdint.h> diff --git a/unix/tkConfig.h.in b/unix/tkConfig.h.in index c6d2112..9b7faf3 100644 --- a/unix/tkConfig.h.in +++ b/unix/tkConfig.h.in @@ -22,7 +22,7 @@ /* Compiler support for module scope symbols */ #undef HAVE_HIDDEN -/* Do we have the intptr_t type? */ +/* Define to 1 if the system has the type `intptr_t'. */ #undef HAVE_INTPTR_T /* Define to 1 if you have the <inttypes.h> header file. */ @@ -79,7 +79,7 @@ /* Is off64_t in <sys/types.h>? */ #undef HAVE_TYPE_OFF64_T -/* Do we have the uintptr_t type? */ +/* Define to 1 if the system has the type `uintptr_t'. */ #undef HAVE_UINTPTR_T /* Define to 1 if you have the <unistd.h> header file. */ @@ -220,18 +220,12 @@ # undef __CHAR_UNSIGNED__ #endif -/* Define to `int' if <sys/types.h> doesn't define. */ -#undef gid_t - /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif -/* Signed integer type wide enough to hold a pointer. */ -#undef intptr_t - /* Define to `int' if <sys/types.h> does not define. */ #undef mode_t @@ -241,12 +235,6 @@ /* Define to `unsigned int' if <sys/types.h> does not define. */ #undef size_t -/* Define to `int' if <sys/types.h> doesn't define. */ -#undef uid_t - -/* Unsigned integer type wide enough to hold a pointer. */ -#undef uintptr_t - /* Undef unused package specific autoheader defines so that we can * include both tclConfig.h and tkConfig.h at the same time: */ |