2007-05-30 09:04:36 -04:00
|
|
|
# -*- Autoconf -*-
|
|
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
# Minimum version of autoconf required
|
2007-10-30 14:13:28 -04:00
|
|
|
AC_PREREQ(2.60)
|
2007-05-30 09:04:36 -04:00
|
|
|
|
2007-08-16 15:03:00 -04:00
|
|
|
# UPDATING VERSION NUMBERS FOR RELEASES
|
|
|
|
#
|
|
|
|
# libalpm:
|
|
|
|
# current
|
|
|
|
# The most recent interface number that this library implements.
|
|
|
|
# revision
|
|
|
|
# The implementation number of the current interface.
|
|
|
|
# age
|
|
|
|
# The difference between the newest and oldest interfaces that this library
|
|
|
|
# implements. In other words, the library implements all the interface
|
|
|
|
# numbers in the range from number current - age to current.
|
|
|
|
#
|
|
|
|
# 1. Start with version information of `0:0:0' for each libtool library.
|
|
|
|
# 2. Update the version information only immediately before a public release of
|
|
|
|
# your software. More frequent updates are unnecessary, and only guarantee
|
|
|
|
# that the current interface number gets larger faster.
|
|
|
|
# 3. If the library source code has changed at all since the last update, then
|
|
|
|
# increment revision (`c:r:a' becomes `c:r+1:a').
|
|
|
|
# 4. If any interfaces have been added, removed, or changed since the last
|
|
|
|
# update, increment current, and set revision to 0.
|
|
|
|
# 5. If any interfaces have been added since the last public release, then
|
|
|
|
# increment age.
|
|
|
|
# 6. If any interfaces have been removed since the last public release, then
|
|
|
|
# set age to 0.
|
|
|
|
#
|
|
|
|
# pacman:
|
|
|
|
# Extreme huge major changes:
|
|
|
|
# pacman_version_major += 1
|
|
|
|
# pacman_version_minor = 0
|
|
|
|
# pacman_version_micro = 0
|
|
|
|
#
|
|
|
|
# Real releases:
|
|
|
|
# pacman_version_minor += 1
|
|
|
|
# pacman_version_micro = 0
|
|
|
|
#
|
|
|
|
# Bugfix releases:
|
|
|
|
# pacman_version_micro += 1
|
|
|
|
#
|
|
|
|
# pacman_version_suffix should be similar to one of the following:
|
|
|
|
# For beta releases: [beta2]
|
|
|
|
# For code under development: [devel]
|
|
|
|
# For production releases: []
|
|
|
|
|
2008-01-19 15:50:15 -05:00
|
|
|
m4_define([lib_current], [3])
|
2007-08-16 15:03:00 -04:00
|
|
|
m4_define([lib_revision], [0])
|
2008-01-19 15:50:15 -05:00
|
|
|
m4_define([lib_age], [1])
|
2007-08-16 15:03:00 -04:00
|
|
|
|
|
|
|
m4_define([pacman_version_major], [3])
|
|
|
|
m4_define([pacman_version_minor], [1])
|
2008-01-10 23:57:42 -05:00
|
|
|
m4_define([pacman_version_micro], [1])
|
2008-01-19 15:50:15 -05:00
|
|
|
m4_define([pacman_version_suffix], [])
|
2007-08-16 15:03:00 -04:00
|
|
|
m4_define([pacman_version],
|
|
|
|
[pacman_version_major.pacman_version_minor.pacman_version_micro])
|
|
|
|
m4_define([pacman_display_version],
|
2007-08-21 23:34:32 -04:00
|
|
|
pacman_version[]m4_ifdef([pacman_version_suffix],[pacman_version_suffix]))
|
2007-08-16 15:03:00 -04:00
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Autoconf initialization
|
|
|
|
# AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
|
2007-08-16 15:03:00 -04:00
|
|
|
AC_INIT([Pacman Package Manager], [pacman_display_version],
|
|
|
|
[pacman-dev@archlinux.org], [pacman])
|
2007-05-30 09:04:36 -04:00
|
|
|
AC_CONFIG_SRCDIR([config.h.in])
|
|
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
|
2007-02-22 16:34:51 -05:00
|
|
|
AC_CANONICAL_HOST
|
2005-10-17 14:52:43 -04:00
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
|
2008-01-19 15:50:15 -05:00
|
|
|
LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision
|
2007-08-16 15:03:00 -04:00
|
|
|
LIB_VERSION_INFO="lib_current:lib_revision:lib_age"
|
2005-10-17 14:52:43 -04:00
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Set subsitution values for version stuff in Makefiles and anywhere else,
|
|
|
|
# and put LIB_VERSION in config.h
|
2007-02-22 16:34:51 -05:00
|
|
|
AC_SUBST(LIB_VERSION)
|
|
|
|
AC_SUBST(LIB_VERSION_INFO)
|
|
|
|
AC_DEFINE_UNQUOTED([LIB_VERSION], ["$LIB_VERSION"], [libalpm version number])
|
2005-10-17 14:52:43 -04:00
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Help line for root directory
|
2007-03-29 03:47:34 -04:00
|
|
|
AC_ARG_WITH(root-dir,
|
2007-06-04 17:49:09 -04:00
|
|
|
AC_HELP_STRING([--with-root-dir=path], [set the location of pacman's root operating directory]),
|
|
|
|
[ROOTDIR=$withval], [ROOTDIR=/])
|
2007-03-29 03:47:34 -04:00
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Help line for package extension
|
2007-03-29 03:47:34 -04:00
|
|
|
AC_ARG_WITH(pkg-ext,
|
2007-06-04 17:49:09 -04:00
|
|
|
AC_HELP_STRING([--with-pkg-ext=ext], [set the file extension used by packages]),
|
|
|
|
[PKGEXT=$withval], [PKGEXT=.pkg.tar.gz])
|
2007-03-29 03:47:34 -04:00
|
|
|
|
2007-05-31 12:21:37 -04:00
|
|
|
# Help line for source package directory
|
|
|
|
AC_ARG_WITH(src-ext,
|
2007-06-04 17:49:09 -04:00
|
|
|
AC_HELP_STRING([--with-src-ext=ext], [set the file extension used by source packages]),
|
|
|
|
[SRCEXT=$withval], [SRCEXT=.src.tar.gz])
|
2007-05-31 12:21:37 -04:00
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Help line for database extension
|
2007-03-29 03:47:34 -04:00
|
|
|
AC_ARG_WITH(db-ext,
|
2007-06-04 17:49:09 -04:00
|
|
|
AC_HELP_STRING([--with-db-ext=ext], [set the file extension used by the database]),
|
|
|
|
[DBEXT=$withval], [DBEXT=.db.tar.gz])
|
2007-03-29 03:47:34 -04:00
|
|
|
|
2007-12-22 00:47:18 -05:00
|
|
|
# Help line for documentation
|
|
|
|
AC_ARG_ENABLE(doc,
|
|
|
|
AC_HELP_STRING([--disable-doc], [prevent make from looking at doc/ dir]),
|
|
|
|
[wantdoc=$enableval], [wantdoc=yes])
|
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Help line for doxygen
|
2007-03-29 03:47:34 -04:00
|
|
|
AC_ARG_ENABLE(doxygen,
|
2007-11-13 00:36:20 -05:00
|
|
|
AC_HELP_STRING([--enable-doxygen], [build your own API docs via Doxygen]),
|
|
|
|
[wantdoxygen=$enableval], [wantdoxygen=no])
|
2007-02-21 23:36:02 -05:00
|
|
|
|
2007-07-09 14:38:02 -04:00
|
|
|
# Help line for asciidoc
|
|
|
|
AC_ARG_ENABLE(asciidoc,
|
|
|
|
AC_HELP_STRING([--enable-asciidoc], [build your own manpages with Asciidoc]),
|
|
|
|
[wantasciidoc=$enableval], [wantasciidoc=no])
|
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Help line for debug
|
2007-02-21 23:36:02 -05:00
|
|
|
AC_ARG_ENABLE(debug,
|
2007-06-04 17:49:09 -04:00
|
|
|
AC_HELP_STRING([--enable-debug], [enable debugging support]),
|
|
|
|
[debug=$enableval], [debug=no])
|
2007-02-21 23:36:02 -05:00
|
|
|
|
2007-11-01 20:36:50 -04:00
|
|
|
# Help line for pacman.static
|
|
|
|
AC_ARG_ENABLE(pacman-static,
|
|
|
|
AC_HELP_STRING([--disable-pacman-static], [do not build static version of pacman]),
|
|
|
|
[pacmanstatic=$enableval], [pacmanstatic=yes])
|
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Checks for programs.
|
|
|
|
AC_PROG_AWK
|
2007-10-30 14:13:28 -04:00
|
|
|
AC_PROG_CC_C99
|
2007-05-30 09:04:36 -04:00
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_LN_S
|
|
|
|
AC_PROG_MAKE_SET
|
|
|
|
AC_PROG_RANLIB
|
2007-10-30 01:20:18 -04:00
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
AC_CHECK_PROGS([PYTHON], [python2.5 python2.4 python], [false])
|
2007-05-30 09:04:36 -04:00
|
|
|
|
|
|
|
# find installed gettext
|
|
|
|
AM_GNU_GETTEXT([external])
|
|
|
|
AM_GNU_GETTEXT_VERSION(0.13.1)
|
|
|
|
|
|
|
|
# Check for libarchive
|
|
|
|
AC_CHECK_LIB([archive], [archive_read_data], , AC_MSG_ERROR([libarchive is needed to compile pacman!]))
|
|
|
|
|
|
|
|
# Check for libdownload
|
|
|
|
AC_CHECK_LIB([download], [downloadParseURL], , AC_MSG_ERROR([libdownload is needed to compile pacman!]))
|
|
|
|
|
|
|
|
# Checks for header files.
|
2007-10-30 14:13:28 -04:00
|
|
|
AC_CHECK_HEADERS([fcntl.h libintl.h limits.h locale.h string.h strings.h sys/ioctl.h sys/statvfs.h sys/time.h syslog.h wchar.h])
|
2007-05-30 09:04:36 -04:00
|
|
|
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
|
|
AC_C_INLINE
|
|
|
|
AC_TYPE_MODE_T
|
|
|
|
AC_TYPE_OFF_T
|
|
|
|
AC_TYPE_PID_T
|
|
|
|
AC_TYPE_SIZE_T
|
|
|
|
AC_STRUCT_TM
|
|
|
|
AC_TYPE_UID_T
|
|
|
|
|
|
|
|
# Checks for library functions.
|
|
|
|
AC_FUNC_CLOSEDIR_VOID
|
|
|
|
AC_FUNC_FORK
|
|
|
|
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
|
2007-10-30 14:13:28 -04:00
|
|
|
AC_FUNC_MKTIME
|
2007-05-30 09:04:36 -04:00
|
|
|
AC_TYPE_SIGNAL
|
2007-10-30 14:13:28 -04:00
|
|
|
AC_CHECK_FUNCS([realpath regcomp strcasecmp strdup strerror strnlen \
|
2007-10-26 21:31:25 -04:00
|
|
|
strndup strrchr strsep strstr strverscmp uname geteuid])
|
2007-05-30 09:04:36 -04:00
|
|
|
|
2007-07-09 16:40:50 -04:00
|
|
|
# Enable large file support if available
|
|
|
|
AC_SYS_LARGEFILE
|
|
|
|
|
2007-10-31 23:19:03 -04:00
|
|
|
# Check if we can use symbol visibility support in GCC
|
|
|
|
GCC_VISIBILITY_CC
|
|
|
|
# Check if we have -fgnu89-inline flag
|
|
|
|
GCC_GNU89_INLINE_CC
|
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Host-dependant flags
|
2007-02-21 23:36:02 -05:00
|
|
|
case "${host}" in
|
|
|
|
*-*-cygwin*)
|
2007-03-29 02:46:36 -04:00
|
|
|
CFLAGS="$CFLAGS -DCYGWIN"
|
2007-02-21 23:36:02 -05:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2007-08-20 00:38:37 -04:00
|
|
|
# Check for architecture, used in default makepkg.conf
|
|
|
|
# (Note single space left after CARCHFLAGS)
|
2007-02-21 23:36:02 -05:00
|
|
|
case "${host}" in
|
2007-05-30 11:04:49 -04:00
|
|
|
i686-*)
|
2006-10-15 15:38:02 -04:00
|
|
|
CARCH="i686"
|
2007-08-20 00:38:37 -04:00
|
|
|
CARCHFLAGS="-march=i686 "
|
2006-10-15 15:38:02 -04:00
|
|
|
;;
|
2007-05-30 11:04:49 -04:00
|
|
|
x86_64-*)
|
2006-10-15 15:38:02 -04:00
|
|
|
CARCH="x86_64"
|
2007-08-20 00:38:37 -04:00
|
|
|
CARCHFLAGS="-march=x86-64 "
|
2006-10-15 15:38:02 -04:00
|
|
|
;;
|
2007-05-30 11:04:49 -04:00
|
|
|
ia64-*)
|
2006-10-15 15:38:02 -04:00
|
|
|
CARCH="ia64"
|
2007-08-20 00:38:37 -04:00
|
|
|
CARCHFLAGS="-march=ia64 "
|
2006-10-15 15:38:02 -04:00
|
|
|
;;
|
2007-05-30 11:04:49 -04:00
|
|
|
sparc-*)
|
2006-10-15 15:38:02 -04:00
|
|
|
CARCH="sparc"
|
2007-08-20 00:38:37 -04:00
|
|
|
CARCHFLAGS="-mcpu=v9 "
|
2006-10-15 15:38:02 -04:00
|
|
|
;;
|
|
|
|
ppc-* | powerpc-*)
|
|
|
|
CARCH="ppc"
|
2007-08-20 00:38:37 -04:00
|
|
|
CARCHFLAGS="-mcpu=750 "
|
2006-10-15 15:38:02 -04:00
|
|
|
;;
|
2007-05-30 11:04:49 -04:00
|
|
|
i386-*)
|
2006-10-15 15:38:02 -04:00
|
|
|
CARCH="i386"
|
2007-08-20 00:38:37 -04:00
|
|
|
CARCHFLAGS="-march=i386 "
|
2006-10-15 15:38:02 -04:00
|
|
|
;;
|
2007-06-13 00:55:23 -04:00
|
|
|
arm-*)
|
|
|
|
CARCH="arm"
|
2007-08-20 00:38:37 -04:00
|
|
|
CARCHFLAGS="-march=armv4 "
|
2007-06-13 00:55:23 -04:00
|
|
|
;;
|
2006-10-15 15:38:02 -04:00
|
|
|
*)
|
2007-08-20 00:38:37 -04:00
|
|
|
AC_MSG_WARN([[Your architecture is unknown for makepkg.conf, consider adding it to configure.ac]])
|
|
|
|
CARCH="unknown"
|
|
|
|
CARCHFLAGS=""
|
2006-10-15 15:38:02 -04:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Now do some things common to all architectures
|
2007-02-21 23:36:02 -05:00
|
|
|
CHOST="${host}"
|
2006-10-15 15:38:02 -04:00
|
|
|
AC_SUBST(CARCH)
|
|
|
|
AC_SUBST(CARCHFLAGS)
|
|
|
|
AC_SUBST(CHOST)
|
2005-10-17 14:52:43 -04:00
|
|
|
|
2007-12-22 00:47:18 -05:00
|
|
|
# Check for documentation support and status
|
|
|
|
AC_MSG_CHECKING([for building documentation])
|
|
|
|
if test "x$wantdoc" = "xyes" ; then
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
wantdoc=yes
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT([no, disabled by configure])
|
|
|
|
wantdoc=no
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(WANT_DOC, test "x$wantdoc" = "xyes")
|
|
|
|
|
2007-07-09 14:38:02 -04:00
|
|
|
# Check for doxygen support and status
|
2007-05-30 09:04:36 -04:00
|
|
|
AC_MSG_CHECKING([for doxygen])
|
2007-02-21 23:36:02 -05:00
|
|
|
if test "x$wantdoxygen" = "xyes" ; then
|
2007-06-04 17:49:09 -04:00
|
|
|
AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
|
|
|
if test $DOXYGEN ; then
|
2007-05-30 09:04:36 -04:00
|
|
|
AC_MSG_RESULT([yes])
|
2007-02-22 16:34:51 -05:00
|
|
|
usedoxygen=yes
|
2007-06-04 17:49:09 -04:00
|
|
|
else
|
2007-05-30 09:04:36 -04:00
|
|
|
AC_MSG_RESULT([no, doxygen missing])
|
2007-02-22 16:34:51 -05:00
|
|
|
usedoxygen=no
|
2007-06-04 17:49:09 -04:00
|
|
|
fi
|
2006-02-17 15:48:45 -05:00
|
|
|
else
|
2007-06-04 17:49:09 -04:00
|
|
|
AC_MSG_RESULT([no, disabled by configure])
|
2007-02-22 16:34:51 -05:00
|
|
|
usedoxygen=no
|
2005-10-17 14:52:43 -04:00
|
|
|
fi
|
2007-07-09 14:38:02 -04:00
|
|
|
AM_CONDITIONAL(USE_DOXYGEN, test "x$usedoxygen" = "xyes")
|
|
|
|
|
|
|
|
# Check for asciidoc support and status
|
|
|
|
AC_MSG_CHECKING([for asciidoc])
|
|
|
|
if test "x$wantasciidoc" = "xyes" ; then
|
|
|
|
AC_CHECK_PROGS([ASCIIDOC], [asciidoc])
|
|
|
|
if test $ASCIIDOC ; then
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
useasciidoc=yes
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT([no, asciidoc missing])
|
|
|
|
useasciidoc=no
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT([no, disabled by configure])
|
|
|
|
useasciidoc=no
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(USE_ASCIIDOC, test "x$useasciidoc" = "xyes")
|
2005-10-17 14:52:43 -04:00
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Enable or disable debug code
|
2006-10-15 15:38:02 -04:00
|
|
|
AC_MSG_CHECKING(for debug mode request)
|
2007-02-22 16:34:51 -05:00
|
|
|
if test "x$debug" = "xyes" ; then
|
2007-10-26 21:31:25 -04:00
|
|
|
AC_MSG_RESULT(yes)
|
2007-02-22 16:34:51 -05:00
|
|
|
AC_DEFINE([PACMAN_DEBUG], , [Enable debug code])
|
2007-10-26 21:31:25 -04:00
|
|
|
# Check for mcheck
|
|
|
|
AC_CHECK_HEADERS([mcheck.h])
|
2007-10-31 22:30:09 -04:00
|
|
|
# Check for -fstack-protector availability
|
|
|
|
GCC_STACK_PROTECT_LIB
|
|
|
|
GCC_STACK_PROTECT_CC
|
|
|
|
CFLAGS="$CFLAGS -Wall -Werror"
|
2006-10-15 15:38:02 -04:00
|
|
|
else
|
2007-06-04 17:49:09 -04:00
|
|
|
AC_MSG_RESULT(no)
|
2007-10-30 14:13:28 -04:00
|
|
|
CFLAGS="$CFLAGS -Wall"
|
2006-10-15 15:38:02 -04:00
|
|
|
fi
|
|
|
|
|
2007-11-20 12:38:24 -05:00
|
|
|
# Enable or disable inclusion of pacman.static
|
2007-11-01 20:36:50 -04:00
|
|
|
AC_MSG_CHECKING(whether to build pacman.static)
|
|
|
|
if test "x$pacmanstatic" = "xyes" ; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE([INCLUDE_PACMAN_STATIC], , [Build pacman.static])
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(INCLUDE_PACMAN_STATIC, test "x$pacmanstatic" = "xyes")
|
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Set root directory
|
2007-05-31 12:13:25 -04:00
|
|
|
AC_SUBST(ROOTDIR)
|
2007-05-30 09:04:36 -04:00
|
|
|
# Set package file extension
|
2007-05-31 12:13:25 -04:00
|
|
|
AC_SUBST(PKGEXT)
|
2007-05-31 02:51:28 -04:00
|
|
|
AC_DEFINE_UNQUOTED([PKGEXT], "$PKGEXT", [The file extension used by pacman packages])
|
2007-05-31 12:21:37 -04:00
|
|
|
# Set source package file extension
|
|
|
|
AC_SUBST(SRCEXT)
|
|
|
|
AC_DEFINE_UNQUOTED([SRCEXT], "$SRCEXT", [The file extension used by pacman source packages])
|
2007-05-30 09:04:36 -04:00
|
|
|
# Set database file extension
|
2007-05-31 12:13:25 -04:00
|
|
|
AC_SUBST(DBEXT)
|
2007-05-31 02:51:28 -04:00
|
|
|
AC_DEFINE_UNQUOTED([DBEXT], "$DBEXT", [The file extension used by pacman databases])
|
2007-03-29 03:47:34 -04:00
|
|
|
|
2007-05-30 09:04:36 -04:00
|
|
|
# Configuration files
|
|
|
|
AC_CONFIG_FILES([
|
2005-10-17 14:52:43 -04:00
|
|
|
lib/libalpm/Makefile
|
2006-06-28 01:37:15 -04:00
|
|
|
lib/libalpm/po/Makefile.in
|
2005-10-17 14:52:43 -04:00
|
|
|
src/pacman/Makefile
|
|
|
|
src/util/Makefile
|
|
|
|
scripts/Makefile
|
|
|
|
doc/Makefile
|
2006-10-15 15:38:02 -04:00
|
|
|
etc/Makefile
|
2007-07-06 17:59:08 -04:00
|
|
|
po/Makefile.in
|
2007-02-22 16:34:51 -05:00
|
|
|
pactest/Makefile
|
2007-02-22 21:00:30 -05:00
|
|
|
contrib/Makefile
|
2005-10-17 14:52:43 -04:00
|
|
|
Makefile
|
|
|
|
])
|
2007-05-30 09:04:36 -04:00
|
|
|
AC_OUTPUT
|
2005-10-17 14:52:43 -04:00
|
|
|
|
|
|
|
echo "
|
2007-08-21 23:34:32 -04:00
|
|
|
pacman_display_version:
|
2006-10-15 15:38:02 -04:00
|
|
|
|
2007-05-31 02:51:28 -04:00
|
|
|
Build information:
|
|
|
|
source code location : ${srcdir}
|
2007-02-22 16:34:51 -05:00
|
|
|
prefix : ${prefix}
|
2007-05-30 11:04:49 -04:00
|
|
|
sysconfdir : $(eval echo ${sysconfdir})
|
2007-05-31 02:51:28 -04:00
|
|
|
conf file : $(eval echo ${sysconfdir})/pacman.conf
|
|
|
|
localstatedir : $(eval echo ${localstatedir})
|
|
|
|
database dir : $(eval echo ${localstatedir})/lib/pacman/
|
|
|
|
cache dir : $(eval echo ${localstatedir})/cache/pacman/pkg/
|
2007-02-22 16:34:51 -05:00
|
|
|
compiler : ${CC}
|
|
|
|
compiler flags : ${CFLAGS}
|
|
|
|
defines : ${DEFS}
|
2006-10-15 15:38:02 -04:00
|
|
|
|
2007-02-22 16:34:51 -05:00
|
|
|
Architecture : ${CARCH}
|
2007-08-20 00:38:37 -04:00
|
|
|
Architecture flags : ${CARCHFLAGS}
|
2007-02-22 16:34:51 -05:00
|
|
|
Host Type : ${CHOST}
|
2006-02-17 15:48:45 -05:00
|
|
|
|
2007-02-22 16:34:51 -05:00
|
|
|
libalpm version : ${LIB_VERSION}
|
2008-01-19 15:50:15 -05:00
|
|
|
libalpm version info : ${LIB_VERSION_INFO}
|
2007-02-22 16:34:51 -05:00
|
|
|
pacman version : ${PACKAGE_VERSION}
|
2006-10-15 15:38:02 -04:00
|
|
|
|
2007-03-29 03:47:34 -04:00
|
|
|
Directory and file information:
|
2007-05-31 02:51:28 -04:00
|
|
|
root working directory : ${ROOTDIR}
|
2007-05-29 17:46:20 -04:00
|
|
|
package extension : ${PKGEXT}
|
2007-05-31 12:21:37 -04:00
|
|
|
source pkg extension : ${SRCEXT}
|
2007-05-29 17:46:20 -04:00
|
|
|
database extension : ${DBEXT}
|
2007-03-29 03:47:34 -04:00
|
|
|
|
|
|
|
Compilation options:
|
2007-12-22 00:47:18 -05:00
|
|
|
Run make in doc/ dir : ${wantdoc}
|
2007-02-22 16:34:51 -05:00
|
|
|
Doxygen support : ${usedoxygen}
|
2007-07-09 14:38:02 -04:00
|
|
|
Asciidoc support : ${useasciidoc}
|
2007-02-22 16:34:51 -05:00
|
|
|
debug support : ${debug}
|
2007-11-01 20:36:50 -04:00
|
|
|
build pacman.static : ${pacmanstatic}
|
2005-10-17 14:52:43 -04:00
|
|
|
"
|
2007-06-04 17:49:09 -04:00
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 noet:
|