GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — snapper/configure.ac at master · ken23421/snapper Expand file tree/ Copy pathconfigure.acMore file actions 232 lines (186 loc) · 8.41 KB / Copy pathconfigure.acFile metadata and controls232 lines (186 loc) · 8.41 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 AC_INIT(snapper/Snapper.h) VERSION=`cat ./VERSION` LIBVERSION=`cat ./LIBVERSION` LIBVERSION_MAJOR=`cut -d . -f 1 ./LIBVERSION` LIBVERSION_MINOR=`cut -d . -f 2 ./LIBVERSION` LIBVERSION_PATCHLEVEL=`cut -d . -f 3 ./LIBVERSION` LIBVERSION_CURRENT=`expr $LIBVERSION_MAJOR + $LIBVERSION_MINOR` LIBVERSION_REVISON=`expr $LIBVERSION_PATCHLEVEL` LIBVERSION_AGE=`expr $LIBVERSION_MINOR` LIBVERSION_INFO=$LIBVERSION_CURRENT:$LIBVERSION_REVISON:$LIBVERSION_AGE AM_INIT_AUTOMAKE(snapper, $VERSION) AC_CONFIG_HEADERS(config.h) AC_DISABLE_STATIC AC_PROG_CXX LT_INIT AC_PREFIX_DEFAULT(/usr) AC_PATH_PROG([XSLTPROC], [xsltproc], [/usr/bin/xsltproc]) AC_PATH_PROG([CHSNAPBIN], [chsnap], [/sbin/chsnap]) AC_PATH_PROG([CPBIN], [cp], [/bin/cp]) AC_PATH_PROG([TOUCHBIN], [touch], [/usr/bin/touch]) AC_PATH_PROG([RMBIN], [rm], [/bin/rm]) AC_PATH_PROG([DIFFBIN], [diff], [/usr/bin/diff]) AC_PATH_PROG([CHATTRBIN], [chattr], [/usr/bin/chattr]) AC_PATH_PROG([LVCREATEBIN], [lvcreate], [/sbin/lvcreate]) AC_PATH_PROG([LVREMOVEBIN], [lvremove], [/sbin/lvremove]) AC_PATH_PROG([LVSBIN], [lvs], [/sbin/lvs]) AC_PATH_PROG([LVCHANGEBIN], [lvchange], [/sbin/lvchange]) AC_PATH_PROG([LVMBIN], [lvm], [/sbin/lvm]) AC_PATH_PROG([LVRENAMEBIN], [lvrename], [/sbin/lvrename]) AC_DEFINE_UNQUOTED([CHSNAPBIN], ["$CHSNAPBIN"], [Path of chsnap program.]) AC_DEFINE_UNQUOTED([CPBIN], ["$CPBIN"], [Path of cp program.]) AC_DEFINE_UNQUOTED([TOUCHBIN], ["$TOUCHBIN"], [Path of touch program.]) AC_DEFINE_UNQUOTED([RMBIN], ["$RMBIN"], [Path of rm program.]) AC_DEFINE_UNQUOTED([DIFFBIN], ["$DIFFBIN"], [Path of diff program.]) AC_DEFINE_UNQUOTED([CHATTRBIN], ["$CHATTRBIN"], [Path of chattr program.]) AC_DEFINE_UNQUOTED([LVCREATEBIN], ["$LVCREATEBIN"], [Path of lvcreate program.]) AC_DEFINE_UNQUOTED([LVREMOVEBIN], ["$LVREMOVEBIN"], [Path of lvremove program.]) AC_DEFINE_UNQUOTED([LVSBIN], ["$LVSBIN"], [Path of lvs program.]) AC_DEFINE_UNQUOTED([LVCHANGEBIN], ["$LVCHANGEBIN"], [Path of lvchange program.]) AC_DEFINE_UNQUOTED([LVMBIN], ["$LVMBIN"], [Path of lvm program.]) AC_DEFINE_UNQUOTED([LVRENAMEBIN], ["$LVRENAMEBIN"], [Path of lvrename program.]) dnl Automake 1.11 enables silent compilation dnl Disable it by "configure --disable-silent-rules" or "make V=1" m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) CFLAGS="${CFLAGS} -std=c99 -Wall -Wextra -Wformat -Wmissing-prototypes -Wno-unused-parameter" CXXFLAGS="${CXXFLAGS} -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter" AC_DEFUN([TRY_ADD_CXXFLAGS], [ AC_MSG_CHECKING([if $CXX supports $1]) OLD_CXXFLAGS="$CXXFLAGS" CXXFLAGS="${CXXFLAGS} $1" AC_LANG_PUSH([C++]) AC_TRY_COMPILE( [], [], [ AC_MSG_RESULT([yes]) ], [ AC_MSG_RESULT([no]) CXXFLAGS="$OLD_CXXFLAGS" ] ) AC_LANG_POP([C++]) ]) TRY_ADD_CXXFLAGS([-Wsuggest-override]) SYSCONFIG=/etc/sysconfig AC_ARG_WITH([conf], AC_HELP_STRING([--with-conf], [Use a custom sysconfig directory (default is /etc/sysconfig)]), [with_conf=$withval], [with_conf=no]) AS_IF([test "x$with_conf" != xno], [SYSCONFIG="${with_conf}"]) CPPFLAGS="${CPPFLAGS} -DCONFDIR='\"${SYSCONFIG}\"'" AC_ARG_ENABLE([btrfs], AC_HELP_STRING([--disable-btrfs],[Disable Btrfs internal snapshots support]), [with_btrfs=$enableval],[with_btrfs=yes]) AM_CONDITIONAL(ENABLE_BTRFS, [test "x$with_btrfs" = "xyes"]) if test "x$with_btrfs" = "xyes"; then AC_DEFINE(ENABLE_BTRFS, 1, [Enable Btrfs internal snapshots support]) fi AC_ARG_ENABLE([ext4], AC_HELP_STRING([--disable-ext4],[Disable ext4 snapshots support]), [with_ext4=$enableval],[with_ext4=yes]) AM_CONDITIONAL(ENABLE_EXT4, [test "x$with_ext4" = "xyes"]) if test "x$with_ext4" = "xyes"; then AC_DEFINE(ENABLE_EXT4, 1, [Enable Ext4 snapshots support]) fi AC_ARG_ENABLE([lvm], AC_HELP_STRING([--disable-lvm],[Disable LVM thinprovisioned snapshots support]), [with_lvm=$enableval],[with_lvm=yes]) AM_CONDITIONAL(ENABLE_LVM, [test "x$with_lvm" = "xyes"]) if test "x$with_lvm" = "xyes"; then AC_DEFINE(ENABLE_LVM, 1, [Enable LVM thin-provisioned snapshots support]) fi if test "x$with_btrfs" != "xyes" -a "x$with_lvm" != "xyes" -a "x$with_ext4" != "xyes"; then AC_MSG_ERROR([You have to enable at least one snapshot type (remove some --disable-xxx parameter)]) fi AC_ARG_ENABLE([zypp], AC_HELP_STRING([--disable-zypp],[Disable zypp plugin support]), [with_zypp=$enableval],[with_zypp=yes]) AM_CONDITIONAL(HAVE_ZYPP, [test "x$with_zypp" = "xyes"]) AC_CHECK_LIB(btrfs, btrfs_read_and_process_send_stream) AC_CHECK_HEADERS([btrfs/version.h]) AC_ARG_ENABLE([xattrs], AC_HELP_STRING([--disable-xattrs],[Disable extended attributes support]), [with_xattrs=$enableval],[with_xattrs=yes]) AM_CONDITIONAL(HAVE_XATTRS, [test "x$with_xattrs" = "xyes"]) if test "x$with_xattrs" = "xyes"; then AC_DEFINE(ENABLE_XATTRS, 1, [Enable extended attributes support]) fi AC_ARG_ENABLE([rollback], AC_HELP_STRING([--disable-rollback],[Disable rollback support]), [enable_rollback=$enableval],[enable_rollback=yes]) AM_CONDITIONAL(ENABLE_ROLLBACK, [test "x$enable_rollback" = "xyes"]) if test "x$enable_rollback" = "xyes"; then AC_DEFINE(ENABLE_ROLLBACK, 1, [Enable rollback support]) # libmount is needed for rollback feature AC_CHECK_HEADER(libmount/libmount.h,[],[AC_MSG_ERROR([Cannout find libmount headers. Please install libmount-devel])]) fi AC_ARG_ENABLE([btrfs-quota], AC_HELP_STRING([--disable-btrfs-quota],[Disable btrfs quota support]), [enable_btrfs_quota=$enableval],[enable_btrfs_quota=yes]) AM_CONDITIONAL(ENABLE_BTRFS_QUOTA, [test "x$enable_btrfs_quota" = "xyes"]) if test "x$enable_btrfs_quota" = "xyes"; then AC_DEFINE(ENABLE_BTRFS_QUOTA, 1, [Enable btrfs quota support]) fi AC_ARG_ENABLE([pam], AC_HELP_STRING([--disable-pam],[Disable pam plugin support]), [with_pam=$enableval],[with_pam=yes]) AM_CONDITIONAL(HAVE_PAM, [test "x$with_pam" = "xyes"]) AC_ARG_ENABLE([selinux], AC_HELP_STRING([--enable-selinux],[Enable support for SELinux LSM]), [with_selinux=$enableval],[with_selinux=no]) AM_CONDITIONAL(ENABLE_SELINUX, [test "x$enable_selinux" = "xyes"]) if test "x$with_selinux" = "xyes"; then AC_DEFINE(ENABLE_SELINUX, 1, [Enable SELinux support]) AC_CHECK_HEADER(selinux/selinux.h,[],[AC_MSG_ERROR([Cannot find libselinux headers. Please install libselinux-devel])]) AC_CHECK_LIB(selinux, selinux_snapperd_contexts_path, [], [AC_MSG_ERROR([selinux library does not provide selinux_snapperd_contexts_path symbol])]) fi AC_ARG_ENABLE([coverage], AC_HELP_STRING([--enable-coverage], [Enable test coverage measurement]), [enable_coverage=$enableval], [enable_coverage=no]) AM_CONDITIONAL(ENABLE_COVERAGE, [test "x$enable_coverage" = "xyes"]) if test "x$enable_coverage" = "xyes"; then CFLAGS="${CFLAGS} --coverage" CXXFLAGS="${CXXFLAGS} --coverage" LDFLAGS="${LDFLAGS} --coverage" fi PKG_CHECK_MODULES(DBUS, dbus-1) PKG_CHECK_MODULES(XML2, libxml-2.0) if test "x$with_zypp" = "xyes"; then PKG_CHECK_MODULES(JSONC, json-c, [], [AC_MSG_WARN([Cannot find json-c. Please install libjson-c-devel])]) fi AC_CHECK_HEADER(acl/libacl.h,[],[AC_MSG_ERROR([Cannout find libacl headers. Please install libacl-devel])]) AC_SUBST(VERSION) AC_SUBST(LIBVERSION_MAJOR) AC_SUBST(LIBVERSION_MINOR) AC_SUBST(LIBVERSION_PATCHLEVEL) AC_SUBST(LIBVERSION_INFO) AC_SUBST(SYSCONFIG) AC_SUBST(docdir) AC_OUTPUT( Makefile snapper/Makefile snapper/Version.h:snapper/Version.h.in examples/Makefile examples/c/Makefile examples/c++-lib/Makefile dbus/Makefile server/Makefile client/Makefile client/utils/Makefile client/Command/Makefile client/Command/ListSnapshots/Makefile client/Command/ListSnapshots/SnappersData/Makefile client/Command/ListConfigs/Makefile client/Command/ListConfigs/SnappersData/Makefile client/Command/GetConfig/Makefile client/Command/GetConfig/ConfigData/Makefile scripts/Makefile pam/Makefile data/Makefile doc/Makefile doc/snapper.xml:doc/snapper.xml.in doc/snapperd.xml:doc/snapperd.xml.in doc/snapper-configs.xml:doc/snapper-configs.xml.in doc/snapper-zypp-plugin.xml:doc/snapper-zypp-plugin.xml.in doc/snapper-zypp-plugin.conf.xml:doc/snapper-zypp-plugin.conf.xml.in doc/pam_snapper.xml:doc/pam_snapper.xml.in doc/mksubvolume.xml:doc/mksubvolume.xml.in po/Makefile testsuite/Makefile testsuite-real/Makefile testsuite-cmp/Makefile zypp-plugin/Makefile zypp-plugin/testsuite/Makefile package/snapper.spec:snapper.spec.in dists/debian/snapper-Debian.dsc.in:dists/debian/snapper-Debian.dsc.in.in dists/debian/snapper-xUbuntu.dsc.in:dists/debian/snapper-xUbuntu.dsc.in.in ) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |