mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
Do OPENAFS_OSCONF before compiler autoconf tests
OPENAFS_OSCONF can set the C compiler we use, as well as changing various compiler flags. These changes can alter autoconf tests, so allow OPENAFS_OSCONF to change these before various autoconf tests are performed which require the C compiler. Change-Id: I8da7d10b227f230d1467c77845c0dbd4b48fa966 Reviewed-on: http://gerrit.openafs.org/5785 Reviewed-by: Derrick Brashear <shadow@dementix.org> Tested-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
1d9888be48
commit
353aa7ef2c
@ -750,6 +750,8 @@ case $AFS_SYSNAME in
|
||||
*_linux_26) AFS_PARAM_COMMON=param.linux26.h ;;
|
||||
esac
|
||||
|
||||
OPENAFS_OSCONF
|
||||
|
||||
case $AFS_SYSNAME in *_linux* | *_umlinux*)
|
||||
|
||||
# Add (sub-) architecture-specific paths needed by conftests
|
||||
@ -1096,6 +1098,7 @@ else
|
||||
fi
|
||||
|
||||
fi
|
||||
XLIBS="$LIB_AFSDB $XLIBS"
|
||||
|
||||
AC_CHECK_RESOLV_RETRANS
|
||||
|
||||
@ -1616,7 +1619,6 @@ AC_DEFINE_UNQUOTED([PTHREAD_SETNAME_NP_ARGS], $pthread_setname_np_args, [Number
|
||||
fi
|
||||
LIBS="$save_LIBS"
|
||||
|
||||
OPENAFS_OSCONF
|
||||
openafs_cv_saved_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $XCFLAGS_NOCHECKING"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user