--- a/configure
+++ b/configure
@@ -2170,8 +2170,7 @@ echo "${ECHO_T}$withval" >&6
         DNETLIB="`$withval/bin/dnet-config --libs`"
      else
         { { echo "$as_me:2172: error: dnet-config not found in $withval/bin" >&5
-echo "$as_me: error: dnet-config not found in $withval/bin" >&2;}
-   { (exit 1); exit 1; }; }
+echo "$as_me: error: dnet-config not found in $withval/bin" >&2;} }
      fi
      ;;
   esac
