aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/configure
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/configure')
-rwxr-xr-xhardinfo2/configure19
1 files changed, 0 insertions, 19 deletions
diff --git a/hardinfo2/configure b/hardinfo2/configure
index d8113727..c3d14c04 100755
--- a/hardinfo2/configure
+++ b/hardinfo2/configure
@@ -104,24 +104,6 @@ echo ""
# ---------------------------------------------------------------------------
-echo -n "Checking for lspci... "
-LSPCIPATH="/sbin/lspci /usr/sbin/lspci /bin/lspci /usr/bin/lspci `which lspci 2>/dev/null`"
-for i in $LSPCIPATH; do
- if [ -x "$i" ]; then
- LSPCI=$i
- break
- fi
-done
-
-if [ -e "$LSPCI" ]; then
- echo $LSPCI
-else
- echo "lspci cannot be found"
- exit
-fi
-
-# ---------------------------------------------------------------------------
-
GTK2=-1
MIN_VERSION="2.6.0"
echo -n "Checking for GTK version >= ${MIN_VERSION}... "
@@ -201,7 +183,6 @@ echo -e "#ifndef __CONFIG_H__\n#define __CONFIG_H__\n" > config.h
echo "#define VERSION \"$VERSION\"" >> config.h
-echo "#define LSPCI \"$LSPCI -v\"" >> config.h
echo "#define $ARCH" >> config.h
echo "#define ARCH \"$ARCH\"" >> config.h