diff -Naur src.old/configure src/configure
old
|
new
|
|
5 | 5 | [ -n "$VERSION" ] && echo "Running configure for SHOGUN version $VERSION" |
6 | 6 | |
7 | 7 | # some hopefully reasonable defaults |
8 | | MAKEDEPEND="gcc -MM" |
| 8 | MAKEDEPEND="/opt/local/bin/gcc-mp-4.3 -MM" |
9 | 9 | MAKEDEPENDOPTS="" |
10 | 10 | SRCDIR="`dirname $0`" |
11 | 11 | EXT_SRC_HEADER=h |
… |
… |
|
63 | 63 | _hmmdebug=no |
64 | 64 | _pathdebug=no |
65 | 65 | _profile=no |
66 | | _prefix="/usr/local" |
| 66 | _prefix="/opt/local" |
67 | 67 | _destdir="/" |
68 | 68 | _bindir="" |
69 | 69 | _datadir="" |
… |
… |
|
385 | 385 | if test -f "$TMPO" |
386 | 386 | then |
387 | 387 | echo >> "$TMPLOG" |
388 | | echo "ldd $TMPO" >> "$TMPLOG" |
389 | | ( ldd "$TMPO" ) >> "$TMPLOG" 2>&1 |
| 388 | echo "otool -L $TMPO" >> "$TMPLOG" |
| 389 | ( otool -L "$TMPO" ) >> "$TMPLOG" 2>&1 |
390 | 390 | else |
391 | 391 | echo "no object file created" >> "$TMPLOG" |
392 | 392 | fi |
… |
… |
|
405 | 405 | if test -f "$TMPO" |
406 | 406 | then |
407 | 407 | echo >> "$TMPLOG" |
408 | | echo "ldd $TMPO" >> "$TMPLOG" |
409 | | ( ldd "$TMPO" ) >> "$TMPLOG" 2>&1 |
| 408 | echo "otool -L $TMPO" >> "$TMPLOG" |
| 409 | ( otool -L "$TMPO" ) >> "$TMPLOG" 2>&1 |
410 | 410 | else |
411 | 411 | echo "no object file created" >> "$TMPLOG" |
412 | 412 | fi |
… |
… |
|
2391 | 2391 | LINKFLAGS="-bundle -Wl,-flat_namespace -L`octave-config -p OCTLIBDIR` -loctinterp -loctave -lcruft $LINKFLAGS" |
2392 | 2392 | else |
2393 | 2393 | OCTLIBDIR=`octave-config -p OCTLIBDIR` |
2394 | | LINKFLAGS="-shared -L $OCTLIBDIR -loctinterp -loctave -lcruft $LINKFLAGS" |
| 2394 | LINKFLAGS="-shared -L$OCTLIBDIR -loctinterp -loctave -lcruft $LINKFLAGS" |
2395 | 2395 | fi |
2396 | 2396 | TARGET="sg.oct" |
2397 | 2397 | INCLUDES="$INCLUDES -I`octave-config -p OCTINCLUDEDIR` -I`octave-config -p INCLUDEDIR`" |
… |
… |
|
2667 | 2667 | } |
2668 | 2668 | EOF |
2669 | 2669 | echocheck "lpsolve Developer Files" |
2670 | | LPSOLVELINKFLAGS="-L /usr/lib/lp_solve -llpsolve55" |
| 2670 | LPSOLVELINKFLAGS="-L/opt/local/lib/ -llpsolve55" |
2671 | 2671 | if cc_check $LPSOLVELINKFLAGS |
2672 | 2672 | then |
2673 | 2673 | echores "yes" |