Use absolute paths in ./configure

This commit is contained in:
Frederik Carlier 2024-02-05 22:51:57 +01:00
parent c6d288aae9
commit 7f12e86f57
No known key found for this signature in database
GPG key ID: 11638A1220ED91C7
2 changed files with 6 additions and 6 deletions

6
configure vendored
View file

@ -2974,7 +2974,7 @@ else
fi
CROSS_CONFIG="./cross.config"
CROSS_CONFIG="$srcdir/cross.config"
if test "$cross_result" != "no"
then
if test -f "$cross_result" && test -r "$cross_result"
@ -7918,7 +7918,7 @@ if ${ac_cv_sizeof_gs_mutex_t+:} false; then :
else
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (gs_mutex_t))" "ac_cv_sizeof_gs_mutex_t" "$ac_includes_default
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
#include \"Source/GSPThread.h\"
#include \"$srcdir/Source/GSPThread.h\"
"; then :
else
@ -7958,7 +7958,7 @@ if ${ac_cv_alignof_gs_mutex_t+:} false; then :
else
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gs_mutex_t" "$ac_includes_default
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
#include \"Source/GSPThread.h\"
#include \"$srcdir/Source/GSPThread.h\"
#ifndef offsetof
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)

View file

@ -170,7 +170,7 @@ AC_ARG_WITH(cross-compilation-info,
cross_result="$withval",
cross_result="no"
)
CROSS_CONFIG="./cross.config"
CROSS_CONFIG="$srcdir/cross.config"
if test "$cross_result" != "no"
then
if test -f "$cross_result" && test -r "$cross_result"
@ -1873,7 +1873,7 @@ fi
if test $HAVE_WIN32_THREADS_AND_LOCKS = 1; then
AC_CHECK_SIZEOF(gs_mutex_t,,[AC_INCLUDES_DEFAULT
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
#include "Source/GSPThread.h"])
#include "$srcdir/Source/GSPThread.h"])
GS_SIZEOF_MUTEX_T=$ac_cv_sizeof_gs_mutex_t
if test $ac_cv_sizeof_gs_mutex_t = 0 ; then
AC_MSG_ERROR([Unable to find size of gs_mutex_t (required).])
@ -1882,7 +1882,7 @@ if test $HAVE_WIN32_THREADS_AND_LOCKS = 1; then
AC_CHECK_ALIGNOF(gs_mutex_t,[AC_INCLUDES_DEFAULT
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
#include "Source/GSPThread.h"])
#include "$srcdir/Source/GSPThread.h"])
GS_ALIGNOF_MUTEX_T=$ac_cv_alignof_gs_mutex_t
if test $ac_cv_alignof_gs_mutex_t = 0 ; then
AC_MSG_ERROR([Unable to find align of gs_mutex_t (required).])