summaryrefslogtreecommitdiff
path: root/skribe/etc/bigloo/autoconf/bfildir
blob: 128d5c75290b8b5b39557e02121fcee66b1b7462 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
#*=====================================================================*/
#*    serrano/prgm/project/scribe/autoconf/bfildir                     */
#*    -------------------------------------------------------------    */
#*    Author      :  Manuel Serrano                                    */
#*    Creation    :  Tue Jan 12 14:53:33 1999                          */
#*    Last change :  Wed Aug  7 21:41:06 2002 (serrano)                */
#*    -------------------------------------------------------------    */
#*    Find out the directory where Bigloo is installed                 */
#*=====================================================================*/
bigloo=bigloo

#*---------------------------------------------------------------------*/
#*    We parse the arguments                                           */
#*---------------------------------------------------------------------*/
while : ; do
  case $1 in
    "")
      break;;
    --bigloo=*|-bigloo=*)
      bigloo="`echo $1 | sed 's/^[-a-z]*=//'`";;

    -*)
      echo "Unknown option \"$1\", ignored" >&2;;
  esac
  shift
done

#*---------------------------------------------------------------------*/
#*    We spawn a bigloo process to check its version number            */
#*---------------------------------------------------------------------*/
$bigloo -q -eval "(begin (print *default-lib-dir*) (exit 0))"

exit 0