diff -ur csl.orig/cslbase/configure.ac csl/cslbase/configure.ac
old
|
new
|
|
473 | 473 | then |
474 | 474 | CPPFLAGS="$CPPFLAGS -I$HOME/ports/include -I$HOME/ports/include/freetype2" |
475 | 475 | fi |
476 | | if test -d /opt/local/include |
| 476 | if test -d @PREFIX@/include |
477 | 477 | then |
478 | | CPPFLAGS="$CPPFLAGS -I/opt/local/include -I/opt/local/include/freetype2" |
| 478 | CPPFLAGS="$CPPFLAGS -I@PREFIX@/include -I@PREFIX@/include/freetype2" |
479 | 479 | fi |
480 | 480 | XLIBS="-lXext -lX11 -lXft -lfontconfig -lc" |
481 | 481 | macintosh_build="yes" |
… |
… |
|
502 | 502 | then |
503 | 503 | LDFLAGS="$LDFLAGS -L$HOME/ports/lib" |
504 | 504 | fi |
505 | | if test -d /opt/local/lib |
| 505 | if test -d @PREFIX@/lib |
506 | 506 | then |
507 | | LDFLAGS="$LDFLAGS -L/opt/local/lib" |
| 507 | LDFLAGS="$LDFLAGS -L@PREFIX@/lib" |
508 | 508 | fi |
509 | 509 | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L/opt/X11/lib" |
510 | 510 | LDFLAGS="$LDFLAGS -framework Carbon -framework CoreServices -framework ApplicationServices" |
… |
… |
|
1225 | 1225 | # libraries are nevertheless available. I will look for freetype-config |
1226 | 1226 | # which may also help me... |
1227 | 1227 | AC_PATH_PROGS(FREETYPE_CONFIG, freetype-config, [no], |
1228 | | [/usr/local/bin:/usr/sfw/bin:$HOME/ports/bin:/opt/local/bin:$PATH]) |
| 1228 | [/usr/local/bin:/usr/sfw/bin:$HOME/ports/bin:@PREFIX@/bin:$PATH]) |
1229 | 1229 | if test "$FREETYPE_CONFIG" != "no" |
1230 | 1230 | then |
1231 | 1231 | # I will add to CFLAGS and XLIBS if freetype-config is found, an in fact I |
… |
… |
|
1722 | 1722 | # configured for use without a GUI. |
1723 | 1723 | if test "$with_gui" = "yes" |
1724 | 1724 | then |
1725 | | if test -d /opt/local/lib |
| 1725 | if test -d @PREFIX@/lib |
1726 | 1726 | then |
1727 | | LL=/opt/local/lib |
| 1727 | LL=@PREFIX@/lib |
1728 | 1728 | fi |
1729 | 1729 | if test -d $HOME/ports/lib |
1730 | 1730 | then |
diff -ur csl.orig/cslbase/create_old_bundle.sh csl/cslbase/create_old_bundle.sh
old
|
new
|
|
27 | 27 | cp $srcdir/../reduce.doc/*.txt $D |
28 | 28 | cp $srcdir/../reduce.doc/*.tex $D |
29 | 29 | cp $srcdir/../reduce.doc/*.html $D |
30 | | # cp $srcdir/../reduce.gif $D |
| 30 | cp $srcdir/../reduce.doc/*.gif $D |
31 | 31 | F="$1.app/Contents/MacOS/reduce.fonts" |
32 | 32 | cp -r $srcdir/fontconfig.conf $F |
33 | 33 | # Copy everything from my source tree. This makes sense if the tree is |
diff -ur csl.orig/fox/configure.ac csl/fox/configure.ac
old
|
new
|
|
116 | 116 | *darwin*) |
117 | 117 | # Ugh! With macports the autoconf recipe that establishes X11 paths |
118 | 118 | # fails to include this one but it is needed! |
119 | | CXXFLAGS="$CXXFLAGS -I/opt/local/include/freetype2" |
| 119 | CXXFLAGS="$CXXFLAGS -I@PREFIX@/include/freetype2" |
120 | 120 | ;; |
121 | 121 | *mingw32*) |
122 | 122 | AC_MSG_NOTICE([host_os=$host_os so building for native Windows]) |
… |
… |
|
217 | 217 | CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -fstrict-aliasing" |
218 | 218 | ;; |
219 | 219 | *) |
220 | | CXXFLAGS="${CXXFLAGS} -Wuninitialized -fomit-frame-pointer -ffast-math -fstrict-aliasing -finline-functions -fexpensive-optimizations" |
| 220 | CXXFLAGS="${CXXFLAGS} -Wuninitialized -fomit-frame-pointer -ffast-math -fstrict-aliasing -finline-functions" |
221 | 221 | LDFLAGS="-s ${LDFLAGS}" |
222 | 222 | ;; |
223 | 223 | esac |
diff -ur csl.orig/foxtests/configure.ac csl/foxtests/configure.ac
old
|
new
|
|
215 | 215 | CPPFLAGS="$CPPFLAGS -fno-common -I/usr/X11R6/include" |
216 | 216 | DLL_CFLAGS="$CFLAGS -bundle -undefined suppress" |
217 | 217 | AC_DEFINE(UNIX,[1],[True if we are running on Unix, Linux, BSD etc]) |
218 | | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L/opt/local/lib -L/opt/X11/lib" |
| 218 | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L@PREFIX@/lib -L/opt/X11/lib" |
219 | 219 | LDFLAGS="$LDFLAGS -framework Carbon -framework CoreServices -framework ApplicationServices" |
220 | 220 | fi |
221 | 221 | ;; |