Commits

ripencc  committed b8e3ed2 Merge

fix darwin build

  • Participants
  • Parent commits 136e2f1, f652f37
  • Tags 1.4.99.13

Comments (0)

Files changed (2)

 ISSUES, AS YOUR E-MAIL MAY BE LOST
 ===============================================
 
+2010-10-21 Devin Bayer <dbayer@ripe.net> v1.4.99.13
+	* fix configure script for Darwin
+
 2010-09-24 Devin Bayer <dbayer@ripe.net> v1.4.99.12
 	* Remove --disable-ipv6 flag
         * Fix parsing of IPv6 NEXT_HOP attributes

File configure.in

 dnl Process this file with autoconf to produce a configure script.
 AC_REVISION($Revision$)
 
-AC_INIT([libbgpdump], 1.4.99.12, [ris@ripe.net])
+AC_INIT([libbgpdump], 1.4.99.13, [ris@ripe.net])
 AC_CONFIG_SRCDIR([bgpdump_lib.c])
 AC_CONFIG_HEADERS([bgpdump-config.h])
 
 AC_CHECK_FUNCS(inet_ntoa, [], AC_CHECK_LIB(nsl, inet_ntoa, [], AC_MSG_ERROR([inet_ntoa not found],1)))
 AC_CHECK_FUNCS(inet_ntop, [], AC_CHECK_LIB(nsl, inet_ntop, [], AC_MSG_ERROR([inet_ntop not found],1)))
 
-OS=`uname|sed -e 'y/A-Z/a-z/'`
-case $OS in
-	darwin*) LDFLAGS="$LDFLAGS -dynamiclib" ;;
-	*) LDFLAGS="$LDFLAGS -shared" ;;
+case `uname` in
+	Darwin*) LDFLAGS="$LDFLAGS -dynamiclib" ;;
+	*)       LDFLAGS="$LDFLAGS -shared" ;;
 esac
 
 AC_SUBST(CFLAGS)