4 exec_prefix
="@exec_prefix@"
5 datarootdir
="@datarootdir@"
8 if [ -z "$TEXMACS_PATH" ] ; then
11 if [ -z "$TEXMACS_BIN_PATH" ] ; then
12 TEXMACS_BIN_PATH
=@tmbin@
13 export TEXMACS_BIN_PATH
16 TEXMACS_BIN_PATH
="$TEXMACS_PATH"
17 export TEXMACS_BIN_PATH
20 if [ -f "/usr/bin/cygwin1.dll" ] ; then
21 # For coexistence with WinTeXmacs
22 export TEXMACS_PATH
=@tmdata@
23 export TEXMACS_BIN_PATH
=@tmbin@
25 # For auxiliary file creation by subprograms like ps2pdf under cygwin
29 PATH
="$TEXMACS_BIN_PATH/bin:$PATH"
30 @CONFIG_LIB_PATH@
="$TEXMACS_BIN_PATH/lib${@CONFIG_LIB_PATH@+":$@CONFIG_LIB_PATH@"}"
31 export PATH @CONFIG_LIB_PATH@
33 exec texmacs.bin
"$@" < /dev
/null