# Fixes incorrect peigs checking flag for ga-config
# Author: Mikael Öhman
--- src/config/makefile.h.orig	2020-04-24 19:42:34.310637564 +0200
+++ src/config/makefile.h	2020-04-24 19:44:09.418426211 +0200
@@ -110,7 +110,7 @@
           $(error )
        endif
 #check peigs interface       
-       GA_HAS_PEIGS = $(shell ${EXTERNAL_GA_PATH}/bin/ga-config --enable-peigs | awk '/yes/ {print "Y"}')
+       GA_HAS_PEIGS = $(shell ${EXTERNAL_GA_PATH}/bin/ga-config --use_peigs | awk '/1/ {print "Y"}')
        GA_HAS_SCALAPACK = $(shell ${EXTERNAL_GA_PATH}/bin/ga-config --use_scalapack | awk '/1/ {print "Y"}')
        ifneq ($(GA_HAS_PEIGS),Y)
        ifneq ($(GA_HAS_SCALAPACK),Y)
