]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/configure
Merge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git
[pciutils.git] / lib / configure
index 7c25c4210647491a5c87693ea54f2a69f8bba349..468a29f5aa6c0ffdd6e4914e01b072107da8027b 100755 (executable)
@@ -64,7 +64,7 @@ case $sys in
                                                echo >>$c "#define PCI_HAVE_PM_INTEL_CONF"
                                                ;;
                                *)
-                                               echo " The PCI library is does not support Solaris for this architecture: $cpu"
+                                               echo " The PCI library does not support Solaris for this architecture: $cpu"
                                                exit 1
                                                ;;
                esac
@@ -92,7 +92,7 @@ case $sys in
                echo >>$c '#define PCI_HAVE_PM_NBSD_LIBPCI'
                echo >>$c '#define PCI_PATH_NBSD_DEVICE "/dev/pci0"'
                echo >>$m 'PCILIB=lib/libpciutils.a'
-               echo >>$m 'LDFLAGS+=-lpci'
+               echo >>$m 'LDLIBS+=-lpci'
                ;;
        gnu)
                echo_n " i386-ports"
@@ -122,7 +122,7 @@ if [ "$zlib" = yes ] ; then
        echo >>$c '#define PCI_COMPRESSED_IDS'
        echo >>$c '#define PCI_IDS "pci.ids.gz"'
        echo >>$m 'LIBZ=-lz'
-       echo >>$m 'LDFLAGS+=$(LIBZ)'
+       echo >>$m 'LDLIBS+=$(LIBZ)'
 else
        echo >>$c '#define PCI_IDS "pci.ids"'
 fi