+ --disable-dependency-tracking"
+ fi
+ fi
+
+ # Remove option --sysconfdir=... if not supported
+ if ! cat ${LFS_TMP}/${PACKAGE}/configure | \
+ grep -q "sysconfdir"; then
+ # Split on space, one per line.
+ # Remove line --sysconfdir=...
+ # Join separate lines on one line
+ # Remove trailing space
+ CONFIGURE_OPTS=$(echo ${CONFIGURE_OPTS} | \
+ tr -s " " "\n" | \
+ grep -v "\-\-sysconfdir=" | \
+ tr -s "\n" " " | \
+ sed "s/ $//")