Changeset 1477 in Sophya for trunk/ArchTOIPipe/configure.in


Ignore:
Timestamp:
Apr 25, 2001, 10:52:35 AM (24 years ago)
Author:
aubourg
Message:

multi rep

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/configure.in

    r1365 r1477  
    11dnl Process this file with autoconf to produce a configure script.
    2 AC_INIT(toi.cc)
     2AC_INIT(kernel/toi.cc)
    33AC_CONFIG_HEADER(conf.h)
    44
     
    1616fi
    1717
     18AC_PROG_CC
    1819AC_PROG_CXX
    1920
     
    6768AC_CHECK_LIB(m, sin)
    6869
    69 AC_MSG_CHECKING("for source files in distribution")
    70 srcfiles=""
    71 curd=`pwd`
    72 cd $srcdir
    73 for n in *.cc; do
    74   grep -q 'main(.*)' $n || srcfiles="$srcfiles $n"
    75 done
    76 cd $curd
    77 AC_SUBST(srcfiles)
    78 AC_MSG_RESULT("done")
    79 
    8070dnl Checks for header files.
    8171AC_HEADER_STDC
    8272
    83 AC_OUTPUT(Makefile)
     73outfiles="Makefile kernel/Makefile processors/Makefile pipes/Makefile"
     74if [[ $use_sophya = 1 ]]; then
     75  outfiles="$outfiles sophya/Makefile"
     76fi
     77
     78AC_OUTPUT($outfiles)
     79
Note: See TracChangeset for help on using the changeset viewer.