]> git.sur5r.net Git - bacula/bacula/commitdiff
Remove bigendian check from autoconfig system
authorLorenz Schori <lo@znerol.ch>
Tue, 8 Sep 2009 09:36:57 +0000 (11:36 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 8 Sep 2009 18:18:44 +0000 (20:18 +0200)
Signed-off-by: Eric Bollengier <eric@eb.homelinux.org>
bacula/autoconf/acconfig.h
bacula/autoconf/config.h.in
bacula/autoconf/configure.in
bacula/configure

index ea87110b1f6d1dd772f73c39939a6bc9b53e037b..3f613ea35b3272a411f6402a0bfbe3f3c069eccf 100644 (file)
 
 #undef HAVE_OLD_SOCKOPT
  
-#undef HAVE_BIGENDIAN
-
 /* Defined if Gtk+-2.4 or greater is present */
 #undef HAVE_GTK_2_4
 
index 632f9c04f3f4ab1ea9e5f6cb6d33d451e86553c7..1ab036359d186fac6d0123f53791773309d300ec 100644 (file)
 
 #undef HAVE_OLD_SOCKOPT
  
-#undef HAVE_BIGENDIAN
-
 /* Defined if Gtk+-2.4 or greater is present */
 #undef HAVE_GTK_2_4
 
index fb074230d8e93fc12b07f0464c4bc1cbff7522f1..44de7833935a0819fd33bbcfb7c861d60be052cf 100644 (file)
@@ -1866,26 +1866,6 @@ AC_CACHE_CHECK(for socklen_t, ba_cv_header_socklen_t,
 )
 test $ba_cv_header_socklen_t = yes && AC_DEFINE(HAVE_SOCKLEN_T)
 
-dnl --------------------------------------------------------------------------
-dnl Check for bigendian
-dnl --------------------------------------------------------------------------
-AC_CACHE_CHECK([for bigendian], ba_cv_bigendian,
-   [
-       AC_TRY_RUN(
-         [
-             main(){long a=1L; char *p=(char *)&a; exit(*p);}
-         ], [
-            ba_cv_bigendian=yes
-         ], [
-            ba_cv_bigendian=no
-         ], [
-            ba_cv_bigendian=no
-         ]
-       )
-   ]
-)
-test $ba_cv_bigendian = yes && AC_DEFINE(HAVE_BIGENDIAN)
-
 dnl --------------------------------------------------------------------------
 dnl Check for typeof()
 dnl --------------------------------------------------------------------------
index b711d9fc9682bb22a82bc7efd7bc4128d798b507..b3b697b29afbe82d0fe5c90510805b57a61450cf 100755 (executable)
@@ -32478,75 +32478,6 @@ test $ba_cv_header_socklen_t = yes && cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 
-{ echo "$as_me:$LINENO: checking for bigendian" >&5
-echo $ECHO_N "checking for bigendian... $ECHO_C" >&6; }
-if test "${ba_cv_bigendian+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
-       if test "$cross_compiling" = yes; then
-
-            ba_cv_bigendian=no
-
-
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-             main(){long a=1L; char *p=(char *)&a; exit(*p);}
-
-_ACEOF
-rm -f conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-
-            ba_cv_bigendian=yes
-
-else
-  echo "$as_me: program exited with status $ac_status" >&5
-echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-( exit $ac_status )
-
-            ba_cv_bigendian=no
-
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
-fi
-
-
-
-
-fi
-{ echo "$as_me:$LINENO: result: $ba_cv_bigendian" >&5
-echo "${ECHO_T}$ba_cv_bigendian" >&6; }
-test $ba_cv_bigendian = yes && cat >>confdefs.h <<\_ACEOF
-#define HAVE_BIGENDIAN 1
-_ACEOF
-
-
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'