If the initial attempt to run the test program fails, the smaller
program that is then compiled and linked to try to diagnose the error
needs to have PLUG_IN_INFO so that it will link properly.
--- /usr/local/Libraries/share/aclocal/gimp.m4 Fri Feb 11 18:04:05 2000
+++ /usr/local/share/aclocal/gimp.m4 Fri Feb 11 22:34:47 2000
@@ -134,6 +134,13 @@
AC_TRY_LINK([
#include <stdio.h>
#include <libgimp/gimp.h>
+GPlugInInfo PLUG_IN_INFO = /* Plug-in information */
+{
+ NULL, /* init_proc */
+ NULL, /* quit_proc */
+ NULL, /* query_proc */
+ NULL, /* run_proc */
+};
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GIMP or finding the wrong"