You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
782 B
23 lines
782 B
15 years ago
|
#!/bin/bash
|
||
|
|
||
|
# checks current environment
|
||
|
|
||
|
if [ -z "$KDEWIN" ] ; then
|
||
|
echo `basename $0`": \$KDEWIN environment variable is not set. Set it to absolute path of kdelibs/win32 source code, e.g. C:\\kdelibs"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
if [ -z "$KDEDIR" ] ; then
|
||
|
echo `basename $0`": \$KDEDIR environment variable is not set. Set it to absolute path of kdelibs/win32 binaries, e.g. C:\\kde"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
if [ -z "$KDELIBS" -o "$KDEWIN\\kdelibs" != "$KDELIBS" ] ; then
|
||
|
echo `basename $0`": \$KDELIBS = \"$KDELIBS\" but \$KDEWIN = \"$KDEWIN\""
|
||
|
echo "\$KDELIBS environment variable is not properly set. Set it to absolute path of kdelibs/win32 source code. It needs to be equal to \"\$KDEWIN\\kdelibs\", e.g. C:\\kdewin32\\kdelibs".
|
||
|
echo "You may need to run:"
|
||
|
echo " source kde_env"
|
||
|
exit 1
|
||
|
fi
|
||
|
|