Skip to content

Commit 7f12e86

Browse files
committed
Use absolute paths in ./configure
1 parent c6d288a commit 7f12e86

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2974,7 +2974,7 @@ else
29742974
29752975
fi
29762976
2977-
CROSS_CONFIG="./cross.config"
2977+
CROSS_CONFIG="$srcdir/cross.config"
29782978
if test "$cross_result" != "no"
29792979
then
29802980
if test -f "$cross_result" && test -r "$cross_result"
@@ -7918,7 +7918,7 @@ if ${ac_cv_sizeof_gs_mutex_t+:} false; then :
79187918
else
79197919
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (gs_mutex_t))" "ac_cv_sizeof_gs_mutex_t" "$ac_includes_default
79207920
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
7921-
#include \"Source/GSPThread.h\"
7921+
#include \"$srcdir/Source/GSPThread.h\"
79227922
"; then :
79237923
79247924
else
@@ -7958,7 +7958,7 @@ if ${ac_cv_alignof_gs_mutex_t+:} false; then :
79587958
else
79597959
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gs_mutex_t" "$ac_includes_default
79607960
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
7961-
#include \"Source/GSPThread.h\"
7961+
#include \"$srcdir/Source/GSPThread.h\"
79627962
79637963
#ifndef offsetof
79647964
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ AC_ARG_WITH(cross-compilation-info,
170170
cross_result="$withval",
171171
cross_result="no"
172172
)
173-
CROSS_CONFIG="./cross.config"
173+
CROSS_CONFIG="$srcdir/cross.config"
174174
if test "$cross_result" != "no"
175175
then
176176
if test -f "$cross_result" && test -r "$cross_result"
@@ -1873,7 +1873,7 @@ fi
18731873
if test $HAVE_WIN32_THREADS_AND_LOCKS = 1; then
18741874
AC_CHECK_SIZEOF(gs_mutex_t,,[AC_INCLUDES_DEFAULT
18751875
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
1876-
#include "Source/GSPThread.h"])
1876+
#include "$srcdir/Source/GSPThread.h"])
18771877
GS_SIZEOF_MUTEX_T=$ac_cv_sizeof_gs_mutex_t
18781878
if test $ac_cv_sizeof_gs_mutex_t = 0 ; then
18791879
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
18821882

18831883
AC_CHECK_ALIGNOF(gs_mutex_t,[AC_INCLUDES_DEFAULT
18841884
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
1885-
#include "Source/GSPThread.h"])
1885+
#include "$srcdir/Source/GSPThread.h"])
18861886
GS_ALIGNOF_MUTEX_T=$ac_cv_alignof_gs_mutex_t
18871887
if test $ac_cv_alignof_gs_mutex_t = 0 ; then
18881888
AC_MSG_ERROR([Unable to find align of gs_mutex_t (required).])

0 commit comments

Comments
 (0)