File: fontforge_ltdl.m4

package info (click to toggle)
fontforge 1%3A20170731~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 67,252 kB
  • ctags: 42,582
  • sloc: ansic: 580,893; python: 5,476; sh: 3,081; makefile: 1,269; perl: 315; cpp: 176; ruby: 97; objc: 92; xml: 90; sed: 9
file content (18 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dnl -*- autoconf -*-

dnl FONTFORGE_CHECK_LTDL_VERSION
dnl ----------------------------
AC_DEFUN([FONTFORGE_CHECK_LTDL_VERSION],
[
if test x"${with_included_ltdl}" != xyes; then
   save_CFLAGS="${CFLAGS}"
   save_LDFLAGS="${LDFLAGS}"
   CFLAGS="${CFLAGS} ${LTDLINCL}"
   LDFLAGS="${LDFLAGS} ${LIBLTDL}"
   # The lt_dladvise_init symbol was added with libtool-2.2.
   AC_CHECK_LIB([ltdl],[lt_dladvise_init],[],
                [AC_MSG_ERROR([installed libltdl is too old; consider using --with-included-ltdl])])
   LDFLAGS="${save_LDFLAGS}"
   CFLAGS="${save_CFLAGS}"
fi
])