Hi,
When doing PKGBUILD I have some troubles.

What I am doing:

#1 getting pd-lork from git >git clone git://github.com/pd-l2ork/pd.git
#2 getting Gem from git (to empty 'Gem' folder) >git clone git://github.com/pd-l2ork/pd.git
#3 update docs (to 'doc' folder) >svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/doc

#4 Fixing pd/src/configure.in for tk/tcl 8.6

#5 running ' alocal autoconf configure ' script in l2ork_addons/cwiid/
#6 running 'aclocal  ./autogen.sh' in Gem folder

#7 optimizing Gem for 64bit architecture  FPIC_FLAG="-fPIC"
#8 finally run the make install in 'packages/linux_make'

  make BUILDLAYOUT_DIR=$srcdir/$pkgname/packages \
    GEM_EXTRA_CXXFLAGS="$FPIC_FLAG" \
    DESTDIR=$pkgdir \
    prefix=/usr \
    install || return 1


the process ends with error compiling gem2pdp:

make[3]: Leaving directory `/home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/pdp'
cd /home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/gem2pdp && aclocal && autoconf
configure.ac:41: error: 'AM_PROG_CC_STDC': this macro is obsolete.
    You should simply use the 'AC_PROG_CC' macro instead.
    Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
    but upon 'ac_cv_prog_cc_stdc'.
/usr/share/aclocal-1.13/obsolete-err.m4:17: AM_PROG_CC_STDC is expanded from...
configure.ac:41: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
make[2]: *** [/home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/gem2pdp/configure] Error 1
make[2]: Leaving directory `/home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals'
make[1]: *** [externals_install] Error 2
make[1]: Leaving directory `/home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/packages'
make: *** [install] Error 2



can anybody help ?

fk