diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-03-25 09:40:23 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-03-25 09:40:23 +0000 |
commit | b1694b996be79022b025714fcb6c142724f222d1 (patch) | |
tree | 408e0dcc2f16bd77389ac76f585c8fec15bfbcb6 /Build/source/m4/kpse-poppler-flags.m4 | |
parent | 7a6aebddcdcee697b010d2b6d0db9b7b43e826b5 (diff) |
m4: Clean up Autoconf macros
git-svn-id: svn://tug.org/texlive/trunk@33282 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4/kpse-poppler-flags.m4')
-rw-r--r-- | Build/source/m4/kpse-poppler-flags.m4 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Build/source/m4/kpse-poppler-flags.m4 b/Build/source/m4/kpse-poppler-flags.m4 index 6345f9f3146..d2f67719e42 100644 --- a/Build/source/m4/kpse-poppler-flags.m4 +++ b/Build/source/m4/kpse-poppler-flags.m4 @@ -1,12 +1,12 @@ # Public macros for the TeX Live (TL) tree. -# Copyright (C) 2011-2013 Peter Breitenlohner <tex-live@tug.org> +# Copyright (C) 2011-2014 Peter Breitenlohner <tex-live@tug.org> # # This file is free software; the copyright holder # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # KPSE_POPPLER_FLAGS -# --------------- +# ------------------ # Provide the configure option '--with-system-poppler' (if in the TL tree). # # Set the make variables POPPLER_INCLUDES and POPPLER_LIBS to the CPPFLAGS and @@ -21,18 +21,18 @@ test "x$kpse_cv_have_win32" = xno || POPPLER_LIBS="$POPPLER_LIBS -lgdi32" ]) # KPSE_POPPLER_FLAGS # KPSE_POPPLER_OPTIONS([WITH-SYSTEM]) -# -------------------------------- -AC_DEFUN([KPSE_POPPLER_OPTIONS], -[m4_ifval([$1], - [AC_ARG_WITH([system-poppler], - AS_HELP_STRING([--with-system-poppler], - [use installed poppler headers and library (requires pkg-config)]))])[]dnl +# ----------------------------------- +AC_DEFUN([KPSE_POPPLER_OPTIONS], [dnl +m4_ifval([$1], + [AC_ARG_WITH([system-poppler], + AS_HELP_STRING([--with-system-poppler], + [use installed poppler headers and library (requires pkg-config)]))])[]dnl ]) # KPSE_POPPLER_OPTIONS # KPSE_POPPLER_SYSTEM_FLAGS -# ---------------------- -AC_DEFUN([KPSE_POPPLER_SYSTEM_FLAGS], -[AC_REQUIRE([_KPSE_CHECK_PKG_CONFIG])[]dnl +# ------------------------- +AC_DEFUN([KPSE_POPPLER_SYSTEM_FLAGS], [dnl +AC_REQUIRE([_KPSE_CHECK_PKG_CONFIG])[]dnl if $PKG_CONFIG poppler --atleast-version=0.18; then POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"' POPPLER_INCLUDES="$POPPLER_VERSION `$PKG_CONFIG poppler --cflags`" |