Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /tests/configure.ac
ViewVC logotype

Diff of /tests/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5076, Sat Jul 15 18:41:23 2017 UTC revision 5078, Sat Jul 15 22:37:04 2017 UTC
# Line 30  Line 30 
30  dnl  dnl
31  ACX_PTHREAD  ACX_PTHREAD
32    
33    dnl
34    dnl OS-specific linking issues
35    dnl
36    LD_NEEDS_RPATH=no;
37    LIBM=""
38    case "$host_os" in
39      darwin*) # On Mac OS X we check for the presence of macports and/or fink
40        if test -x /opt/local/bin/port ; then
41          HAS_MACPORTS=yes
42        else
43          HAS_MACPORTS=no
44        fi
45        if test -x /sw/bin/fink ; then
46          HAS_FINK=yes
47        else
48          HAS_FINK=no
49        fi
50      ;;
51      linux*) # On Linux we include the -rpath option to pick up dynamically-loaded libraries
52        LD_NEEDS_RPATH=yes
53        LIBM="-lm"
54      ;;
55    esac
56    
57    if test x"$HAS_MACPORTS" = xyes ; then
58      LDPATHS="-L/opt/local/lib"
59    elif test x"$HAS_FINK" = xyes ; then
60      LDPATHS="-L/sw/lib"
61    else
62      LDPATHS=""
63    fi
64    AC_SUBST(LDPATHS)
65    AC_SUBST(LD_NEEDS_RPATH)
66    AC_SUBST(LIBM)
67    
68  dnl the path can be specified using "--with-teem=..." too  dnl the path can be specified using "--with-teem=..." too
69  dnl  dnl
70  AC_ARG_WITH(teem,  AC_ARG_WITH(teem,

Legend:
Removed from v.5076  
changed lines
  Added in v.5078

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0