]> granicus.if.org Git - zfs/blob - config/zfs-build.m4
Update build system and packaging
[zfs] / config / zfs-build.m4
1 AC_DEFUN([ZFS_AC_LICENSE], [
2         AC_MSG_CHECKING([zfs author])
3         AC_MSG_RESULT([$ZFS_META_AUTHOR])
4
5         AC_MSG_CHECKING([zfs license])
6         AC_MSG_RESULT([$ZFS_META_LICENSE])
7 ])
8
9 AC_DEFUN([ZFS_AC_DEBUG_ENABLE], [
10         DEBUG_CFLAGS="-Werror"
11         DEBUG_CPPFLAGS="-DDEBUG -UNDEBUG"
12         DEBUG_LDFLAGS=""
13         DEBUG_ZFS="_with_debug"
14         AC_DEFINE(ZFS_DEBUG, 1, [zfs debugging enabled])
15
16         KERNEL_DEBUG_CFLAGS="-Werror"
17         KERNEL_DEBUG_CPPFLAGS="-DDEBUG -UNDEBUG"
18 ])
19
20 AC_DEFUN([ZFS_AC_DEBUG_DISABLE], [
21         DEBUG_CFLAGS=""
22         DEBUG_CPPFLAGS="-UDEBUG -DNDEBUG"
23         DEBUG_LDFLAGS=""
24         DEBUG_ZFS="_without_debug"
25
26         KERNEL_DEBUG_CFLAGS=""
27         KERNEL_DEBUG_CPPFLAGS="-UDEBUG -DNDEBUG"
28 ])
29
30 dnl #
31 dnl # When debugging is enabled:
32 dnl # - Enable all ASSERTs (-DDEBUG)
33 dnl # - Promote all compiler warnings to errors (-Werror)
34 dnl #
35 AC_DEFUN([ZFS_AC_DEBUG], [
36         AC_MSG_CHECKING([whether assertion support will be enabled])
37         AC_ARG_ENABLE([debug],
38                 [AS_HELP_STRING([--enable-debug],
39                 [Enable compiler and code assertions @<:@default=no@:>@])],
40                 [],
41                 [enable_debug=no])
42
43         AS_CASE(["x$enable_debug"],
44                 ["xyes"],
45                 [ZFS_AC_DEBUG_ENABLE],
46                 ["xno"],
47                 [ZFS_AC_DEBUG_DISABLE],
48                 [AC_MSG_ERROR([Unknown option $enable_debug])])
49
50         AC_SUBST(DEBUG_CFLAGS)
51         AC_SUBST(DEBUG_CPPFLAGS)
52         AC_SUBST(DEBUG_LDFLAGS)
53         AC_SUBST(DEBUG_ZFS)
54
55         AC_SUBST(KERNEL_DEBUG_CFLAGS)
56         AC_SUBST(KERNEL_DEBUG_CPPFLAGS)
57
58         AC_MSG_RESULT([$enable_debug])
59 ])
60
61 AC_DEFUN([ZFS_AC_DEBUGINFO_ENABLE], [
62         DEBUG_CFLAGS="$DEBUG_CFLAGS -g -fno-inline"
63
64         KERNEL_DEBUG_CFLAGS="$KERNEL_DEBUG_CFLAGS -fno-inline"
65         KERNEL_MAKE="$KERNEL_MAKE CONFIG_DEBUG_INFO=y"
66
67         DEBUGINFO_ZFS="_with_debuginfo"
68 ])
69
70 AC_DEFUN([ZFS_AC_DEBUGINFO_DISABLE], [
71         DEBUGINFO_ZFS="_without_debuginfo"
72 ])
73
74 AC_DEFUN([ZFS_AC_DEBUGINFO], [
75         AC_MSG_CHECKING([whether debuginfo support will be forced])
76         AC_ARG_ENABLE([debuginfo],
77                 [AS_HELP_STRING([--enable-debuginfo],
78                 [Force generation of debuginfo @<:@default=no@:>@])],
79                 [],
80                 [enable_debuginfo=no])
81
82         AS_CASE(["x$enable_debuginfo"],
83                 ["xyes"],
84                 [ZFS_AC_DEBUGINFO_ENABLE],
85                 ["xno"],
86                 [ZFS_AC_DEBUGINFO_DISABLE],
87                 [AC_MSG_ERROR([Unknown option $enable_debuginfo])])
88
89         AC_SUBST(DEBUG_CFLAGS)
90         AC_SUBST(DEBUGINFO_ZFS)
91
92         AC_SUBST(KERNEL_DEBUG_CFLAGS)
93         AC_SUBST(KERNEL_MAKE)
94
95         AC_MSG_RESULT([$enable_debuginfo])
96 ])
97
98 dnl #
99 dnl # Disabled by default, provides basic memory tracking.  Track the total
100 dnl # number of bytes allocated with kmem_alloc() and freed with kmem_free().
101 dnl # Then at module unload time if any bytes were leaked it will be reported
102 dnl # on the console.
103 dnl #
104 AC_DEFUN([ZFS_AC_DEBUG_KMEM], [
105         AC_MSG_CHECKING([whether basic kmem accounting is enabled])
106         AC_ARG_ENABLE([debug-kmem],
107                 [AS_HELP_STRING([--enable-debug-kmem],
108                 [Enable basic kmem accounting @<:@default=no@:>@])],
109                 [],
110                 [enable_debug_kmem=no])
111
112         AS_IF([test "x$enable_debug_kmem" = xyes], [
113                 KERNEL_DEBUG_CPPFLAGS+=" -DDEBUG_KMEM"
114                 DEBUG_KMEM_ZFS="_with_debug_kmem"
115         ], [
116                 DEBUG_KMEM_ZFS="_without_debug_kmem"
117         ])
118
119         AC_SUBST(KERNEL_DEBUG_CPPFLAGS)
120         AC_SUBST(DEBUG_KMEM_ZFS)
121
122         AC_MSG_RESULT([$enable_debug_kmem])
123 ])
124
125 dnl #
126 dnl # Disabled by default, provides detailed memory tracking.  This feature
127 dnl # also requires --enable-debug-kmem to be set.  When enabled not only will
128 dnl # total bytes be tracked but also the location of every kmem_alloc() and
129 dnl # kmem_free().  When the module is unloaded a list of all leaked addresses
130 dnl # and where they were allocated will be dumped to the console.  Enabling
131 dnl # this feature has a significant impact on performance but it makes finding
132 dnl # memory leaks straight forward.
133 dnl #
134 AC_DEFUN([ZFS_AC_DEBUG_KMEM_TRACKING], [
135         AC_MSG_CHECKING([whether detailed kmem tracking is enabled])
136         AC_ARG_ENABLE([debug-kmem-tracking],
137                 [AS_HELP_STRING([--enable-debug-kmem-tracking],
138                 [Enable detailed kmem tracking  @<:@default=no@:>@])],
139                 [],
140                 [enable_debug_kmem_tracking=no])
141
142         AS_IF([test "x$enable_debug_kmem_tracking" = xyes], [
143                 KERNEL_DEBUG_CPPFLAGS+=" -DDEBUG_KMEM_TRACKING"
144                 DEBUG_KMEM_TRACKING_ZFS="_with_debug_kmem_tracking"
145         ], [
146                 DEBUG_KMEM_TRACKING_ZFS="_without_debug_kmem_tracking"
147         ])
148
149         AC_SUBST(KERNEL_DEBUG_CPPFLAGS)
150         AC_SUBST(DEBUG_KMEM_TRACKING_ZFS)
151
152         AC_MSG_RESULT([$enable_debug_kmem_tracking])
153 ])
154
155 AC_DEFUN([ZFS_AC_CONFIG_ALWAYS], [
156         ZFS_AC_CONFIG_ALWAYS_CC_NO_UNUSED_BUT_SET_VARIABLE
157         ZFS_AC_CONFIG_ALWAYS_CC_NO_BOOL_COMPARE
158         ZFS_AC_CONFIG_ALWAYS_CC_FRAME_LARGER_THAN
159         ZFS_AC_CONFIG_ALWAYS_CC_NO_FORMAT_TRUNCATION
160         ZFS_AC_CONFIG_ALWAYS_CC_ASAN
161         ZFS_AC_CONFIG_ALWAYS_TOOLCHAIN_SIMD
162         ZFS_AC_CONFIG_ALWAYS_ARCH
163         ZFS_AC_CONFIG_ALWAYS_PYZFS
164 ])
165
166 AC_DEFUN([ZFS_AC_CONFIG], [
167         ZFS_CONFIG=all
168         AC_ARG_WITH([config],
169                 AS_HELP_STRING([--with-config=CONFIG],
170                 [Config file 'kernel|user|all|srpm']),
171                 [ZFS_CONFIG="$withval"])
172         AC_ARG_ENABLE([linux-builtin],
173                 [AC_HELP_STRING([--enable-linux-builtin],
174                 [Configure for builtin in-tree kernel modules @<:@default=no@:>@])],
175                 [],
176                 [enable_linux_builtin=no])
177
178         AC_MSG_CHECKING([zfs config])
179         AC_MSG_RESULT([$ZFS_CONFIG]);
180         AC_SUBST(ZFS_CONFIG)
181
182         ZFS_AC_CONFIG_ALWAYS
183
184         case "$ZFS_CONFIG" in
185                 kernel) ZFS_AC_CONFIG_KERNEL ;;
186                 user)   ZFS_AC_CONFIG_USER   ;;
187                 all)    ZFS_AC_CONFIG_USER
188                         ZFS_AC_CONFIG_KERNEL ;;
189                 srpm)                        ;;
190                 *)
191                 AC_MSG_RESULT([Error!])
192                 AC_MSG_ERROR([Bad value "$ZFS_CONFIG" for --with-config,
193                               user kernel|user|all|srpm]) ;;
194         esac
195
196         AM_CONDITIONAL([CONFIG_USER],
197             [test "$ZFS_CONFIG" = user -o "$ZFS_CONFIG" = all])
198         AM_CONDITIONAL([CONFIG_KERNEL],
199             [test "$ZFS_CONFIG" = kernel -o "$ZFS_CONFIG" = all] &&
200             [test "x$enable_linux_builtin" != xyes ])
201         AM_CONDITIONAL([CONFIG_QAT],
202             [test "$ZFS_CONFIG" = kernel -o "$ZFS_CONFIG" = all] &&
203             [test "x$qatsrc" != x ])
204         AM_CONDITIONAL([WANT_DEVNAME2DEVID], [test "x$user_libudev" = xyes ])
205         AM_CONDITIONAL([WANT_MMAP_LIBAIO], [test "x$user_libaio" = xyes ])
206 ])
207
208 dnl #
209 dnl # Check for rpm+rpmbuild to build RPM packages.  If these tools
210 dnl # are missing it is non-fatal but you will not be able to build
211 dnl # RPM packages and will be warned if you try too.
212 dnl #
213 dnl # By default the generic spec file will be used because it requires
214 dnl # minimal dependencies.  Distribution specific spec files can be
215 dnl # placed under the 'rpm/<distribution>' directory and enabled using
216 dnl # the --with-spec=<distribution> configure option.
217 dnl #
218 AC_DEFUN([ZFS_AC_RPM], [
219         RPM=rpm
220         RPMBUILD=rpmbuild
221
222         AC_MSG_CHECKING([whether $RPM is available])
223         AS_IF([tmp=$($RPM --version 2>/dev/null)], [
224                 RPM_VERSION=$(echo $tmp | $AWK '/RPM/ { print $[3] }')
225                 HAVE_RPM=yes
226                 AC_MSG_RESULT([$HAVE_RPM ($RPM_VERSION)])
227         ],[
228                 HAVE_RPM=no
229                 AC_MSG_RESULT([$HAVE_RPM])
230         ])
231
232         AC_MSG_CHECKING([whether $RPMBUILD is available])
233         AS_IF([tmp=$($RPMBUILD --version 2>/dev/null)], [
234                 RPMBUILD_VERSION=$(echo $tmp | $AWK '/RPM/ { print $[3] }')
235                 HAVE_RPMBUILD=yes
236                 AC_MSG_RESULT([$HAVE_RPMBUILD ($RPMBUILD_VERSION)])
237         ],[
238                 HAVE_RPMBUILD=no
239                 AC_MSG_RESULT([$HAVE_RPMBUILD])
240         ])
241
242         RPM_DEFINE_COMMON='--define "$(DEBUG_ZFS) 1"'
243         RPM_DEFINE_COMMON+=' --define "$(DEBUG_KMEM_ZFS) 1"'
244         RPM_DEFINE_COMMON+=' --define "$(DEBUG_KMEM_TRACKING_ZFS) 1"'
245         RPM_DEFINE_COMMON+=' --define "$(DEBUGINFO_ZFS) 1"'
246         RPM_DEFINE_COMMON+=' --define "$(ASAN_ZFS) 1"'
247
248         RPM_DEFINE_UTIL=' --define "_initconfdir $(DEFAULT_INITCONF_DIR)"'
249
250         dnl # Make the next three RPM_DEFINE_UTIL additions conditional, since
251         dnl # their values may not be set when running:
252         dnl #
253         dnl #   ./configure --with-config=srpm
254         dnl #
255         AS_IF([test -n "$dracutdir" ], [
256                 RPM_DEFINE_UTIL='--define "_dracutdir $(dracutdir)"'
257         ])
258         AS_IF([test -n "$udevdir" ], [
259                 RPM_DEFINE_UTIL+=' --define "_udevdir $(udevdir)"'
260         ])
261         AS_IF([test -n "$udevruledir" ], [
262                 RPM_DEFINE_UTIL+=' --define "_udevdir $(udevruledir)"'
263         ])
264         RPM_DEFINE_UTIL+=' $(DEFINE_INITRAMFS)'
265         RPM_DEFINE_UTIL+=' $(DEFINE_SYSTEMD)'
266         RPM_DEFINE_UTIL+=' $(DEFINE_PYZFS)'
267
268         dnl # Override default lib directory on Debian/Ubuntu systems.  The provided
269         dnl # /usr/lib/rpm/platform/<arch>/macros files do not specify the correct
270         dnl # path for multiarch systems as described by the packaging guidelines.
271         dnl #
272         dnl # https://wiki.ubuntu.com/MultiarchSpec
273         dnl # https://wiki.debian.org/Multiarch/Implementation
274         dnl #
275         AS_IF([test "$DEFAULT_PACKAGE" = "deb"], [
276                 MULTIARCH_LIBDIR="lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
277                 RPM_DEFINE_UTIL+=' --define "_lib $(MULTIARCH_LIBDIR)"'
278                 AC_SUBST(MULTIARCH_LIBDIR)
279         ])
280
281         RPM_DEFINE_KMOD='--define "kernels $(LINUX_VERSION)"'
282         RPM_DEFINE_KMOD+=' --define "ksrc $(LINUX)"'
283         RPM_DEFINE_KMOD+=' --define "kobj $(LINUX_OBJ)"'
284         RPM_DEFINE_KMOD+=' --define "_wrong_version_format_terminate_build 0"'
285
286         RPM_DEFINE_DKMS=''
287
288         SRPM_DEFINE_COMMON='--define "build_src_rpm 1"'
289         SRPM_DEFINE_UTIL=
290         SRPM_DEFINE_KMOD=
291         SRPM_DEFINE_DKMS=
292
293         RPM_SPEC_DIR="rpm/generic"
294         AC_ARG_WITH([spec],
295                 AS_HELP_STRING([--with-spec=SPEC],
296                 [Spec files 'generic|redhat']),
297                 [RPM_SPEC_DIR="rpm/$withval"])
298
299         AC_MSG_CHECKING([whether spec files are available])
300         AC_MSG_RESULT([yes ($RPM_SPEC_DIR/*.spec.in)])
301
302         AC_SUBST(HAVE_RPM)
303         AC_SUBST(RPM)
304         AC_SUBST(RPM_VERSION)
305
306         AC_SUBST(HAVE_RPMBUILD)
307         AC_SUBST(RPMBUILD)
308         AC_SUBST(RPMBUILD_VERSION)
309
310         AC_SUBST(RPM_SPEC_DIR)
311         AC_SUBST(RPM_DEFINE_UTIL)
312         AC_SUBST(RPM_DEFINE_KMOD)
313         AC_SUBST(RPM_DEFINE_DKMS)
314         AC_SUBST(RPM_DEFINE_COMMON)
315         AC_SUBST(SRPM_DEFINE_UTIL)
316         AC_SUBST(SRPM_DEFINE_KMOD)
317         AC_SUBST(SRPM_DEFINE_DKMS)
318         AC_SUBST(SRPM_DEFINE_COMMON)
319 ])
320
321 dnl #
322 dnl # Check for dpkg+dpkg-buildpackage to build DEB packages.  If these
323 dnl # tools are missing it is non-fatal but you will not be able to build
324 dnl # DEB packages and will be warned if you try too.
325 dnl #
326 AC_DEFUN([ZFS_AC_DPKG], [
327         DPKG=dpkg
328         DPKGBUILD=dpkg-buildpackage
329
330         AC_MSG_CHECKING([whether $DPKG is available])
331         AS_IF([tmp=$($DPKG --version 2>/dev/null)], [
332                 DPKG_VERSION=$(echo $tmp | $AWK '/Debian/ { print $[7] }')
333                 HAVE_DPKG=yes
334                 AC_MSG_RESULT([$HAVE_DPKG ($DPKG_VERSION)])
335         ],[
336                 HAVE_DPKG=no
337                 AC_MSG_RESULT([$HAVE_DPKG])
338         ])
339
340         AC_MSG_CHECKING([whether $DPKGBUILD is available])
341         AS_IF([tmp=$($DPKGBUILD --version 2>/dev/null)], [
342                 DPKGBUILD_VERSION=$(echo $tmp | \
343                     $AWK '/Debian/ { print $[4] }' | cut -f-4 -d'.')
344                 HAVE_DPKGBUILD=yes
345                 AC_MSG_RESULT([$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)])
346         ],[
347                 HAVE_DPKGBUILD=no
348                 AC_MSG_RESULT([$HAVE_DPKGBUILD])
349         ])
350
351         AC_SUBST(HAVE_DPKG)
352         AC_SUBST(DPKG)
353         AC_SUBST(DPKG_VERSION)
354
355         AC_SUBST(HAVE_DPKGBUILD)
356         AC_SUBST(DPKGBUILD)
357         AC_SUBST(DPKGBUILD_VERSION)
358 ])
359
360 dnl #
361 dnl # Until native packaging for various different packing systems
362 dnl # can be added the least we can do is attempt to use alien to
363 dnl # convert the RPM packages to the needed package type.  This is
364 dnl # a hack but so far it has worked reasonable well.
365 dnl #
366 AC_DEFUN([ZFS_AC_ALIEN], [
367         ALIEN=alien
368
369         AC_MSG_CHECKING([whether $ALIEN is available])
370         AS_IF([tmp=$($ALIEN --version 2>/dev/null)], [
371                 ALIEN_VERSION=$(echo $tmp | $AWK '{ print $[3] }')
372                 HAVE_ALIEN=yes
373                 AC_MSG_RESULT([$HAVE_ALIEN ($ALIEN_VERSION)])
374         ],[
375                 HAVE_ALIEN=no
376                 AC_MSG_RESULT([$HAVE_ALIEN])
377         ])
378
379         AC_SUBST(HAVE_ALIEN)
380         AC_SUBST(ALIEN)
381         AC_SUBST(ALIEN_VERSION)
382 ])
383
384 dnl #
385 dnl # Using the VENDOR tag from config.guess set the default
386 dnl # package type for 'make pkg': (rpm | deb | tgz)
387 dnl #
388 AC_DEFUN([ZFS_AC_DEFAULT_PACKAGE], [
389         AC_MSG_CHECKING([linux distribution])
390         if test -f /etc/toss-release ; then
391                 VENDOR=toss ;
392         elif test -f /etc/fedora-release ; then
393                 VENDOR=fedora ;
394         elif test -f /etc/redhat-release ; then
395                 VENDOR=redhat ;
396         elif test -f /etc/gentoo-release ; then
397                 VENDOR=gentoo ;
398         elif test -f /etc/arch-release ; then
399                 VENDOR=arch ;
400         elif test -f /etc/SuSE-release ; then
401                 VENDOR=sles ;
402         elif test -f /etc/slackware-version ; then
403                 VENDOR=slackware ;
404         elif test -f /etc/lunar.release ; then
405                 VENDOR=lunar ;
406         elif test -f /etc/lsb-release ; then
407                 VENDOR=ubuntu ;
408         elif test -f /etc/debian_version ; then
409                 VENDOR=debian ;
410         elif test -f /etc/alpine-release ; then
411                 VENDOR=alpine ;
412         else
413                 VENDOR= ;
414         fi
415         AC_MSG_RESULT([$VENDOR])
416         AC_SUBST(VENDOR)
417
418         AC_MSG_CHECKING([default package type])
419         case "$VENDOR" in
420                 toss)       DEFAULT_PACKAGE=rpm  ;;
421                 redhat)     DEFAULT_PACKAGE=rpm  ;;
422                 fedora)     DEFAULT_PACKAGE=rpm  ;;
423                 gentoo)     DEFAULT_PACKAGE=tgz  ;;
424                 alpine)     DEFAULT_PACKAGE=tgz  ;;
425                 arch)       DEFAULT_PACKAGE=tgz  ;;
426                 sles)       DEFAULT_PACKAGE=rpm  ;;
427                 slackware)  DEFAULT_PACKAGE=tgz  ;;
428                 lunar)      DEFAULT_PACKAGE=tgz  ;;
429                 ubuntu)     DEFAULT_PACKAGE=deb  ;;
430                 debian)     DEFAULT_PACKAGE=deb  ;;
431                 *)          DEFAULT_PACKAGE=rpm  ;;
432         esac
433         AC_MSG_RESULT([$DEFAULT_PACKAGE])
434         AC_SUBST(DEFAULT_PACKAGE)
435
436         DEFAULT_INIT_DIR=$sysconfdir/init.d
437         AC_MSG_CHECKING([default init directory])
438         AC_MSG_RESULT([$DEFAULT_INIT_DIR])
439         AC_SUBST(DEFAULT_INIT_DIR)
440
441         AC_MSG_CHECKING([default init script type])
442         case "$VENDOR" in
443                 toss)       DEFAULT_INIT_SCRIPT=redhat ;;
444                 redhat)     DEFAULT_INIT_SCRIPT=redhat ;;
445                 fedora)     DEFAULT_INIT_SCRIPT=fedora ;;
446                 gentoo)     DEFAULT_INIT_SCRIPT=openrc ;;
447                 alpine)     DEFAULT_INIT_SCRIPT=openrc ;;
448                 arch)       DEFAULT_INIT_SCRIPT=lsb    ;;
449                 sles)       DEFAULT_INIT_SCRIPT=lsb    ;;
450                 slackware)  DEFAULT_INIT_SCRIPT=lsb    ;;
451                 lunar)      DEFAULT_INIT_SCRIPT=lunar  ;;
452                 ubuntu)     DEFAULT_INIT_SCRIPT=lsb    ;;
453                 debian)     DEFAULT_INIT_SCRIPT=lsb    ;;
454                 *)          DEFAULT_INIT_SCRIPT=lsb    ;;
455         esac
456         AC_MSG_RESULT([$DEFAULT_INIT_SCRIPT])
457         AC_SUBST(DEFAULT_INIT_SCRIPT)
458
459         AC_MSG_CHECKING([default init config direectory])
460         case "$VENDOR" in
461                 alpine)     DEFAULT_INITCONF_DIR=/etc/conf.d    ;;
462                 gentoo)     DEFAULT_INITCONF_DIR=/etc/conf.d    ;;
463                 toss)       DEFAULT_INITCONF_DIR=/etc/sysconfig ;;
464                 redhat)     DEFAULT_INITCONF_DIR=/etc/sysconfig ;;
465                 fedora)     DEFAULT_INITCONF_DIR=/etc/sysconfig ;;
466                 sles)       DEFAULT_INITCONF_DIR=/etc/sysconfig ;;
467                 ubuntu)     DEFAULT_INITCONF_DIR=/etc/default   ;;
468                 debian)     DEFAULT_INITCONF_DIR=/etc/default   ;;
469                 *)          DEFAULT_INITCONF_DIR=/etc/default   ;;
470         esac
471         AC_MSG_RESULT([$DEFAULT_INITCONF_DIR])
472         AC_SUBST(DEFAULT_INITCONF_DIR)
473
474         AC_MSG_CHECKING([whether initramfs-tools is available])
475         if test -d /usr/share/initramfs-tools ; then
476                 DEFINE_INITRAMFS='--define "_initramfs 1"'
477                 AC_MSG_RESULT([yes])
478         else
479                 DEFINE_INITRAMFS=''
480                 AC_MSG_RESULT([no])
481         fi
482         AC_SUBST(DEFINE_INITRAMFS)
483 ])
484
485 dnl #
486 dnl # Default ZFS package configuration
487 dnl #
488 AC_DEFUN([ZFS_AC_PACKAGE], [
489         ZFS_AC_DEFAULT_PACKAGE
490         ZFS_AC_RPM
491         ZFS_AC_DPKG
492         ZFS_AC_ALIEN
493 ])