~ubuntu-branches/ubuntu/utopic/clamav/utopic-security

« back to all changes in this revision

Viewing changes to m4/ltdl.m4

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2014-02-01 11:06:17 UTC
  • mfrom: (0.35.37 sid)
  • Revision ID: package-import@ubuntu.com-20140201110617-33h2xxk09dep0ui4
Tags: 0.98.1+dfsg-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes
  - Add autopkgtest

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
2
2
#
3
 
#   Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc.
 
3
#   Copyright (C) 1999-2006, 2007, 2008, 2011 Free Software Foundation, Inc.
4
4
#   Written by Thomas Tanner, 1999
5
5
#
6
6
# This file is free software; the Free Software Foundation gives
7
7
# unlimited permission to copy and/or distribute it, with or without
8
8
# modifications, as long as this notice is preserved.
9
9
 
10
 
# serial 17 LTDL_INIT
 
10
# serial 18 LTDL_INIT
11
11
 
12
12
# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
13
13
# ------------------------------------------
407
407
AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
408
408
AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
409
409
 
 
410
m4_pattern_allow([LT_LIBEXT])dnl
410
411
AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
411
412
 
 
413
name=
 
414
eval "lt_libprefix=\"$libname_spec\""
 
415
m4_pattern_allow([LT_LIBPREFIX])dnl
 
416
AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
 
417
 
412
418
name=ltdl
413
 
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
 
419
eval "LTDLOPEN=\"$libname_spec\""
414
420
AC_SUBST([LTDLOPEN])
415
421
])# _LTDL_SETUP
416
422
 
547
553
[
548
554
module=yes
549
555
eval libltdl_cv_shlibext=$shrext_cmds
 
556
module=no
 
557
eval libltdl_cv_shrext=$shrext_cmds
550
558
  ])
551
559
if test -n "$libltdl_cv_shlibext"; then
552
560
  m4_pattern_allow([LT_MODULE_EXT])dnl
553
561
  AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
554
562
    [Define to the extension used for runtime loadable modules, say, ".so".])
555
563
fi
 
564
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
 
565
  m4_pattern_allow([LT_SHARED_EXT])dnl
 
566
  AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
 
567
    [Define to the shared library suffix, say, ".dylib".])
 
568
fi
556
569
])# LT_SYS_MODULE_EXT
557
570
 
558
571
# Old name: