Changeset 3951 for zzuf


Ignore:
Timestamp:
Nov 19, 2009, 1:51:32 AM (11 years ago)
Author:
Sam Hocevar
Message:

Detect libzzuf soname at configure time rather than compile time.

Location:
zzuf/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/configure.ac

    r2578 r3951  
    1414AC_C_INLINE
    1515AC_C_FUNC
     16
     17# Library suffix
     18AC_MSG_CHECKING(for libzzuf full name)
     19case "$shrext_cmds" in
     20  "") SONAME="libzzuf.so" ;;
     21  *) SONAME="libzzuf$shrext_cmds" ;;
     22esac
     23AC_MSG_RESULT($SONAME)
     24AC_SUBST(SONAME)
    1625
    1726# Optimizations
  • zzuf/trunk/src/Makefile.am

    r3635 r3951  
    99zzuf_SOURCES = zzuf.c $(COMMON) $(GETOPT) \
    1010               opts.c opts.h md5.c md5.h timer.c timer.h
    11 zzuf_CFLAGS = -DLIBDIR=\"$(libdir)/zzuf\" -DSONAME=\"$$(grep dlname libzzuf.la | cut -f2 -d"'")\"
     11zzuf_CFLAGS = -DLIBDIR=\"$(libdir)/zzuf\"
    1212zzuf_LDFLAGS = $(MATH_LIBS) $(WINSOCK2_LIBS)
    1313zzuf_DEPENDENCIES = libzzuf.la
Note: See TracChangeset for help on using the changeset viewer.