mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +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 ;;
|
*_linux_26) AFS_PARAM_COMMON=param.linux26.h ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
OPENAFS_OSCONF
|
||||||
|
|
||||||
case $AFS_SYSNAME in *_linux* | *_umlinux*)
|
case $AFS_SYSNAME in *_linux* | *_umlinux*)
|
||||||
|
|
||||||
# Add (sub-) architecture-specific paths needed by conftests
|
# Add (sub-) architecture-specific paths needed by conftests
|
||||||
@ -1096,6 +1098,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
XLIBS="$LIB_AFSDB $XLIBS"
|
||||||
|
|
||||||
AC_CHECK_RESOLV_RETRANS
|
AC_CHECK_RESOLV_RETRANS
|
||||||
|
|
||||||
@ -1616,7 +1619,6 @@ AC_DEFINE_UNQUOTED([PTHREAD_SETNAME_NP_ARGS], $pthread_setname_np_args, [Number
|
|||||||
fi
|
fi
|
||||||
LIBS="$save_LIBS"
|
LIBS="$save_LIBS"
|
||||||
|
|
||||||
OPENAFS_OSCONF
|
|
||||||
openafs_cv_saved_CFLAGS="$CFLAGS"
|
openafs_cv_saved_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS $XCFLAGS_NOCHECKING"
|
CFLAGS="$CFLAGS $XCFLAGS_NOCHECKING"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user