Changeset 3593 for libcaca/trunk


Ignore:
Timestamp:
Jul 30, 2009, 10:11:07 PM (10 years ago)
Author:
Sam Hocevar
Message:

Look for csc and gmcs2 prior to gmcs.

Location:
libcaca/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-sharp/Makefile.am

    r3160 r3593  
    2626
    2727caca-sharp.dll: $(caca_sources)
    28         $(GMCS) -debug -unsafe $(caca_sources) -out:$@ -target:library \
     28        $(CSC) -debug -unsafe $(caca_sources) -out:$@ -target:library \
    2929          -keyfile:$(srcdir)/caca-sharp.snk -r:System.Drawing.dll
    3030
    3131test.exe: $(test_sources) caca-sharp.dll
    32         $(GMCS) -debug $(test_sources) -out:$@ -lib:./ \
     32        $(CSC) -debug $(test_sources) -out:$@ -lib:./ \
    3333          -r:System.Drawing.dll -r:./caca-sharp.dll
    3434
  • libcaca/trunk/configure.ac

    r3588 r3593  
    392392ac_cv_my_have_csharp="no"
    393393if test "${enable_csharp}" != "no"; then
    394   AC_PATH_PROG(GMCS, gmcs, no)
     394  AC_PATH_PROG(CSC, csc, no)
     395  if test "$CSC" = "no"; then
     396    AC_PATH_PROG(GMCS2, gmcs2, no)
     397    CSC="$GMCS2"
     398  fi
     399  if test "$CSC" = "no"; then
     400    AC_PATH_PROG(GMCS, gmcs, no)
     401    CSC="$GMCS"
     402  fi
    395403  AC_PATH_PROG(GACUTIL, gacutil, no)
    396   if test "${GMCS}" != "no" -a "${GACUTIL}" != "no"; then
     404  if test "${CSC}" != "no" -a "${GACUTIL}" != "no"; then
    397405    ac_cv_my_have_csharp="yes"
    398406    CACA_BINDINGS="${CACA_BINDINGS} C#"
Note: See TracChangeset for help on using the changeset viewer.