File: configure.ac

package info (click to toggle)
partman-base 208
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,996 kB
  • sloc: sh: 2,287; ansic: 2,238; makefile: 35
file content (20 lines) | stat: -rw-r--r-- 611 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
AC_INIT([partman-base],
	m4_esyscmd_s([head -n1 debian/changelog | sed -n 's/.*(\(.*\)).*/\1/p']))
AM_INIT_AUTOMAKE([-Wall foreign])

AC_USE_SYSTEM_EXTENSIONS
AC_DEFINE([_POSIX_C_SOURCE], [200809L], [Define the POSIX version])
AC_PROG_CC

PKG_CHECK_MODULES([libparted], [libparted])

AC_ARG_VAR([libparted_fs_resize_LIBS], [linker flags for libparted-fs-resize])
AC_MSG_CHECKING([for libparted >= 3.1])
PKG_CHECK_EXISTS([libparted >= 3.1],
		 [libparted_fs_resize_LIBS="-lparted-fs-resize"
		  AC_MSG_RESULT([yes])],
		 [AC_MSG_RESULT([no])])

AC_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT