]> granicus.if.org Git - php/commitdiff
Make GD config fail if it doesn't find the gd files
authorRasmus Lerdorf <rasmus@php.net>
Sun, 25 Apr 1999 23:29:52 +0000 (23:29 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sun, 25 Apr 1999 23:29:52 +0000 (23:29 +0000)
ext/gd/config.m4

index 7a2891ef03e8307e71d5fec703ad1ef337a00610..6378535f0ad10df16df37bac40b978b1853fddee 100644 (file)
@@ -36,7 +36,7 @@ dnl A whole whack of possible places where this might be
         AC_CHECK_LIB(gd, gdImageString16, [ AC_DEFINE(HAVE_LIBGD13) ])
        ac_cv_lib_gd_gdImageLine=yes
       else
-        AC_MSG_RESULT(no)
+        AC_MSG_ERROR(Unable to find libgd.a anywhere under $withval)
       fi ;;
   esac
 ],[