mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 16:20:42 +00:00
Use absolute paths in ./configure
This commit is contained in:
parent
c6d288aae9
commit
7f12e86f57
2 changed files with 6 additions and 6 deletions
6
configure
vendored
6
configure
vendored
|
@ -2974,7 +2974,7 @@ else
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CROSS_CONFIG="./cross.config"
|
CROSS_CONFIG="$srcdir/cross.config"
|
||||||
if test "$cross_result" != "no"
|
if test "$cross_result" != "no"
|
||||||
then
|
then
|
||||||
if test -f "$cross_result" && test -r "$cross_result"
|
if test -f "$cross_result" && test -r "$cross_result"
|
||||||
|
@ -7918,7 +7918,7 @@ if ${ac_cv_sizeof_gs_mutex_t+:} false; then :
|
||||||
else
|
else
|
||||||
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (gs_mutex_t))" "ac_cv_sizeof_gs_mutex_t" "$ac_includes_default
|
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
|
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
|
||||||
#include \"Source/GSPThread.h\"
|
#include \"$srcdir/Source/GSPThread.h\"
|
||||||
"; then :
|
"; then :
|
||||||
|
|
||||||
else
|
else
|
||||||
|
@ -7958,7 +7958,7 @@ if ${ac_cv_alignof_gs_mutex_t+:} false; then :
|
||||||
else
|
else
|
||||||
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gs_mutex_t" "$ac_includes_default
|
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
|
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
|
||||||
#include \"Source/GSPThread.h\"
|
#include \"$srcdir/Source/GSPThread.h\"
|
||||||
|
|
||||||
#ifndef offsetof
|
#ifndef offsetof
|
||||||
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
|
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
|
||||||
|
|
|
@ -170,7 +170,7 @@ AC_ARG_WITH(cross-compilation-info,
|
||||||
cross_result="$withval",
|
cross_result="$withval",
|
||||||
cross_result="no"
|
cross_result="no"
|
||||||
)
|
)
|
||||||
CROSS_CONFIG="./cross.config"
|
CROSS_CONFIG="$srcdir/cross.config"
|
||||||
if test "$cross_result" != "no"
|
if test "$cross_result" != "no"
|
||||||
then
|
then
|
||||||
if test -f "$cross_result" && test -r "$cross_result"
|
if test -f "$cross_result" && test -r "$cross_result"
|
||||||
|
@ -1873,7 +1873,7 @@ fi
|
||||||
if test $HAVE_WIN32_THREADS_AND_LOCKS = 1; then
|
if test $HAVE_WIN32_THREADS_AND_LOCKS = 1; then
|
||||||
AC_CHECK_SIZEOF(gs_mutex_t,,[AC_INCLUDES_DEFAULT
|
AC_CHECK_SIZEOF(gs_mutex_t,,[AC_INCLUDES_DEFAULT
|
||||||
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
|
#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
|
GS_SIZEOF_MUTEX_T=$ac_cv_sizeof_gs_mutex_t
|
||||||
if test $ac_cv_sizeof_gs_mutex_t = 0 ; then
|
if test $ac_cv_sizeof_gs_mutex_t = 0 ; then
|
||||||
AC_MSG_ERROR([Unable to find size of gs_mutex_t (required).])
|
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
|
AC_CHECK_ALIGNOF(gs_mutex_t,[AC_INCLUDES_DEFAULT
|
||||||
#define GS_USE_WIN32_THREADS_AND_LOCKS 1
|
#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
|
GS_ALIGNOF_MUTEX_T=$ac_cv_alignof_gs_mutex_t
|
||||||
if test $ac_cv_alignof_gs_mutex_t = 0 ; then
|
if test $ac_cv_alignof_gs_mutex_t = 0 ; then
|
||||||
AC_MSG_ERROR([Unable to find align of gs_mutex_t (required).])
|
AC_MSG_ERROR([Unable to find align of gs_mutex_t (required).])
|
||||||
|
|
Loading…
Reference in a new issue