Hi Greg,

I've gone back to work on wspr-v4.0 for Mac OSX.   There are a couple of 
corrections that need to be made to configure.ac in areas specific to OSX:

Could you look at these please.   I won't commit while work seems to be ongoing 
in this repo.

--- John G4KLA

--- configure.ac        (revision 6197)
+++ configure.ac        (working copy)
@@ -1,4 +1,4 @@
-dnl $Id$
+denl $Id$
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.69])
@@ -319,7 +319,7 @@
                AC_HELP_STRING([--with-gfortran=DIR], [Path to gfortran]), 
[gfortran=$with_gfortran])
                AC_MSG_CHECKING([F2PY --with-f2py])
                if test -n ${with_gfortran}; then
-                       gfortran="${with_gfortran}"
+                       gfortran="${gfortran}"
                        gfpath=`${gfortran} --print-file-name=|awk -F/ '{print 
$1 "/" $2 "/" $3 "/" $4 "/" $5}'`
                        LDFLAGS="-L${gfpath} ${LDFLAGS}"
                fi
@@ -336,7 +336,7 @@
        HAVE_GFORTRAN=1
        FC=${gfortran}
        FCV=gnu95
-       FC_LIB_PATH=`${FC} -print-file-name=`
+       FC_LIB_PATH=`${FC} --print-file-name=`
        AC_DEFINE_UNQUOTED([FC_LIB_PATH], ["${FC_LIB_PATH}"], [Path to Gfortran 
libs.])
        AC_SUBST([FC_LIB_PATH], ["${FC_LIB_PATH}"])
        AC_DEFINE_UNQUOTED([FC], ["${FC}"], [Gfortran Compiler])
@@ -361,6 +361,11 @@
        AC_SUBST([PORTAUDIO_LIBDIR], ["-L/usr/local/lib/portaudio2"])
        LDFLAGS="-L/usr/local/lib/portaudio2 ${LDFLAGS}"
        ;;
+       *darwin* )
+       AC_SUBST([PORTAUDIO_INCLUDE], ["-I/usr/local/include/"])
+       AC_SUBST([PORTAUDIO_LIBDIR], ["-L/usr/local/lib/"])
+       LDFLAGS="-L/usr/local/lib/ ${LDFLAGS}"
+       ;;
        *)
        ;;
 esac


------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to