fi
if test -f "$root/cups/libcups.so.2"; then
- if test "x$LD_LIBRARY_PATH" = x; then
- LD_LIBRARY_PATH="$root/cups"
- else
- LD_LIBRARY_PATH="$root/cups:$LD_LIBRARY_PATH"
- fi
-
- LD_PRELOAD="$root/cups/libcups.so.2:$root/cups/libcupsimage.so.2"
- if test `uname` = SunOS -a -r /usr/lib/libCrun.so.1; then
- LD_PRELOAD="/usr/lib/libCrun.so.1:$LD_PRELOAD"
- fi
+ if test "x$LD_LIBRARY_PATH" = x; then
+ LD_LIBRARY_PATH="$root/cups"
+ else
+ LD_LIBRARY_PATH="$root/cups:$LD_LIBRARY_PATH"
+ fi
+
+ LD_PRELOAD="$root/cups/libcups.so.2:$root/cups/libcupsimage.so.2"
+ if test `uname` = SunOS -a -r /usr/lib/libCrun.so.1; then
+ LD_PRELOAD="/usr/lib/libCrun.so.1:$LD_PRELOAD"
+ fi
fi
if test -f "$root/cups/libcups.2.dylib"; then
- if test "x$DYLD_INSERT_LIBRARIES" = x; then
- DYLD_INSERT_LIBRARIES="$root/cups/libcups.2.dylib:$root/cups/libcupsimage.2.dylib"
- else
- DYLD_INSERT_LIBRARIES="$root/cups/libcups.2.dylib:$root/cups/libcupsimage.2.dylib:$DYLD_INSERT_LIBRARIES"
- fi
-
- if test "x$DYLD_LIBRARY_PATH" = x; then
- DYLD_LIBRARY_PATH="$root/cups"
- else
- DYLD_LIBRARY_PATH="$root/cups:$DYLD_LIBRARY_PATH"
- fi
+ if test "x$DYLD_INSERT_LIBRARIES" = x; then
+ DYLD_INSERT_LIBRARIES="$root/cups/libcups.2.dylib:$root/cups/libcupsimage.2.dylib"
+ else
+ DYLD_INSERT_LIBRARIES="$root/cups/libcups.2.dylib:$root/cups/libcupsimage.2.dylib:$DYLD_INSERT_LIBRARIES"
+ fi
+
+ if test "x$DYLD_LIBRARY_PATH" = x; then
+ DYLD_LIBRARY_PATH="$root/cups"
+ else
+ DYLD_LIBRARY_PATH="$root/cups:$DYLD_LIBRARY_PATH"
+ fi
fi
# These get exported because they don't have side-effects...