Force coreboot mconf to create temp files in the output directory
[coreboot.git] / util / msrtool / configure
index 268bbab01d397e6ab67426ff8bf61b439e8c3698..35d17183a20d616062c4cb12659b0b141a4e1556 100755 (executable)
@@ -82,7 +82,7 @@ trycompile() {
                        echo " using: ${CFLAGS} ${1}" 1>&2
                        echo "${CFLAGS} ${1}"
                        exit 0
-               } 
+               }
                shift
                i=$(($i+1))
        done
@@ -99,7 +99,7 @@ trycompile() {
        exit 1
 }
 
-trylink {
+trylink() {
        NPARMS=$#
        WHAT="${1}"
        shift
@@ -155,7 +155,7 @@ CFLAGS=`trycompile "libpci (from pciutils)" "${pc_CFLAGS}" "-I/usr/local/include
        rm -f .config.c
        exit 1
 }
-LDFLAGS=`trylink "libpci (from pciutils)" "${pc_LDFLAGS}" "-lpci -lz" "-L/usr/local/lib -lpci -lz" "-framework DirectIO -lpci -lz"` || {
+LDFLAGS=`trylink "libpci (from pciutils)" "${pc_LDFLAGS}" "-lpci -lz" "-L/usr/local/lib -lpci -lz" "-framework DirectHW -lpci -lz"` || {
        rm -f .config.c .config.o
        exit 1
 }