Line | |
---|
1 | # Check to see the separator for the environment variables
|
---|
2 | # and set SEP to ";" or default ":"
|
---|
3 |
|
---|
4 | dnl AM_SEP()
|
---|
5 | dnl SEP
|
---|
6 | AC_DEFUN(AM_SEP,
|
---|
7 | [AC_REQUIRE([AC_CYGWIN])
|
---|
8 | AC_REQUIRE([AC_MINGW32])
|
---|
9 | AC_REQUIRE([AC_DJGPP])
|
---|
10 | AC_MSG_CHECKING([for environ variable separator])
|
---|
11 | AC_CACHE_VAL(ac_cv_sep,
|
---|
12 | [if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$DJ_GPP" = yes ; then
|
---|
13 | ac_cv_sep=yes
|
---|
14 | else
|
---|
15 | ac_cv_sep=no
|
---|
16 | fi])
|
---|
17 | SEP=":"
|
---|
18 | test x"$ac_cv_sep" = xyes && SEP=";"
|
---|
19 | AC_MSG_RESULT(${SEP})
|
---|
20 | AC_SUBST(SEP)])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.