diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index acdc55187..4a6b924f4 100644 --- a/configure.ac +++ b/configure.ac @@ -300,6 +300,11 @@ AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h]) GSM_INTERNAL="yes" GSM_SYSTEM="yes" if test "${USE_GSM}" != "no"; then + if test "${GSM_DIR}" = "internal"; then + GSM_SYSTEM="no" + elif test "${GSM_DIR}" != ""; then + GSM_INTERNAL="no" + fi if test "${GSM_SYSTEM}" = "yes"; then gsmlibdir="" if test "x${GSM_DIR}" != "x"; then |