about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7b07d4b0a1..06c5496e08 100644
--- a/configure.in
+++ b/configure.in
@@ -429,7 +429,11 @@ changequote([,])dnl
 done
 
 # Add the default directories.
-sysnames="$names sysdeps/generic"
+if test "$elf" = yes; then
+  sysnames="$names sysdeps/generic/elf sysdeps/generic"
+else
+  sysnames="$names sysdeps/generic"
+fi
 AC_SUBST(sysnames)
 # The other names were emitted during the scan.
 AC_MSG_RESULT(sysdeps/generic)