Changeset 1048:941ec9dc3e8c in roaraudio for plugins/ao


Ignore:
Timestamp:
12/23/08 22:25:49 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

write a dummy Makefile in error case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/ao/configure

    r0 r1048  
    2626done 
    2727 
     28on_error () { 
     29 cat <<'EOF' > Makefile 
     30all: error 
     31clean: error 
     32new: error 
     33install: error 
     34error: 
     35        echo Error while configuring this plugin 
     36        echo rerun configure script to fix 
     37EOF 
     38 exit 1; 
     39} 
     40 
    2841echo -n 'testing for C compiler... ' 
    2942CC=$(which gcc cc 2> /dev/null | head -n 1) 
     
    3346else 
    3447 echo no. 
    35  exit 1; 
     48 on_error; 
    3649fi 
    3750 
     
    5164else 
    5265 echo no. 
    53  exit 1 
     66 on_error 
    5467fi 
    5568rm -f tests tests.c 
     
    6982else 
    7083 echo no. 
    71  exit 1 
     84 on_error 
    7285fi 
    7386rm -f tests tests.c 
Note: See TracChangeset for help on using the changeset viewer.