Skip to content

Commit

Permalink
Fix [e653408972]: autoconf warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Nov 23, 2023
2 parents 35e2a43 + 52b145e commit 2c42c39
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions unix/configure
Original file line number Diff line number Diff line change
Expand Up @@ -8090,9 +8090,7 @@ printf "%s\n" "$ac_cv_c_bigendian" >&6; }
no)
;; #(
universal)

printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h

#
;; #(
*)
as_fn_error $? "unknown endianness
Expand Down Expand Up @@ -11216,7 +11214,6 @@ DEFS=`sed -n "$ac_script" confdefs.h`
CFLAGS="${CFLAGS} ${CPPFLAGS}"; CPPFLAGS=""
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
ac_clean_files_save=$ac_clean_files
Expand Down
2 changes: 1 addition & 1 deletion unix/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ SC_TCL_64BIT_FLAGS
# Tcl_UniChar strings to memcmp on big-endian systems.
#--------------------------------------------------------------------

AC_C_BIGENDIAN
AC_C_BIGENDIAN(,,,[#])

#--------------------------------------------------------------------
# Supply substitutes for missing POSIX library procedures, or
Expand Down
3 changes: 0 additions & 3 deletions unix/tclConfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
#ifndef _TCLCONFIG
#define _TCLCONFIG

/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD

/* Is gettimeofday() actually declared in <sys/time.h>? */
#undef GETTOD_NOT_DECLARED

Expand Down

0 comments on commit 2c42c39

Please sign in to comment.