From: Sage Weil Date: Tue, 6 May 2014 14:04:56 +0000 (-0700) Subject: Revert "Fix installation into user home directory, broken by d3f0c0b" X-Git-Tag: v0.81~63 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e65a9da93a32e627e16ae08967f6a1954ec4ac93;p=ceph.git Revert "Fix installation into user home directory, broken by d3f0c0b" This reverts commit 7539281037ce7a755ac8661ecb15aea32e5f79f6. This breaks mount.fuse.ceph installation. --- diff --git a/configure.ac b/configure.ac index 46a2a30457c..b7a36ce5437 100644 --- a/configure.ac +++ b/configure.ac @@ -325,7 +325,7 @@ AM_CONDITIONAL(WITH_RADOSGW, test "$RADOSGW" = "1") AS_IF([test "$RADOSGW" = "1"], [AC_DEFINE([WITH_RADOSGW], [1], [define if radosgw enabled])]) -AS_IF([test "$RADOSGW" = "1"], +AS_IF([test "$RADOSGW" = "1"], [AC_CHECK_LIB([curl], [curl_multi_wait], AC_DEFINE([HAVE_CURL_MULTI_WAIT], [1], [Define if have curl_multi_wait()])) ]) @@ -416,7 +416,7 @@ if test "x$enable_cephfs_java" = "xyes"; then ]) # cephfs_java_test only makes sense if java is already turned on - # setup CLASSPATH for Debian default junit4.jar package + # setup CLASSPATH for Debian default junit4.jar package # # Configuring --with-debug and --enable-cephfs-java will throw an error if # JUnit4 cannot be found. While currently this works for users who have @@ -538,7 +538,7 @@ AC_ARG_WITH([libaio], AS_IF([test "x$with_libaio" != xno], [AC_CHECK_LIB([aio], [io_submit], [true], AC_MSG_FAILURE([libaio not found]))]) AS_IF([test "x$with_libaio" != xno], - [AC_CHECK_HEADER([libaio.h])]) + [AC_CHECK_HEADER([libaio.h])]) AS_IF([test "$with_libaio" = "yes"], [AC_DEFINE([HAVE_LIBAIO], [1], [Defined if you don't have atomic_ops])]) AM_CONDITIONAL(WITH_LIBAIO, [ test "$with_libaio" = "yes" ]) @@ -785,7 +785,6 @@ AC_FUNC_STRERROR_R AC_LANG_POP([C++]) AM_CONDITIONAL(WITH_BUILD_TESTS, test "$WITH_BUILD_TESTS" = "1") -AM_CONDITIONAL(USR_EXEC_PREFIX, test $exec_prefix -eq /usr) AM_PATH_PYTHON([2.4], [], [AC_MSG_FAILURE([Failed to find Python 2.4 or newer])]) diff --git a/src/Makefile-env.am b/src/Makefile-env.am index b99fdc53341..b6af080faf5 100644 --- a/src/Makefile-env.am +++ b/src/Makefile-env.am @@ -15,8 +15,8 @@ sbin_SCRIPTS = su_sbin_PROGRAMS = su_sbin_SCRIPTS = dist_bin_SCRIPTS = -lib_LTLIBRARIES = -noinst_LTLIBRARIES = +lib_LTLIBRARIES = +noinst_LTLIBRARIES = noinst_LIBRARIES = radoslib_LTLIBRARIES = @@ -26,12 +26,8 @@ bin_DEBUGPROGRAMS = # like sbin_SCRIPTS but can be used to install to e.g. /usr/sbin ceph_sbindir = $(sbindir) -# certain things go straight into /sbin if installed under /usr, though! -if USR_EXEC_PREFIX - su_sbindir = /sbin -else - su_sbindir = $(exec_prefix)/sbin -endif +# certain things go straight into /sbin, though! +su_sbindir = /sbin # C/C++ tests to build will be appended to this check_PROGRAMS = @@ -198,3 +194,4 @@ DENCODER_DEPS = radoslibdir = $(libdir)/rados-classes +