diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-06-24 20:17:53 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-06-24 20:17:53 +0000 |
| commit | 9ac6934696fa366ec3f475549750efdd3c3a7154 (patch) | |
| tree | 34820ec4ab176f61a66771e390fbd815d848b0a5 | |
| parent | 0ed97b422bb382586d1764fd5f8a7e7b1f170327 (diff) | |
"test -e" is not portable, must use "test -f".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rwxr-xr-x | fltk-config.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fltk-config.in b/fltk-config.in index 816089529..f87d5e93d 100755 --- a/fltk-config.in +++ b/fltk-config.in @@ -59,22 +59,22 @@ LDFLAGS="@LDFLAGS@" LDLIBS="@LIBS@" # Check for local invocation, and update paths accordingly... -if test -e "$selfdir/FL/Fl_Window.H"; then +if test -f "$selfdir/FL/Fl_Window.H"; then bindir="$selfdir/fluid" includedir="$selfdir" libdir="$selfdir/lib" - if test -e "$libdir/libfltk_jpeg.a"; then + if test -f "$libdir/libfltk_jpeg.a"; then CFLAGS="-I$includedir/jpeg $CFLAGS" CXXFLAGS="-I$includedir/jpeg $CXXFLAGS" fi - if test -e "$libdir/libfltk_z.a"; then + if test -f "$libdir/libfltk_z.a"; then CFLAGS="-I$includedir/zlib $CFLAGS" CXXFLAGS="-I$includedir/zlib $CXXFLAGS" fi - if test -e "$libdir/libfltk_png.a"; then + if test -f "$libdir/libfltk_png.a"; then CFLAGS="-I$includedir/png $CFLAGS" CXXFLAGS="-I$includedir/png $CXXFLAGS" fi |
