--- gildas-src-feb25b/admin/gildas-env.sh.orig	2025-02-03 12:14:59
+++ gildas-src-feb25b/admin/gildas-env.sh	2025-02-03 15:34:33
@@ -250,19 +250,19 @@
 	FFTW3_PRESENT=no
 	FFTW3F_PRESENT=no
 	#
-	OLDIFS=$IFS
-	IFS=:
-	for DIR in $GAGENV_SEARCH_PATH; do
-	    # Note: libfftw3 and libfftw3f must be in the same directory
-	    if file_present "libfftw3." "${DIR}"; then
-		FFTW3_PRESENT=yes
-		FFTW3_LIB_DIR=$DIR
-		if file_present "libfftw3f." "${DIR}"; then
-		    FFTW3F_PRESENT=yes
-		fi
-	    fi
-	done
-	IFS=$OLDIFS
+# 	OLDIFS=$IFS
+# 	IFS=:
+# 	for DIR in $GAGENV_SEARCH_PATH; do
+# 	    # Note: libfftw3 and libfftw3f must be in the same directory
+# 	    if file_present "libfftw3." "${DIR}"; then
+# 		FFTW3_PRESENT=yes
+# 		FFTW3_LIB_DIR=$DIR
+# 		if file_present "libfftw3f." "${DIR}"; then
+# 		    FFTW3F_PRESENT=yes
+# 		fi
+# 	    fi
+# 	done
+# 	IFS=$OLDIFS
 	#
 	if [ "$GAG_CONFIG" != -no_openmp ]; then
 	    gagenv_message "FFTW v3 are not supported in OpenMP mode. Default to GILDAS FFT."
@@ -760,6 +760,8 @@
     # environment variables:
     #
     unset GAG_LIB_DEP_PATH GAG_INC_DEP_PATH  # Incremented by detection functions
+    GAG_INC_DEP_PATH=@PREFIX@/include
+    GAG_LIB_DEP_PATH=@PREFIX@/lib
     #
     gagenv_detect_openmp
     gagenv_message ""
