Changeset 2156 for ThirdParty/ASL


Ignore:
Timestamp:
Mar 30, 2011 4:42:38 PM (9 years ago)
Author:
stefan
Message:

do not need define

Location:
ThirdParty/ASL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/trunk/configure

    r2154 r2156  
    17481748
    17491749    svn_rev_tmp=`LANG=en_EN svnversion $srcdir 2>/dev/null`
    1750     if test "$ASL_SVN_REV" != exported; then
     1750    if test "x$svn_rev_tmp" != xexported -a "x$svn_rev_tmp" != x; then
    17511751      ASL_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
    17521752
     
    2036320363echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    2036420364if test $ac_cv_lib_dl_dlopen = yes; then
    20365 
    20366     ASL_PCLIBS="-ldl $ASL_PCLIBS"
    20367 
    20368 cat >>confdefs.h <<\_ACEOF
    20369 #define HAVE_DLFCN 1
    20370 _ACEOF
    20371 
    20372 
     20365  ASL_PCLIBS="-ldl $ASL_PCLIBS"
    2037320366fi
    2037420367
  • ThirdParty/ASL/trunk/configure.ac

    r2154 r2156  
    117117
    118118# Check for dlopen, ASL uses it to load userdefined function libraries
    119   AC_CHECK_LIB(dl,[dlopen],[
    120     ASL_PCLIBS="-ldl $ASL_PCLIBS"
    121     AC_DEFINE([HAVE_DLFCN],[1],[Define to 1 if dlfcn support is available])
    122   ])
     119  AC_CHECK_LIB(dl,[dlopen],[ASL_PCLIBS="-ldl $ASL_PCLIBS"])
    123120
    124121# Back to whatever language we were in.
Note: See TracChangeset for help on using the changeset viewer.