diff -ur csl.orig/cslbase/configure csl/cslbase/configure
old
|
new
|
|
4639 | 4639 | # that arise because they hand down options that lead to failures in |
4640 | 4640 | # compilation of any sort at all are then THEIR job to resolve by providing |
4641 | 4641 | # settings that are satisfactory. |
4642 | | CPPFLAGS="$CPPFLAGS -I/opt/local/include -I/opt/local/include/freetype2" |
| 4642 | CPPFLAGS="$CPPFLAGS -I@PREFIX@/include -I@PREFIX@/include/freetype2" |
4643 | 4643 | XLIBS="-lXext -lX11 -lXft -lfontconfig" |
4644 | 4644 | macintosh_build="yes" |
4645 | 4645 | darwin_build="yes" |
… |
… |
|
24664 | 24664 | # configured for use without a GUI. |
24665 | 24665 | if test "x$with_gui" = "xyes" |
24666 | 24666 | then |
24667 | | LL=/opt/local/lib |
| 24667 | LL=@PREFIX@/lib |
24668 | 24668 | LIBS="$LL/libXrandr.a \ |
24669 | 24669 | $LL/libXcursor.a \ |
24670 | 24670 | $LL/libXrender.a \ |
diff -ur csl.orig/cslbase/configure.ac csl/cslbase/configure.ac
old
|
new
|
|
432 | 432 | # that arise because they hand down options that lead to failures in |
433 | 433 | # compilation of any sort at all are then THEIR job to resolve by providing |
434 | 434 | # settings that are satisfactory. |
435 | | CPPFLAGS="$CPPFLAGS -I/opt/local/include -I/opt/local/include/freetype2" |
| 435 | CPPFLAGS="$CPPFLAGS -I@PREFIX@/include -I@PREFIX@/include/freetype2" |
436 | 436 | XLIBS="-lXext -lX11 -lXft -lfontconfig" |
437 | 437 | macintosh_build="yes" |
438 | 438 | darwin_build="yes" |
… |
… |
|
454 | 454 | CPPFLAGS="$CPPFLAGS -fno-common -I/usr/X11R6/include" |
455 | 455 | DLL_CFLAGS="$CFLAGS -bundle -undefined suppress" |
456 | 456 | AC_DEFINE(UNIX,[1],[True if we are running on Unix, Linux, BSD etc]) |
457 | | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L/opt/local/lib -L/opt/X11/lib" |
| 457 | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L@PREFIX@/lib -L/opt/X11/lib" |
458 | 458 | LDFLAGS="$LDFLAGS -framework Carbon -framework CoreServices -framework ApplicationServices" |
459 | 459 | fi |
460 | 460 | AC_CHECK_PROGS(REZ,[/usr/bin/Rez /Developer/tools/Rez],[Rez]) |
… |
… |
|
1552 | 1552 | # configured for use without a GUI. |
1553 | 1553 | if test "x$with_gui" = "xyes" |
1554 | 1554 | then |
1555 | | LL=/opt/local/lib |
| 1555 | LL=@PREFIX@/lib |
1556 | 1556 | LIBS="$LL/libXrandr.a \ |
1557 | 1557 | $LL/libXcursor.a \ |
1558 | 1558 | $LL/libXrender.a \ |
… |
… |
|
1582 | 1582 | else |
1583 | 1583 | # This is to try to force linking against a system-provided version. |
1584 | 1584 | LDFLAGS="-L/usr/lib -lcurses $LDFLAGS" |
1585 | | LL=/opt/local/lib |
| 1585 | LL=@PREFIX@/lib |
1586 | 1586 | LIBS="$LL/libz.a \ |
1587 | 1587 | $LL/libbz2.a \ |
1588 | 1588 | $LL/libiconv.a \ |
diff -ur csl.orig/fox/configure csl/fox/configure
old
|
new
|
|
6139 | 6139 | *darwin*) |
6140 | 6140 | # Ugh! With macports the autoconf recipe that establishes X11 paths |
6141 | 6141 | # fails to include this one but it is needed! |
6142 | | CXXFLAGS="$CXXFLAGS -I/opt/local/include/freetype2" |
| 6142 | CXXFLAGS="$CXXFLAGS -I@PREFIX@/include/freetype2" |
6143 | 6143 | ;; |
6144 | 6144 | *mingw32*) |
6145 | 6145 | { $as_echo "$as_me:${as_lineno-$LINENO}: host_os=$host_os so building for native Windows" >&5 |
diff -ur csl.orig/fox/configure.ac csl/fox/configure.ac
old
|
new
|
|
88 | 88 | *darwin*) |
89 | 89 | # Ugh! With macports the autoconf recipe that establishes X11 paths |
90 | 90 | # fails to include this one but it is needed! |
91 | | CXXFLAGS="$CXXFLAGS -I/opt/local/include/freetype2" |
| 91 | CXXFLAGS="$CXXFLAGS -I@PREFIX@/include/freetype2" |
92 | 92 | ;; |
93 | 93 | *mingw32*) |
94 | 94 | AC_MSG_NOTICE([host_os=$host_os so building for native Windows]) |
diff -ur csl.orig/foxtests/configure csl/foxtests/configure
old
|
new
|
|
3908 | 3908 | |
3909 | 3909 | $as_echo "#define UNIX 1" >>confdefs.h |
3910 | 3910 | |
3911 | | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L/opt/local/lib -L/opt/X11/lib" |
| 3911 | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L@PREFIX@/lib -L/opt/X11/lib" |
3912 | 3912 | LDFLAGS="$LDFLAGS -framework Carbon -framework CoreServices -framework ApplicationServices" |
3913 | 3913 | fi |
3914 | 3914 | ;; |
diff -ur csl.orig/foxtests/configure.ac csl/foxtests/configure.ac
old
|
new
|
|
212 | 212 | CPPFLAGS="$CPPFLAGS -fno-common -I/usr/X11R6/include" |
213 | 213 | DLL_CFLAGS="$CFLAGS -bundle -undefined suppress" |
214 | 214 | AC_DEFINE(UNIX,[1],[True if we are running on Unix, Linux, BSD etc]) |
215 | | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L/opt/local/lib -L/opt/X11/lib" |
| 215 | LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L@PREFIX@/lib -L/opt/X11/lib" |
216 | 216 | LDFLAGS="$LDFLAGS -framework Carbon -framework CoreServices -framework ApplicationServices" |
217 | 217 | fi |
218 | 218 | ;; |