diff --git a/configure/os/CONFIG.Common.solaris-sparc b/configure/os/CONFIG.Common.solaris-sparc index 100ff4052..8bd7189e8 100644 --- a/configure/os/CONFIG.Common.solaris-sparc +++ b/configure/os/CONFIG.Common.solaris-sparc @@ -46,9 +46,10 @@ OP_SYS_LDLIBS_10 += -lCrun -lc -lCstd OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION)) # Definitions used when COMMANDLINE_LIBRARY is READLINE -INCLUDES_READLINE = -I$(GNU_DIR)/include -RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib -LDFLAGS_READLINE += -L$(GNU_DIR)/lib +READLINE_DIR = $(GNU_DIR) +INCLUDES_READLINE = -I$(READLINE_DIR)/include +RUNTIME_LDFLAGS_READLINE += -R$(READLINE_DIR)/lib +LDFLAGS_READLINE += -L$(READLINE_DIR)/lib LDLIBS_READLINE = -lreadline -lcurses # Use archive if there is a problem with the readline shared library #LDLIBS_READLINE = -Bstatic -lreadline -Bdynamic -lcurses diff --git a/configure/os/CONFIG.Common.solaris-x86 b/configure/os/CONFIG.Common.solaris-x86 index 9b6f42189..b86c0e6ed 100644 --- a/configure/os/CONFIG.Common.solaris-x86 +++ b/configure/os/CONFIG.Common.solaris-x86 @@ -46,9 +46,10 @@ OP_SYS_LDLIBS_9 += -lCrun -lc -lCstd OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION)) # Definitions used when COMMANDLINE_LIBRARY is READLINE -INCLUDES_READLINE = -I$(GNU_DIR)/include -RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib -LDFLAGS_READLINE += -L$(GNU_DIR)/lib +READLINE_DIR = $(GNU_DIR) +INCLUDES_READLINE = -I$(READLINE_DIR)/include +RUNTIME_LDFLAGS_READLINE += -R$(READLINE_DIR)/lib +LDFLAGS_READLINE += -L$(READLINE_DIR)/lib LDLIBS_READLINE = -lreadline -lcurses # Use archive if there is a problem with the readline shared library #LDLIBS_READLINE = -Bstatic -lreadline -Bdynamic -lcurses diff --git a/configure/os/CONFIG_SITE.Common.solaris-sparc b/configure/os/CONFIG_SITE.Common.solaris-sparc index d1aa67e0e..92b11a27f 100644 --- a/configure/os/CONFIG_SITE.Common.solaris-sparc +++ b/configure/os/CONFIG_SITE.Common.solaris-sparc @@ -11,4 +11,4 @@ #COMMANDLINE_LIBRARY = READLINE # APS site override -GNU_DIR = /opt/gnu +READLINE_DIR=/opt/gnu