2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Mon, 27 Mar 2000 15:07:53 +0000 (15:07 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 27 Mar 2000 15:07:53 +0000 (15:07 +0000)
* include/shlib-compat.h: Conditionalize <abi-versions.h> include
on [HAVE_ELF && DO_VERSIONING].

include/shlib-compat.h

index 7704f52..7f66cbe 100644 (file)
 #ifndef _SHLIB_COMPAT_H
 #define _SHLIB_COMPAT_H        1
 
+#if defined HAVE_ELF && defined DO_VERSIONING
 /* Since there is just one set of .d files generated, we need to
    include this unconditionally to have the dependency noticed properly.  */
 #include <abi-versions.h>      /* header generated by abi-versions.awk */
+#endif
 
 #if defined HAVE_ELF && defined PIC && defined DO_VERSIONING