You have to replace these lines with something similar to this (change libaacs
to libgcrypt
everywhere). Then run autoreconf -iv
(you must have autoconf
installed). It will create a new ./configure
script which will work if you did everything correctly.
Refer to documentation.
Congrats, you are very lucky. But try to survive couple of version upgrades before recommending it to noobs.