$OpenBSD: patch-configure,v 1.3 2010/04/03 11:54:19 kili Exp $ --- configure.orig Wed May 6 10:01:29 2009 +++ configure Sat Apr 3 11:14:32 2010 @@ -9876,7 +9876,7 @@ if test "${ac_cv_lib_ext2fs_ext2fs_open+set}" = set; t $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lext2fs $LIBS" +LIBS="-lext2fs -lext2fs_com_err $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -9959,7 +9959,7 @@ if test "${ac_cv_lib_com_err_com_err+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lcom_err $LIBS" +LIBS="-lext2fs_com_err $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -10026,7 +10026,7 @@ cat >>confdefs.h <<\_ACEOF _ACEOF if test "${com_err_lib_a}" = ""; then - LIBS="$LIBS -lcom_err" + LIBS="$LIBS -lext2fs_com_err" else LIBS="$LIBS ${com_err_lib_a}" fi @@ -10522,7 +10522,7 @@ fi -for ac_header in sys/uuid.h uuid/uuid.h uuid.h +for ac_header in sys/uuid.h uuid/uuid.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then @@ -10807,7 +10807,7 @@ return uuid_create (); return 0; } _ACEOF -for ac_lib in '' uuid; do +for ac_lib in '' e2fs-uuid; do if test -z "$ac_lib"; then ac_res="none required" else @@ -11005,7 +11005,7 @@ return uuid_generate (); return 0; } _ACEOF -for ac_lib in '' uuid; do +for ac_lib in '' e2fs-uuid; do if test -z "$ac_lib"; then ac_res="none required" else