Added generation of OPENPDKS_TOP from the configure script to
support technologies added as symbolic links, which can't use
".." to get back to the package top to reach the script files.
diff --git a/scripts/configure.ac b/scripts/configure.ac
index cfeef5a..7f1ba4b 100755
--- a/scripts/configure.ac
+++ b/scripts/configure.ac
@@ -22,6 +22,9 @@
 
 ENABLED_TECHS=
 
+# Export the open_pdks top level directory
+OPENPDKS_TOP=`cd .. && pwd`
+
 # detect PDKs based on directories that include Makefile.in files
 m4_define([M4_GET_TECHS], [m4_normalize(m4_esyscmd(cd .. && find -H * -mindepth 1 -maxdepth 1 -name "Makefile.in" -exec dirname {} \; | tr "\n" " "))])
 
@@ -259,6 +262,8 @@
 AC_SUBST(EF_STYLE)
 # Export the list of enabled technologies to the Makefile
 AC_SUBST(ENABLED_TECHS)
+# Export the top level directory of open_pdks
+AC_SUBST(OPENPDKS_TOP)
 
 MAKEFILES=$(find -L .. -name "Makefile.in" | sed 's/\(.*\)\.in/\1/g')
 AC_CONFIG_FILES($MAKEFILES)