Auto merged
2004/03/10 15:17:28+00:00 cantab.net!aia21 Remove the bswap constant detection from configure.ac again to try out the SuSE patch for fixing the problem. (Logical change 1.315)edge.strict_endians
parent
0dd38ddd7d
commit
1c984054e8
|
@ -21511,194 +21511,8 @@ done
|
|||
|
||||
# Check for declarations of constant bswap function as some systems do not
|
||||
# provide all of them.
|
||||
echo "$as_me:$LINENO: checking whether __bswap_constant_16 is declared" >&5
|
||||
echo $ECHO_N "checking whether __bswap_constant_16 is declared... $ECHO_C" >&6
|
||||
if test "${ac_cv_have_decl___bswap_constant_16+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <byteswap.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
#ifndef __bswap_constant_16
|
||||
char *p = (char *) __bswap_constant_16;
|
||||
#endif
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } &&
|
||||
{ ac_try='test -s conftest.$ac_objext'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
ac_cv_have_decl___bswap_constant_16=yes
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
ac_cv_have_decl___bswap_constant_16=no
|
||||
fi
|
||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_have_decl___bswap_constant_16" >&5
|
||||
echo "${ECHO_T}$ac_cv_have_decl___bswap_constant_16" >&6
|
||||
if test $ac_cv_have_decl___bswap_constant_16 = yes; then
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL___BSWAP_CONSTANT_16 1
|
||||
_ACEOF
|
||||
|
||||
|
||||
else
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL___BSWAP_CONSTANT_16 0
|
||||
_ACEOF
|
||||
|
||||
|
||||
fi
|
||||
echo "$as_me:$LINENO: checking whether __bswap_constant_32 is declared" >&5
|
||||
echo $ECHO_N "checking whether __bswap_constant_32 is declared... $ECHO_C" >&6
|
||||
if test "${ac_cv_have_decl___bswap_constant_32+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <byteswap.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
#ifndef __bswap_constant_32
|
||||
char *p = (char *) __bswap_constant_32;
|
||||
#endif
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } &&
|
||||
{ ac_try='test -s conftest.$ac_objext'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
ac_cv_have_decl___bswap_constant_32=yes
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
ac_cv_have_decl___bswap_constant_32=no
|
||||
fi
|
||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_have_decl___bswap_constant_32" >&5
|
||||
echo "${ECHO_T}$ac_cv_have_decl___bswap_constant_32" >&6
|
||||
if test $ac_cv_have_decl___bswap_constant_32 = yes; then
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL___BSWAP_CONSTANT_32 1
|
||||
_ACEOF
|
||||
|
||||
|
||||
else
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL___BSWAP_CONSTANT_32 0
|
||||
_ACEOF
|
||||
|
||||
|
||||
fi
|
||||
echo "$as_me:$LINENO: checking whether __bswap_constant_64 is declared" >&5
|
||||
echo $ECHO_N "checking whether __bswap_constant_64 is declared... $ECHO_C" >&6
|
||||
if test "${ac_cv_have_decl___bswap_constant_64+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <byteswap.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
#ifndef __bswap_constant_64
|
||||
char *p = (char *) __bswap_constant_64;
|
||||
#endif
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } &&
|
||||
{ ac_try='test -s conftest.$ac_objext'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
ac_cv_have_decl___bswap_constant_64=yes
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
ac_cv_have_decl___bswap_constant_64=no
|
||||
fi
|
||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_have_decl___bswap_constant_64" >&5
|
||||
echo "${ECHO_T}$ac_cv_have_decl___bswap_constant_64" >&6
|
||||
if test $ac_cv_have_decl___bswap_constant_64 = yes; then
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL___BSWAP_CONSTANT_64 1
|
||||
_ACEOF
|
||||
|
||||
|
||||
else
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL___BSWAP_CONSTANT_64 0
|
||||
_ACEOF
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
#AC_CHECK_DECLS([__bswap_constant_16, __bswap_constant_32, __bswap_constant_64],
|
||||
# , , [#include <byteswap.h>])
|
||||
|
||||
# Makefiles to be created by configure.
|
||||
ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile include/ntfs/Makefile libntfs/Makefile libntfs/libntfs.conf libntfs/libntfs-gnomevfs.8 ntfsprogs/Makefile ntfsprogs/mkntfs.8 ntfsprogs/ntfscat.8 ntfsprogs/ntfsclone.8 ntfsprogs/ntfscluster.8 ntfsprogs/ntfsfix.8 ntfsprogs/ntfsinfo.8 ntfsprogs/ntfslabel.8 ntfsprogs/ntfsls.8 ntfsprogs/ntfsprogs.8 ntfsprogs/ntfsresize.8 ntfsprogs/ntfsundelete.8 ntfsprogs.spec"
|
||||
|
|
|
@ -219,8 +219,8 @@ AC_CHECK_FUNCS([atexit fdatasync hasmntopt memmove memset regcomp setlocale \
|
|||
|
||||
# Check for declarations of constant bswap function as some systems do not
|
||||
# provide all of them.
|
||||
AC_CHECK_DECLS([__bswap_constant_16, __bswap_constant_32, __bswap_constant_64],
|
||||
, , [#include <byteswap.h>])
|
||||
#AC_CHECK_DECLS([__bswap_constant_16, __bswap_constant_32, __bswap_constant_64],
|
||||
# , , [#include <byteswap.h>])
|
||||
|
||||
# Makefiles to be created by configure.
|
||||
AC_CONFIG_FILES([
|
||||
|
|
Loading…
Reference in New Issue